@celljs/ta-web 4.8.0 → 4.9.1
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 +40 -9
- package/README.md +39 -8
- package/esm/browser/assistant/assistant-chat-list.d.ts +4 -0
- package/esm/browser/assistant/assistant-chat-list.js +19 -0
- package/esm/browser/assistant/assistant-extension.d.ts +4 -1
- package/esm/browser/assistant/assistant-extension.js +104 -12
- package/esm/browser/assistant/assistant-protocol.d.ts +48 -0
- package/esm/browser/assistant/assistant-role.d.ts +81 -0
- package/esm/browser/assistant/assistant-role.js +45 -0
- package/esm/browser/assistant/assistant-state.d.ts +18 -0
- package/esm/browser/assistant/assistant-state.js +35 -0
- package/esm/browser/assistant/assistant-task-book.d.ts +30 -0
- package/esm/browser/assistant/assistant-task-book.js +68 -0
- package/esm/browser/assistant/assistant-task-source.d.ts +56 -0
- package/esm/browser/assistant/assistant-task-source.js +158 -0
- package/esm/browser/assistant/assistant-task-util.d.ts +54 -0
- package/esm/browser/assistant/assistant-task-util.js +113 -0
- package/esm/browser/assistant/assistant-tasks.d.ts +15 -28
- package/esm/browser/assistant/assistant-tasks.js +66 -89
- package/esm/browser/assistant/assistant-view.js +125 -86
- package/esm/browser/assistant/assistant.d.ts +111 -18
- package/esm/browser/assistant/assistant.js +442 -140
- package/esm/browser/assistant/task-card.d.ts +10 -0
- package/esm/browser/assistant/task-card.js +24 -0
- package/esm/browser/assistant/task-views.d.ts +78 -0
- package/esm/browser/assistant/task-views.js +239 -0
- package/esm/browser/avatar/dino-avatar.d.ts +35 -59
- package/esm/browser/avatar/dino-avatar.js +281 -234
- package/esm/browser/avatar/dino-face.d.ts +19 -0
- package/esm/browser/avatar/dino-face.js +142 -0
- package/esm/browser/avatar/dino-geometry.d.ts +11 -0
- package/esm/browser/avatar/dino-geometry.js +38 -0
- package/esm/browser/avatar/dino-kinds.d.ts +15 -0
- package/esm/browser/avatar/dino-kinds.js +544 -0
- package/esm/browser/avatar/dino-motion.d.ts +9 -2
- package/esm/browser/avatar/dino-motion.js +298 -44
- package/esm/browser/avatar/dino-shape.d.ts +80 -0
- package/esm/browser/avatar/dino-shape.js +113 -0
- package/esm/browser/avatar/dino-species.d.ts +63 -0
- package/esm/browser/avatar/dino-species.js +261 -0
- package/esm/browser/chat/chat-protocol.d.ts +36 -7
- package/esm/browser/chat/chat-protocol.js +7 -0
- package/esm/browser/chat/chat-view.d.ts +3 -1
- package/esm/browser/chat/chat-view.js +46 -7
- package/esm/browser/chat/chat.d.ts +47 -8
- package/esm/browser/chat/chat.js +206 -24
- package/esm/browser/chat/draft-model.d.ts +1 -3
- package/esm/browser/chat/draft-model.js +3 -25
- package/esm/browser/chat/recent-stores.d.ts +24 -0
- package/esm/browser/chat/recent-stores.js +39 -0
- package/esm/browser/components/access-util.d.ts +4 -0
- package/esm/browser/components/access-util.js +28 -0
- package/esm/browser/components/access-view.d.ts +16 -0
- package/esm/browser/components/access-view.js +125 -0
- package/esm/browser/components/account-menu.d.ts +59 -4
- package/esm/browser/components/account-menu.js +169 -42
- package/esm/browser/components/agent-settings-view.d.ts +1 -0
- package/esm/browser/components/agent-settings-view.js +11 -5
- package/esm/browser/components/app-nav.d.ts +44 -0
- package/esm/browser/components/app-nav.js +110 -0
- package/esm/browser/components/app-shell-hooks.d.ts +47 -0
- package/esm/browser/components/app-shell-hooks.js +165 -0
- package/esm/browser/components/app-view.d.ts +1 -7
- package/esm/browser/components/app-view.js +273 -251
- package/esm/browser/components/auth-pictures.js +4 -7
- package/esm/browser/components/auth-view.js +18 -12
- package/esm/browser/components/board-util.d.ts +20 -0
- package/esm/browser/components/board-util.js +42 -0
- package/esm/browser/components/board.d.ts +14 -0
- package/esm/browser/components/board.js +92 -0
- package/esm/browser/components/chat-list.d.ts +62 -13
- package/esm/browser/components/chat-list.js +132 -34
- package/esm/browser/components/code-editor.d.ts +1 -1
- package/esm/browser/components/code-editor.js +5 -1
- package/esm/browser/components/composer-addons.d.ts +17 -0
- package/esm/browser/components/composer-addons.js +56 -0
- package/esm/browser/components/composer-box.d.ts +13 -8
- package/esm/browser/components/composer-box.js +70 -55
- package/esm/browser/components/composer.d.ts +4 -1
- package/esm/browser/components/composer.js +39 -11
- package/esm/browser/components/connection-bar.d.ts +9 -2
- package/esm/browser/components/connection-bar.js +113 -38
- package/esm/browser/components/context-menu.d.ts +24 -1
- package/esm/browser/components/context-menu.js +36 -8
- package/esm/browser/components/conversation-scroll.d.ts +3 -1
- package/esm/browser/components/conversation-scroll.js +56 -4
- package/esm/browser/components/diff-editor.d.ts +1 -1
- package/esm/browser/components/diff-editor.js +5 -1
- package/esm/browser/components/dino-look-picker.d.ts +10 -0
- package/esm/browser/components/dino-look-picker.js +33 -0
- package/esm/browser/components/dino-look.d.ts +14 -0
- package/esm/browser/components/dino-look.js +53 -0
- package/esm/browser/components/dino.js +1 -1
- package/esm/browser/components/discover-view.d.ts +18 -0
- package/esm/browser/components/discover-view.js +38 -0
- package/esm/browser/components/earlier-messages.d.ts +30 -0
- package/esm/browser/components/earlier-messages.js +86 -0
- package/esm/browser/components/editor-area.js +6 -1
- package/esm/browser/components/empty-pictures.d.ts +7 -0
- package/esm/browser/components/empty-pictures.js +53 -0
- package/esm/browser/components/empty-state.d.ts +8 -0
- package/esm/browser/components/empty-state.js +15 -0
- package/esm/browser/components/environment-view.d.ts +19 -0
- package/esm/browser/components/environment-view.js +214 -0
- package/esm/browser/components/folder-picker.js +10 -4
- package/esm/browser/components/hero-cards.d.ts +4 -0
- package/esm/browser/components/hero-cards.js +16 -15
- package/esm/browser/components/host-tag.d.ts +9 -0
- package/esm/browser/components/host-tag.js +21 -0
- package/esm/browser/components/host-view.d.ts +34 -0
- package/esm/browser/components/host-view.js +168 -0
- package/esm/browser/components/kept-pages.d.ts +15 -0
- package/esm/browser/components/kept-pages.js +13 -0
- package/esm/browser/components/launch-settings.d.ts +3 -0
- package/esm/browser/components/launch-settings.js +38 -0
- package/esm/browser/components/launcher-search-util.d.ts +12 -0
- package/esm/browser/components/launcher-search-util.js +41 -0
- package/esm/browser/components/launcher-surface.d.ts +9 -0
- package/esm/browser/components/launcher-surface.js +67 -0
- package/esm/browser/components/list-rows.d.ts +21 -0
- package/esm/browser/components/list-rows.js +21 -0
- package/esm/browser/components/list-skeleton.d.ts +10 -0
- package/esm/browser/components/list-skeleton.js +31 -0
- package/esm/browser/components/me-view.d.ts +9 -0
- package/esm/browser/components/me-view.js +35 -0
- package/esm/browser/components/message-actions.js +1 -0
- package/esm/browser/components/message-footer.d.ts +2 -0
- package/esm/browser/components/message-list.js +50 -10
- package/esm/browser/components/message-menu.d.ts +20 -0
- package/esm/browser/components/message-menu.js +59 -0
- package/esm/browser/components/model-picker.d.ts +43 -0
- package/esm/browser/components/model-picker.js +167 -0
- package/esm/browser/components/nav-places.d.ts +46 -0
- package/esm/browser/components/nav-places.js +49 -0
- package/esm/browser/components/option-list.d.ts +45 -0
- package/esm/browser/components/option-list.js +138 -0
- package/esm/browser/components/phone-shell.d.ts +72 -0
- package/esm/browser/components/phone-shell.js +226 -0
- package/esm/browser/components/picture.d.ts +15 -0
- package/esm/browser/components/picture.js +23 -0
- package/esm/browser/components/qr-view.d.ts +6 -0
- package/esm/browser/components/qr-view.js +12 -0
- package/esm/browser/components/relay-view.js +5 -12
- package/esm/browser/components/remote-hosts.js +3 -2
- package/esm/browser/components/search-page.d.ts +13 -0
- package/esm/browser/components/search-page.js +147 -0
- package/esm/browser/components/search-section.d.ts +16 -0
- package/esm/browser/components/search-section.js +99 -0
- package/esm/browser/components/select-bar.d.ts +9 -0
- package/esm/browser/components/select-bar.js +24 -0
- package/esm/browser/components/session-settings.d.ts +7 -3
- package/esm/browser/components/session-settings.js +28 -18
- package/esm/browser/components/session-view.js +20 -6
- package/esm/browser/components/settings-choices.d.ts +35 -0
- package/esm/browser/components/settings-choices.js +117 -0
- package/esm/browser/components/settings-controls.d.ts +22 -2
- package/esm/browser/components/settings-controls.js +38 -2
- package/esm/browser/components/settings-parts.d.ts +21 -0
- package/esm/browser/components/settings-parts.js +300 -0
- package/esm/browser/components/settings-view.d.ts +8 -11
- package/esm/browser/components/settings-view.js +149 -310
- package/esm/browser/components/share-dialog.d.ts +13 -0
- package/esm/browser/components/share-dialog.js +83 -0
- package/esm/browser/components/side-lists.d.ts +37 -0
- package/esm/browser/components/side-lists.js +40 -0
- package/esm/browser/components/sign-in-accounts.d.ts +27 -0
- package/esm/browser/components/sign-in-accounts.js +64 -0
- package/esm/browser/components/sign-in-marks.d.ts +5 -0
- package/esm/browser/components/sign-in-marks.js +30 -0
- package/esm/browser/components/sign-in-picture.d.ts +7 -0
- package/esm/browser/components/sign-in-picture.js +64 -0
- package/esm/browser/components/sortable.d.ts +13 -0
- package/esm/browser/components/sortable.js +87 -0
- package/esm/browser/components/surface-flyout.d.ts +10 -0
- package/esm/browser/components/surface-flyout.js +38 -0
- package/esm/browser/components/swipe-row.d.ts +297 -0
- package/esm/browser/components/swipe-row.js +34 -0
- package/esm/browser/components/ta-avatar.d.ts +23 -2
- package/esm/browser/components/ta-avatar.js +108 -30
- package/esm/browser/components/trusted-domains.js +2 -2
- package/esm/browser/components/voice-button.d.ts +11 -0
- package/esm/browser/components/voice-button.js +65 -0
- package/esm/browser/components/workbench-toggle.d.ts +13 -0
- package/esm/browser/components/workbench-toggle.js +28 -1
- package/esm/browser/components/workbench-view.d.ts +6 -3
- package/esm/browser/components/workbench-view.js +31 -17
- package/esm/browser/components/working-directory.d.ts +1 -1
- package/esm/browser/components/working-directory.js +1 -1
- package/esm/browser/device/back-stack.d.ts +36 -0
- package/esm/browser/device/back-stack.js +71 -0
- package/esm/browser/device/device-protocol.d.ts +47 -0
- package/esm/browser/device/device-protocol.js +32 -0
- package/esm/browser/device/device.d.ts +106 -0
- package/esm/browser/device/device.js +283 -0
- package/esm/browser/device/field-dismiss.d.ts +31 -0
- package/esm/browser/device/field-dismiss.js +80 -0
- package/esm/browser/device/launch-screen.d.ts +35 -0
- package/esm/browser/device/launch-screen.js +72 -0
- package/esm/browser/device/long-press.d.ts +30 -0
- package/esm/browser/device/long-press.js +132 -0
- package/esm/browser/device/new-line.d.ts +14 -0
- package/esm/browser/device/new-line.js +38 -0
- package/esm/browser/device/pull-down.d.ts +46 -0
- package/esm/browser/device/pull-down.js +232 -0
- package/esm/browser/device/row-swipe.d.ts +26 -0
- package/esm/browser/device/row-swipe.js +204 -0
- package/esm/browser/device/scanner.d.ts +15 -0
- package/esm/browser/device/scanner.js +63 -0
- package/esm/browser/device/sheet-swipe.d.ts +109 -0
- package/esm/browser/device/sheet-swipe.js +380 -0
- package/esm/browser/editor/monaco-loader.d.ts +8 -3
- package/esm/browser/editor/monaco-loader.js +7 -3
- package/esm/browser/extension/icons.d.ts +4 -0
- package/esm/browser/extension/icons.js +32 -2
- package/esm/browser/extension/web-extension-api.d.ts +390 -7
- package/esm/browser/extension/web-extension-code.d.ts +15 -0
- package/esm/browser/extension/web-extension-code.js +55 -0
- package/esm/browser/extension/web-extension-protocol.d.ts +70 -4
- package/esm/browser/extension/web-extensions.d.ts +67 -26
- package/esm/browser/extension/web-extensions.js +304 -113
- package/esm/browser/extension/web-keep-alive.d.ts +39 -0
- package/esm/browser/extension/web-keep-alive.js +79 -0
- package/esm/browser/extension/web-on-demand.d.ts +63 -0
- package/esm/browser/extension/web-on-demand.js +144 -0
- package/esm/browser/extension/web-pages.d.ts +74 -0
- package/esm/browser/extension/web-pages.js +77 -0
- package/esm/browser/extension/web-sharing.d.ts +21 -0
- package/esm/browser/extension/web-sharing.js +54 -0
- package/esm/browser/extension/web-tasks.d.ts +54 -0
- package/esm/browser/extension/web-tasks.js +158 -0
- package/esm/browser/extension/web-view-util.d.ts +44 -0
- package/esm/browser/extension/web-view-util.js +114 -0
- package/esm/browser/hooks.d.ts +8 -0
- package/esm/browser/hooks.js +17 -0
- package/esm/browser/hosts.d.ts +26 -0
- package/esm/browser/hosts.js +100 -0
- package/esm/browser/i18n/locales.d.ts +261 -10
- package/esm/browser/i18n/messages.d.ts +260 -9
- package/esm/browser/i18n/messages.js +560 -57
- package/esm/browser/i18n/use-t.d.ts +4 -0
- package/esm/browser/i18n/use-t.js +21 -3
- package/esm/browser/index.d.ts +10 -2
- package/esm/browser/index.js +10 -2
- package/esm/browser/settings/navigation.d.ts +45 -0
- package/esm/browser/settings/navigation.js +62 -0
- package/esm/browser/settings/settings-protocol.d.ts +40 -1
- package/esm/browser/settings/settings-protocol.js +50 -1
- package/esm/browser/settings/settings.js +5 -1
- package/esm/browser/state/state-protocol.d.ts +6 -1
- package/esm/browser/state/state-protocol.js +20 -0
- package/esm/browser/state/state.d.ts +4 -0
- package/esm/browser/state/state.js +23 -2
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +32 -11
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +42 -31
- package/esm/browser/style/device.d.ts +5 -0
- package/esm/browser/style/device.js +170 -0
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +176 -117
- package/esm/browser/style/pages.d.ts +2 -2
- package/esm/browser/style/pages.js +133 -24
- package/esm/browser/style/phone.d.ts +6 -0
- package/esm/browser/style/phone.js +110 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +105 -62
- package/esm/browser/style/surfaces.d.ts +5 -0
- package/esm/browser/style/surfaces.js +92 -0
- package/esm/browser/style/tasks.d.ts +6 -0
- package/esm/browser/style/tasks.js +82 -0
- package/esm/browser/style.d.ts +2 -1
- package/esm/browser/style.js +7 -2
- package/esm/browser/terminal/terminal-theme.d.ts +3 -1
- package/esm/browser/terminal/terminal-theme.js +52 -44
- package/esm/browser/terminal/web-terminal.d.ts +41 -3
- package/esm/browser/terminal/web-terminal.js +219 -8
- package/esm/browser/util/composer.d.ts +20 -7
- package/esm/browser/util/composer.js +27 -5
- package/esm/browser/util/frame.d.ts +5 -0
- package/esm/browser/util/frame.js +8 -0
- package/esm/browser/util/message.d.ts +7 -0
- package/esm/browser/util/message.js +20 -0
- package/esm/browser/util/process.d.ts +3 -2
- package/esm/browser/util/process.js +7 -7
- package/esm/browser/util/share-link.d.ts +16 -0
- package/esm/browser/util/share-link.js +51 -0
- package/esm/browser/util/tool.d.ts +1 -1
- package/esm/browser/util/tool.js +4 -3
- package/esm/browser/util/voice.d.ts +16 -0
- package/esm/browser/util/voice.js +77 -0
- package/esm/browser/workbench-protocol.d.ts +66 -7
- package/esm/browser/workbench-util.d.ts +61 -0
- package/esm/browser/workbench-util.js +138 -0
- package/esm/browser/workbench.d.ts +55 -23
- package/esm/browser/workbench.js +325 -109
- package/lib/browser/assistant/assistant-chat-list.d.ts +5 -0
- package/lib/browser/assistant/assistant-chat-list.js +55 -0
- package/lib/browser/assistant/assistant-extension.d.ts +4 -1
- package/lib/browser/assistant/assistant-extension.js +103 -11
- package/lib/browser/assistant/assistant-protocol.d.ts +48 -0
- package/lib/browser/assistant/assistant-role.d.ts +82 -0
- package/lib/browser/assistant/assistant-role.js +49 -0
- package/lib/browser/assistant/assistant-state.d.ts +19 -0
- package/lib/browser/assistant/assistant-state.js +38 -0
- package/lib/browser/assistant/assistant-task-book.d.ts +31 -0
- package/lib/browser/assistant/assistant-task-book.js +72 -0
- package/lib/browser/assistant/assistant-task-source.d.ts +57 -0
- package/lib/browser/assistant/assistant-task-source.js +163 -0
- package/lib/browser/assistant/assistant-task-util.d.ts +55 -0
- package/lib/browser/assistant/assistant-task-util.js +116 -0
- package/lib/browser/assistant/assistant-tasks.d.ts +15 -28
- package/lib/browser/assistant/assistant-tasks.js +62 -89
- package/lib/browser/assistant/assistant-view.js +122 -83
- package/lib/browser/assistant/assistant.d.ts +111 -18
- package/lib/browser/assistant/assistant.js +444 -142
- package/lib/browser/assistant/task-card.d.ts +11 -0
- package/lib/browser/assistant/task-card.js +60 -0
- package/lib/browser/assistant/task-views.d.ts +79 -0
- package/lib/browser/assistant/task-views.js +283 -0
- package/lib/browser/avatar/dino-avatar.d.ts +35 -59
- package/lib/browser/avatar/dino-avatar.js +288 -243
- package/lib/browser/avatar/dino-face.d.ts +20 -0
- package/lib/browser/avatar/dino-face.js +148 -0
- package/lib/browser/avatar/dino-geometry.d.ts +12 -0
- package/lib/browser/avatar/dino-geometry.js +47 -0
- package/lib/browser/avatar/dino-kinds.d.ts +16 -0
- package/lib/browser/avatar/dino-kinds.js +547 -0
- package/lib/browser/avatar/dino-motion.d.ts +9 -2
- package/lib/browser/avatar/dino-motion.js +299 -45
- package/lib/browser/avatar/dino-shape.d.ts +81 -0
- package/lib/browser/avatar/dino-shape.js +126 -0
- package/lib/browser/avatar/dino-species.d.ts +64 -0
- package/lib/browser/avatar/dino-species.js +264 -0
- package/lib/browser/chat/chat-protocol.d.ts +36 -7
- package/lib/browser/chat/chat-protocol.js +8 -1
- package/lib/browser/chat/chat-view.d.ts +3 -1
- package/lib/browser/chat/chat-view.js +46 -7
- package/lib/browser/chat/chat.d.ts +47 -8
- package/lib/browser/chat/chat.js +205 -23
- package/lib/browser/chat/draft-model.d.ts +1 -3
- package/lib/browser/chat/draft-model.js +3 -25
- package/lib/browser/chat/recent-stores.d.ts +25 -0
- package/lib/browser/chat/recent-stores.js +43 -0
- package/lib/browser/components/access-util.d.ts +5 -0
- package/lib/browser/components/access-util.js +31 -0
- package/lib/browser/components/access-view.d.ts +17 -0
- package/lib/browser/components/access-view.js +162 -0
- package/lib/browser/components/account-menu.d.ts +59 -4
- package/lib/browser/components/account-menu.js +171 -40
- package/lib/browser/components/agent-settings-view.d.ts +1 -0
- package/lib/browser/components/agent-settings-view.js +11 -5
- package/lib/browser/components/app-nav.d.ts +45 -0
- package/lib/browser/components/app-nav.js +149 -0
- package/lib/browser/components/app-shell-hooks.d.ts +48 -0
- package/lib/browser/components/app-shell-hooks.js +207 -0
- package/lib/browser/components/app-view.d.ts +1 -7
- package/lib/browser/components/app-view.js +278 -256
- package/lib/browser/components/auth-pictures.js +7 -10
- package/lib/browser/components/auth-view.js +18 -12
- package/lib/browser/components/board-util.d.ts +21 -0
- package/lib/browser/components/board-util.js +45 -0
- package/lib/browser/components/board.d.ts +15 -0
- package/lib/browser/components/board.js +129 -0
- package/lib/browser/components/chat-list.d.ts +62 -13
- package/lib/browser/components/chat-list.js +132 -34
- package/lib/browser/components/code-editor.d.ts +1 -1
- package/lib/browser/components/code-editor.js +5 -1
- package/lib/browser/components/composer-addons.d.ts +18 -0
- package/lib/browser/components/composer-addons.js +93 -0
- package/lib/browser/components/composer-box.d.ts +13 -8
- package/lib/browser/components/composer-box.js +71 -56
- package/lib/browser/components/composer.d.ts +4 -1
- package/lib/browser/components/composer.js +38 -10
- package/lib/browser/components/connection-bar.d.ts +9 -2
- package/lib/browser/components/connection-bar.js +114 -38
- package/lib/browser/components/context-menu.d.ts +24 -1
- package/lib/browser/components/context-menu.js +37 -8
- package/lib/browser/components/conversation-scroll.d.ts +3 -1
- package/lib/browser/components/conversation-scroll.js +57 -4
- package/lib/browser/components/diff-editor.d.ts +1 -1
- package/lib/browser/components/diff-editor.js +5 -1
- package/lib/browser/components/dino-look-picker.d.ts +11 -0
- package/lib/browser/components/dino-look-picker.js +36 -0
- package/lib/browser/components/dino-look.d.ts +15 -0
- package/lib/browser/components/dino-look.js +91 -0
- package/lib/browser/components/dino.js +3 -3
- package/lib/browser/components/discover-view.d.ts +19 -0
- package/lib/browser/components/discover-view.js +74 -0
- package/lib/browser/components/earlier-messages.d.ts +31 -0
- package/lib/browser/components/earlier-messages.js +124 -0
- package/lib/browser/components/editor-area.js +6 -1
- package/lib/browser/components/empty-pictures.d.ts +8 -0
- package/lib/browser/components/empty-pictures.js +91 -0
- package/lib/browser/components/empty-state.d.ts +9 -0
- package/lib/browser/components/empty-state.js +51 -0
- package/lib/browser/components/environment-view.d.ts +20 -0
- package/lib/browser/components/environment-view.js +253 -0
- package/lib/browser/components/folder-picker.js +10 -4
- package/lib/browser/components/hero-cards.d.ts +4 -0
- package/lib/browser/components/hero-cards.js +17 -15
- package/lib/browser/components/host-tag.d.ts +10 -0
- package/lib/browser/components/host-tag.js +57 -0
- package/lib/browser/components/host-view.d.ts +35 -0
- package/lib/browser/components/host-view.js +208 -0
- package/lib/browser/components/kept-pages.d.ts +16 -0
- package/lib/browser/components/kept-pages.js +49 -0
- package/lib/browser/components/launch-settings.d.ts +4 -0
- package/lib/browser/components/launch-settings.js +74 -0
- package/lib/browser/components/launcher-search-util.d.ts +13 -0
- package/lib/browser/components/launcher-search-util.js +44 -0
- package/lib/browser/components/launcher-surface.d.ts +10 -0
- package/lib/browser/components/launcher-surface.js +103 -0
- package/lib/browser/components/list-rows.d.ts +22 -0
- package/lib/browser/components/list-rows.js +58 -0
- package/lib/browser/components/list-skeleton.d.ts +11 -0
- package/lib/browser/components/list-skeleton.js +68 -0
- package/lib/browser/components/me-view.d.ts +10 -0
- package/lib/browser/components/me-view.js +71 -0
- package/lib/browser/components/message-actions.js +1 -0
- package/lib/browser/components/message-footer.d.ts +2 -0
- package/lib/browser/components/message-list.js +48 -8
- package/lib/browser/components/message-menu.d.ts +21 -0
- package/lib/browser/components/message-menu.js +95 -0
- package/lib/browser/components/model-picker.d.ts +44 -0
- package/lib/browser/components/model-picker.js +206 -0
- package/lib/browser/components/nav-places.d.ts +47 -0
- package/lib/browser/components/nav-places.js +56 -0
- package/lib/browser/components/option-list.d.ts +46 -0
- package/lib/browser/components/option-list.js +175 -0
- package/lib/browser/components/phone-shell.d.ts +73 -0
- package/lib/browser/components/phone-shell.js +265 -0
- package/lib/browser/components/picture.d.ts +16 -0
- package/lib/browser/components/picture.js +61 -0
- package/lib/browser/components/qr-view.d.ts +7 -0
- package/lib/browser/components/qr-view.js +48 -0
- package/lib/browser/components/relay-view.js +6 -13
- package/lib/browser/components/remote-hosts.js +2 -1
- package/lib/browser/components/search-page.d.ts +14 -0
- package/lib/browser/components/search-page.js +183 -0
- package/lib/browser/components/search-section.d.ts +17 -0
- package/lib/browser/components/search-section.js +136 -0
- package/lib/browser/components/select-bar.d.ts +10 -0
- package/lib/browser/components/select-bar.js +61 -0
- package/lib/browser/components/session-settings.d.ts +7 -3
- package/lib/browser/components/session-settings.js +27 -17
- package/lib/browser/components/session-view.js +18 -4
- package/lib/browser/components/settings-choices.d.ts +36 -0
- package/lib/browser/components/settings-choices.js +156 -0
- package/lib/browser/components/settings-controls.d.ts +22 -2
- package/lib/browser/components/settings-controls.js +39 -1
- package/lib/browser/components/settings-parts.d.ts +22 -0
- package/lib/browser/components/settings-parts.js +336 -0
- package/lib/browser/components/settings-view.d.ts +8 -11
- package/lib/browser/components/settings-view.js +147 -309
- package/lib/browser/components/share-dialog.d.ts +14 -0
- package/lib/browser/components/share-dialog.js +120 -0
- package/lib/browser/components/side-lists.d.ts +38 -0
- package/lib/browser/components/side-lists.js +43 -0
- package/lib/browser/components/sign-in-accounts.d.ts +28 -0
- package/lib/browser/components/sign-in-accounts.js +102 -0
- package/lib/browser/components/sign-in-marks.d.ts +6 -0
- package/lib/browser/components/sign-in-marks.js +66 -0
- package/lib/browser/components/sign-in-picture.d.ts +8 -0
- package/lib/browser/components/sign-in-picture.js +100 -0
- package/lib/browser/components/sortable.d.ts +14 -0
- package/lib/browser/components/sortable.js +124 -0
- package/lib/browser/components/surface-flyout.d.ts +11 -0
- package/lib/browser/components/surface-flyout.js +74 -0
- package/lib/browser/components/swipe-row.d.ts +298 -0
- package/lib/browser/components/swipe-row.js +70 -0
- package/lib/browser/components/ta-avatar.d.ts +23 -2
- package/lib/browser/components/ta-avatar.js +109 -29
- package/lib/browser/components/trusted-domains.js +1 -1
- package/lib/browser/components/voice-button.d.ts +12 -0
- package/lib/browser/components/voice-button.js +101 -0
- package/lib/browser/components/workbench-toggle.d.ts +13 -0
- package/lib/browser/components/workbench-toggle.js +29 -1
- package/lib/browser/components/workbench-view.d.ts +6 -3
- package/lib/browser/components/workbench-view.js +32 -18
- package/lib/browser/components/working-directory.d.ts +1 -1
- package/lib/browser/components/working-directory.js +1 -1
- package/lib/browser/device/back-stack.d.ts +37 -0
- package/lib/browser/device/back-stack.js +109 -0
- package/lib/browser/device/device-protocol.d.ts +48 -0
- package/lib/browser/device/device-protocol.js +35 -0
- package/lib/browser/device/device.d.ts +107 -0
- package/lib/browser/device/device.js +323 -0
- package/lib/browser/device/field-dismiss.d.ts +32 -0
- package/lib/browser/device/field-dismiss.js +84 -0
- package/lib/browser/device/launch-screen.d.ts +36 -0
- package/lib/browser/device/launch-screen.js +76 -0
- package/lib/browser/device/long-press.d.ts +31 -0
- package/lib/browser/device/long-press.js +136 -0
- package/lib/browser/device/new-line.d.ts +15 -0
- package/lib/browser/device/new-line.js +42 -0
- package/lib/browser/device/pull-down.d.ts +47 -0
- package/lib/browser/device/pull-down.js +269 -0
- package/lib/browser/device/row-swipe.d.ts +27 -0
- package/lib/browser/device/row-swipe.js +241 -0
- package/lib/browser/device/scanner.d.ts +16 -0
- package/lib/browser/device/scanner.js +67 -0
- package/lib/browser/device/sheet-swipe.d.ts +110 -0
- package/lib/browser/device/sheet-swipe.js +419 -0
- package/lib/browser/editor/monaco-loader.d.ts +8 -3
- package/lib/browser/editor/monaco-loader.js +7 -3
- package/lib/browser/extension/icons.d.ts +4 -0
- package/lib/browser/extension/icons.js +32 -2
- package/lib/browser/extension/web-extension-api.d.ts +390 -7
- package/lib/browser/extension/web-extension-code.d.ts +16 -0
- package/lib/browser/extension/web-extension-code.js +59 -0
- package/lib/browser/extension/web-extension-protocol.d.ts +70 -4
- package/lib/browser/extension/web-extensions.d.ts +67 -26
- package/lib/browser/extension/web-extensions.js +311 -120
- package/lib/browser/extension/web-keep-alive.d.ts +40 -0
- package/lib/browser/extension/web-keep-alive.js +83 -0
- package/lib/browser/extension/web-on-demand.d.ts +64 -0
- package/lib/browser/extension/web-on-demand.js +148 -0
- package/lib/browser/extension/web-pages.d.ts +75 -0
- package/lib/browser/extension/web-pages.js +80 -0
- package/lib/browser/extension/web-sharing.d.ts +22 -0
- package/lib/browser/extension/web-sharing.js +58 -0
- package/lib/browser/extension/web-tasks.d.ts +55 -0
- package/lib/browser/extension/web-tasks.js +162 -0
- package/lib/browser/extension/web-view-util.d.ts +45 -0
- package/lib/browser/extension/web-view-util.js +150 -0
- package/lib/browser/hooks.d.ts +8 -0
- package/lib/browser/hooks.js +20 -0
- package/lib/browser/hosts.d.ts +27 -0
- package/lib/browser/hosts.js +103 -0
- package/lib/browser/i18n/locales.d.ts +261 -10
- package/lib/browser/i18n/messages.d.ts +260 -9
- package/lib/browser/i18n/messages.js +560 -57
- package/lib/browser/i18n/use-t.d.ts +4 -0
- package/lib/browser/i18n/use-t.js +22 -2
- package/lib/browser/index.d.ts +10 -2
- package/lib/browser/index.js +10 -2
- package/lib/browser/settings/navigation.d.ts +46 -0
- package/lib/browser/settings/navigation.js +65 -0
- package/lib/browser/settings/settings-protocol.d.ts +40 -1
- package/lib/browser/settings/settings-protocol.js +51 -2
- package/lib/browser/settings/settings.js +4 -0
- package/lib/browser/state/state-protocol.d.ts +6 -1
- package/lib/browser/state/state-protocol.js +20 -0
- package/lib/browser/state/state.d.ts +4 -0
- package/lib/browser/state/state.js +23 -2
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +32 -11
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +42 -31
- package/lib/browser/style/device.d.ts +6 -0
- package/lib/browser/style/device.js +173 -0
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +176 -117
- package/lib/browser/style/pages.d.ts +2 -2
- package/lib/browser/style/pages.js +133 -24
- package/lib/browser/style/phone.d.ts +7 -0
- package/lib/browser/style/phone.js +113 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +105 -62
- package/lib/browser/style/surfaces.d.ts +6 -0
- package/lib/browser/style/surfaces.js +95 -0
- package/lib/browser/style/tasks.d.ts +7 -0
- package/lib/browser/style/tasks.js +85 -0
- package/lib/browser/style.d.ts +2 -1
- package/lib/browser/style.js +7 -2
- package/lib/browser/terminal/terminal-theme.d.ts +3 -1
- package/lib/browser/terminal/terminal-theme.js +52 -44
- package/lib/browser/terminal/web-terminal.d.ts +41 -3
- package/lib/browser/terminal/web-terminal.js +220 -9
- package/lib/browser/util/composer.d.ts +20 -7
- package/lib/browser/util/composer.js +27 -5
- package/lib/browser/util/frame.d.ts +5 -0
- package/lib/browser/util/frame.js +8 -0
- package/lib/browser/util/message.d.ts +7 -0
- package/lib/browser/util/message.js +20 -0
- package/lib/browser/util/process.d.ts +3 -2
- package/lib/browser/util/process.js +7 -7
- package/lib/browser/util/share-link.d.ts +17 -0
- package/lib/browser/util/share-link.js +54 -0
- package/lib/browser/util/tool.d.ts +1 -1
- package/lib/browser/util/tool.js +4 -3
- package/lib/browser/util/voice.d.ts +17 -0
- package/lib/browser/util/voice.js +80 -0
- package/lib/browser/workbench-protocol.d.ts +66 -7
- package/lib/browser/workbench-util.d.ts +62 -0
- package/lib/browser/workbench-util.js +144 -0
- package/lib/browser/workbench.d.ts +55 -23
- package/lib/browser/workbench.js +325 -109
- package/package.json +10 -8
- package/public/launch.svg +49 -0
- package/esm/browser/assistant/assistant-export.js.map +0 -1
- package/esm/browser/assistant/assistant-extension.js.map +0 -1
- package/esm/browser/assistant/assistant-hooks.js.map +0 -1
- package/esm/browser/assistant/assistant-protocol.js.map +0 -1
- package/esm/browser/assistant/assistant-tasks.js.map +0 -1
- package/esm/browser/assistant/assistant-view.js.map +0 -1
- package/esm/browser/assistant/assistant.js.map +0 -1
- package/esm/browser/assistant/voice.d.ts +0 -14
- package/esm/browser/assistant/voice.js +0 -72
- package/esm/browser/assistant/voice.js.map +0 -1
- package/esm/browser/avatar/dino-avatar.js.map +0 -1
- package/esm/browser/avatar/dino-motion.js.map +0 -1
- package/esm/browser/chat/chat-protocol.js.map +0 -1
- package/esm/browser/chat/chat-view.js.map +0 -1
- package/esm/browser/chat/chat.js.map +0 -1
- package/esm/browser/chat/draft-model.js.map +0 -1
- package/esm/browser/components/account-menu.js.map +0 -1
- package/esm/browser/components/agent-settings-view.js.map +0 -1
- package/esm/browser/components/app-view.js.map +0 -1
- package/esm/browser/components/auth-pictures.js.map +0 -1
- package/esm/browser/components/auth-view.js.map +0 -1
- package/esm/browser/components/callout.js.map +0 -1
- package/esm/browser/components/chat-list.js.map +0 -1
- package/esm/browser/components/code-editor.js.map +0 -1
- package/esm/browser/components/composer-box.js.map +0 -1
- package/esm/browser/components/composer-menu.js.map +0 -1
- package/esm/browser/components/composer.js.map +0 -1
- package/esm/browser/components/connection-bar.js.map +0 -1
- package/esm/browser/components/context-menu.js.map +0 -1
- package/esm/browser/components/conversation-scroll.js.map +0 -1
- package/esm/browser/components/dialog-view.js.map +0 -1
- package/esm/browser/components/diff-editor.js.map +0 -1
- package/esm/browser/components/diff-view.js.map +0 -1
- package/esm/browser/components/dino.js.map +0 -1
- package/esm/browser/components/editor-area.js.map +0 -1
- package/esm/browser/components/folder-picker.js.map +0 -1
- package/esm/browser/components/fork-view.js.map +0 -1
- package/esm/browser/components/hero-cards.js.map +0 -1
- package/esm/browser/components/icon.js.map +0 -1
- package/esm/browser/components/link-dialog.js.map +0 -1
- package/esm/browser/components/link.js.map +0 -1
- package/esm/browser/components/manage-menu.d.ts +0 -13
- package/esm/browser/components/manage-menu.js +0 -96
- package/esm/browser/components/manage-menu.js.map +0 -1
- package/esm/browser/components/markdown.js.map +0 -1
- package/esm/browser/components/math.js.map +0 -1
- package/esm/browser/components/media.js.map +0 -1
- package/esm/browser/components/mermaid-view.js.map +0 -1
- package/esm/browser/components/message-actions.js.map +0 -1
- package/esm/browser/components/message-footer.js.map +0 -1
- package/esm/browser/components/message-list.js.map +0 -1
- package/esm/browser/components/notice-center.js.map +0 -1
- package/esm/browser/components/relay-view.js.map +0 -1
- package/esm/browser/components/remote-hosts.js.map +0 -1
- package/esm/browser/components/remote-prompts.js.map +0 -1
- package/esm/browser/components/run-status.js.map +0 -1
- package/esm/browser/components/session-settings.js.map +0 -1
- package/esm/browser/components/session-view.js.map +0 -1
- package/esm/browser/components/settings-controls.js.map +0 -1
- package/esm/browser/components/settings-view.js.map +0 -1
- package/esm/browser/components/split-pane.js.map +0 -1
- package/esm/browser/components/ta-avatar.js.map +0 -1
- package/esm/browser/components/terminal-art.js.map +0 -1
- package/esm/browser/components/tool-view.js.map +0 -1
- package/esm/browser/components/trusted-domains.js.map +0 -1
- package/esm/browser/components/web-composer.js.map +0 -1
- package/esm/browser/components/web-dialog.js.map +0 -1
- package/esm/browser/components/workbench-toggle.js.map +0 -1
- package/esm/browser/components/workbench-view.js.map +0 -1
- package/esm/browser/components/working-directory.js.map +0 -1
- package/esm/browser/editor/monaco-loader.js.map +0 -1
- package/esm/browser/editor/monaco.js.map +0 -1
- package/esm/browser/extension/extension-view.js.map +0 -1
- package/esm/browser/extension/icons.js.map +0 -1
- package/esm/browser/extension/web-extension-api.js.map +0 -1
- package/esm/browser/extension/web-extension-protocol.js.map +0 -1
- package/esm/browser/extension/web-extensions.js.map +0 -1
- package/esm/browser/hooks.js.map +0 -1
- package/esm/browser/i18n/locales.js.map +0 -1
- package/esm/browser/i18n/messages.js.map +0 -1
- package/esm/browser/i18n/use-t.js.map +0 -1
- package/esm/browser/index.js.map +0 -1
- package/esm/browser/links/links-protocol.js.map +0 -1
- package/esm/browser/links/links.js.map +0 -1
- package/esm/browser/markdown/hooks.js.map +0 -1
- package/esm/browser/markdown/lazy.js.map +0 -1
- package/esm/browser/markdown/math.js.map +0 -1
- package/esm/browser/markdown/mermaid.js.map +0 -1
- package/esm/browser/module.js.map +0 -1
- package/esm/browser/notices/notices-protocol.js.map +0 -1
- package/esm/browser/notices/notices.js.map +0 -1
- package/esm/browser/pwa/pwa-protocol.js.map +0 -1
- package/esm/browser/pwa/pwa.js.map +0 -1
- package/esm/browser/settings/agent-settings.js.map +0 -1
- package/esm/browser/settings/settings-protocol.js.map +0 -1
- package/esm/browser/settings/settings.js.map +0 -1
- package/esm/browser/state/state-protocol.js.map +0 -1
- package/esm/browser/state/state.js.map +0 -1
- package/esm/browser/style/base.js.map +0 -1
- package/esm/browser/style/conversation.js.map +0 -1
- package/esm/browser/style/layout.js.map +0 -1
- package/esm/browser/style/pages.js.map +0 -1
- package/esm/browser/style/shell.js.map +0 -1
- package/esm/browser/style.js.map +0 -1
- package/esm/browser/terminal/canvas-font.js.map +0 -1
- package/esm/browser/terminal/terminal-links.js.map +0 -1
- package/esm/browser/terminal/terminal-theme.js.map +0 -1
- package/esm/browser/terminal/web-terminal.js.map +0 -1
- package/esm/browser/terminal/xterm.js.map +0 -1
- package/esm/browser/util/composer.js.map +0 -1
- package/esm/browser/util/desktop.js.map +0 -1
- package/esm/browser/util/diff.js.map +0 -1
- package/esm/browser/util/file-drag.js.map +0 -1
- package/esm/browser/util/frame.js.map +0 -1
- package/esm/browser/util/layout.js.map +0 -1
- package/esm/browser/util/link.js.map +0 -1
- package/esm/browser/util/markdown.js.map +0 -1
- package/esm/browser/util/message.js.map +0 -1
- package/esm/browser/util/process.js.map +0 -1
- package/esm/browser/util/progress.js.map +0 -1
- package/esm/browser/util/qr-code.d.ts +0 -37
- package/esm/browser/util/qr-code.js +0 -349
- package/esm/browser/util/qr-code.js.map +0 -1
- package/esm/browser/util/terminal-text.js.map +0 -1
- package/esm/browser/util/tool.js.map +0 -1
- package/esm/browser/view.js.map +0 -1
- package/esm/browser/workbench-protocol.js.map +0 -1
- package/esm/browser/workbench.js.map +0 -1
- package/lib/browser/assistant/assistant-export.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-export.js.map +0 -1
- package/lib/browser/assistant/assistant-export.spec.d.ts +0 -2
- package/lib/browser/assistant/assistant-export.spec.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-export.spec.js +0 -27
- package/lib/browser/assistant/assistant-export.spec.js.map +0 -1
- package/lib/browser/assistant/assistant-extension.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-extension.js.map +0 -1
- package/lib/browser/assistant/assistant-extension.spec.d.ts +0 -2
- package/lib/browser/assistant/assistant-extension.spec.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-extension.spec.js +0 -121
- package/lib/browser/assistant/assistant-extension.spec.js.map +0 -1
- package/lib/browser/assistant/assistant-hooks.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-hooks.js.map +0 -1
- package/lib/browser/assistant/assistant-protocol.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-protocol.js.map +0 -1
- package/lib/browser/assistant/assistant-tasks.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-tasks.js.map +0 -1
- package/lib/browser/assistant/assistant-view.d.ts.map +0 -1
- package/lib/browser/assistant/assistant-view.js.map +0 -1
- package/lib/browser/assistant/assistant.d.ts.map +0 -1
- package/lib/browser/assistant/assistant.js.map +0 -1
- package/lib/browser/assistant/assistant.spec.d.ts +0 -2
- package/lib/browser/assistant/assistant.spec.d.ts.map +0 -1
- package/lib/browser/assistant/assistant.spec.js +0 -80
- package/lib/browser/assistant/assistant.spec.js.map +0 -1
- package/lib/browser/assistant/voice.d.ts +0 -15
- package/lib/browser/assistant/voice.d.ts.map +0 -1
- package/lib/browser/assistant/voice.js +0 -75
- package/lib/browser/assistant/voice.js.map +0 -1
- package/lib/browser/assistant/voice.spec.d.ts +0 -2
- package/lib/browser/assistant/voice.spec.d.ts.map +0 -1
- package/lib/browser/assistant/voice.spec.js +0 -10
- package/lib/browser/assistant/voice.spec.js.map +0 -1
- package/lib/browser/avatar/dino-avatar.d.ts.map +0 -1
- package/lib/browser/avatar/dino-avatar.js.map +0 -1
- package/lib/browser/avatar/dino-avatar.spec.d.ts +0 -2
- package/lib/browser/avatar/dino-avatar.spec.d.ts.map +0 -1
- package/lib/browser/avatar/dino-avatar.spec.js +0 -143
- package/lib/browser/avatar/dino-avatar.spec.js.map +0 -1
- package/lib/browser/avatar/dino-motion.d.ts.map +0 -1
- package/lib/browser/avatar/dino-motion.js.map +0 -1
- package/lib/browser/chat/chat-protocol.d.ts.map +0 -1
- package/lib/browser/chat/chat-protocol.js.map +0 -1
- package/lib/browser/chat/chat-view.d.ts.map +0 -1
- package/lib/browser/chat/chat-view.js.map +0 -1
- package/lib/browser/chat/chat.d.ts.map +0 -1
- package/lib/browser/chat/chat.js.map +0 -1
- package/lib/browser/chat/chat.spec.d.ts +0 -2
- package/lib/browser/chat/chat.spec.d.ts.map +0 -1
- package/lib/browser/chat/chat.spec.js +0 -215
- package/lib/browser/chat/chat.spec.js.map +0 -1
- package/lib/browser/chat/draft-model.d.ts.map +0 -1
- package/lib/browser/chat/draft-model.js.map +0 -1
- package/lib/browser/chat/draft-model.spec.d.ts +0 -2
- package/lib/browser/chat/draft-model.spec.d.ts.map +0 -1
- package/lib/browser/chat/draft-model.spec.js +0 -31
- package/lib/browser/chat/draft-model.spec.js.map +0 -1
- package/lib/browser/components/account-menu.d.ts.map +0 -1
- package/lib/browser/components/account-menu.js.map +0 -1
- package/lib/browser/components/agent-settings-view.d.ts.map +0 -1
- package/lib/browser/components/agent-settings-view.js.map +0 -1
- package/lib/browser/components/app-view.d.ts.map +0 -1
- package/lib/browser/components/app-view.js.map +0 -1
- package/lib/browser/components/auth-pictures.d.ts.map +0 -1
- package/lib/browser/components/auth-pictures.js.map +0 -1
- package/lib/browser/components/auth-view.d.ts.map +0 -1
- package/lib/browser/components/auth-view.js.map +0 -1
- package/lib/browser/components/callout.d.ts.map +0 -1
- package/lib/browser/components/callout.js.map +0 -1
- package/lib/browser/components/chat-list.d.ts.map +0 -1
- package/lib/browser/components/chat-list.js.map +0 -1
- package/lib/browser/components/chat-list.spec.d.ts +0 -2
- package/lib/browser/components/chat-list.spec.d.ts.map +0 -1
- package/lib/browser/components/chat-list.spec.js +0 -61
- package/lib/browser/components/chat-list.spec.js.map +0 -1
- package/lib/browser/components/code-editor.d.ts.map +0 -1
- package/lib/browser/components/code-editor.js.map +0 -1
- package/lib/browser/components/composer-box.d.ts.map +0 -1
- package/lib/browser/components/composer-box.js.map +0 -1
- package/lib/browser/components/composer-menu.d.ts.map +0 -1
- package/lib/browser/components/composer-menu.js.map +0 -1
- package/lib/browser/components/composer.d.ts.map +0 -1
- package/lib/browser/components/composer.js.map +0 -1
- package/lib/browser/components/composer.spec.d.ts +0 -2
- package/lib/browser/components/composer.spec.d.ts.map +0 -1
- package/lib/browser/components/composer.spec.js +0 -129
- package/lib/browser/components/composer.spec.js.map +0 -1
- package/lib/browser/components/connection-bar.d.ts.map +0 -1
- package/lib/browser/components/connection-bar.js.map +0 -1
- package/lib/browser/components/context-menu.d.ts.map +0 -1
- package/lib/browser/components/context-menu.js.map +0 -1
- package/lib/browser/components/conversation-scroll.d.ts.map +0 -1
- package/lib/browser/components/conversation-scroll.js.map +0 -1
- package/lib/browser/components/dialog-view.d.ts.map +0 -1
- package/lib/browser/components/dialog-view.js.map +0 -1
- package/lib/browser/components/diff-editor.d.ts.map +0 -1
- package/lib/browser/components/diff-editor.js.map +0 -1
- package/lib/browser/components/diff-view.d.ts.map +0 -1
- package/lib/browser/components/diff-view.js.map +0 -1
- package/lib/browser/components/dino.d.ts.map +0 -1
- package/lib/browser/components/dino.js.map +0 -1
- package/lib/browser/components/editor-area.d.ts.map +0 -1
- package/lib/browser/components/editor-area.js.map +0 -1
- package/lib/browser/components/folder-picker.d.ts.map +0 -1
- package/lib/browser/components/folder-picker.js.map +0 -1
- package/lib/browser/components/folder-picker.spec.d.ts +0 -2
- package/lib/browser/components/folder-picker.spec.d.ts.map +0 -1
- package/lib/browser/components/folder-picker.spec.js +0 -43
- package/lib/browser/components/folder-picker.spec.js.map +0 -1
- package/lib/browser/components/fork-view.d.ts.map +0 -1
- package/lib/browser/components/fork-view.js.map +0 -1
- package/lib/browser/components/hero-cards.d.ts.map +0 -1
- package/lib/browser/components/hero-cards.js.map +0 -1
- package/lib/browser/components/icon.d.ts.map +0 -1
- package/lib/browser/components/icon.js.map +0 -1
- package/lib/browser/components/link-dialog.d.ts.map +0 -1
- package/lib/browser/components/link-dialog.js.map +0 -1
- package/lib/browser/components/link.d.ts.map +0 -1
- package/lib/browser/components/link.js.map +0 -1
- package/lib/browser/components/manage-menu.d.ts +0 -14
- package/lib/browser/components/manage-menu.d.ts.map +0 -1
- package/lib/browser/components/manage-menu.js +0 -132
- package/lib/browser/components/manage-menu.js.map +0 -1
- package/lib/browser/components/markdown.d.ts.map +0 -1
- package/lib/browser/components/markdown.js.map +0 -1
- package/lib/browser/components/markdown.spec.d.ts +0 -2
- package/lib/browser/components/markdown.spec.d.ts.map +0 -1
- package/lib/browser/components/markdown.spec.js +0 -72
- package/lib/browser/components/markdown.spec.js.map +0 -1
- package/lib/browser/components/math.d.ts.map +0 -1
- package/lib/browser/components/math.js.map +0 -1
- package/lib/browser/components/media.d.ts.map +0 -1
- package/lib/browser/components/media.js.map +0 -1
- package/lib/browser/components/mermaid-view.d.ts.map +0 -1
- package/lib/browser/components/mermaid-view.js.map +0 -1
- package/lib/browser/components/message-actions.d.ts.map +0 -1
- package/lib/browser/components/message-actions.js.map +0 -1
- package/lib/browser/components/message-footer.d.ts.map +0 -1
- package/lib/browser/components/message-footer.js.map +0 -1
- package/lib/browser/components/message-list.d.ts.map +0 -1
- package/lib/browser/components/message-list.js.map +0 -1
- package/lib/browser/components/message-list.spec.d.ts +0 -2
- package/lib/browser/components/message-list.spec.d.ts.map +0 -1
- package/lib/browser/components/message-list.spec.js +0 -269
- package/lib/browser/components/message-list.spec.js.map +0 -1
- package/lib/browser/components/notice-center.d.ts.map +0 -1
- package/lib/browser/components/notice-center.js.map +0 -1
- package/lib/browser/components/plus-menu.spec.d.ts +0 -2
- package/lib/browser/components/plus-menu.spec.d.ts.map +0 -1
- package/lib/browser/components/plus-menu.spec.js +0 -18
- package/lib/browser/components/plus-menu.spec.js.map +0 -1
- package/lib/browser/components/relay-view.d.ts.map +0 -1
- package/lib/browser/components/relay-view.js.map +0 -1
- package/lib/browser/components/remote-hosts.d.ts.map +0 -1
- package/lib/browser/components/remote-hosts.js.map +0 -1
- package/lib/browser/components/remote-prompts.d.ts.map +0 -1
- package/lib/browser/components/remote-prompts.js.map +0 -1
- package/lib/browser/components/run-status.d.ts.map +0 -1
- package/lib/browser/components/run-status.js.map +0 -1
- package/lib/browser/components/session-settings.d.ts.map +0 -1
- package/lib/browser/components/session-settings.js.map +0 -1
- package/lib/browser/components/session-settings.spec.d.ts +0 -2
- package/lib/browser/components/session-settings.spec.d.ts.map +0 -1
- package/lib/browser/components/session-settings.spec.js +0 -47
- package/lib/browser/components/session-settings.spec.js.map +0 -1
- package/lib/browser/components/session-view.d.ts.map +0 -1
- package/lib/browser/components/session-view.js.map +0 -1
- package/lib/browser/components/settings-controls.d.ts.map +0 -1
- package/lib/browser/components/settings-controls.js.map +0 -1
- package/lib/browser/components/settings-view.d.ts.map +0 -1
- package/lib/browser/components/settings-view.js.map +0 -1
- package/lib/browser/components/split-pane.d.ts.map +0 -1
- package/lib/browser/components/split-pane.js.map +0 -1
- package/lib/browser/components/ta-avatar.d.ts.map +0 -1
- package/lib/browser/components/ta-avatar.js.map +0 -1
- package/lib/browser/components/ta-avatar.spec.d.ts +0 -2
- package/lib/browser/components/ta-avatar.spec.d.ts.map +0 -1
- package/lib/browser/components/ta-avatar.spec.js +0 -60
- package/lib/browser/components/ta-avatar.spec.js.map +0 -1
- package/lib/browser/components/terminal-art.d.ts.map +0 -1
- package/lib/browser/components/terminal-art.js.map +0 -1
- package/lib/browser/components/tool-view.d.ts.map +0 -1
- package/lib/browser/components/tool-view.js.map +0 -1
- package/lib/browser/components/trusted-domains.d.ts.map +0 -1
- package/lib/browser/components/trusted-domains.js.map +0 -1
- package/lib/browser/components/web-composer.d.ts.map +0 -1
- package/lib/browser/components/web-composer.js.map +0 -1
- package/lib/browser/components/web-dialog.d.ts.map +0 -1
- package/lib/browser/components/web-dialog.js.map +0 -1
- package/lib/browser/components/workbench-toggle.d.ts.map +0 -1
- package/lib/browser/components/workbench-toggle.js.map +0 -1
- package/lib/browser/components/workbench-toggle.spec.d.ts +0 -2
- package/lib/browser/components/workbench-toggle.spec.d.ts.map +0 -1
- package/lib/browser/components/workbench-toggle.spec.js +0 -64
- package/lib/browser/components/workbench-toggle.spec.js.map +0 -1
- package/lib/browser/components/workbench-view.d.ts.map +0 -1
- package/lib/browser/components/workbench-view.js.map +0 -1
- package/lib/browser/components/working-directory.d.ts.map +0 -1
- package/lib/browser/components/working-directory.js.map +0 -1
- package/lib/browser/editor/monaco-loader.d.ts.map +0 -1
- package/lib/browser/editor/monaco-loader.js.map +0 -1
- package/lib/browser/editor/monaco-loader.spec.d.ts +0 -2
- package/lib/browser/editor/monaco-loader.spec.d.ts.map +0 -1
- package/lib/browser/editor/monaco-loader.spec.js +0 -39
- package/lib/browser/editor/monaco-loader.spec.js.map +0 -1
- package/lib/browser/editor/monaco.d.ts.map +0 -1
- package/lib/browser/editor/monaco.js.map +0 -1
- package/lib/browser/extension/extension-view.d.ts.map +0 -1
- package/lib/browser/extension/extension-view.js.map +0 -1
- package/lib/browser/extension/icons.d.ts.map +0 -1
- package/lib/browser/extension/icons.js.map +0 -1
- package/lib/browser/extension/web-extension-api.d.ts.map +0 -1
- package/lib/browser/extension/web-extension-api.js.map +0 -1
- package/lib/browser/extension/web-extension-protocol.d.ts.map +0 -1
- package/lib/browser/extension/web-extension-protocol.js.map +0 -1
- package/lib/browser/extension/web-extensions.d.ts.map +0 -1
- package/lib/browser/extension/web-extensions.js.map +0 -1
- package/lib/browser/extension/web-extensions.spec.d.ts +0 -2
- package/lib/browser/extension/web-extensions.spec.d.ts.map +0 -1
- package/lib/browser/extension/web-extensions.spec.js +0 -617
- package/lib/browser/extension/web-extensions.spec.js.map +0 -1
- package/lib/browser/hooks.d.ts.map +0 -1
- package/lib/browser/hooks.js.map +0 -1
- package/lib/browser/i18n/locales.d.ts.map +0 -1
- package/lib/browser/i18n/locales.js.map +0 -1
- package/lib/browser/i18n/messages.d.ts.map +0 -1
- package/lib/browser/i18n/messages.js.map +0 -1
- package/lib/browser/i18n/use-t.d.ts.map +0 -1
- package/lib/browser/i18n/use-t.js.map +0 -1
- package/lib/browser/index.d.ts.map +0 -1
- package/lib/browser/index.js.map +0 -1
- package/lib/browser/links/links-protocol.d.ts.map +0 -1
- package/lib/browser/links/links-protocol.js.map +0 -1
- package/lib/browser/links/links.d.ts.map +0 -1
- package/lib/browser/links/links.js.map +0 -1
- package/lib/browser/links/links.spec.d.ts +0 -2
- package/lib/browser/links/links.spec.d.ts.map +0 -1
- package/lib/browser/links/links.spec.js +0 -123
- package/lib/browser/links/links.spec.js.map +0 -1
- package/lib/browser/markdown/hooks.d.ts.map +0 -1
- package/lib/browser/markdown/hooks.js.map +0 -1
- package/lib/browser/markdown/lazy.d.ts.map +0 -1
- package/lib/browser/markdown/lazy.js.map +0 -1
- package/lib/browser/markdown/lazy.spec.d.ts +0 -2
- package/lib/browser/markdown/lazy.spec.d.ts.map +0 -1
- package/lib/browser/markdown/lazy.spec.js +0 -35
- package/lib/browser/markdown/lazy.spec.js.map +0 -1
- package/lib/browser/markdown/math.d.ts.map +0 -1
- package/lib/browser/markdown/math.js.map +0 -1
- package/lib/browser/markdown/math.spec.d.ts +0 -2
- package/lib/browser/markdown/math.spec.d.ts.map +0 -1
- package/lib/browser/markdown/math.spec.js +0 -24
- package/lib/browser/markdown/math.spec.js.map +0 -1
- package/lib/browser/markdown/mermaid.d.ts.map +0 -1
- package/lib/browser/markdown/mermaid.js.map +0 -1
- package/lib/browser/markdown/mermaid.spec.d.ts +0 -2
- package/lib/browser/markdown/mermaid.spec.d.ts.map +0 -1
- package/lib/browser/markdown/mermaid.spec.js +0 -21
- package/lib/browser/markdown/mermaid.spec.js.map +0 -1
- package/lib/browser/module.d.ts.map +0 -1
- package/lib/browser/module.js.map +0 -1
- package/lib/browser/notices/notices-protocol.d.ts.map +0 -1
- package/lib/browser/notices/notices-protocol.js.map +0 -1
- package/lib/browser/notices/notices.d.ts.map +0 -1
- package/lib/browser/notices/notices.js.map +0 -1
- package/lib/browser/notices/notices.spec.d.ts +0 -2
- package/lib/browser/notices/notices.spec.d.ts.map +0 -1
- package/lib/browser/notices/notices.spec.js +0 -101
- package/lib/browser/notices/notices.spec.js.map +0 -1
- package/lib/browser/pwa/pwa-protocol.d.ts.map +0 -1
- package/lib/browser/pwa/pwa-protocol.js.map +0 -1
- package/lib/browser/pwa/pwa.d.ts.map +0 -1
- package/lib/browser/pwa/pwa.js.map +0 -1
- package/lib/browser/pwa/pwa.spec.d.ts +0 -2
- package/lib/browser/pwa/pwa.spec.d.ts.map +0 -1
- package/lib/browser/pwa/pwa.spec.js +0 -134
- package/lib/browser/pwa/pwa.spec.js.map +0 -1
- package/lib/browser/settings/agent-settings.d.ts.map +0 -1
- package/lib/browser/settings/agent-settings.js.map +0 -1
- package/lib/browser/settings/agent-settings.spec.d.ts +0 -2
- package/lib/browser/settings/agent-settings.spec.d.ts.map +0 -1
- package/lib/browser/settings/agent-settings.spec.js +0 -53
- package/lib/browser/settings/agent-settings.spec.js.map +0 -1
- package/lib/browser/settings/settings-protocol.d.ts.map +0 -1
- package/lib/browser/settings/settings-protocol.js.map +0 -1
- package/lib/browser/settings/settings.d.ts.map +0 -1
- package/lib/browser/settings/settings.js.map +0 -1
- package/lib/browser/settings/settings.spec.d.ts +0 -2
- package/lib/browser/settings/settings.spec.d.ts.map +0 -1
- package/lib/browser/settings/settings.spec.js +0 -32
- package/lib/browser/settings/settings.spec.js.map +0 -1
- package/lib/browser/state/state-protocol.d.ts.map +0 -1
- package/lib/browser/state/state-protocol.js.map +0 -1
- package/lib/browser/state/state.d.ts.map +0 -1
- package/lib/browser/state/state.js.map +0 -1
- package/lib/browser/state/state.spec.d.ts +0 -2
- package/lib/browser/state/state.spec.d.ts.map +0 -1
- package/lib/browser/state/state.spec.js +0 -201
- package/lib/browser/state/state.spec.js.map +0 -1
- package/lib/browser/style/base.d.ts.map +0 -1
- package/lib/browser/style/base.js.map +0 -1
- package/lib/browser/style/conversation.d.ts.map +0 -1
- package/lib/browser/style/conversation.js.map +0 -1
- package/lib/browser/style/layout.d.ts.map +0 -1
- package/lib/browser/style/layout.js.map +0 -1
- package/lib/browser/style/pages.d.ts.map +0 -1
- package/lib/browser/style/pages.js.map +0 -1
- package/lib/browser/style/shell.d.ts.map +0 -1
- package/lib/browser/style/shell.js.map +0 -1
- package/lib/browser/style.d.ts.map +0 -1
- package/lib/browser/style.js.map +0 -1
- package/lib/browser/terminal/canvas-font.d.ts.map +0 -1
- package/lib/browser/terminal/canvas-font.js.map +0 -1
- package/lib/browser/terminal/canvas-font.spec.d.ts +0 -2
- package/lib/browser/terminal/canvas-font.spec.d.ts.map +0 -1
- package/lib/browser/terminal/canvas-font.spec.js +0 -32
- package/lib/browser/terminal/canvas-font.spec.js.map +0 -1
- package/lib/browser/terminal/terminal-links.d.ts.map +0 -1
- package/lib/browser/terminal/terminal-links.js.map +0 -1
- package/lib/browser/terminal/terminal-links.spec.d.ts +0 -2
- package/lib/browser/terminal/terminal-links.spec.d.ts.map +0 -1
- package/lib/browser/terminal/terminal-links.spec.js +0 -30
- package/lib/browser/terminal/terminal-links.spec.js.map +0 -1
- package/lib/browser/terminal/terminal-theme.d.ts.map +0 -1
- package/lib/browser/terminal/terminal-theme.js.map +0 -1
- package/lib/browser/terminal/terminal-theme.spec.d.ts +0 -2
- package/lib/browser/terminal/terminal-theme.spec.d.ts.map +0 -1
- package/lib/browser/terminal/terminal-theme.spec.js +0 -24
- package/lib/browser/terminal/terminal-theme.spec.js.map +0 -1
- package/lib/browser/terminal/web-terminal.d.ts.map +0 -1
- package/lib/browser/terminal/web-terminal.js.map +0 -1
- package/lib/browser/terminal/xterm.d.ts.map +0 -1
- package/lib/browser/terminal/xterm.js.map +0 -1
- package/lib/browser/util/composer.d.ts.map +0 -1
- package/lib/browser/util/composer.js.map +0 -1
- package/lib/browser/util/composer.spec.d.ts +0 -2
- package/lib/browser/util/composer.spec.d.ts.map +0 -1
- package/lib/browser/util/composer.spec.js +0 -66
- package/lib/browser/util/composer.spec.js.map +0 -1
- package/lib/browser/util/desktop.d.ts.map +0 -1
- package/lib/browser/util/desktop.js.map +0 -1
- package/lib/browser/util/desktop.spec.d.ts +0 -2
- package/lib/browser/util/desktop.spec.d.ts.map +0 -1
- package/lib/browser/util/desktop.spec.js +0 -67
- package/lib/browser/util/desktop.spec.js.map +0 -1
- package/lib/browser/util/diff.d.ts.map +0 -1
- package/lib/browser/util/diff.js.map +0 -1
- package/lib/browser/util/diff.spec.d.ts +0 -2
- package/lib/browser/util/diff.spec.d.ts.map +0 -1
- package/lib/browser/util/diff.spec.js +0 -21
- package/lib/browser/util/diff.spec.js.map +0 -1
- package/lib/browser/util/file-drag.d.ts.map +0 -1
- package/lib/browser/util/file-drag.js.map +0 -1
- package/lib/browser/util/file-drag.spec.d.ts +0 -2
- package/lib/browser/util/file-drag.spec.d.ts.map +0 -1
- package/lib/browser/util/file-drag.spec.js +0 -46
- package/lib/browser/util/file-drag.spec.js.map +0 -1
- package/lib/browser/util/frame.d.ts.map +0 -1
- package/lib/browser/util/frame.js.map +0 -1
- package/lib/browser/util/frame.spec.d.ts +0 -2
- package/lib/browser/util/frame.spec.d.ts.map +0 -1
- package/lib/browser/util/frame.spec.js +0 -60
- package/lib/browser/util/frame.spec.js.map +0 -1
- package/lib/browser/util/layout.d.ts.map +0 -1
- package/lib/browser/util/layout.js.map +0 -1
- package/lib/browser/util/layout.spec.d.ts +0 -2
- package/lib/browser/util/layout.spec.d.ts.map +0 -1
- package/lib/browser/util/layout.spec.js +0 -35
- package/lib/browser/util/layout.spec.js.map +0 -1
- package/lib/browser/util/link.d.ts.map +0 -1
- package/lib/browser/util/link.js.map +0 -1
- package/lib/browser/util/link.spec.d.ts +0 -2
- package/lib/browser/util/link.spec.d.ts.map +0 -1
- package/lib/browser/util/link.spec.js +0 -101
- package/lib/browser/util/link.spec.js.map +0 -1
- package/lib/browser/util/markdown.d.ts.map +0 -1
- package/lib/browser/util/markdown.js.map +0 -1
- package/lib/browser/util/markdown.spec.d.ts +0 -2
- package/lib/browser/util/markdown.spec.d.ts.map +0 -1
- package/lib/browser/util/markdown.spec.js +0 -124
- package/lib/browser/util/markdown.spec.js.map +0 -1
- package/lib/browser/util/message.d.ts.map +0 -1
- package/lib/browser/util/message.js.map +0 -1
- package/lib/browser/util/message.spec.d.ts +0 -2
- package/lib/browser/util/message.spec.d.ts.map +0 -1
- package/lib/browser/util/message.spec.js +0 -61
- package/lib/browser/util/message.spec.js.map +0 -1
- package/lib/browser/util/process.d.ts.map +0 -1
- package/lib/browser/util/process.js.map +0 -1
- package/lib/browser/util/process.spec.d.ts +0 -2
- package/lib/browser/util/process.spec.d.ts.map +0 -1
- package/lib/browser/util/process.spec.js +0 -106
- package/lib/browser/util/process.spec.js.map +0 -1
- package/lib/browser/util/progress.d.ts.map +0 -1
- package/lib/browser/util/progress.js.map +0 -1
- package/lib/browser/util/progress.spec.d.ts +0 -2
- package/lib/browser/util/progress.spec.d.ts.map +0 -1
- package/lib/browser/util/progress.spec.js +0 -77
- package/lib/browser/util/progress.spec.js.map +0 -1
- package/lib/browser/util/qr-code.d.ts +0 -38
- package/lib/browser/util/qr-code.d.ts.map +0 -1
- package/lib/browser/util/qr-code.js +0 -353
- package/lib/browser/util/qr-code.js.map +0 -1
- package/lib/browser/util/qr-code.spec.d.ts +0 -2
- package/lib/browser/util/qr-code.spec.d.ts.map +0 -1
- package/lib/browser/util/qr-code.spec.js +0 -48
- package/lib/browser/util/qr-code.spec.js.map +0 -1
- package/lib/browser/util/terminal-text.d.ts.map +0 -1
- package/lib/browser/util/terminal-text.js.map +0 -1
- package/lib/browser/util/terminal-text.spec.d.ts +0 -2
- package/lib/browser/util/terminal-text.spec.d.ts.map +0 -1
- package/lib/browser/util/terminal-text.spec.js +0 -54
- package/lib/browser/util/terminal-text.spec.js.map +0 -1
- package/lib/browser/util/tool.d.ts.map +0 -1
- package/lib/browser/util/tool.js.map +0 -1
- package/lib/browser/util/tool.spec.d.ts +0 -2
- package/lib/browser/util/tool.spec.d.ts.map +0 -1
- package/lib/browser/util/tool.spec.js +0 -85
- package/lib/browser/util/tool.spec.js.map +0 -1
- package/lib/browser/view.d.ts.map +0 -1
- package/lib/browser/view.js.map +0 -1
- package/lib/browser/workbench-protocol.d.ts.map +0 -1
- package/lib/browser/workbench-protocol.js.map +0 -1
- package/lib/browser/workbench.d.ts.map +0 -1
- package/lib/browser/workbench.js.map +0 -1
- package/lib/browser/workbench.spec.d.ts +0 -2
- package/lib/browser/workbench.spec.d.ts.map +0 -1
- package/lib/browser/workbench.spec.js +0 -34
- package/lib/browser/workbench.spec.js.map +0 -1
- package/src/browser/assistant/assistant-export.spec.ts +0 -30
- package/src/browser/assistant/assistant-export.ts +0 -41
- package/src/browser/assistant/assistant-extension.spec.ts +0 -122
- package/src/browser/assistant/assistant-extension.ts +0 -137
- package/src/browser/assistant/assistant-hooks.ts +0 -63
- package/src/browser/assistant/assistant-protocol.ts +0 -55
- package/src/browser/assistant/assistant-tasks.tsx +0 -194
- package/src/browser/assistant/assistant-view.tsx +0 -453
- package/src/browser/assistant/assistant.spec.ts +0 -80
- package/src/browser/assistant/assistant.ts +0 -315
- package/src/browser/assistant/voice.spec.ts +0 -8
- package/src/browser/assistant/voice.ts +0 -87
- package/src/browser/avatar/dino-avatar.spec.ts +0 -151
- package/src/browser/avatar/dino-avatar.ts +0 -541
- package/src/browser/avatar/dino-motion.ts +0 -313
- package/src/browser/chat/chat-protocol.ts +0 -51
- package/src/browser/chat/chat-view.tsx +0 -159
- package/src/browser/chat/chat.spec.ts +0 -225
- package/src/browser/chat/chat.ts +0 -357
- package/src/browser/chat/draft-model.spec.tsx +0 -31
- package/src/browser/chat/draft-model.tsx +0 -63
- package/src/browser/components/account-menu.tsx +0 -117
- package/src/browser/components/agent-settings-view.tsx +0 -196
- package/src/browser/components/app-view.tsx +0 -562
- package/src/browser/components/auth-pictures.tsx +0 -55
- package/src/browser/components/auth-view.tsx +0 -421
- package/src/browser/components/callout.tsx +0 -33
- package/src/browser/components/chat-list.spec.ts +0 -66
- package/src/browser/components/chat-list.tsx +0 -283
- package/src/browser/components/code-editor.tsx +0 -114
- package/src/browser/components/composer-box.tsx +0 -521
- package/src/browser/components/composer-menu.tsx +0 -49
- package/src/browser/components/composer.spec.tsx +0 -130
- package/src/browser/components/composer.tsx +0 -171
- package/src/browser/components/connection-bar.tsx +0 -85
- package/src/browser/components/context-menu.tsx +0 -100
- package/src/browser/components/conversation-scroll.ts +0 -126
- package/src/browser/components/dialog-view.tsx +0 -91
- package/src/browser/components/diff-editor.tsx +0 -131
- package/src/browser/components/diff-view.tsx +0 -19
- package/src/browser/components/dino.tsx +0 -19
- package/src/browser/components/editor-area.tsx +0 -234
- package/src/browser/components/folder-picker.spec.ts +0 -47
- package/src/browser/components/folder-picker.tsx +0 -359
- package/src/browser/components/fork-view.tsx +0 -65
- package/src/browser/components/hero-cards.tsx +0 -189
- package/src/browser/components/icon.tsx +0 -62
- package/src/browser/components/link-dialog.tsx +0 -66
- package/src/browser/components/link.tsx +0 -77
- package/src/browser/components/manage-menu.tsx +0 -165
- package/src/browser/components/markdown.spec.tsx +0 -46
- package/src/browser/components/markdown.tsx +0 -155
- package/src/browser/components/math.tsx +0 -21
- package/src/browser/components/media.tsx +0 -91
- package/src/browser/components/mermaid-view.tsx +0 -105
- package/src/browser/components/message-actions.tsx +0 -89
- package/src/browser/components/message-footer.tsx +0 -128
- package/src/browser/components/message-list.spec.tsx +0 -321
- package/src/browser/components/message-list.tsx +0 -328
- package/src/browser/components/notice-center.tsx +0 -193
- package/src/browser/components/plus-menu.spec.ts +0 -16
- package/src/browser/components/relay-view.tsx +0 -146
- package/src/browser/components/remote-hosts.tsx +0 -149
- package/src/browser/components/remote-prompts.tsx +0 -111
- package/src/browser/components/run-status.tsx +0 -70
- package/src/browser/components/session-settings.spec.tsx +0 -49
- package/src/browser/components/session-settings.tsx +0 -119
- package/src/browser/components/session-view.tsx +0 -214
- package/src/browser/components/settings-controls.tsx +0 -94
- package/src/browser/components/settings-view.tsx +0 -581
- package/src/browser/components/split-pane.tsx +0 -108
- package/src/browser/components/ta-avatar.spec.tsx +0 -27
- package/src/browser/components/ta-avatar.tsx +0 -251
- package/src/browser/components/terminal-art.tsx +0 -21
- package/src/browser/components/tool-view.tsx +0 -186
- package/src/browser/components/trusted-domains.tsx +0 -60
- package/src/browser/components/web-composer.tsx +0 -62
- package/src/browser/components/web-dialog.tsx +0 -29
- package/src/browser/components/workbench-toggle.spec.tsx +0 -35
- package/src/browser/components/workbench-toggle.tsx +0 -24
- package/src/browser/components/workbench-view.tsx +0 -77
- package/src/browser/components/working-directory.tsx +0 -22
- package/src/browser/editor/monaco-loader.spec.ts +0 -39
- package/src/browser/editor/monaco-loader.ts +0 -139
- package/src/browser/editor/monaco.ts +0 -55
- package/src/browser/editor/worker-modules.d.ts +0 -5
- package/src/browser/extension/extension-view.tsx +0 -78
- package/src/browser/extension/icons.ts +0 -171
- package/src/browser/extension/web-extension-api.ts +0 -478
- package/src/browser/extension/web-extension-protocol.ts +0 -154
- package/src/browser/extension/web-extensions.spec.ts +0 -597
- package/src/browser/extension/web-extensions.ts +0 -762
- package/src/browser/hooks.ts +0 -102
- package/src/browser/i18n/locales.ts +0 -20
- package/src/browser/i18n/messages.ts +0 -950
- package/src/browser/i18n/use-t.ts +0 -21
- package/src/browser/index.ts +0 -52
- package/src/browser/links/links-protocol.ts +0 -41
- package/src/browser/links/links.spec.ts +0 -132
- package/src/browser/links/links.ts +0 -127
- package/src/browser/markdown/hooks.ts +0 -32
- package/src/browser/markdown/lazy.spec.ts +0 -34
- package/src/browser/markdown/lazy.ts +0 -46
- package/src/browser/markdown/math.spec.ts +0 -20
- package/src/browser/markdown/math.ts +0 -33
- package/src/browser/markdown/mermaid.spec.ts +0 -21
- package/src/browser/markdown/mermaid.ts +0 -89
- package/src/browser/markdown/style-modules.d.ts +0 -2
- package/src/browser/module.ts +0 -6
- package/src/browser/notices/notices-protocol.ts +0 -95
- package/src/browser/notices/notices.spec.ts +0 -105
- package/src/browser/notices/notices.ts +0 -189
- package/src/browser/pwa/pwa-protocol.ts +0 -22
- package/src/browser/pwa/pwa.spec.ts +0 -143
- package/src/browser/pwa/pwa.ts +0 -123
- package/src/browser/settings/agent-settings.spec.ts +0 -56
- package/src/browser/settings/agent-settings.ts +0 -96
- package/src/browser/settings/settings-protocol.ts +0 -75
- package/src/browser/settings/settings.spec.ts +0 -31
- package/src/browser/settings/settings.ts +0 -89
- package/src/browser/state/state-protocol.ts +0 -71
- package/src/browser/state/state.spec.ts +0 -214
- package/src/browser/state/state.ts +0 -217
- package/src/browser/style/base.ts +0 -144
- package/src/browser/style/conversation.ts +0 -215
- package/src/browser/style/layout.ts +0 -408
- package/src/browser/style/pages.ts +0 -74
- package/src/browser/style/shell.ts +0 -236
- package/src/browser/style.ts +0 -11
- package/src/browser/terminal/canvas-font.spec.ts +0 -29
- package/src/browser/terminal/canvas-font.ts +0 -32
- package/src/browser/terminal/terminal-links.spec.ts +0 -32
- package/src/browser/terminal/terminal-links.ts +0 -75
- package/src/browser/terminal/terminal-theme.spec.ts +0 -23
- package/src/browser/terminal/terminal-theme.ts +0 -66
- package/src/browser/terminal/web-terminal.ts +0 -330
- package/src/browser/terminal/xterm.ts +0 -10
- package/src/browser/util/composer.spec.ts +0 -71
- package/src/browser/util/composer.ts +0 -157
- package/src/browser/util/desktop.spec.ts +0 -68
- package/src/browser/util/desktop.ts +0 -96
- package/src/browser/util/diff.spec.ts +0 -20
- package/src/browser/util/diff.ts +0 -33
- package/src/browser/util/file-drag.spec.ts +0 -48
- package/src/browser/util/file-drag.ts +0 -78
- package/src/browser/util/frame.spec.ts +0 -62
- package/src/browser/util/frame.ts +0 -54
- package/src/browser/util/layout.spec.ts +0 -37
- package/src/browser/util/layout.ts +0 -71
- package/src/browser/util/link.spec.ts +0 -104
- package/src/browser/util/link.ts +0 -237
- package/src/browser/util/markdown.spec.ts +0 -133
- package/src/browser/util/markdown.ts +0 -347
- package/src/browser/util/message.spec.ts +0 -65
- package/src/browser/util/message.ts +0 -191
- package/src/browser/util/process.spec.ts +0 -133
- package/src/browser/util/process.ts +0 -166
- package/src/browser/util/progress.spec.ts +0 -86
- package/src/browser/util/progress.ts +0 -170
- package/src/browser/util/qr-code.spec.ts +0 -49
- package/src/browser/util/qr-code.ts +0 -371
- package/src/browser/util/terminal-text.spec.ts +0 -60
- package/src/browser/util/terminal-text.ts +0 -223
- package/src/browser/util/tool.spec.ts +0 -90
- package/src/browser/util/tool.ts +0 -207
- package/src/browser/view.ts +0 -6
- package/src/browser/workbench-protocol.ts +0 -74
- package/src/browser/workbench.spec.ts +0 -37
- package/src/browser/workbench.ts +0 -326
- /package/{src/browser/public → public}/icons/apple-touch-icon.png +0 -0
- /package/{src/browser/public → public}/icons/icon-192.png +0 -0
- /package/{src/browser/public → public}/icons/icon-512.png +0 -0
- /package/{src/browser/public → public}/icons/icon.svg +0 -0
- /package/{src/browser/public → public}/icons/maskable-512.png +0 -0
- /package/{src/browser/public → public}/manifest.webmanifest +0 -0
- /package/{src/browser/public → public}/sw.js +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { WebTaskEntry } from '../extension/web-extension-api.js';
|
|
3
|
+
/**
|
|
4
|
+
* The card of the board (ta-launcher.md): what waits for the user, then what runs, of every extension; a tap
|
|
5
|
+
* opens one where it opens from the double. The rest are counted, and open the list of tasks.
|
|
6
|
+
*/
|
|
7
|
+
export declare function TasksBoardCard({ useTasks, onAll }: {
|
|
8
|
+
useTasks(): readonly WebTaskEntry[];
|
|
9
|
+
onAll(): void;
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { EmptyState } from '../components/empty-state.js';
|
|
3
|
+
import { WebTaskUtil } from '../extension/web-tasks.js';
|
|
4
|
+
import { useT } from '../i18n/use-t.js';
|
|
5
|
+
import { TaskRow } from './task-views.js';
|
|
6
|
+
/** How many tasks the card lists. */
|
|
7
|
+
const SHOWN = 3;
|
|
8
|
+
/**
|
|
9
|
+
* The card of the board (ta-launcher.md): what waits for the user, then what runs, of every extension; a tap
|
|
10
|
+
* opens one where it opens from the double. The rest are counted, and open the list of tasks.
|
|
11
|
+
*/
|
|
12
|
+
export function TasksBoardCard({ useTasks, onAll }) {
|
|
13
|
+
const t = useT();
|
|
14
|
+
const tasks = useTasks();
|
|
15
|
+
const groups = React.useMemo(() => WebTaskUtil.groups(tasks), [tasks]);
|
|
16
|
+
const active = [...groups.waiting, ...groups.running];
|
|
17
|
+
if (active.length === 0) {
|
|
18
|
+
return React.createElement(EmptyState, { title: t('ta.board.noTasks'), compact: true });
|
|
19
|
+
}
|
|
20
|
+
return (React.createElement("div", { className: "ta-board-tasks" },
|
|
21
|
+
React.createElement("ul", { className: "ta-task-rows" }, active.slice(0, SHOWN).map(task => (React.createElement(TaskRow, { key: task.key, task: task })))),
|
|
22
|
+
active.length > SHOWN && (React.createElement("button", { type: "button", className: "ta-task-more-rows", onClick: onAll }, t('ta.board.moreTasks', { count: active.length - SHOWN })))));
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=task-card.js.map
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { WebTask, WebTaskEntry, WebTaskRemoval } from '../extension/web-extension-api.js';
|
|
3
|
+
import { type Translate } from '../i18n/use-t.js';
|
|
4
|
+
import type { AssistantAsk } from './assistant-protocol.js';
|
|
5
|
+
/** The dot of a status, in the colors of the steps of a turn. */
|
|
6
|
+
export declare const TASK_DOT: Record<WebTask['status'], string>;
|
|
7
|
+
/** How long it ran: ticking while it goes on. */
|
|
8
|
+
export declare function Elapsed({ task }: {
|
|
9
|
+
task: Pick<WebTask, 'startedAt' | 'endedAt' | 'status'>;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
/** Its face; the double's tasks a tile with a list. */
|
|
12
|
+
export declare function TaskIcon({ task, size }: {
|
|
13
|
+
task: WebTaskEntry;
|
|
14
|
+
size: number;
|
|
15
|
+
}): React.JSX.Element;
|
|
16
|
+
/** What it is at: its status, and what goes on now or how it ended when that says more. */
|
|
17
|
+
export declare function taskLine(task: WebTask, t: Translate): string;
|
|
18
|
+
/** A task in the turn of the double that started it: who does it, what it is at, for how long. */
|
|
19
|
+
export declare const TaskCard: React.MemoExoticComponent<({ task }: {
|
|
20
|
+
task: WebTaskEntry;
|
|
21
|
+
}) => React.JSX.Element>;
|
|
22
|
+
/** The tasks a turn started, under what it did. */
|
|
23
|
+
export declare function TaskCards({ tasks }: {
|
|
24
|
+
tasks: WebTaskEntry[];
|
|
25
|
+
}): React.JSX.Element | null;
|
|
26
|
+
/** What a list of tasks does with its rows: the same functions for every row, so that a row draws again only for its own change. */
|
|
27
|
+
export interface TaskListActions {
|
|
28
|
+
/** Deletes it once the user agrees. */
|
|
29
|
+
remove(task: WebTaskEntry): void;
|
|
30
|
+
/** The list starts selecting, with it chosen. */
|
|
31
|
+
select(key: string): void;
|
|
32
|
+
/** Chooses it, or no longer, while the list selects. */
|
|
33
|
+
toggle(key: string): void;
|
|
34
|
+
}
|
|
35
|
+
export interface TaskRowProps {
|
|
36
|
+
task: WebTaskEntry;
|
|
37
|
+
actions?: TaskListActions;
|
|
38
|
+
/** The list selects: a tap chooses the row, `checked` once chosen. */
|
|
39
|
+
selecting?: boolean;
|
|
40
|
+
checked?: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A task in a list: its face, its title and what it is at, its time. On a phone a swipe to the left shows
|
|
44
|
+
* Delete behind it, as the other lists; its menu starts selecting several, to delete them at once.
|
|
45
|
+
*/
|
|
46
|
+
export declare const TaskRow: React.MemoExoticComponent<({ task, actions, selecting, checked }: TaskRowProps) => React.JSX.Element>;
|
|
47
|
+
/**
|
|
48
|
+
* Which tasks of a list are chosen while it selects (undefined while it does not), and what its rows do: a
|
|
49
|
+
* swipe deletes one, the menu of one starts selecting, and the bar deletes those chosen, asked once. Those
|
|
50
|
+
* gone from the list are no longer chosen; with none left that can be deleted, it stops selecting.
|
|
51
|
+
*/
|
|
52
|
+
export declare function useTaskSelection(tasks: readonly WebTaskEntry[], remove: (tasks: readonly WebTaskRemoval[]) => Promise<boolean>): {
|
|
53
|
+
actions: TaskListActions;
|
|
54
|
+
selecting: boolean;
|
|
55
|
+
isChosen: (task: WebTaskEntry) => boolean;
|
|
56
|
+
selected: WebTaskEntry[];
|
|
57
|
+
removable: WebTaskEntry[];
|
|
58
|
+
selectAll: (all: boolean) => void;
|
|
59
|
+
done: () => void;
|
|
60
|
+
/** Deletes those chosen once the user agrees, and stops selecting. */
|
|
61
|
+
removeSelected: () => Promise<void>;
|
|
62
|
+
};
|
|
63
|
+
/** Every task: what waits for the user, what runs, then what ended, the latest first. `onRemove` deletes some once the user agrees (useRemoveTasks). */
|
|
64
|
+
export declare function TaskBoardList({ tasks, onRemove }: {
|
|
65
|
+
tasks: readonly WebTaskEntry[];
|
|
66
|
+
onRemove(tasks: readonly WebTaskRemoval[]): Promise<boolean>;
|
|
67
|
+
}): React.JSX.Element;
|
|
68
|
+
/** In the head of the double: how many run and how many wait for the user; the tasks open on a click. */
|
|
69
|
+
export declare function TasksChip({ tasks, onOpen }: {
|
|
70
|
+
tasks: readonly WebTaskEntry[];
|
|
71
|
+
onOpen(): void;
|
|
72
|
+
}): React.JSX.Element;
|
|
73
|
+
/** A task the double is about to start, waiting for the user's go: what it would do, where. */
|
|
74
|
+
export declare function AskCard({ ask, focus, onAnswer }: {
|
|
75
|
+
ask: AssistantAsk;
|
|
76
|
+
focus?: boolean;
|
|
77
|
+
onAnswer(start: boolean): void;
|
|
78
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { ChevronRight, ListTodo, MoreHorizontal, Play } from 'lucide-react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useContextMenu } from '../components/context-menu.js';
|
|
4
|
+
import { TasksPicture } from '../components/empty-pictures.js';
|
|
5
|
+
import { EmptyState } from '../components/empty-state.js';
|
|
6
|
+
import { Icon, IconButton } from '../components/icon.js';
|
|
7
|
+
import { SelectBar, SelectCheck } from '../components/select-bar.js';
|
|
8
|
+
import { SwipeRow } from '../components/swipe-row.js';
|
|
9
|
+
import { WebTaskUtil } from '../extension/web-tasks.js';
|
|
10
|
+
import { useT } from '../i18n/use-t.js';
|
|
11
|
+
// The tasks of the double and of extensions, drawn alike: a card in the turn that started it, a row in the lists.
|
|
12
|
+
/** The dot of a status, in the colors of the steps of a turn. */
|
|
13
|
+
export const TASK_DOT = { running: 'running', waiting: 'waiting', done: 'done', failed: 'error', stopped: 'cancelled' };
|
|
14
|
+
/** One clock for every time shown: a second's tick draws again only what shows a running time. */
|
|
15
|
+
var Clock;
|
|
16
|
+
(function (Clock) {
|
|
17
|
+
const listeners = new Set();
|
|
18
|
+
let timer;
|
|
19
|
+
let now = Date.now();
|
|
20
|
+
function subscribe(listener) {
|
|
21
|
+
listeners.add(listener);
|
|
22
|
+
if (!timer) {
|
|
23
|
+
now = Date.now();
|
|
24
|
+
timer = setInterval(() => {
|
|
25
|
+
now = Date.now();
|
|
26
|
+
for (const each of listeners) {
|
|
27
|
+
each();
|
|
28
|
+
}
|
|
29
|
+
}, 1000);
|
|
30
|
+
}
|
|
31
|
+
return () => {
|
|
32
|
+
listeners.delete(listener);
|
|
33
|
+
if (listeners.size === 0 && timer) {
|
|
34
|
+
clearInterval(timer);
|
|
35
|
+
timer = undefined;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
Clock.subscribe = subscribe;
|
|
40
|
+
function read() {
|
|
41
|
+
return now;
|
|
42
|
+
}
|
|
43
|
+
Clock.read = read;
|
|
44
|
+
})(Clock || (Clock = {}));
|
|
45
|
+
const still = () => () => undefined;
|
|
46
|
+
const never = () => 0;
|
|
47
|
+
/** How long it ran: ticking while it goes on. */
|
|
48
|
+
export function Elapsed({ task }) {
|
|
49
|
+
var _a;
|
|
50
|
+
const live = !WebTaskUtil.ended(task);
|
|
51
|
+
const now = React.useSyncExternalStore(live ? Clock.subscribe : still, live ? Clock.read : never);
|
|
52
|
+
return React.createElement("span", { className: "ta-task-time" }, WebTaskUtil.elapsed(task, live ? now : ((_a = task.endedAt) !== null && _a !== void 0 ? _a : task.startedAt)));
|
|
53
|
+
}
|
|
54
|
+
/** Its face; the double's tasks a tile with a list. */
|
|
55
|
+
export function TaskIcon({ task, size }) {
|
|
56
|
+
const Own = task.icon;
|
|
57
|
+
if (Own) {
|
|
58
|
+
return (React.createElement("span", { className: "ta-task-icon", style: { width: size, height: size } },
|
|
59
|
+
React.createElement(Own, { size: size })));
|
|
60
|
+
}
|
|
61
|
+
return (React.createElement("span", { className: "ta-task-icon ta-task-glyph", style: { width: size, height: size } },
|
|
62
|
+
React.createElement(Icon, { icon: ListTodo, size: Math.round(size * 0.5) })));
|
|
63
|
+
}
|
|
64
|
+
/** What it is at: its status, and what goes on now or how it ended when that says more. */
|
|
65
|
+
export function taskLine(task, t) {
|
|
66
|
+
var _a;
|
|
67
|
+
const status = t(`ta.task.${task.status}`);
|
|
68
|
+
const detail = (_a = task.detail) === null || _a === void 0 ? void 0 : _a.trim();
|
|
69
|
+
return detail && detail !== status ? detail : status;
|
|
70
|
+
}
|
|
71
|
+
function menuItems(task, more) {
|
|
72
|
+
var _a;
|
|
73
|
+
var _b;
|
|
74
|
+
return [
|
|
75
|
+
...((_b = (_a = task.menu) === null || _a === void 0 ? void 0 : _a.call(task)) !== null && _b !== void 0 ? _b : []).map(section => section.map(item => ({ label: item.label, disabled: item.disabled, danger: item.danger, run: item.run }))),
|
|
76
|
+
more,
|
|
77
|
+
]
|
|
78
|
+
.filter(section => section.length > 0)
|
|
79
|
+
.flatMap((section, index) => [...(index > 0 ? ['-'] : []), ...section]);
|
|
80
|
+
}
|
|
81
|
+
/** A held finger or a right click opens its …; so does the button that shows on hover. `more`: what the list adds, last. */
|
|
82
|
+
function useTaskMenu(task, more = []) {
|
|
83
|
+
const [menu, openMenu] = useContextMenu();
|
|
84
|
+
const open = (event) => {
|
|
85
|
+
const items = menuItems(task, more);
|
|
86
|
+
if (items.length > 0) {
|
|
87
|
+
openMenu(event, items);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
return [menu, open];
|
|
91
|
+
}
|
|
92
|
+
/** A task in the turn of the double that started it: who does it, what it is at, for how long. */
|
|
93
|
+
export const TaskCard = React.memo(function TaskCard({ task }) {
|
|
94
|
+
const t = useT();
|
|
95
|
+
const [menu, openMenu] = useTaskMenu(task);
|
|
96
|
+
return (React.createElement("div", { className: `ta-task-card ta-task-${task.status}` },
|
|
97
|
+
React.createElement("button", { type: "button", className: "ta-task-card-main", onClick: () => task.open(), onContextMenu: openMenu },
|
|
98
|
+
React.createElement(TaskIcon, { task: task, size: 32 }),
|
|
99
|
+
React.createElement("span", { className: "ta-task-card-text" },
|
|
100
|
+
React.createElement("span", { className: "ta-task-card-top" },
|
|
101
|
+
React.createElement("span", { className: "ta-task-card-title" }, task.title),
|
|
102
|
+
React.createElement(Elapsed, { task: task })),
|
|
103
|
+
React.createElement("span", { className: "ta-task-card-bottom" },
|
|
104
|
+
React.createElement("span", { className: `ta-status ta-status-${TASK_DOT[task.status]}` }),
|
|
105
|
+
React.createElement("span", { className: "ta-task-card-detail" }, taskLine(task, t)))),
|
|
106
|
+
React.createElement(Icon, { icon: ChevronRight, size: 15, className: "ta-task-chevron" })),
|
|
107
|
+
task.menu && React.createElement(IconButton, { icon: MoreHorizontal, label: t('ta.more'), className: "ta-task-more", onClick: openMenu }),
|
|
108
|
+
menu));
|
|
109
|
+
});
|
|
110
|
+
/** The tasks a turn started, under what it did. */
|
|
111
|
+
export function TaskCards({ tasks }) {
|
|
112
|
+
if (tasks.length === 0) {
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
return (React.createElement("div", { className: "ta-task-cards" }, tasks.map(task => (React.createElement(TaskCard, { key: task.key, task: task })))));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* A task in a list: its face, its title and what it is at, its time. On a phone a swipe to the left shows
|
|
119
|
+
* Delete behind it, as the other lists; its menu starts selecting several, to delete them at once.
|
|
120
|
+
*/
|
|
121
|
+
export const TaskRow = React.memo(function TaskRow({ task, actions, selecting = false, checked = false }) {
|
|
122
|
+
const t = useT();
|
|
123
|
+
const removable = !!task.remove && !!actions;
|
|
124
|
+
const [menu, openMenu] = useTaskMenu(task, removable ? [{ label: t('ta.tasks.select'), run: () => actions === null || actions === void 0 ? void 0 : actions.select(task.key) }] : []);
|
|
125
|
+
const swipe = removable && !selecting ? [{ key: 'remove', label: t('ta.task.remove'), danger: true, run: () => actions === null || actions === void 0 ? void 0 : actions.remove(task) }] : undefined;
|
|
126
|
+
return (React.createElement(SwipeRow, { as: "li", className: `ta-task-row ta-task-${task.status}${selecting ? ' ta-selecting' : ''}`, actions: swipe, overlay: menu, onContextMenu: selecting ? undefined : openMenu },
|
|
127
|
+
React.createElement("button", { type: "button", className: "ta-task-row-main", "aria-pressed": selecting ? checked : undefined, disabled: selecting && !removable, onClick: selecting ? () => actions === null || actions === void 0 ? void 0 : actions.toggle(task.key) : () => task.open() },
|
|
128
|
+
selecting && React.createElement(SelectCheck, { checked: checked, disabled: !removable }),
|
|
129
|
+
React.createElement(TaskIcon, { task: task, size: 28 }),
|
|
130
|
+
React.createElement("span", { className: "ta-task-row-text" },
|
|
131
|
+
React.createElement("span", { className: "ta-task-row-title" }, task.title),
|
|
132
|
+
React.createElement("span", { className: "ta-task-row-detail" },
|
|
133
|
+
React.createElement("span", { className: `ta-status ta-status-${TASK_DOT[task.status]}` }),
|
|
134
|
+
React.createElement("span", null, taskLine(task, t)))),
|
|
135
|
+
React.createElement(Elapsed, { task: task })),
|
|
136
|
+
(task.menu || removable) && !selecting && React.createElement(IconButton, { icon: MoreHorizontal, label: t('ta.more'), className: "ta-task-more", onClick: openMenu })));
|
|
137
|
+
});
|
|
138
|
+
const ENDED_SHOWN = 8;
|
|
139
|
+
/**
|
|
140
|
+
* Which tasks of a list are chosen while it selects (undefined while it does not), and what its rows do: a
|
|
141
|
+
* swipe deletes one, the menu of one starts selecting, and the bar deletes those chosen, asked once. Those
|
|
142
|
+
* gone from the list are no longer chosen; with none left that can be deleted, it stops selecting.
|
|
143
|
+
*/
|
|
144
|
+
export function useTaskSelection(tasks, remove) {
|
|
145
|
+
const [chosen, setChosen] = React.useState();
|
|
146
|
+
const removable = React.useMemo(() => tasks.filter(task => task.remove), [tasks]);
|
|
147
|
+
const selected = chosen ? removable.filter(task => chosen.has(task.key)) : [];
|
|
148
|
+
const selecting = !!chosen && removable.length > 0;
|
|
149
|
+
React.useEffect(() => {
|
|
150
|
+
if (chosen && removable.length === 0) {
|
|
151
|
+
setChosen(undefined);
|
|
152
|
+
}
|
|
153
|
+
}, [chosen, removable.length]);
|
|
154
|
+
const actions = React.useMemo(() => ({
|
|
155
|
+
remove: task => void remove([task]),
|
|
156
|
+
select: key => setChosen(new Set([key])),
|
|
157
|
+
toggle: key => setChosen(before => {
|
|
158
|
+
const next = new Set(before);
|
|
159
|
+
if (!next.delete(key)) {
|
|
160
|
+
next.add(key);
|
|
161
|
+
}
|
|
162
|
+
return next;
|
|
163
|
+
}),
|
|
164
|
+
}), [remove]);
|
|
165
|
+
return {
|
|
166
|
+
actions,
|
|
167
|
+
selecting,
|
|
168
|
+
isChosen: (task) => !!(chosen === null || chosen === void 0 ? void 0 : chosen.has(task.key)),
|
|
169
|
+
selected,
|
|
170
|
+
removable,
|
|
171
|
+
selectAll: (all) => setChosen(new Set(all ? removable.map(task => task.key) : [])),
|
|
172
|
+
done: () => setChosen(undefined),
|
|
173
|
+
/** Deletes those chosen once the user agrees, and stops selecting. */
|
|
174
|
+
removeSelected: async () => {
|
|
175
|
+
if (await remove(selected)) {
|
|
176
|
+
setChosen(undefined);
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
/** Every task: what waits for the user, what runs, then what ended, the latest first. `onRemove` deletes some once the user agrees (useRemoveTasks). */
|
|
182
|
+
export function TaskBoardList({ tasks, onRemove }) {
|
|
183
|
+
const t = useT();
|
|
184
|
+
const [all, setAll] = React.useState(false);
|
|
185
|
+
const groups = React.useMemo(() => WebTaskUtil.groups(tasks), [tasks]);
|
|
186
|
+
const selection = useTaskSelection(tasks, onRemove);
|
|
187
|
+
if (tasks.length === 0) {
|
|
188
|
+
return React.createElement(EmptyState, { picture: React.createElement(TasksPicture, null), title: t('ta.assistant.noTasks'), hint: t('ta.assistant.noTasksHint') });
|
|
189
|
+
}
|
|
190
|
+
// Selecting, every row shows: Select all chooses what the user sees.
|
|
191
|
+
const ended = all || selection.selecting ? groups.ended : groups.ended.slice(0, ENDED_SHOWN);
|
|
192
|
+
const group = (title, list, more) => list.length > 0 && (React.createElement("section", { className: "ta-task-group" },
|
|
193
|
+
React.createElement("div", { className: "ta-task-group-title" },
|
|
194
|
+
React.createElement("span", null, t(title)),
|
|
195
|
+
React.createElement("span", { className: "ta-task-group-count" }, list === ended ? groups.ended.length : list.length)),
|
|
196
|
+
React.createElement("ul", { className: "ta-task-rows" }, list.map(task => (React.createElement(TaskRow, { key: task.key, task: task, actions: selection.actions, selecting: selection.selecting, checked: selection.isChosen(task) })))),
|
|
197
|
+
more));
|
|
198
|
+
return (React.createElement(React.Fragment, null,
|
|
199
|
+
group('ta.tasks.waiting', groups.waiting),
|
|
200
|
+
group('ta.tasks.running', groups.running),
|
|
201
|
+
group('ta.tasks.ended', ended, groups.ended.length > ENDED_SHOWN && !selection.selecting && (React.createElement("button", { type: "button", className: "ta-task-more-rows", onClick: () => setAll(!all) }, t(all ? 'ta.tasks.fewer' : 'ta.tasks.all', { count: groups.ended.length })))),
|
|
202
|
+
selection.selecting && (React.createElement(SelectBar, { count: selection.selected.length, total: selection.removable.length, onSelectAll: selection.selectAll, onDone: selection.done, actions: [{ key: 'remove', label: t('ta.task.remove'), danger: true, run: () => void selection.removeSelected() }] }))));
|
|
203
|
+
}
|
|
204
|
+
/** In the head of the double: how many run and how many wait for the user; the tasks open on a click. */
|
|
205
|
+
export function TasksChip({ tasks, onOpen }) {
|
|
206
|
+
const t = useT();
|
|
207
|
+
const running = tasks.filter(task => task.status === 'running').length;
|
|
208
|
+
const waiting = tasks.filter(task => task.status === 'waiting').length;
|
|
209
|
+
if (running === 0 && waiting === 0) {
|
|
210
|
+
return React.createElement(IconButton, { icon: ListTodo, label: t('ta.assistant.showTasks'), onClick: onOpen });
|
|
211
|
+
}
|
|
212
|
+
return (React.createElement("button", { type: "button", className: "ta-tasks-chip", title: t('ta.assistant.showTasks'), onClick: onOpen },
|
|
213
|
+
running > 0 && (React.createElement("span", { className: "ta-tasks-chip-part" },
|
|
214
|
+
React.createElement("span", { className: "ta-status ta-status-running" }),
|
|
215
|
+
t('ta.tasks.runningCount', { count: running }))),
|
|
216
|
+
waiting > 0 && (React.createElement("span", { className: "ta-tasks-chip-part ta-tasks-chip-waiting" },
|
|
217
|
+
React.createElement("span", { className: "ta-status ta-status-waiting" }),
|
|
218
|
+
t('ta.tasks.waitingCount', { count: waiting })))));
|
|
219
|
+
}
|
|
220
|
+
/** A task the double is about to start, waiting for the user's go: what it would do, where. */
|
|
221
|
+
export function AskCard({ ask, focus, onAnswer }) {
|
|
222
|
+
const t = useT();
|
|
223
|
+
const [open, setOpen] = React.useState(false);
|
|
224
|
+
return (React.createElement("div", { className: "ta-dialog ta-glass ta-ask-card", role: "dialog", "aria-label": ask.title, onKeyDown: event => event.key === 'Escape' && onAnswer(false) },
|
|
225
|
+
React.createElement("div", { className: "ta-ask-card-head" },
|
|
226
|
+
React.createElement("span", { className: "ta-task-icon ta-task-glyph", style: { width: 28, height: 28 } },
|
|
227
|
+
React.createElement(Icon, { icon: ListTodo, size: 14 })),
|
|
228
|
+
React.createElement("span", { className: "ta-ask-card-text" },
|
|
229
|
+
React.createElement("span", { className: "ta-dialog-title" }, t('ta.ask.title', { title: ask.title })),
|
|
230
|
+
React.createElement("span", { className: "ta-ask-card-where", title: ask.cwd }, ask.cwd))),
|
|
231
|
+
React.createElement("button", { type: "button", className: `ta-ask-card-plan${open ? ' ta-open' : ''}`, "aria-expanded": open, onClick: () => setOpen(!open) }, ask.instructions),
|
|
232
|
+
React.createElement("div", { className: "ta-dialog-actions" },
|
|
233
|
+
React.createElement("button", { type: "button", className: "ta-button", onClick: () => onAnswer(false) }, t('ta.ask.no')),
|
|
234
|
+
React.createElement("button", { type: "button", className: "ta-button ta-primary", autoFocus: focus, onClick: () => onAnswer(true) },
|
|
235
|
+
React.createElement(Icon, { icon: Play, size: 13 }),
|
|
236
|
+
" ",
|
|
237
|
+
t('ta.ask.start')))));
|
|
238
|
+
}
|
|
239
|
+
//# sourceMappingURL=task-views.js.map
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { type Matrix } from './dino-geometry.js';
|
|
2
|
+
import { type Bone, type Point } from './dino-shape.js';
|
|
3
|
+
import { DinoSpecies } from './dino-species.js';
|
|
1
4
|
/** What ta is doing, as its face and pose show it. */
|
|
2
5
|
export type Mood = 'idle' | 'listening' | 'thinking' | 'working' | 'speaking' | 'attention' | 'done' | 'sleeping';
|
|
3
6
|
export declare const MOODS: Mood[];
|
|
4
7
|
/** The viewBox of assets/logo.svg with a little room around it for the marks. */
|
|
5
8
|
export declare const AVATAR_VIEWBOX = "-8 -8 272 272";
|
|
6
|
-
/** The outline of assets/logo.svg; dino-avatar.spec.ts keeps the two the same. */
|
|
7
|
-
export declare const LOGO_PATH = "M87.56 246.56C78.45 245.88 69.68 241.69 63.62 235.12C55.27 226.06 53.05 217.63 57.25 210.87C58.80 208.36 60.00 207.04 65.18 202.17C69.26 198.32 70.20 196.55 70.21 192.69C70.21 189.81 70.10 189.60 68.07 188.59C58.99 184.06 48.53 175.16 41.10 165.64C20.03 138.61 16.32 99.87 32.24 73.21C35.05 68.50 38.42 64.26 40.25 63.11C42.91 61.44 46.64 61.89 48.71 64.14C51.04 66.67 51.48 69.39 50.27 73.65C48.09 81.27 47.41 86.83 47.99 92.32C49.53 106.98 58.42 118.20 70.83 121.15C73.08 121.68 78.88 121.72 81.15 121.22C88.97 119.48 94.86 113.39 96.69 105.18C97.35 102.17 97.35 102.36 97.36 79.55C97.37 56.55 97.35 57.24 98.04 53.23C102.05 29.98 119.81 12.19 141.49 9.73C143.46 9.51 150.65 9.43 152.36 9.61C160.37 10.46 167.56 12.82 174.51 16.89C177.43 18.59 176.54 18.47 186.86 18.57C196.67 18.66 196.99 18.68 200.87 19.58C210.24 21.74 219.17 27.62 224.57 35.17C229.72 42.38 232.50 49.80 233.36 58.67C233.68 61.91 233.71 76.53 233.41 78.22C232.01 86.00 227.35 91.05 220.23 92.50C218.50 92.85 180.16 92.91 177.10 92.57C165.61 91.28 155.17 86.13 150.52 79.47C148.44 76.48 145.54 75.90 143.40 78.04C141.49 79.95 141.76 81.92 144.74 87.63C150.17 98.03 159.04 105.16 169.50 107.52C172.11 108.11 172.69 107.96 173.25 106.55C173.81 105.12 174.70 103.52 175.57 102.37C178.23 98.86 180.68 100.09 183.51 106.36C184.55 108.67 183.79 108.47 191.23 108.44C198.27 108.42 197.86 108.50 198.43 107.20C200.89 101.63 202.81 99.79 204.99 100.89C206.11 101.47 207.63 103.65 208.74 106.31C209.67 108.51 209.55 108.45 213.05 108.41C216.35 108.36 217.08 108.45 218.31 109.05C225.39 112.51 217.61 125.59 205.66 130.33C199.65 132.71 198.20 132.85 180.39 132.87C164.51 132.89 165.38 132.84 164.14 133.78C162.82 134.78 162.30 136.08 162.30 138.40C162.30 139.80 161.98 143.39 161.42 148.29C159.70 163.39 153.05 175.87 141.81 185.08C138.73 187.60 134.92 189.85 129.84 192.14C125.19 194.25 115.57 196.33 110.54 196.34C109.17 196.34 108.60 196.57 108.23 197.27C108.10 197.53 107.64 198.49 107.20 199.42C103.90 206.45 98.19 211.37 88.72 215.35C85.89 216.54 85.91 216.52 85.98 219.64C86.04 222.32 86.33 222.69 90.00 224.75C92.29 226.04 94.81 227.75 95.82 228.71C100.98 233.57 100.86 241.48 95.60 244.93C93.34 246.41 91.24 246.84 87.56 246.56ZM134.07 240.25C128.56 238.82 125.22 235.56 123.96 230.38C123.70 229.30 123.68 228.71 123.59 220.23C123.53 214.63 123.44 210.89 123.34 210.35C123.00 208.36 122.74 207.31 122.25 205.86C121.48 203.62 121.59 203.31 123.26 202.93C129.90 201.41 136.34 198.97 140.57 196.35C147.00 192.39 151.46 188.55 155.60 183.42C157.24 181.39 157.77 181.54 158.23 184.19C159.89 193.79 157.66 202.21 151.13 210.89C149.39 213.20 149.36 213.30 149.36 215.69C149.35 218.41 149.61 218.72 151.96 218.75C157.60 218.82 162.31 219.95 165.26 221.92C173.20 227.23 172.45 238.39 164.03 240.43C162.18 240.88 135.88 240.72 134.07 240.25ZM185.67 173.17C183.79 172.66 182.15 171.55 180.81 169.86C178.08 166.41 174.71 164.68 169.71 164.16C166.89 163.87 166.86 163.80 167.90 160.34C168.86 157.13 169.71 152.32 170.10 147.82C170.40 144.42 170.40 144.42 170.65 144.15C172.11 142.53 184.08 147.33 189.10 151.54C193.73 155.43 196.56 162.25 195.41 166.75C194.22 171.40 189.83 174.29 185.67 173.17ZM144.28 53.97C148.98 52.79 151.98 47.68 150.77 42.91C148.71 34.78 137.83 33.29 134.20 40.65C130.66 47.83 136.74 55.88 144.28 53.97Z";
|
|
8
9
|
/**
|
|
9
10
|
* How the dinosaur stands, in degrees and viewBox units; REST is the logo. Positive angles turn
|
|
10
11
|
* clockwise: they open the jaw, lower the head, and swing a leg back.
|
|
@@ -30,57 +31,16 @@ export interface Pose {
|
|
|
30
31
|
/** The tail at its root, and its tip bending on from there. */
|
|
31
32
|
tail: number;
|
|
32
33
|
tip: number;
|
|
33
|
-
/** The legs, how high each foot is lifted, and the arm. */
|
|
34
|
+
/** The legs, how high each foot is lifted, and the arm (the near front leg of a kind on four legs, the wings of one that flies). */
|
|
34
35
|
back: number;
|
|
35
36
|
backLift: number;
|
|
36
37
|
front: number;
|
|
37
38
|
frontLift: number;
|
|
38
39
|
arm: number;
|
|
40
|
+
/** The wings of a kind that flies, about their shoulders: negative raises them. */
|
|
41
|
+
wing: number;
|
|
39
42
|
}
|
|
40
43
|
export declare const REST: Pose;
|
|
41
|
-
/** Where the bones turn, in the coordinates of the logo. */
|
|
42
|
-
export declare const JOINTS: {
|
|
43
|
-
feet: {
|
|
44
|
-
x: number;
|
|
45
|
-
y: number;
|
|
46
|
-
};
|
|
47
|
-
neck: {
|
|
48
|
-
x: number;
|
|
49
|
-
y: number;
|
|
50
|
-
};
|
|
51
|
-
jaw: {
|
|
52
|
-
x: number;
|
|
53
|
-
y: number;
|
|
54
|
-
};
|
|
55
|
-
tail: {
|
|
56
|
-
x: number;
|
|
57
|
-
y: number;
|
|
58
|
-
};
|
|
59
|
-
tip: {
|
|
60
|
-
x: number;
|
|
61
|
-
y: number;
|
|
62
|
-
};
|
|
63
|
-
hip: {
|
|
64
|
-
x: number;
|
|
65
|
-
y: number;
|
|
66
|
-
};
|
|
67
|
-
frontHip: {
|
|
68
|
-
x: number;
|
|
69
|
-
y: number;
|
|
70
|
-
};
|
|
71
|
-
shoulder: {
|
|
72
|
-
x: number;
|
|
73
|
-
y: number;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
/** A 2D affine transform [a, b, c, d, e, f], as in SVG's matrix(). */
|
|
77
|
-
export type Matrix = [number, number, number, number, number, number];
|
|
78
|
-
type Bone = 'body' | 'head' | 'jaw' | 'tail' | 'tip' | 'back';
|
|
79
|
-
/**
|
|
80
|
-
* How much each bone moves a point of the outline. The weights fade over a band at each joint, so
|
|
81
|
-
* the outline bends there like skin instead of breaking.
|
|
82
|
-
*/
|
|
83
|
-
export declare function weights(x: number, y: number): Record<Bone, number>;
|
|
84
44
|
/**
|
|
85
45
|
* How many pieces the rounded side of the head and body is made of, from the far side to the near one.
|
|
86
46
|
* Between two pieces the outline is swept, not stacked, so the side is smooth at every angle.
|
|
@@ -88,7 +48,10 @@ export declare function weights(x: number, y: number): Record<Bone, number>;
|
|
|
88
48
|
export declare const DEPTH = 4;
|
|
89
49
|
/** The bones of a pose, and which way (in the drawing) the near side of the head and of the body lies from their middle. */
|
|
90
50
|
interface Rig {
|
|
91
|
-
|
|
51
|
+
species: DinoSpecies;
|
|
52
|
+
bones: Record<Bone, Matrix>;
|
|
53
|
+
/** The legs, arms and wings drawn on their own, in the order of the kind's parts. */
|
|
54
|
+
parts: Matrix[];
|
|
92
55
|
eye: Matrix;
|
|
93
56
|
/** How far the near side of a point of the head, and of the body, lies from its middle (the far side lies as far the other way). */
|
|
94
57
|
head: [number, number];
|
|
@@ -102,15 +65,11 @@ interface Rig {
|
|
|
102
65
|
* profile narrows by the cosine and slides back by the sine of the angle times its depth, and the far
|
|
103
66
|
* side slides forward as far, so what lies between (its front) shows.
|
|
104
67
|
*/
|
|
105
|
-
export declare function rig(pose: Pose): Rig;
|
|
68
|
+
export declare function rig(pose: Pose, species?: DinoSpecies): Rig;
|
|
106
69
|
/** The outline of the body as you see it in a pose. */
|
|
107
70
|
export declare function skin(r: Rig): string;
|
|
108
71
|
/** Where the middle of the head is in a pose, in the coordinates of the drawing; the eyes follow what is around it from there. */
|
|
109
|
-
export declare function headAt(pose: Pose):
|
|
110
|
-
x: number;
|
|
111
|
-
y: number;
|
|
112
|
-
};
|
|
113
|
-
export declare function matrix(m: Matrix): string;
|
|
72
|
+
export declare function headAt(pose: Pose, species?: DinoSpecies): Point;
|
|
114
73
|
/** The transforms and the outline a pose draws, ready for the attributes of the drawing. */
|
|
115
74
|
export interface Frame {
|
|
116
75
|
skin: string;
|
|
@@ -118,22 +77,39 @@ export interface Frame {
|
|
|
118
77
|
far: string;
|
|
119
78
|
wall: string;
|
|
120
79
|
eye: string;
|
|
80
|
+
/** The nostrils, on the front of the snout as it turns to you, and how much they show (0 to 1). */
|
|
81
|
+
nostrils: [string, string];
|
|
121
82
|
front: string;
|
|
122
|
-
|
|
83
|
+
/** The transforms of the kind's parts, in their order. */
|
|
84
|
+
parts: string[];
|
|
85
|
+
/** What grows on its head (its decor), each on the far side and on the near one. */
|
|
86
|
+
decor: [string, string][];
|
|
87
|
+
/** Its shadow on the ground: where its middle is, how wide, how dark (lifted off the ground, smaller and fainter). */
|
|
88
|
+
shadow: {
|
|
89
|
+
cx: string;
|
|
90
|
+
rx: string;
|
|
91
|
+
opacity: string;
|
|
92
|
+
};
|
|
123
93
|
}
|
|
124
94
|
/**
|
|
125
95
|
* What a pose draws. `fine` for a large drawing; a small one (a few dozen pixels) is swept in fewer
|
|
126
96
|
* pieces, which nobody can tell apart at that size and which take a fraction of the time.
|
|
127
97
|
*/
|
|
128
|
-
export declare function frame(pose: Pose, fine?: boolean): Frame;
|
|
98
|
+
export declare function frame(pose: Pose, fine?: boolean, species?: DinoSpecies): Frame;
|
|
129
99
|
/**
|
|
130
|
-
* ta is Cell's dinosaur, drawn from the outline of assets/logo.svg; at REST it is the logo.
|
|
131
|
-
*
|
|
132
|
-
* them). Plain SVG markup; `id` keeps the
|
|
100
|
+
* ta is Cell's dinosaur, drawn from the outline of assets/logo.svg; at REST it is the logo. The user may
|
|
101
|
+
* make it another kind (dino-species.ts), which moves the same way. A pose bends the outline on its bones
|
|
102
|
+
* like skin (dino-motion.ts makes the poses, ta-avatar.tsx plays them). Plain SVG markup; `id` keeps the
|
|
103
|
+
* gradients and clip paths of several drawings on one page apart.
|
|
133
104
|
*/
|
|
134
105
|
export declare namespace DinoAvatar {
|
|
135
106
|
/** The small mark that tells agents apart: its first two characters, as the user sees them; '' for none. */
|
|
136
107
|
function markText(text: string | undefined): string;
|
|
137
|
-
|
|
108
|
+
/** The whole dinosaur, with the mark of its mood; `detail` for a drawing large enough to show its shadow and the gaps by its legs. */
|
|
109
|
+
function render(mood: Mood, id?: string, pose?: Pose, species?: DinoSpecies, detail?: boolean): string;
|
|
110
|
+
/** A close-up of its head, sweet rather than fierce: for a figure as small as that of the account. */
|
|
111
|
+
function face(mood: Mood, id?: string, pose?: Pose, species?: DinoSpecies): string;
|
|
112
|
+
/** The viewBox of a close-up. */
|
|
113
|
+
function faceBox(species: DinoSpecies): string;
|
|
138
114
|
}
|
|
139
115
|
export {};
|