@opengeni/react 6.35.1-canary.45058281793001 → 6.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/app-state.js +34 -34
- package/dist/app/components/Composer.js +43 -43
- package/dist/app/components/add-card-dialog.js +1 -1
- package/dist/app/components/add-card.js +2 -2
- package/dist/app/components/agent/agent-capability-picker.js +9 -9
- package/dist/app/components/agents/agent-can-use.js +47 -47
- package/dist/app/components/agents/agent-form-page.js +140 -140
- package/dist/app/components/agents/agent-page.js +123 -123
- package/dist/app/components/agents/agent-setup-sections.js +74 -74
- package/dist/app/components/agents/agent-skills.js +13 -13
- package/dist/app/components/agents/agent-trigger-chat-field.js +6 -6
- package/dist/app/components/agents/agent-trigger-dialog.js +31 -31
- package/dist/app/components/agents/agent-trigger-picker.js +8 -8
- package/dist/app/components/agents/agents-page.js +90 -90
- package/dist/app/components/agents/composer-agent-chip.js +59 -59
- package/dist/app/components/agents/session-agent-chip.js +54 -54
- package/dist/app/components/artifacts/app-package.js +10 -10
- package/dist/app/components/artifacts/artifact-browse-controls.js +3 -3
- package/dist/app/components/artifacts/artifact-library.js +28 -28
- package/dist/app/components/artifacts/artifact-page-chrome.js +1 -1
- package/dist/app/components/artifacts/artifact-viewer.js +68 -68
- package/dist/app/components/artifacts/chat-interactive-block.js +27 -27
- package/dist/app/components/artifacts/copy-artifact-link.js +1 -1
- package/dist/app/components/artifacts/file-reach-dialog.js +11 -11
- package/dist/app/components/artifacts/inline-chat-image.js +51 -51
- package/dist/app/components/artifacts/retained-file-preview.js +57 -57
- package/dist/app/components/artifacts/retained-text-preview.js +8 -8
- package/dist/app/components/artifacts/site-actions.js +11 -11
- package/dist/app/components/artifacts/site-audience.js +7 -7
- package/dist/app/components/artifacts/site-conversations.js +33 -33
- package/dist/app/components/artifacts/site-data.js +28 -28
- package/dist/app/components/artifacts/site-public-link.js +3 -3
- package/dist/app/components/artifacts/site-publishing-page.js +66 -66
- package/dist/app/components/artifacts/site-publishing.js +51 -51
- package/dist/app/components/artifacts/site-settings.js +65 -65
- package/dist/app/components/artifacts/site-version-menu.js +9 -9
- package/dist/app/components/billing-class-mark.js +8 -8
- package/dist/app/components/capabilities/capability-detail-sheet.js +18 -18
- package/dist/app/components/capabilities/capability-logo-source.js +27 -27
- package/dist/app/components/capabilities/capability-logo.js +1 -1
- package/dist/app/components/capabilities/connection-account-picker.js +2 -2
- package/dist/app/components/capabilities/connector-tool-permissions.js +8 -8
- package/dist/app/components/capabilities/native-connect-setup.js +31 -31
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +6 -6
- package/dist/app/components/capabilities/perform-capability-action.js +2 -2
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +30 -30
- package/dist/app/components/capabilities/session-capability-card.js +142 -142
- package/dist/app/components/capabilities/session-chrome-card.js +49 -49
- package/dist/app/components/capabilities/session-connect-inputs-card.js +33 -33
- package/dist/app/components/capabilities/session-custom-mcp-card.js +37 -37
- package/dist/app/components/capabilities/session-github-card.js +46 -46
- package/dist/app/components/capabilities/session-machine-card.js +50 -50
- package/dist/app/components/capabilities/session-personal-github-card.js +31 -31
- package/dist/app/components/capabilities/session-plugin-card.js +20 -20
- package/dist/app/components/capabilities/use-capabilities-catalog.js +3 -3
- package/dist/app/components/capabilities/use-connection-accounts.js +2 -2
- package/dist/app/components/chat-payment-pages.js +2 -2
- package/dist/app/components/command-menu/chat-status.js +25 -25
- package/dist/app/components/command-menu/chat-switcher.js +84 -84
- package/dist/app/components/command-menu/command-menu.js +113 -113
- package/dist/app/components/command-menu/shortcut-sheet.js +25 -25
- package/dist/app/components/composer-capabilities-menu-body.js +6 -6
- package/dist/app/components/composer-mobile-plus-panel.js +31 -31
- package/dist/app/components/composer-mobile-plus.js +3 -3
- package/dist/app/components/credit-required-gate.js +6 -6
- package/dist/app/components/credit-required-prompt.js +19 -19
- package/dist/app/components/credits/checkout-credits-celebration.js +1 -1
- package/dist/app/components/credits/checkout-return.js +1 -1
- package/dist/app/components/credits/coupon-redeem.js +1 -1
- package/dist/app/components/credits/credit-refusal-notice.js +7 -7
- package/dist/app/components/credits/own-subscription-plan-notice.js +3 -3
- package/dist/app/components/desktop/app-shots.js +9 -9
- package/dist/app/components/desktop/app-update.js +3 -3
- package/dist/app/components/desktop/computer-use.js +3 -3
- package/dist/app/components/desktop/this-computer.js +6 -6
- package/dist/app/components/feedback.js +10 -10
- package/dist/app/components/follow-up-repository-menu-body.js +14 -14
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +2 -2
- package/dist/app/components/in-app-help-link.js +3 -3
- package/dist/app/components/knowledge/agent-learning-settings.js +3 -3
- package/dist/app/components/machines/connect-machine-dialog.js +25 -25
- package/dist/app/components/manual-repository-editor.js +4 -4
- package/dist/app/components/markdown.js +15 -15
- package/dist/app/components/model-identity.js +3 -3
- package/dist/app/components/models/models-ui.js +16 -16
- package/dist/app/components/models/provider-mark.js +3 -3
- package/dist/app/components/models/subscription-usage.js +5 -5
- package/dist/app/components/my-things.js +16 -16
- package/dist/app/components/own-where-it-works.js +10 -10
- package/dist/app/components/personal-resource-attachment-surface.js +4 -4
- package/dist/app/components/pickers.js +11 -11
- package/dist/app/components/rail/channel-create-dialog.js +5 -5
- package/dist/app/components/rail/project-glyph.js +52 -52
- package/dist/app/components/rail/project-profile.js +74 -74
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +157 -157
- package/dist/app/components/rail/session-header.js +128 -128
- package/dist/app/components/rail/session-list.js +155 -155
- package/dist/app/components/rail/session-row-content.js +7 -7
- package/dist/app/components/rail/session-row-hover-details.js +34 -34
- package/dist/app/components/rail/session-shell.js +196 -196
- package/dist/app/components/rail/site-session-group-heading.js +37 -37
- package/dist/app/components/repository-picker.js +14 -14
- package/dist/app/components/repository-ref-input.js +2 -2
- package/dist/app/components/secrets/session-secrets-panel.js +4 -4
- package/dist/app/components/session/agent-configuration-panel.js +46 -46
- package/dist/app/components/session/artifact-session-page.js +6 -6
- package/dist/app/components/session/banners.js +19 -19
- package/dist/app/components/session/chat-avatar.js +52 -52
- package/dist/app/components/session/console-new-conversation.js +109 -109
- package/dist/app/components/session/conversation-find.js +3 -3
- package/dist/app/components/session/descendant-requests.js +109 -109
- package/dist/app/components/session/editable-artifacts-workspace.js +59 -59
- package/dist/app/components/session/failed-session-banner.js +22 -22
- package/dist/app/components/session/failure-recovery-boundary.js +3 -3
- package/dist/app/components/session/human-input-delegation-record.js +3 -3
- package/dist/app/components/session/human-input.js +87 -87
- package/dist/app/components/session/inspector.js +143 -143
- package/dist/app/components/session/linked-panel.js +3 -3
- package/dist/app/components/session/message-actions.js +10 -10
- package/dist/app/components/session/model-recovery-notice.js +4 -4
- package/dist/app/components/session/new-session-settings-menu.js +30 -30
- package/dist/app/components/session/new-session-setup-strip.js +55 -55
- package/dist/app/components/session/pull-request-panel.js +24 -24
- package/dist/app/components/session/sandbox-recovery-actions.js +3 -3
- package/dist/app/components/session/sandbox-switcher.js +23 -23
- package/dist/app/components/session/sandbox-workspace.js +119 -119
- package/dist/app/components/session/search-markdown-highlight.js +16 -16
- package/dist/app/components/session/search-results-view.js +17 -17
- package/dist/app/components/session/session-admin-access.js +11 -11
- package/dist/app/components/session/session-admission-notice.js +11 -11
- package/dist/app/components/session/session-avatar-picker.js +59 -59
- package/dist/app/components/session/session-avatar.js +54 -54
- package/dist/app/components/session/session-machine-access-notice.js +11 -11
- package/dist/app/components/session/session-profile-dialog.js +70 -70
- package/dist/app/components/session/session-profile-editor.js +71 -71
- package/dist/app/components/session/session-retention.js +7 -7
- package/dist/app/components/session/session-search-dialog.js +22 -22
- package/dist/app/components/session/session-skill-reviews.js +5 -5
- package/dist/app/components/session/session-tenancy-control.js +27 -27
- package/dist/app/components/session/session-unattended-setting.js +3 -3
- package/dist/app/components/session/session-usage-limit-section.js +14 -14
- package/dist/app/components/session/share-chat-dialog.js +9 -9
- package/dist/app/components/session/subagents.js +23 -23
- package/dist/app/components/session/subscription-account-indicator.js +25 -25
- package/dist/app/components/session/subscription-account-menu.js +7 -7
- package/dist/app/components/session-connectors-menu-body.js +7 -7
- package/dist/app/components/settings/row-select.js +6 -6
- package/dist/app/components/toaster.js +2 -2
- package/dist/app/components/transcription-settings.js +10 -10
- package/dist/app/components/ui/destructive-confirm.js +9 -9
- package/dist/app/components/usage/usage-entry.js +8 -8
- package/dist/app/components/window-bar.js +26 -26
- package/dist/app/components/workspace-composer-plus.js +41 -41
- package/dist/app/components/workspace-reach.js +6 -6
- package/dist/app/embed/session-app.js +406 -406
- package/dist/app/lib/actions/actions-provider.js +20 -20
- package/dist/app/lib/agent-capabilities.js +4 -4
- package/dist/app/lib/app-connect-card.js +14 -14
- package/dist/app/lib/app-shared-key-dialog.js +8 -8
- package/dist/app/lib/app-surfaces.js +1 -1
- package/dist/app/lib/app-sync-opt-in.js +4 -4
- package/dist/app/lib/codex-usage-query.js +3 -3
- package/dist/app/lib/composer-agent.js +2 -2
- package/dist/app/lib/composer-connectors.js +31 -31
- package/dist/app/lib/composer-send-blocking.js +3 -3
- package/dist/app/lib/console-site.js +6 -6
- package/dist/app/lib/console-text.js +2 -2
- package/dist/app/lib/deployment-free-model.js +2 -2
- package/dist/app/lib/events.js +29 -29
- package/dist/app/lib/failed-session-copy.js +6 -6
- package/dist/app/lib/feedback-capture.js +2 -2
- package/dist/app/lib/free-credit-gap.js +2 -2
- package/dist/app/lib/model-access-onboarding.js +5 -5
- package/dist/app/lib/model-policy.js +1 -1
- package/dist/app/lib/move-chat-to-machine.js +5 -5
- package/dist/app/lib/personal-resource-attachments.js +1 -1
- package/dist/app/lib/session-branch-cache.js +18 -18
- package/dist/app/lib/session-create.js +5 -5
- package/dist/app/lib/session-group-pagination.js +18 -18
- package/dist/app/lib/session-hover-facts.js +25 -25
- package/dist/app/lib/session-list-dirty-scopes.js +19 -19
- package/dist/app/lib/session-model.js +3 -3
- package/dist/app/lib/session-rail.js +16 -16
- package/dist/app/lib/session-rename.js +4 -4
- package/dist/app/lib/sessions-group.js +22 -22
- package/dist/app/lib/site-tool-consent-dialog.js +23 -23
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +7 -7
- package/dist/app/lib/unavailable-session-model.js +2 -2
- package/dist/app/lib/use-artifact-catalog.js +2 -2
- package/dist/app/lib/use-duplicate-site.js +4 -4
- package/dist/app/lib/use-follow-up-repositories.js +6 -6
- package/dist/app/lib/use-personal-resource-attachment.js +2 -2
- package/dist/app/lib/use-workspace-machines.js +10 -10
- package/dist/app/lib/use-workspace-model-catalog.js +6 -6
- package/dist/app/lib/use-workspace-rigs.js +7 -7
- package/dist/app/lib/workspace-navigation-preference.js +5 -5
- package/dist/app/lib/workspace-scope-context.js +4 -4
- package/dist/app/routes/app-page-view.js +17 -17
- package/dist/app/routes/app-page.js +2 -2
- package/dist/app/routes/artifacts.js +158 -158
- package/dist/app/routes/retained-artifact.js +114 -114
- package/dist/app/routes/session-unavailable.js +5 -5
- package/dist/app/routes/session.js +247 -247
- package/dist/app/routes/sessions-index-hydration.js +6 -6
- package/dist/app/routes/sessions-index.js +203 -203
- package/dist/app/routes/site-view.js +200 -200
- package/dist/artifacts-document.js +4 -4
- package/dist/artifacts-presentation.js +7 -7
- package/dist/artifacts-spreadsheet.js +4 -4
- package/dist/artifacts.js +50 -50
- package/dist/automation-model.js +7 -7
- package/dist/automations.js +67 -67
- package/dist/browser-viewer-EIEMRVFF.js +23 -0
- package/dist/chat-interactive-block-FV37LWYZ.js +22 -0
- package/dist/chunk-2COBAJC7.js +818 -0
- package/dist/chunk-2HS3IUXE.js +170 -0
- package/dist/chunk-2JTMFYCT.js +296 -0
- package/dist/chunk-2JXKP4M6.js +114 -0
- package/dist/chunk-2P5K7CBH.js +269 -0
- package/dist/chunk-2XGRHMRI.js +250 -0
- package/dist/chunk-332BYSAZ.js +65 -0
- package/dist/chunk-3EM5GTP3.js +158 -0
- package/dist/chunk-3L5ATO4A.js +52 -0
- package/dist/chunk-3S3PJB7J.js +107 -0
- package/dist/chunk-3SBKYPNM.js +270 -0
- package/dist/chunk-3Z7VA6ET.js +114 -0
- package/dist/chunk-43BRJBEV.js +207 -0
- package/dist/chunk-46LZO4ZO.js +188 -0
- package/dist/chunk-46ZC5VNC.js +38 -0
- package/dist/chunk-4AH4EEHE.js +298 -0
- package/dist/chunk-4D3YJNVN.js +270 -0
- package/dist/chunk-4E5QVAT4.js +4480 -0
- package/dist/chunk-4E5QVAT4.js.map +1 -0
- package/dist/chunk-4I4RTI4D.js +37 -0
- package/dist/chunk-4KASGJTF.js +287 -0
- package/dist/chunk-4RUKLIOF.js +1263 -0
- package/dist/chunk-4UU7FN3I.js +650 -0
- package/dist/chunk-4VEIBNC2.js +427 -0
- package/dist/chunk-4VEIBNC2.js.map +1 -0
- package/dist/chunk-4ZRNASBF.js +2551 -0
- package/dist/chunk-5EJBPQI2.js +41 -0
- package/dist/chunk-5G4IGG7F.js +209 -0
- package/dist/chunk-5JAYZOAW.js +131 -0
- package/dist/chunk-5JOKVDSR.js +789 -0
- package/dist/chunk-5MP3G7ZV.js +1236 -0
- package/dist/chunk-5OVRMKP5.js +42 -0
- package/dist/chunk-5SGTRULO.js +1184 -0
- package/dist/chunk-5SOL4INY.js +572 -0
- package/dist/chunk-5Y34P32B.js +27 -0
- package/dist/chunk-62HIKJ5F.js +72 -0
- package/dist/chunk-62T2ZPD5.js +266 -0
- package/dist/chunk-63VNZRLY.js +386 -0
- package/dist/chunk-6CDBX3XG.js +33 -0
- package/dist/chunk-6D3D2JWY.js +278 -0
- package/dist/chunk-6DOIINY4.js +201 -0
- package/dist/chunk-6DQBUKGJ.js +112 -0
- package/dist/chunk-6SETNFNH.js +1399 -0
- package/dist/chunk-6XYFMHNT.js +56 -0
- package/dist/chunk-6YU3WV2P.js +33 -0
- package/dist/chunk-6YUHDFOZ.js +351 -0
- package/dist/chunk-72EOXOR7.js +1185 -0
- package/dist/chunk-72ND4ALI.js +532 -0
- package/dist/chunk-757LE32E.js +283 -0
- package/dist/chunk-7FDEV6XW.js +89 -0
- package/dist/chunk-7S2S4MXR.js +138 -0
- package/dist/chunk-7SYCHMXS.js +200 -0
- package/dist/chunk-7TVAPQOV.js +5089 -0
- package/dist/chunk-7UDLRDHK.js +214 -0
- package/dist/chunk-7YLQCMZP.js +357 -0
- package/dist/chunk-A5GX3CAE.js +849 -0
- package/dist/chunk-A7EBV2EB.js +318 -0
- package/dist/chunk-AB5SPXUR.js +114 -0
- package/dist/chunk-AHVQGL5A.js +202 -0
- package/dist/chunk-AI77ZKEV.js +26 -0
- package/dist/chunk-AIX2D6RB.js +1019 -0
- package/dist/chunk-AVSIHP7Q.js +192 -0
- package/dist/chunk-AWK23Q32.js +107 -0
- package/dist/chunk-AYVWA6KD.js +432 -0
- package/dist/chunk-AYZXE4IM.js +2553 -0
- package/dist/chunk-AZGGSPTE.js +124 -0
- package/dist/chunk-B45TB4HY.js +931 -0
- package/dist/chunk-BIUJHNVR.js +46 -0
- package/dist/chunk-BJUOKUE5.js +234 -0
- package/dist/chunk-BPEEVMKH.js +292 -0
- package/dist/chunk-BPHPAGYF.js +74 -0
- package/dist/chunk-BXMND6YU.js +307 -0
- package/dist/chunk-C6OM2SRG.js +117 -0
- package/dist/chunk-CIRCUDKF.js +1309 -0
- package/dist/chunk-CLKR4UG3.js +403 -0
- package/dist/chunk-CPX6BHER.js +554 -0
- package/dist/chunk-CVC4RO7D.js +155 -0
- package/dist/chunk-D3YJAQGK.js +103 -0
- package/dist/chunk-DFQ72BLS.js +1024 -0
- package/dist/chunk-DG65PJOZ.js +4564 -0
- package/dist/chunk-DNAXAS5R.js +406 -0
- package/dist/chunk-DO247ITS.js +175 -0
- package/dist/chunk-DONBARLL.js +154 -0
- package/dist/chunk-DTLXQ3ZU.js +373 -0
- package/dist/chunk-EAXTACI4.js +274 -0
- package/dist/chunk-EDPH7AJH.js +412 -0
- package/dist/chunk-EER3B3G5.js +10036 -0
- package/dist/chunk-EER3B3G5.js.map +1 -0
- package/dist/chunk-EFKQHCGJ.js +276 -0
- package/dist/chunk-EILSPMVD.js +133 -0
- package/dist/chunk-EK7KIETS.js +211 -0
- package/dist/chunk-EMWT6GOK.js +437 -0
- package/dist/chunk-EO22NST7.js +259 -0
- package/dist/chunk-ER5MYLIE.js +256 -0
- package/dist/chunk-ES5HKVQF.js +234 -0
- package/dist/chunk-EXRQ5ATC.js +738 -0
- package/dist/chunk-EXRQ5ATC.js.map +1 -0
- package/dist/chunk-F26YBYAZ.js +111 -0
- package/dist/chunk-F6QP4GSK.js +515 -0
- package/dist/chunk-F7QEO7M2.js +851 -0
- package/dist/chunk-FJFGDLXB.js +12 -0
- package/dist/chunk-FLLJ2WXW.js +113 -0
- package/dist/chunk-FMBJKMT4.js +107 -0
- package/dist/chunk-FPN4I4CG.js +3690 -0
- package/dist/chunk-FUXFJTXL.js +3070 -0
- package/dist/chunk-FZI4QOAV.js +3996 -0
- package/dist/chunk-FZI4QOAV.js.map +1 -0
- package/dist/chunk-G6SSSX5R.js +158 -0
- package/dist/chunk-GBGCMHBB.js +608 -0
- package/dist/chunk-GIHE7U3Y.js +174 -0
- package/dist/chunk-GJ4GTYOD.js +372 -0
- package/dist/chunk-GLSDWNFV.js +432 -0
- package/dist/chunk-GMGAW3T6.js +278 -0
- package/dist/chunk-GNGI6XFN.js +43 -0
- package/dist/chunk-GO5VIAA7.js +264 -0
- package/dist/chunk-GSW4YHZE.js +229 -0
- package/dist/chunk-GUC6IWEY.js +407 -0
- package/dist/chunk-GWAY3SO5.js +15 -0
- package/dist/chunk-GXOTNT5D.js +168 -0
- package/dist/chunk-GZZCVF76.js +3851 -0
- package/dist/chunk-H4VMHFOX.js +214 -0
- package/dist/chunk-HA5RFQAF.js +110 -0
- package/dist/chunk-HFROJDFQ.js +118 -0
- package/dist/chunk-HHFFPE67.js +220 -0
- package/dist/chunk-HJLHGXWL.js +103 -0
- package/dist/chunk-HKNMNL7B.js +2984 -0
- package/dist/chunk-HT7MBHLY.js +1021 -0
- package/dist/chunk-I5FSUZVW.js +584 -0
- package/dist/chunk-IINQO425.js +246 -0
- package/dist/chunk-IIXNEOK4.js +1022 -0
- package/dist/chunk-IM3WA5AL.js +311 -0
- package/dist/chunk-IX4P4OGR.js +399 -0
- package/dist/chunk-IX5VHZYS.js +129 -0
- package/dist/chunk-JB3TSUZO.js +263 -0
- package/dist/chunk-JIC6RLUB.js +27 -0
- package/dist/chunk-JNJIZCTN.js +172 -0
- package/dist/chunk-JNV5ZPUV.js +828 -0
- package/dist/chunk-JPQFVR24.js +50 -0
- package/dist/chunk-JPZVMXDP.js +1333 -0
- package/dist/chunk-JVPF34MX.js +215 -0
- package/dist/chunk-KED67KAF.js +85 -0
- package/dist/chunk-KJ72GMZ2.js +378 -0
- package/dist/chunk-KTGKGHEA.js +75 -0
- package/dist/chunk-KU77XHWB.js +285 -0
- package/dist/chunk-KVPQUADA.js +5915 -0
- package/dist/chunk-KVPQUADA.js.map +1 -0
- package/dist/chunk-KXBLLFOO.js +249 -0
- package/dist/chunk-L6WVCO6D.js +61 -0
- package/dist/chunk-LIOZ2MXJ.js +380 -0
- package/dist/chunk-LIOZ2MXJ.js.map +1 -0
- package/dist/chunk-LPEFULJY.js +73 -0
- package/dist/chunk-LRMGPO7E.js +98 -0
- package/dist/chunk-LVKTKORH.js +121 -0
- package/dist/chunk-MCPKUVMQ.js +99 -0
- package/dist/chunk-MFLU3466.js +99 -0
- package/dist/chunk-MIUJ3EH5.js +60 -0
- package/dist/chunk-MIUMNTIJ.js +175 -0
- package/dist/chunk-ML46TXRM.js +113 -0
- package/dist/chunk-MO3XJQN2.js +629 -0
- package/dist/chunk-MQRHTOQ2.js +218 -0
- package/dist/chunk-MVYQDBE6.js +79 -0
- package/dist/chunk-NE5P7LFQ.js +100 -0
- package/dist/chunk-NIPON7YB.js +850 -0
- package/dist/chunk-NIPON7YB.js.map +1 -0
- package/dist/chunk-NPBEUU22.js +196 -0
- package/dist/chunk-NSXKGS2K.js +178 -0
- package/dist/chunk-NUEFORM6.js +2317 -0
- package/dist/chunk-NZOFNQNC.js +176 -0
- package/dist/chunk-O664PL2U.js +47 -0
- package/dist/chunk-O664PL2U.js.map +1 -0
- package/dist/chunk-OATXCLTY.js +211 -0
- package/dist/chunk-OG3ELROW.js +538 -0
- package/dist/chunk-OI4WS7FW.js +162 -0
- package/dist/chunk-OITGZUDC.js +82 -0
- package/dist/chunk-OKD2LBMK.js +333 -0
- package/dist/chunk-OLFOGAWU.js +273 -0
- package/dist/chunk-OLFOGAWU.js.map +1 -0
- package/dist/chunk-OSA4CGST.js +134 -0
- package/dist/chunk-OXYAKUFU.js +401 -0
- package/dist/chunk-OYMSMU5O.js +396 -0
- package/dist/chunk-P4NZ72KY.js +162 -0
- package/dist/chunk-PBYL2VIM.js +379 -0
- package/dist/chunk-PDW3OOSZ.js +505 -0
- package/dist/chunk-PGRKTQIW.js +523 -0
- package/dist/chunk-PPQJIVGM.js +175 -0
- package/dist/chunk-PYMQM65Y.js +125 -0
- package/dist/chunk-Q273Q33U.js +166 -0
- package/dist/chunk-Q4CLS2HL.js +340 -0
- package/dist/chunk-QA5UNVHD.js +85 -0
- package/dist/chunk-QFOBUA2J.js +428 -0
- package/dist/chunk-QLIM4D56.js +1095 -0
- package/dist/chunk-QMQF5U2D.js +20 -0
- package/dist/chunk-QNOWKKZ4.js +40 -0
- package/dist/chunk-QPOUPVPD.js +144 -0
- package/dist/chunk-QTJAQ6DS.js +48 -0
- package/dist/chunk-QUOFP3G7.js +404 -0
- package/dist/chunk-QVOTPOXK.js +29 -0
- package/dist/chunk-QYZ5RVGM.js +184 -0
- package/dist/chunk-R7CVDKRN.js +2580 -0
- package/dist/chunk-RB7MXNZD.js +639 -0
- package/dist/chunk-RDZQFZOQ.js +187 -0
- package/dist/chunk-RIHKEGWS.js +194 -0
- package/dist/chunk-ROSB7GF6.js +57 -0
- package/dist/chunk-RP3YMYCX.js +723 -0
- package/dist/chunk-RPHXJHNX.js +271 -0
- package/dist/chunk-RVC3M66H.js +191 -0
- package/dist/chunk-S3OTJAAC.js +283 -0
- package/dist/chunk-SBWPMVRN.js +56 -0
- package/dist/chunk-SERECSAR.js +138 -0
- package/dist/chunk-SHSEF3GJ.js +187 -0
- package/dist/chunk-SMS2M3RG.js +772 -0
- package/dist/chunk-SRDHDIRQ.js +177 -0
- package/dist/chunk-SXRYA7NN.js +389 -0
- package/dist/chunk-SYA3WYG4.js +1187 -0
- package/dist/chunk-SYYFA7W7.js +23 -0
- package/dist/chunk-T2QDSTBH.js +371 -0
- package/dist/chunk-TFSCGFYV.js +251 -0
- package/dist/chunk-TGCKZOSX.js +246 -0
- package/dist/chunk-THILLYQM.js +132 -0
- package/dist/chunk-TI6LGUEZ.js +2412 -0
- package/dist/chunk-TSY6YZL2.js +366 -0
- package/dist/chunk-TW2RHTLH.js +3321 -0
- package/dist/chunk-TWA5G277.js +141 -0
- package/dist/chunk-TZZ2S4XI.js +247 -0
- package/dist/chunk-U5D3K53R.js +58 -0
- package/dist/chunk-UECD27LX.js +251 -0
- package/dist/chunk-UFJDETKG.js +108 -0
- package/dist/chunk-UHCFYX4I.js +570 -0
- package/dist/chunk-UHTURYJO.js +898 -0
- package/dist/chunk-UJH63JT3.js +67 -0
- package/dist/chunk-UOLDS6S5.js +1152 -0
- package/dist/chunk-UUE3OGXI.js +84 -0
- package/dist/chunk-UUNJ2E57.js +391 -0
- package/dist/chunk-UYQVWRAH.js +199 -0
- package/dist/chunk-UYWVK7JQ.js +234 -0
- package/dist/chunk-UYWWUEL4.js +126 -0
- package/dist/chunk-V4CQKX5H.js +48 -0
- package/dist/chunk-V4QM7GDQ.js +3176 -0
- package/dist/chunk-V5Y74WII.js +91 -0
- package/dist/chunk-VGGZLUQK.js +129 -0
- package/dist/chunk-VGX636MB.js +311 -0
- package/dist/chunk-VGZLFQO2.js +773 -0
- package/dist/chunk-VJWZATNF.js +137 -0
- package/dist/chunk-VMWCIC2N.js +50 -0
- package/dist/chunk-VPWKTIU5.js +227 -0
- package/dist/chunk-VXOLG6YB.js +469 -0
- package/dist/chunk-W2NAU5VB.js +1628 -0
- package/dist/chunk-WGORKMR3.js +353 -0
- package/dist/chunk-WMIDELSJ.js +391 -0
- package/dist/chunk-WSOSGL2G.js +383 -0
- package/dist/chunk-WXUUOM4X.js +400 -0
- package/dist/chunk-WZ74QHLE.js +4863 -0
- package/dist/chunk-X2OWM2ME.js +1870 -0
- package/dist/chunk-X6UMGG4T.js +68 -0
- package/dist/chunk-XDXKB25W.js +93 -0
- package/dist/chunk-XE4PHI74.js +231 -0
- package/dist/chunk-XHF2XNU5.js +73 -0
- package/dist/chunk-XLJ4SQFS.js +230 -0
- package/dist/chunk-XOD4FX6M.js +2434 -0
- package/dist/chunk-XODQ2GPF.js +3110 -0
- package/dist/chunk-XT54RTAM.js +441 -0
- package/dist/chunk-YAVW5OJ5.js +131 -0
- package/dist/chunk-YDQHFJM2.js +83 -0
- package/dist/chunk-YH6O6OQ6.js +1356 -0
- package/dist/chunk-YIKPC2QP.js +794 -0
- package/dist/chunk-ZD7PKYC4.js +335 -0
- package/dist/chunk-ZEQYHEWP.js +406 -0
- package/dist/chunk-ZMYL6DTE.js +225 -0
- package/dist/chunk-ZP3QCPYG.js +21 -0
- package/dist/chunk-ZRVUCTSI.js +265 -0
- package/dist/chunk-ZSI3ITRK.js +449 -0
- package/dist/chunk-ZZMEQCIZ.js +236 -0
- package/dist/composer.js +36 -36
- package/dist/computer-viewer-ZBY3BPYW.js +21 -0
- package/dist/connect.js +29 -29
- package/dist/connection-step-up-JQ4OFSQN.js +145 -0
- package/dist/desktop-dictation.js +24 -24
- package/dist/desktop.js +2 -2
- package/dist/editor.js +2 -2
- package/dist/embedded-new-voice-ZB5XLKLU.js +25 -0
- package/dist/embedded-voice-MZJISDCS.js +25 -0
- package/dist/fleet-decision-row-LG3SYVR3.js +361 -0
- package/dist/human-input-model.d.ts +2 -0
- package/dist/in-chat-connect-model.js +6 -6
- package/dist/index.js +298 -298
- package/dist/interaction.js +9 -9
- package/dist/latest-question-QWJTXMFA.js +1 -1
- package/dist/machine-request-model.js +1 -1
- package/dist/machines.js +8 -8
- package/dist/meetings-recorder.js +1 -1
- package/dist/meetings.js +122 -122
- package/dist/messages/en.d.ts +10 -0
- package/dist/messages.js +1 -1
- package/dist/model-levels.js +2 -2
- package/dist/model-picker-model.js +2 -2
- package/dist/model-policy-picker-menu-5Y72PLNF.js +23 -0
- package/dist/model-policy.js +1 -1
- package/dist/payment-page-card-YPSXRHBA.js +226 -0
- package/dist/platform-activity-row-ZU4MEBNK.js +156 -0
- package/dist/queue-surface-implementation-6Q25RPH6.js +932 -0
- package/dist/realtime.js +17 -17
- package/dist/recorder-host-JD4GWJ2Z.js +80 -0
- package/dist/recordings.js +3 -3
- package/dist/sandbox-files-HCLEEJMU.js +28 -0
- package/dist/session-app.js +406 -406
- package/dist/session-connect-cards-DRKEN3Z4.js +27 -0
- package/dist/session-list-model.js +3 -3
- package/dist/session-realtime-IZOTTRH6.js +30 -0
- package/dist/session-realtime.js +2 -2
- package/dist/session-ui.js +95 -95
- package/dist/session.js +42 -42
- package/dist/sites.js +3 -3
- package/dist/terminal.js +2 -2
- package/dist/this-computer.js +3 -3
- package/dist/timeline-annotation-markers-WWXNJOXI.js +157 -0
- package/dist/timeline-annotation-selection-ZKRIQFIQ.js +208 -0
- package/dist/timeline-annotations-dialog-4IMKTOXJ.js +283 -0
- package/dist/timeline-model.js +58 -58
- package/dist/ui/access-list.js +19 -19
- package/dist/ui/cadence-picker.js +7 -7
- package/dist/ui/choice-cards.js +3 -3
- package/dist/ui/confirm-dialog.js +2 -2
- package/dist/ui/copy-field.js +3 -3
- package/dist/ui/detail-page.js +6 -6
- package/dist/ui/detail-sheet.js +6 -6
- package/dist/ui/diff-view.js +2 -2
- package/dist/ui/disclosure.js +7 -7
- package/dist/ui/email-chips-input.js +3 -3
- package/dist/ui/field.js +2 -2
- package/dist/ui/flush-form-page.js +6 -6
- package/dist/ui/form-dialog.js +5 -5
- package/dist/ui/list-row.js +7 -7
- package/dist/ui/load-failure.js +3 -3
- package/dist/ui/relative-time.js +3 -3
- package/dist/ui/revision-history.js +10 -10
- package/dist/ui/role-select.js +10 -10
- package/dist/ui/select-menu.js +5 -5
- package/dist/ui/settings-nav.js +6 -6
- package/dist/ui/sheet.js +2 -2
- package/dist/ui/usage-meter.js +4 -4
- package/dist/usage.js +3 -3
- package/dist/workbench.js +11 -11
- package/package.json +5 -6
- package/src/components/secret-question-field.tsx +2 -1
- package/src/human-input-model.ts +53 -12
- package/src/messages/en.ts +10 -0
- package/src/model-policy.ts +3 -1
- package/dist/browser-viewer-WGRM3JME.js +0 -23
- package/dist/chat-interactive-block-5E3UQYHO.js +0 -22
- package/dist/chunk-26KK6DN5.js +0 -41
- package/dist/chunk-272XEENJ.js +0 -100
- package/dist/chunk-2AU2S5NP.js +0 -772
- package/dist/chunk-2L7TCAO4.js +0 -188
- package/dist/chunk-2MXP6ZRP.js +0 -1095
- package/dist/chunk-2Q4XBV3J.js +0 -113
- package/dist/chunk-2U5ZJMNP.js +0 -386
- package/dist/chunk-2VHPKSFK.js +0 -1236
- package/dist/chunk-2WF5XIPA.js +0 -48
- package/dist/chunk-2Y53MMGA.js +0 -56
- package/dist/chunk-2ZR75AUO.js +0 -225
- package/dist/chunk-33QC4RN7.js +0 -133
- package/dist/chunk-35LBFD5I.js +0 -311
- package/dist/chunk-37J3ZX2N.js +0 -270
- package/dist/chunk-37SXZVSY.js +0 -380
- package/dist/chunk-37SXZVSY.js.map +0 -1
- package/dist/chunk-3ITEAD3E.js +0 -639
- package/dist/chunk-3JBLX5BN.js +0 -629
- package/dist/chunk-3JYID53J.js +0 -432
- package/dist/chunk-3MZCXSC7.js +0 -723
- package/dist/chunk-3NRJ4Z3A.js +0 -3176
- package/dist/chunk-3UG2AJHR.js +0 -89
- package/dist/chunk-3XS3A6Y6.js +0 -162
- package/dist/chunk-3ZBQIZEM.js +0 -214
- package/dist/chunk-3ZVACRTK.js +0 -82
- package/dist/chunk-46USHCHK.js +0 -389
- package/dist/chunk-4IMVT7OU.js +0 -263
- package/dist/chunk-4J4IPUPZ.js +0 -103
- package/dist/chunk-4PG2BEQA.js +0 -175
- package/dist/chunk-4YQFDBKE.js +0 -532
- package/dist/chunk-5ERDSF2C.js +0 -79
- package/dist/chunk-5EZELID5.js +0 -789
- package/dist/chunk-5NGW5K2D.js +0 -1333
- package/dist/chunk-5SK5PYFN.js +0 -15
- package/dist/chunk-5UI3VPCY.js +0 -1152
- package/dist/chunk-5W4ZGFXZ.js +0 -373
- package/dist/chunk-64XZTYX4.js +0 -572
- package/dist/chunk-67MFNMGH.js +0 -200
- package/dist/chunk-6C55RLFY.js +0 -103
- package/dist/chunk-6DFHNNWJ.js +0 -121
- package/dist/chunk-6F34IWSA.js +0 -47
- package/dist/chunk-6F34IWSA.js.map +0 -1
- package/dist/chunk-6FWBGVFL.js +0 -5905
- package/dist/chunk-6FWBGVFL.js.map +0 -1
- package/dist/chunk-6GBJFFQL.js +0 -215
- package/dist/chunk-6H2OQ6XG.js +0 -318
- package/dist/chunk-6LUF4TOE.js +0 -91
- package/dist/chunk-6M2WXQX5.js +0 -523
- package/dist/chunk-6O6CHBD3.js +0 -29
- package/dist/chunk-6U3PE427.js +0 -794
- package/dist/chunk-6V2UH36U.js +0 -187
- package/dist/chunk-73YALMGG.js +0 -1022
- package/dist/chunk-7JNWIGM4.js +0 -1628
- package/dist/chunk-7QODDTOI.js +0 -554
- package/dist/chunk-7TEXZ5LW.js +0 -46
- package/dist/chunk-A4SKSSSS.js +0 -2553
- package/dist/chunk-A7Z65D33.js +0 -400
- package/dist/chunk-ACUDUVDJ.js +0 -231
- package/dist/chunk-AI7XM4MY.js +0 -194
- package/dist/chunk-AJEOTFQE.js +0 -234
- package/dist/chunk-AKQSOR4G.js +0 -538
- package/dist/chunk-AP4FMXAM.js +0 -353
- package/dist/chunk-AQHQUPEF.js +0 -202
- package/dist/chunk-ATVSG5CO.js +0 -296
- package/dist/chunk-B6YDINPE.js +0 -68
- package/dist/chunk-BMOYN4HY.js +0 -283
- package/dist/chunk-BMSMK7SA.js +0 -84
- package/dist/chunk-BY7AWWDB.js +0 -177
- package/dist/chunk-BZ4GSY44.js +0 -2412
- package/dist/chunk-CGYPX3HJ.js +0 -292
- package/dist/chunk-CHYAUIZ3.js +0 -2984
- package/dist/chunk-CJEQQBNZ.js +0 -818
- package/dist/chunk-CP53LM7W.js +0 -1021
- package/dist/chunk-CQW4ZPU4.js +0 -191
- package/dist/chunk-CTKUOOU4.js +0 -246
- package/dist/chunk-CWKFPDYB.js +0 -124
- package/dist/chunk-CYBRD5BP.js +0 -113
- package/dist/chunk-CYPMAJ75.js +0 -449
- package/dist/chunk-CYPNXHWM.js +0 -379
- package/dist/chunk-D45IDQBW.js +0 -114
- package/dist/chunk-D4RTU236.js +0 -230
- package/dist/chunk-DBGOJIMM.js +0 -399
- package/dist/chunk-DD3DT5MY.js +0 -3321
- package/dist/chunk-DG3GW325.js +0 -72
- package/dist/chunk-DHLGGANG.js +0 -50
- package/dist/chunk-DHZW6JXQ.js +0 -10035
- package/dist/chunk-DHZW6JXQ.js.map +0 -1
- package/dist/chunk-DLHR7HHS.js +0 -931
- package/dist/chunk-DM7JLUWN.js +0 -406
- package/dist/chunk-DMQY35LC.js +0 -98
- package/dist/chunk-EBVL3YJQ.js +0 -67
- package/dist/chunk-EIQQYUOT.js +0 -274
- package/dist/chunk-EMART4X3.js +0 -107
- package/dist/chunk-EMJSJTIE.js +0 -207
- package/dist/chunk-ES3JAYQJ.js +0 -214
- package/dist/chunk-EWJ7WEZT.js +0 -175
- package/dist/chunk-FC6MLU5C.js +0 -52
- package/dist/chunk-FD6F2OE5.js +0 -515
- package/dist/chunk-FE4HNBHF.js +0 -48
- package/dist/chunk-FFXJF5KU.js +0 -201
- package/dist/chunk-FN5UTQSL.js +0 -117
- package/dist/chunk-FT4ZKYTG.js +0 -138
- package/dist/chunk-FYOGQHCD.js +0 -209
- package/dist/chunk-FZOK37SC.js +0 -155
- package/dist/chunk-GA42NSDJ.js +0 -132
- package/dist/chunk-GDWKVSMK.js +0 -372
- package/dist/chunk-GH3Q5XW4.js +0 -2551
- package/dist/chunk-GHLUZSIB.js +0 -259
- package/dist/chunk-GISBCT5E.js +0 -366
- package/dist/chunk-GKA5LFYR.js +0 -21
- package/dist/chunk-GPRM5GYZ.js +0 -131
- package/dist/chunk-GWJLR55B.js +0 -333
- package/dist/chunk-GX3RAB4W.js +0 -357
- package/dist/chunk-GYNTJYWY.js +0 -166
- package/dist/chunk-GYWQ4KVM.js +0 -85
- package/dist/chunk-H2AOQJQP.js +0 -378
- package/dist/chunk-H35G5UHL.js +0 -111
- package/dist/chunk-H6PJEWZH.js +0 -170
- package/dist/chunk-HHUTU5EN.js +0 -108
- package/dist/chunk-HPH3MFFE.js +0 -3996
- package/dist/chunk-HPH3MFFE.js.map +0 -1
- package/dist/chunk-HQZ6NGUU.js +0 -114
- package/dist/chunk-HSEHIVAE.js +0 -4564
- package/dist/chunk-HTYDPAJL.js +0 -391
- package/dist/chunk-HUKGLWAY.js +0 -174
- package/dist/chunk-HUTQJY3F.js +0 -23
- package/dist/chunk-HUWJZRD3.js +0 -311
- package/dist/chunk-HVL7TCB5.js +0 -50
- package/dist/chunk-HWOYJOKK.js +0 -266
- package/dist/chunk-HXANXMPH.js +0 -3851
- package/dist/chunk-HZBPL4KB.js +0 -244
- package/dist/chunk-HZBPL4KB.js.map +0 -1
- package/dist/chunk-I4CXHN6E.js +0 -269
- package/dist/chunk-I6YOCSEP.js +0 -37
- package/dist/chunk-IAXF3IO6.js +0 -1399
- package/dist/chunk-IGUPUA3G.js +0 -403
- package/dist/chunk-IKAVNCO5.js +0 -112
- package/dist/chunk-IMWP2Q4W.js +0 -137
- package/dist/chunk-IXPLYZFO.js +0 -40
- package/dist/chunk-J3CHK7NH.js +0 -12
- package/dist/chunk-JAC5I2BN.js +0 -85
- package/dist/chunk-JK2WTBLD.js +0 -158
- package/dist/chunk-JOKNFHFU.js +0 -412
- package/dist/chunk-JOVCPP44.js +0 -441
- package/dist/chunk-JTRRMV7B.js +0 -469
- package/dist/chunk-K2WDXLZS.js +0 -134
- package/dist/chunk-K6JW7GB3.js +0 -828
- package/dist/chunk-KA5H2Z3E.js +0 -168
- package/dist/chunk-KQBVH5LN.js +0 -229
- package/dist/chunk-KQVHSEQQ.js +0 -20
- package/dist/chunk-KREVCOE7.js +0 -187
- package/dist/chunk-KYDLVMKA.js +0 -99
- package/dist/chunk-L4PIAAQB.js +0 -4863
- package/dist/chunk-L64LMYJD.js +0 -114
- package/dist/chunk-L7XVC27Z.js +0 -850
- package/dist/chunk-L7XVC27Z.js.map +0 -1
- package/dist/chunk-L7ZLPS37.js +0 -371
- package/dist/chunk-LDZSUY7K.js +0 -298
- package/dist/chunk-LK3AAMN7.js +0 -404
- package/dist/chunk-LLVJ3P2N.js +0 -428
- package/dist/chunk-LPHBZCCV.js +0 -1263
- package/dist/chunk-LT3MK2XP.js +0 -608
- package/dist/chunk-M72GFKDP.js +0 -335
- package/dist/chunk-M73QQXUQ.js +0 -270
- package/dist/chunk-M7NPDODK.js +0 -1870
- package/dist/chunk-MB5EK2PA.js +0 -211
- package/dist/chunk-MB5WRIYX.js +0 -33
- package/dist/chunk-MBYHDOTU.js +0 -42
- package/dist/chunk-MDIHQGPV.js +0 -276
- package/dist/chunk-MQFJPFL4.js +0 -5089
- package/dist/chunk-MU6IU4IH.js +0 -650
- package/dist/chunk-N7IOCNWK.js +0 -1019
- package/dist/chunk-NDJPEX7P.js +0 -1187
- package/dist/chunk-NLKHAZMG.js +0 -898
- package/dist/chunk-NLYAWFDY.js +0 -199
- package/dist/chunk-NNIUBJOE.js +0 -154
- package/dist/chunk-NSBOITEM.js +0 -175
- package/dist/chunk-NUZNJSL5.js +0 -285
- package/dist/chunk-NZFMEGPE.js +0 -287
- package/dist/chunk-O4UAH7WR.js +0 -427
- package/dist/chunk-O4UAH7WR.js.map +0 -1
- package/dist/chunk-O4VCJWKV.js +0 -176
- package/dist/chunk-OE4QJJ4C.js +0 -432
- package/dist/chunk-OQEAJGAJ.js +0 -65
- package/dist/chunk-ORSFNFNY.js +0 -1184
- package/dist/chunk-OU2J6K3L.js +0 -129
- package/dist/chunk-OVAT4PIR.js +0 -437
- package/dist/chunk-OWF2AVT6.js +0 -407
- package/dist/chunk-P2OHWZMB.js +0 -256
- package/dist/chunk-PCSRHFRF.js +0 -75
- package/dist/chunk-PH2FDKJE.js +0 -250
- package/dist/chunk-PMBZMVKE.js +0 -33
- package/dist/chunk-PNLVWZSM.js +0 -211
- package/dist/chunk-PQ7WJAKL.js +0 -74
- package/dist/chunk-PTSRBKQC.js +0 -118
- package/dist/chunk-PTUIF4TT.js +0 -144
- package/dist/chunk-PV7X4PRR.js +0 -570
- package/dist/chunk-Q35LFE7H.js +0 -26
- package/dist/chunk-QAHGGBL2.js +0 -1024
- package/dist/chunk-QI5RXPYP.js +0 -56
- package/dist/chunk-QODAMEOR.js +0 -2317
- package/dist/chunk-QXOO5U46.js +0 -172
- package/dist/chunk-R6OBJ7LF.js +0 -131
- package/dist/chunk-R6WQLIFX.js +0 -73
- package/dist/chunk-R7SBV5KD.js +0 -3690
- package/dist/chunk-R7ZIFQ7D.js +0 -738
- package/dist/chunk-R7ZIFQ7D.js.map +0 -1
- package/dist/chunk-RFBJ6TUL.js +0 -43
- package/dist/chunk-RLNJSAHP.js +0 -851
- package/dist/chunk-RMVKH4EE.js +0 -351
- package/dist/chunk-RO2UO3VN.js +0 -107
- package/dist/chunk-ROCQ3IDW.js +0 -184
- package/dist/chunk-RPWI6A3H.js +0 -849
- package/dist/chunk-RTJVIXH5.js +0 -141
- package/dist/chunk-RZ5IQ3SX.js +0 -278
- package/dist/chunk-S7NX6KSE.js +0 -406
- package/dist/chunk-SFWP4DNI.js +0 -218
- package/dist/chunk-SI2RFGQX.js +0 -158
- package/dist/chunk-SKHYIIH4.js +0 -107
- package/dist/chunk-SOC5IBQT.js +0 -383
- package/dist/chunk-SUMBC7BQ.js +0 -396
- package/dist/chunk-T4UTYGB2.js +0 -110
- package/dist/chunk-T6N33M46.js +0 -251
- package/dist/chunk-TD5EKKVD.js +0 -83
- package/dist/chunk-TGG3ODCS.js +0 -99
- package/dist/chunk-TGVTVLNI.js +0 -401
- package/dist/chunk-TLTE3QSX.js +0 -73
- package/dist/chunk-TXAMGOUG.js +0 -2580
- package/dist/chunk-U4OIE2MJ.js +0 -271
- package/dist/chunk-UBTDG6GC.js +0 -126
- package/dist/chunk-UFRXYZCJ.js +0 -125
- package/dist/chunk-UHU2WESP.js +0 -340
- package/dist/chunk-UKDLZ76A.js +0 -2434
- package/dist/chunk-UPRN4FBY.js +0 -38
- package/dist/chunk-UQDT3SM2.js +0 -27
- package/dist/chunk-UQFUI3KT.js +0 -3070
- package/dist/chunk-UXBW2TYH.js +0 -1356
- package/dist/chunk-UXZLTAJO.js +0 -227
- package/dist/chunk-UZAVFOZC.js +0 -505
- package/dist/chunk-V2A4I4GC.js +0 -265
- package/dist/chunk-VAN6CEAV.js +0 -234
- package/dist/chunk-VDHWFRTL.js +0 -58
- package/dist/chunk-VLDKWGHD.js +0 -61
- package/dist/chunk-W4ABZ6XO.js +0 -4480
- package/dist/chunk-W4ABZ6XO.js.map +0 -1
- package/dist/chunk-W4TOPPVT.js +0 -162
- package/dist/chunk-W7P44UAE.js +0 -278
- package/dist/chunk-WAVR3UIC.js +0 -773
- package/dist/chunk-WLRB74VH.js +0 -251
- package/dist/chunk-WOVGVEKP.js +0 -192
- package/dist/chunk-WQ35KUFP.js +0 -264
- package/dist/chunk-WSBUFP77.js +0 -391
- package/dist/chunk-X56NEOYY.js +0 -283
- package/dist/chunk-XET2K3TU.js +0 -138
- package/dist/chunk-XJPDGFVT.js +0 -307
- package/dist/chunk-XK4VFZHQ.js +0 -246
- package/dist/chunk-XVP23IJS.js +0 -236
- package/dist/chunk-YEU2JC3B.js +0 -27
- package/dist/chunk-YFU2VZXS.js +0 -249
- package/dist/chunk-YMY2OO3V.js +0 -584
- package/dist/chunk-YNRZN3TU.js +0 -57
- package/dist/chunk-YP4SNX4P.js +0 -220
- package/dist/chunk-YSZAX6WJ.js +0 -196
- package/dist/chunk-YTUVANLR.js +0 -93
- package/dist/chunk-YUEYZTBP.js +0 -1309
- package/dist/chunk-YUVS7HYN.js +0 -129
- package/dist/chunk-YVQUPHYL.js +0 -234
- package/dist/chunk-YW4YRCXI.js +0 -3110
- package/dist/chunk-YZ2G24VJ.js +0 -1185
- package/dist/chunk-ZBTYTG4E.js +0 -247
- package/dist/chunk-ZCQJUYDX.js +0 -178
- package/dist/chunk-ZD67RM6G.js +0 -60
- package/dist/computer-viewer-BWWVUD6J.js +0 -21
- package/dist/connection-step-up-7ICLBORD.js +0 -145
- package/dist/embedded-new-voice-VD6GR5JQ.js +0 -25
- package/dist/embedded-voice-J2B6J2QQ.js +0 -25
- package/dist/fleet-decision-row-B672XMNG.js +0 -361
- package/dist/model-policy-picker-menu-HT3TWGSS.js +0 -23
- package/dist/payment-page-card-4LZPJ3OK.js +0 -226
- package/dist/platform-activity-row-TWXWUCXD.js +0 -156
- package/dist/queue-surface-implementation-SQ7K2TM4.js +0 -932
- package/dist/recorder-host-N2S7G3CW.js +0 -80
- package/dist/sandbox-files-6CKWJ2CU.js +0 -28
- package/dist/session-connect-cards-VNQWMX7A.js +0 -27
- package/dist/session-realtime-CRG7DRV6.js +0 -30
- package/dist/timeline-annotation-markers-JXCNK4S6.js +0 -157
- package/dist/timeline-annotation-selection-5ZTVYJXT.js +0 -208
- package/dist/timeline-annotations-dialog-4QWVCZCF.js +0 -283
- /package/dist/{browser-viewer-WGRM3JME.js.map → browser-viewer-EIEMRVFF.js.map} +0 -0
- /package/dist/{chat-interactive-block-5E3UQYHO.js.map → chat-interactive-block-FV37LWYZ.js.map} +0 -0
- /package/dist/{chunk-CJEQQBNZ.js.map → chunk-2COBAJC7.js.map} +0 -0
- /package/dist/{chunk-H6PJEWZH.js.map → chunk-2HS3IUXE.js.map} +0 -0
- /package/dist/{chunk-ATVSG5CO.js.map → chunk-2JTMFYCT.js.map} +0 -0
- /package/dist/{chunk-L64LMYJD.js.map → chunk-2JXKP4M6.js.map} +0 -0
- /package/dist/{chunk-I4CXHN6E.js.map → chunk-2P5K7CBH.js.map} +0 -0
- /package/dist/{chunk-PH2FDKJE.js.map → chunk-2XGRHMRI.js.map} +0 -0
- /package/dist/{chunk-OQEAJGAJ.js.map → chunk-332BYSAZ.js.map} +0 -0
- /package/dist/{chunk-SI2RFGQX.js.map → chunk-3EM5GTP3.js.map} +0 -0
- /package/dist/{chunk-FC6MLU5C.js.map → chunk-3L5ATO4A.js.map} +0 -0
- /package/dist/{chunk-SKHYIIH4.js.map → chunk-3S3PJB7J.js.map} +0 -0
- /package/dist/{chunk-37J3ZX2N.js.map → chunk-3SBKYPNM.js.map} +0 -0
- /package/dist/{chunk-D45IDQBW.js.map → chunk-3Z7VA6ET.js.map} +0 -0
- /package/dist/{chunk-EMJSJTIE.js.map → chunk-43BRJBEV.js.map} +0 -0
- /package/dist/{chunk-2L7TCAO4.js.map → chunk-46LZO4ZO.js.map} +0 -0
- /package/dist/{chunk-UPRN4FBY.js.map → chunk-46ZC5VNC.js.map} +0 -0
- /package/dist/{chunk-LDZSUY7K.js.map → chunk-4AH4EEHE.js.map} +0 -0
- /package/dist/{chunk-M73QQXUQ.js.map → chunk-4D3YJNVN.js.map} +0 -0
- /package/dist/{chunk-I6YOCSEP.js.map → chunk-4I4RTI4D.js.map} +0 -0
- /package/dist/{chunk-NZFMEGPE.js.map → chunk-4KASGJTF.js.map} +0 -0
- /package/dist/{chunk-LPHBZCCV.js.map → chunk-4RUKLIOF.js.map} +0 -0
- /package/dist/{chunk-MU6IU4IH.js.map → chunk-4UU7FN3I.js.map} +0 -0
- /package/dist/{chunk-GH3Q5XW4.js.map → chunk-4ZRNASBF.js.map} +0 -0
- /package/dist/{chunk-26KK6DN5.js.map → chunk-5EJBPQI2.js.map} +0 -0
- /package/dist/{chunk-FYOGQHCD.js.map → chunk-5G4IGG7F.js.map} +0 -0
- /package/dist/{chunk-GPRM5GYZ.js.map → chunk-5JAYZOAW.js.map} +0 -0
- /package/dist/{chunk-5EZELID5.js.map → chunk-5JOKVDSR.js.map} +0 -0
- /package/dist/{chunk-2VHPKSFK.js.map → chunk-5MP3G7ZV.js.map} +0 -0
- /package/dist/{chunk-MBYHDOTU.js.map → chunk-5OVRMKP5.js.map} +0 -0
- /package/dist/{chunk-ORSFNFNY.js.map → chunk-5SGTRULO.js.map} +0 -0
- /package/dist/{chunk-64XZTYX4.js.map → chunk-5SOL4INY.js.map} +0 -0
- /package/dist/{chunk-YEU2JC3B.js.map → chunk-5Y34P32B.js.map} +0 -0
- /package/dist/{chunk-DG3GW325.js.map → chunk-62HIKJ5F.js.map} +0 -0
- /package/dist/{chunk-HWOYJOKK.js.map → chunk-62T2ZPD5.js.map} +0 -0
- /package/dist/{chunk-2U5ZJMNP.js.map → chunk-63VNZRLY.js.map} +0 -0
- /package/dist/{chunk-PMBZMVKE.js.map → chunk-6CDBX3XG.js.map} +0 -0
- /package/dist/{chunk-W7P44UAE.js.map → chunk-6D3D2JWY.js.map} +0 -0
- /package/dist/{chunk-FFXJF5KU.js.map → chunk-6DOIINY4.js.map} +0 -0
- /package/dist/{chunk-IKAVNCO5.js.map → chunk-6DQBUKGJ.js.map} +0 -0
- /package/dist/{chunk-IAXF3IO6.js.map → chunk-6SETNFNH.js.map} +0 -0
- /package/dist/{chunk-QI5RXPYP.js.map → chunk-6XYFMHNT.js.map} +0 -0
- /package/dist/{chunk-MB5WRIYX.js.map → chunk-6YU3WV2P.js.map} +0 -0
- /package/dist/{chunk-RMVKH4EE.js.map → chunk-6YUHDFOZ.js.map} +0 -0
- /package/dist/{chunk-YZ2G24VJ.js.map → chunk-72EOXOR7.js.map} +0 -0
- /package/dist/{chunk-4YQFDBKE.js.map → chunk-72ND4ALI.js.map} +0 -0
- /package/dist/{chunk-X56NEOYY.js.map → chunk-757LE32E.js.map} +0 -0
- /package/dist/{chunk-3UG2AJHR.js.map → chunk-7FDEV6XW.js.map} +0 -0
- /package/dist/{chunk-XET2K3TU.js.map → chunk-7S2S4MXR.js.map} +0 -0
- /package/dist/{chunk-67MFNMGH.js.map → chunk-7SYCHMXS.js.map} +0 -0
- /package/dist/{chunk-MQFJPFL4.js.map → chunk-7TVAPQOV.js.map} +0 -0
- /package/dist/{chunk-ES3JAYQJ.js.map → chunk-7UDLRDHK.js.map} +0 -0
- /package/dist/{chunk-GX3RAB4W.js.map → chunk-7YLQCMZP.js.map} +0 -0
- /package/dist/{chunk-RPWI6A3H.js.map → chunk-A5GX3CAE.js.map} +0 -0
- /package/dist/{chunk-6H2OQ6XG.js.map → chunk-A7EBV2EB.js.map} +0 -0
- /package/dist/{chunk-HQZ6NGUU.js.map → chunk-AB5SPXUR.js.map} +0 -0
- /package/dist/{chunk-AQHQUPEF.js.map → chunk-AHVQGL5A.js.map} +0 -0
- /package/dist/{chunk-Q35LFE7H.js.map → chunk-AI77ZKEV.js.map} +0 -0
- /package/dist/{chunk-N7IOCNWK.js.map → chunk-AIX2D6RB.js.map} +0 -0
- /package/dist/{chunk-WOVGVEKP.js.map → chunk-AVSIHP7Q.js.map} +0 -0
- /package/dist/{chunk-EMART4X3.js.map → chunk-AWK23Q32.js.map} +0 -0
- /package/dist/{chunk-3JYID53J.js.map → chunk-AYVWA6KD.js.map} +0 -0
- /package/dist/{chunk-A4SKSSSS.js.map → chunk-AYZXE4IM.js.map} +0 -0
- /package/dist/{chunk-CWKFPDYB.js.map → chunk-AZGGSPTE.js.map} +0 -0
- /package/dist/{chunk-DLHR7HHS.js.map → chunk-B45TB4HY.js.map} +0 -0
- /package/dist/{chunk-7TEXZ5LW.js.map → chunk-BIUJHNVR.js.map} +0 -0
- /package/dist/{chunk-AJEOTFQE.js.map → chunk-BJUOKUE5.js.map} +0 -0
- /package/dist/{chunk-CGYPX3HJ.js.map → chunk-BPEEVMKH.js.map} +0 -0
- /package/dist/{chunk-PQ7WJAKL.js.map → chunk-BPHPAGYF.js.map} +0 -0
- /package/dist/{chunk-XJPDGFVT.js.map → chunk-BXMND6YU.js.map} +0 -0
- /package/dist/{chunk-FN5UTQSL.js.map → chunk-C6OM2SRG.js.map} +0 -0
- /package/dist/{chunk-YUEYZTBP.js.map → chunk-CIRCUDKF.js.map} +0 -0
- /package/dist/{chunk-IGUPUA3G.js.map → chunk-CLKR4UG3.js.map} +0 -0
- /package/dist/{chunk-7QODDTOI.js.map → chunk-CPX6BHER.js.map} +0 -0
- /package/dist/{chunk-FZOK37SC.js.map → chunk-CVC4RO7D.js.map} +0 -0
- /package/dist/{chunk-6C55RLFY.js.map → chunk-D3YJAQGK.js.map} +0 -0
- /package/dist/{chunk-QAHGGBL2.js.map → chunk-DFQ72BLS.js.map} +0 -0
- /package/dist/{chunk-HSEHIVAE.js.map → chunk-DG65PJOZ.js.map} +0 -0
- /package/dist/{chunk-DM7JLUWN.js.map → chunk-DNAXAS5R.js.map} +0 -0
- /package/dist/{chunk-NSBOITEM.js.map → chunk-DO247ITS.js.map} +0 -0
- /package/dist/{chunk-NNIUBJOE.js.map → chunk-DONBARLL.js.map} +0 -0
- /package/dist/{chunk-5W4ZGFXZ.js.map → chunk-DTLXQ3ZU.js.map} +0 -0
- /package/dist/{chunk-EIQQYUOT.js.map → chunk-EAXTACI4.js.map} +0 -0
- /package/dist/{chunk-JOKNFHFU.js.map → chunk-EDPH7AJH.js.map} +0 -0
- /package/dist/{chunk-MDIHQGPV.js.map → chunk-EFKQHCGJ.js.map} +0 -0
- /package/dist/{chunk-33QC4RN7.js.map → chunk-EILSPMVD.js.map} +0 -0
- /package/dist/{chunk-PNLVWZSM.js.map → chunk-EK7KIETS.js.map} +0 -0
- /package/dist/{chunk-OVAT4PIR.js.map → chunk-EMWT6GOK.js.map} +0 -0
- /package/dist/{chunk-GHLUZSIB.js.map → chunk-EO22NST7.js.map} +0 -0
- /package/dist/{chunk-P2OHWZMB.js.map → chunk-ER5MYLIE.js.map} +0 -0
- /package/dist/{chunk-YVQUPHYL.js.map → chunk-ES5HKVQF.js.map} +0 -0
- /package/dist/{chunk-H35G5UHL.js.map → chunk-F26YBYAZ.js.map} +0 -0
- /package/dist/{chunk-FD6F2OE5.js.map → chunk-F6QP4GSK.js.map} +0 -0
- /package/dist/{chunk-RLNJSAHP.js.map → chunk-F7QEO7M2.js.map} +0 -0
- /package/dist/{chunk-J3CHK7NH.js.map → chunk-FJFGDLXB.js.map} +0 -0
- /package/dist/{chunk-CYBRD5BP.js.map → chunk-FLLJ2WXW.js.map} +0 -0
- /package/dist/{chunk-RO2UO3VN.js.map → chunk-FMBJKMT4.js.map} +0 -0
- /package/dist/{chunk-R7SBV5KD.js.map → chunk-FPN4I4CG.js.map} +0 -0
- /package/dist/{chunk-UQFUI3KT.js.map → chunk-FUXFJTXL.js.map} +0 -0
- /package/dist/{chunk-JK2WTBLD.js.map → chunk-G6SSSX5R.js.map} +0 -0
- /package/dist/{chunk-LT3MK2XP.js.map → chunk-GBGCMHBB.js.map} +0 -0
- /package/dist/{chunk-HUKGLWAY.js.map → chunk-GIHE7U3Y.js.map} +0 -0
- /package/dist/{chunk-GDWKVSMK.js.map → chunk-GJ4GTYOD.js.map} +0 -0
- /package/dist/{chunk-OE4QJJ4C.js.map → chunk-GLSDWNFV.js.map} +0 -0
- /package/dist/{chunk-RZ5IQ3SX.js.map → chunk-GMGAW3T6.js.map} +0 -0
- /package/dist/{chunk-RFBJ6TUL.js.map → chunk-GNGI6XFN.js.map} +0 -0
- /package/dist/{chunk-WQ35KUFP.js.map → chunk-GO5VIAA7.js.map} +0 -0
- /package/dist/{chunk-KQBVH5LN.js.map → chunk-GSW4YHZE.js.map} +0 -0
- /package/dist/{chunk-OWF2AVT6.js.map → chunk-GUC6IWEY.js.map} +0 -0
- /package/dist/{chunk-5SK5PYFN.js.map → chunk-GWAY3SO5.js.map} +0 -0
- /package/dist/{chunk-KA5H2Z3E.js.map → chunk-GXOTNT5D.js.map} +0 -0
- /package/dist/{chunk-HXANXMPH.js.map → chunk-GZZCVF76.js.map} +0 -0
- /package/dist/{chunk-3ZBQIZEM.js.map → chunk-H4VMHFOX.js.map} +0 -0
- /package/dist/{chunk-T4UTYGB2.js.map → chunk-HA5RFQAF.js.map} +0 -0
- /package/dist/{chunk-PTSRBKQC.js.map → chunk-HFROJDFQ.js.map} +0 -0
- /package/dist/{chunk-YP4SNX4P.js.map → chunk-HHFFPE67.js.map} +0 -0
- /package/dist/{chunk-4J4IPUPZ.js.map → chunk-HJLHGXWL.js.map} +0 -0
- /package/dist/{chunk-CHYAUIZ3.js.map → chunk-HKNMNL7B.js.map} +0 -0
- /package/dist/{chunk-CP53LM7W.js.map → chunk-HT7MBHLY.js.map} +0 -0
- /package/dist/{chunk-YMY2OO3V.js.map → chunk-I5FSUZVW.js.map} +0 -0
- /package/dist/{chunk-CTKUOOU4.js.map → chunk-IINQO425.js.map} +0 -0
- /package/dist/{chunk-73YALMGG.js.map → chunk-IIXNEOK4.js.map} +0 -0
- /package/dist/{chunk-HUWJZRD3.js.map → chunk-IM3WA5AL.js.map} +0 -0
- /package/dist/{chunk-DBGOJIMM.js.map → chunk-IX4P4OGR.js.map} +0 -0
- /package/dist/{chunk-OU2J6K3L.js.map → chunk-IX5VHZYS.js.map} +0 -0
- /package/dist/{chunk-4IMVT7OU.js.map → chunk-JB3TSUZO.js.map} +0 -0
- /package/dist/{chunk-UQDT3SM2.js.map → chunk-JIC6RLUB.js.map} +0 -0
- /package/dist/{chunk-QXOO5U46.js.map → chunk-JNJIZCTN.js.map} +0 -0
- /package/dist/{chunk-K6JW7GB3.js.map → chunk-JNV5ZPUV.js.map} +0 -0
- /package/dist/{chunk-HVL7TCB5.js.map → chunk-JPQFVR24.js.map} +0 -0
- /package/dist/{chunk-5NGW5K2D.js.map → chunk-JPZVMXDP.js.map} +0 -0
- /package/dist/{chunk-6GBJFFQL.js.map → chunk-JVPF34MX.js.map} +0 -0
- /package/dist/{chunk-JAC5I2BN.js.map → chunk-KED67KAF.js.map} +0 -0
- /package/dist/{chunk-H2AOQJQP.js.map → chunk-KJ72GMZ2.js.map} +0 -0
- /package/dist/{chunk-PCSRHFRF.js.map → chunk-KTGKGHEA.js.map} +0 -0
- /package/dist/{chunk-NUZNJSL5.js.map → chunk-KU77XHWB.js.map} +0 -0
- /package/dist/{chunk-YFU2VZXS.js.map → chunk-KXBLLFOO.js.map} +0 -0
- /package/dist/{chunk-VLDKWGHD.js.map → chunk-L6WVCO6D.js.map} +0 -0
- /package/dist/{chunk-TLTE3QSX.js.map → chunk-LPEFULJY.js.map} +0 -0
- /package/dist/{chunk-DMQY35LC.js.map → chunk-LRMGPO7E.js.map} +0 -0
- /package/dist/{chunk-6DFHNNWJ.js.map → chunk-LVKTKORH.js.map} +0 -0
- /package/dist/{chunk-TGG3ODCS.js.map → chunk-MCPKUVMQ.js.map} +0 -0
- /package/dist/{chunk-KYDLVMKA.js.map → chunk-MFLU3466.js.map} +0 -0
- /package/dist/{chunk-ZD67RM6G.js.map → chunk-MIUJ3EH5.js.map} +0 -0
- /package/dist/{chunk-EWJ7WEZT.js.map → chunk-MIUMNTIJ.js.map} +0 -0
- /package/dist/{chunk-2Q4XBV3J.js.map → chunk-ML46TXRM.js.map} +0 -0
- /package/dist/{chunk-3JBLX5BN.js.map → chunk-MO3XJQN2.js.map} +0 -0
- /package/dist/{chunk-SFWP4DNI.js.map → chunk-MQRHTOQ2.js.map} +0 -0
- /package/dist/{chunk-5ERDSF2C.js.map → chunk-MVYQDBE6.js.map} +0 -0
- /package/dist/{chunk-272XEENJ.js.map → chunk-NE5P7LFQ.js.map} +0 -0
- /package/dist/{chunk-YSZAX6WJ.js.map → chunk-NPBEUU22.js.map} +0 -0
- /package/dist/{chunk-ZCQJUYDX.js.map → chunk-NSXKGS2K.js.map} +0 -0
- /package/dist/{chunk-QODAMEOR.js.map → chunk-NUEFORM6.js.map} +0 -0
- /package/dist/{chunk-O4VCJWKV.js.map → chunk-NZOFNQNC.js.map} +0 -0
- /package/dist/{chunk-MB5EK2PA.js.map → chunk-OATXCLTY.js.map} +0 -0
- /package/dist/{chunk-AKQSOR4G.js.map → chunk-OG3ELROW.js.map} +0 -0
- /package/dist/{chunk-W4TOPPVT.js.map → chunk-OI4WS7FW.js.map} +0 -0
- /package/dist/{chunk-3ZVACRTK.js.map → chunk-OITGZUDC.js.map} +0 -0
- /package/dist/{chunk-GWJLR55B.js.map → chunk-OKD2LBMK.js.map} +0 -0
- /package/dist/{chunk-K2WDXLZS.js.map → chunk-OSA4CGST.js.map} +0 -0
- /package/dist/{chunk-TGVTVLNI.js.map → chunk-OXYAKUFU.js.map} +0 -0
- /package/dist/{chunk-SUMBC7BQ.js.map → chunk-OYMSMU5O.js.map} +0 -0
- /package/dist/{chunk-3XS3A6Y6.js.map → chunk-P4NZ72KY.js.map} +0 -0
- /package/dist/{chunk-CYPNXHWM.js.map → chunk-PBYL2VIM.js.map} +0 -0
- /package/dist/{chunk-UZAVFOZC.js.map → chunk-PDW3OOSZ.js.map} +0 -0
- /package/dist/{chunk-6M2WXQX5.js.map → chunk-PGRKTQIW.js.map} +0 -0
- /package/dist/{chunk-4PG2BEQA.js.map → chunk-PPQJIVGM.js.map} +0 -0
- /package/dist/{chunk-UFRXYZCJ.js.map → chunk-PYMQM65Y.js.map} +0 -0
- /package/dist/{chunk-GYNTJYWY.js.map → chunk-Q273Q33U.js.map} +0 -0
- /package/dist/{chunk-UHU2WESP.js.map → chunk-Q4CLS2HL.js.map} +0 -0
- /package/dist/{chunk-GYWQ4KVM.js.map → chunk-QA5UNVHD.js.map} +0 -0
- /package/dist/{chunk-LLVJ3P2N.js.map → chunk-QFOBUA2J.js.map} +0 -0
- /package/dist/{chunk-2MXP6ZRP.js.map → chunk-QLIM4D56.js.map} +0 -0
- /package/dist/{chunk-KQVHSEQQ.js.map → chunk-QMQF5U2D.js.map} +0 -0
- /package/dist/{chunk-IXPLYZFO.js.map → chunk-QNOWKKZ4.js.map} +0 -0
- /package/dist/{chunk-PTUIF4TT.js.map → chunk-QPOUPVPD.js.map} +0 -0
- /package/dist/{chunk-FE4HNBHF.js.map → chunk-QTJAQ6DS.js.map} +0 -0
- /package/dist/{chunk-LK3AAMN7.js.map → chunk-QUOFP3G7.js.map} +0 -0
- /package/dist/{chunk-6O6CHBD3.js.map → chunk-QVOTPOXK.js.map} +0 -0
- /package/dist/{chunk-ROCQ3IDW.js.map → chunk-QYZ5RVGM.js.map} +0 -0
- /package/dist/{chunk-TXAMGOUG.js.map → chunk-R7CVDKRN.js.map} +0 -0
- /package/dist/{chunk-3ITEAD3E.js.map → chunk-RB7MXNZD.js.map} +0 -0
- /package/dist/{chunk-KREVCOE7.js.map → chunk-RDZQFZOQ.js.map} +0 -0
- /package/dist/{chunk-AI7XM4MY.js.map → chunk-RIHKEGWS.js.map} +0 -0
- /package/dist/{chunk-YNRZN3TU.js.map → chunk-ROSB7GF6.js.map} +0 -0
- /package/dist/{chunk-3MZCXSC7.js.map → chunk-RP3YMYCX.js.map} +0 -0
- /package/dist/{chunk-U4OIE2MJ.js.map → chunk-RPHXJHNX.js.map} +0 -0
- /package/dist/{chunk-CQW4ZPU4.js.map → chunk-RVC3M66H.js.map} +0 -0
- /package/dist/{chunk-BMOYN4HY.js.map → chunk-S3OTJAAC.js.map} +0 -0
- /package/dist/{chunk-2Y53MMGA.js.map → chunk-SBWPMVRN.js.map} +0 -0
- /package/dist/{chunk-FT4ZKYTG.js.map → chunk-SERECSAR.js.map} +0 -0
- /package/dist/{chunk-6V2UH36U.js.map → chunk-SHSEF3GJ.js.map} +0 -0
- /package/dist/{chunk-2AU2S5NP.js.map → chunk-SMS2M3RG.js.map} +0 -0
- /package/dist/{chunk-BY7AWWDB.js.map → chunk-SRDHDIRQ.js.map} +0 -0
- /package/dist/{chunk-46USHCHK.js.map → chunk-SXRYA7NN.js.map} +0 -0
- /package/dist/{chunk-NDJPEX7P.js.map → chunk-SYA3WYG4.js.map} +0 -0
- /package/dist/{chunk-HUTQJY3F.js.map → chunk-SYYFA7W7.js.map} +0 -0
- /package/dist/{chunk-L7ZLPS37.js.map → chunk-T2QDSTBH.js.map} +0 -0
- /package/dist/{chunk-T6N33M46.js.map → chunk-TFSCGFYV.js.map} +0 -0
- /package/dist/{chunk-XK4VFZHQ.js.map → chunk-TGCKZOSX.js.map} +0 -0
- /package/dist/{chunk-GA42NSDJ.js.map → chunk-THILLYQM.js.map} +0 -0
- /package/dist/{chunk-BZ4GSY44.js.map → chunk-TI6LGUEZ.js.map} +0 -0
- /package/dist/{chunk-GISBCT5E.js.map → chunk-TSY6YZL2.js.map} +0 -0
- /package/dist/{chunk-DD3DT5MY.js.map → chunk-TW2RHTLH.js.map} +0 -0
- /package/dist/{chunk-RTJVIXH5.js.map → chunk-TWA5G277.js.map} +0 -0
- /package/dist/{chunk-ZBTYTG4E.js.map → chunk-TZZ2S4XI.js.map} +0 -0
- /package/dist/{chunk-VDHWFRTL.js.map → chunk-U5D3K53R.js.map} +0 -0
- /package/dist/{chunk-WLRB74VH.js.map → chunk-UECD27LX.js.map} +0 -0
- /package/dist/{chunk-HHUTU5EN.js.map → chunk-UFJDETKG.js.map} +0 -0
- /package/dist/{chunk-PV7X4PRR.js.map → chunk-UHCFYX4I.js.map} +0 -0
- /package/dist/{chunk-NLKHAZMG.js.map → chunk-UHTURYJO.js.map} +0 -0
- /package/dist/{chunk-EBVL3YJQ.js.map → chunk-UJH63JT3.js.map} +0 -0
- /package/dist/{chunk-5UI3VPCY.js.map → chunk-UOLDS6S5.js.map} +0 -0
- /package/dist/{chunk-BMSMK7SA.js.map → chunk-UUE3OGXI.js.map} +0 -0
- /package/dist/{chunk-WSBUFP77.js.map → chunk-UUNJ2E57.js.map} +0 -0
- /package/dist/{chunk-NLYAWFDY.js.map → chunk-UYQVWRAH.js.map} +0 -0
- /package/dist/{chunk-VAN6CEAV.js.map → chunk-UYWVK7JQ.js.map} +0 -0
- /package/dist/{chunk-UBTDG6GC.js.map → chunk-UYWWUEL4.js.map} +0 -0
- /package/dist/{chunk-2WF5XIPA.js.map → chunk-V4CQKX5H.js.map} +0 -0
- /package/dist/{chunk-3NRJ4Z3A.js.map → chunk-V4QM7GDQ.js.map} +0 -0
- /package/dist/{chunk-6LUF4TOE.js.map → chunk-V5Y74WII.js.map} +0 -0
- /package/dist/{chunk-YUVS7HYN.js.map → chunk-VGGZLUQK.js.map} +0 -0
- /package/dist/{chunk-35LBFD5I.js.map → chunk-VGX636MB.js.map} +0 -0
- /package/dist/{chunk-WAVR3UIC.js.map → chunk-VGZLFQO2.js.map} +0 -0
- /package/dist/{chunk-IMWP2Q4W.js.map → chunk-VJWZATNF.js.map} +0 -0
- /package/dist/{chunk-DHLGGANG.js.map → chunk-VMWCIC2N.js.map} +0 -0
- /package/dist/{chunk-UXZLTAJO.js.map → chunk-VPWKTIU5.js.map} +0 -0
- /package/dist/{chunk-JTRRMV7B.js.map → chunk-VXOLG6YB.js.map} +0 -0
- /package/dist/{chunk-7JNWIGM4.js.map → chunk-W2NAU5VB.js.map} +0 -0
- /package/dist/{chunk-AP4FMXAM.js.map → chunk-WGORKMR3.js.map} +0 -0
- /package/dist/{chunk-HTYDPAJL.js.map → chunk-WMIDELSJ.js.map} +0 -0
- /package/dist/{chunk-SOC5IBQT.js.map → chunk-WSOSGL2G.js.map} +0 -0
- /package/dist/{chunk-A7Z65D33.js.map → chunk-WXUUOM4X.js.map} +0 -0
- /package/dist/{chunk-L4PIAAQB.js.map → chunk-WZ74QHLE.js.map} +0 -0
- /package/dist/{chunk-M7NPDODK.js.map → chunk-X2OWM2ME.js.map} +0 -0
- /package/dist/{chunk-B6YDINPE.js.map → chunk-X6UMGG4T.js.map} +0 -0
- /package/dist/{chunk-YTUVANLR.js.map → chunk-XDXKB25W.js.map} +0 -0
- /package/dist/{chunk-ACUDUVDJ.js.map → chunk-XE4PHI74.js.map} +0 -0
- /package/dist/{chunk-R6WQLIFX.js.map → chunk-XHF2XNU5.js.map} +0 -0
- /package/dist/{chunk-D4RTU236.js.map → chunk-XLJ4SQFS.js.map} +0 -0
- /package/dist/{chunk-UKDLZ76A.js.map → chunk-XOD4FX6M.js.map} +0 -0
- /package/dist/{chunk-YW4YRCXI.js.map → chunk-XODQ2GPF.js.map} +0 -0
- /package/dist/{chunk-JOVCPP44.js.map → chunk-XT54RTAM.js.map} +0 -0
- /package/dist/{chunk-R6OBJ7LF.js.map → chunk-YAVW5OJ5.js.map} +0 -0
- /package/dist/{chunk-TD5EKKVD.js.map → chunk-YDQHFJM2.js.map} +0 -0
- /package/dist/{chunk-UXBW2TYH.js.map → chunk-YH6O6OQ6.js.map} +0 -0
- /package/dist/{chunk-6U3PE427.js.map → chunk-YIKPC2QP.js.map} +0 -0
- /package/dist/{chunk-M72GFKDP.js.map → chunk-ZD7PKYC4.js.map} +0 -0
- /package/dist/{chunk-S7NX6KSE.js.map → chunk-ZEQYHEWP.js.map} +0 -0
- /package/dist/{chunk-2ZR75AUO.js.map → chunk-ZMYL6DTE.js.map} +0 -0
- /package/dist/{chunk-GKA5LFYR.js.map → chunk-ZP3QCPYG.js.map} +0 -0
- /package/dist/{chunk-V2A4I4GC.js.map → chunk-ZRVUCTSI.js.map} +0 -0
- /package/dist/{chunk-CYPMAJ75.js.map → chunk-ZSI3ITRK.js.map} +0 -0
- /package/dist/{chunk-XVP23IJS.js.map → chunk-ZZMEQCIZ.js.map} +0 -0
- /package/dist/{computer-viewer-BWWVUD6J.js.map → computer-viewer-ZBY3BPYW.js.map} +0 -0
- /package/dist/{connection-step-up-7ICLBORD.js.map → connection-step-up-JQ4OFSQN.js.map} +0 -0
- /package/dist/{embedded-new-voice-VD6GR5JQ.js.map → embedded-new-voice-ZB5XLKLU.js.map} +0 -0
- /package/dist/{embedded-voice-J2B6J2QQ.js.map → embedded-voice-MZJISDCS.js.map} +0 -0
- /package/dist/{fleet-decision-row-B672XMNG.js.map → fleet-decision-row-LG3SYVR3.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-HT3TWGSS.js.map → model-policy-picker-menu-5Y72PLNF.js.map} +0 -0
- /package/dist/{payment-page-card-4LZPJ3OK.js.map → payment-page-card-YPSXRHBA.js.map} +0 -0
- /package/dist/{platform-activity-row-TWXWUCXD.js.map → platform-activity-row-ZU4MEBNK.js.map} +0 -0
- /package/dist/{queue-surface-implementation-SQ7K2TM4.js.map → queue-surface-implementation-6Q25RPH6.js.map} +0 -0
- /package/dist/{recorder-host-N2S7G3CW.js.map → recorder-host-JD4GWJ2Z.js.map} +0 -0
- /package/dist/{sandbox-files-6CKWJ2CU.js.map → sandbox-files-HCLEEJMU.js.map} +0 -0
- /package/dist/{session-connect-cards-VNQWMX7A.js.map → session-connect-cards-DRKEN3Z4.js.map} +0 -0
- /package/dist/{session-realtime-CRG7DRV6.js.map → session-realtime-IZOTTRH6.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-JXCNK4S6.js.map → timeline-annotation-markers-WWXNJOXI.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-5ZTVYJXT.js.map → timeline-annotation-selection-ZKRIQFIQ.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-4QWVCZCF.js.map → timeline-annotations-dialog-4IMKTOXJ.js.map} +0 -0
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
GITHUB_CARD_MORE_SIZE,
|
|
4
|
+
GITHUB_CARD_PAGE_SIZE,
|
|
5
|
+
GITHUB_CARD_SEARCH_THRESHOLD,
|
|
6
|
+
gitHubRepositoryChatState,
|
|
7
|
+
matchesRepositorySearch,
|
|
8
|
+
orderRepositoriesForChat,
|
|
9
|
+
repositoryUseMessage,
|
|
10
|
+
revokedGitHubRepositoryResources,
|
|
11
|
+
usingRepositoriesLabel
|
|
12
|
+
} from "./chunk-2PPIA25J.js";
|
|
13
|
+
import {
|
|
14
|
+
clearGitHubInstallRequest,
|
|
15
|
+
readGitHubInstallRequest,
|
|
16
|
+
subscribeGitHubInstallRequests
|
|
17
|
+
} from "./chunk-PVNI2KHS.js";
|
|
18
|
+
import {
|
|
19
|
+
capabilityLogoSource
|
|
20
|
+
} from "./chunk-AI77ZKEV.js";
|
|
21
|
+
import {
|
|
22
|
+
repositoryDisplayName
|
|
23
|
+
} from "./chunk-AK2634UU.js";
|
|
24
|
+
import {
|
|
25
|
+
hasWorkspacePermission
|
|
26
|
+
} from "./chunk-EQSXKGTW.js";
|
|
27
|
+
import {
|
|
28
|
+
isPersonalWorkspace
|
|
29
|
+
} from "./chunk-LBSXJVHD.js";
|
|
30
|
+
import {
|
|
31
|
+
usePage
|
|
32
|
+
} from "./chunk-C52N45PY.js";
|
|
33
|
+
import {
|
|
34
|
+
useAppContext
|
|
35
|
+
} from "./chunk-7GGVDTCZ.js";
|
|
36
|
+
import {
|
|
37
|
+
RowButton
|
|
38
|
+
} from "./chunk-3FI3GS6M.js";
|
|
39
|
+
import {
|
|
40
|
+
cn
|
|
41
|
+
} from "./chunk-A3MTTRCX.js";
|
|
42
|
+
import {
|
|
43
|
+
Input
|
|
44
|
+
} from "./chunk-INGGBKDC.js";
|
|
45
|
+
import {
|
|
46
|
+
ListRow,
|
|
47
|
+
ListRowSkeleton,
|
|
48
|
+
RowList
|
|
49
|
+
} from "./chunk-2COBAJC7.js";
|
|
50
|
+
import {
|
|
51
|
+
LogoTile
|
|
52
|
+
} from "./chunk-KYUYKACJ.js";
|
|
53
|
+
import {
|
|
54
|
+
userErrorText
|
|
55
|
+
} from "./chunk-UJQMDNZ5.js";
|
|
56
|
+
import {
|
|
57
|
+
Notice
|
|
58
|
+
} from "./chunk-FSOQDUCG.js";
|
|
59
|
+
import {
|
|
60
|
+
SessionCapabilityFrame
|
|
61
|
+
} from "./chunk-7UDLRDHK.js";
|
|
62
|
+
import {
|
|
63
|
+
Button
|
|
64
|
+
} from "./chunk-7QQN3KNP.js";
|
|
65
|
+
|
|
66
|
+
// src/app/components/capabilities/session-github-card.tsx
|
|
67
|
+
import { ArrowUpRightIcon, BookMarkedIcon, CheckIcon, Loader2Icon, LockIcon } from "lucide-react";
|
|
68
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
69
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
70
|
+
var AWAITING_REFRESH_MS = 3e3;
|
|
71
|
+
var SETTLED_REFRESH_MS = 6e4;
|
|
72
|
+
var AWAITING_GITHUB_MS = 15 * 6e4;
|
|
73
|
+
var lastForegroundRefresh = /* @__PURE__ */ new Map();
|
|
74
|
+
function SessionGitHubCapabilityCard({
|
|
75
|
+
item,
|
|
76
|
+
workspaceId,
|
|
77
|
+
sessionId,
|
|
78
|
+
resources,
|
|
79
|
+
sendContext,
|
|
80
|
+
onConfigured
|
|
81
|
+
}) {
|
|
82
|
+
const page = usePage();
|
|
83
|
+
const context = useAppContext();
|
|
84
|
+
const refreshGitHub = context.refreshGitHub;
|
|
85
|
+
const recommendation = item.capability;
|
|
86
|
+
const [observed, setObserved] = useState(null);
|
|
87
|
+
const status = observed && observed.over === context.githubStatus ? observed.status : context.githubStatus;
|
|
88
|
+
const [expanded, setExpanded] = useState(false);
|
|
89
|
+
const [busy, setBusy] = useState(false);
|
|
90
|
+
const [connectError, setConnectError] = useState(null);
|
|
91
|
+
const opener = useRef(null);
|
|
92
|
+
const cardRef = useRef(null);
|
|
93
|
+
const inFlight = useRef(false);
|
|
94
|
+
const requestSequence = useRef(0);
|
|
95
|
+
const active = useRef(true);
|
|
96
|
+
const sentToGitHubAt = useRef(0);
|
|
97
|
+
useEffect(() => {
|
|
98
|
+
active.current = true;
|
|
99
|
+
return () => {
|
|
100
|
+
active.current = false;
|
|
101
|
+
};
|
|
102
|
+
}, []);
|
|
103
|
+
const bound = status?.status === "bound";
|
|
104
|
+
const ownerApprovalPending = useGitHubInstallRequest(workspaceId, bound);
|
|
105
|
+
const accessKnown = context.accessContext !== null && context.accessContext !== void 0;
|
|
106
|
+
const can = (permission) => !accessKnown || hasWorkspacePermission(context.accessContext, workspaceId, permission);
|
|
107
|
+
const canUseGitHub = can("github:use");
|
|
108
|
+
const canMessage = can("sessions:control");
|
|
109
|
+
const canManage = Boolean(status?.linkUrl);
|
|
110
|
+
const personal = isPersonalWorkspace(
|
|
111
|
+
context.workspaces?.find((entry) => entry.id === workspaceId) ?? null,
|
|
112
|
+
null
|
|
113
|
+
);
|
|
114
|
+
const canSyncGitHub = can("github:manage");
|
|
115
|
+
const awaitingChange = !bound || context.githubRepos.length === 0;
|
|
116
|
+
const repoBusy = context.repoBusy;
|
|
117
|
+
useEffect(() => {
|
|
118
|
+
if (!canUseGitHub) return;
|
|
119
|
+
const onForeground = () => {
|
|
120
|
+
if (document.visibilityState === "hidden" || repoBusy) return;
|
|
121
|
+
const now = Date.now();
|
|
122
|
+
const awaiting = awaitingChange || now - sentToGitHubAt.current < AWAITING_GITHUB_MS;
|
|
123
|
+
const interval = awaiting ? AWAITING_REFRESH_MS : SETTLED_REFRESH_MS;
|
|
124
|
+
if (now - (lastForegroundRefresh.get(workspaceId) ?? 0) < interval) return;
|
|
125
|
+
lastForegroundRefresh.set(workspaceId, now);
|
|
126
|
+
void refreshGitHub(workspaceId, void 0, { sync: awaiting && canSyncGitHub }).catch(
|
|
127
|
+
() => {
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
};
|
|
131
|
+
window.addEventListener("focus", onForeground);
|
|
132
|
+
document.addEventListener("visibilitychange", onForeground);
|
|
133
|
+
return () => {
|
|
134
|
+
window.removeEventListener("focus", onForeground);
|
|
135
|
+
document.removeEventListener("visibilitychange", onForeground);
|
|
136
|
+
};
|
|
137
|
+
}, [awaitingChange, canSyncGitHub, canUseGitHub, refreshGitHub, repoBusy, workspaceId]);
|
|
138
|
+
useEffect(() => {
|
|
139
|
+
const onPageShow = (event) => {
|
|
140
|
+
if (event?.persisted !== true || !inFlight.current) return;
|
|
141
|
+
requestSequence.current += 1;
|
|
142
|
+
inFlight.current = false;
|
|
143
|
+
setBusy(false);
|
|
144
|
+
void refreshGitHub(workspaceId);
|
|
145
|
+
};
|
|
146
|
+
window.addEventListener("pageshow", onPageShow);
|
|
147
|
+
return () => window.removeEventListener("pageshow", onPageShow);
|
|
148
|
+
}, [refreshGitHub, workspaceId]);
|
|
149
|
+
async function connect() {
|
|
150
|
+
if (inFlight.current) return;
|
|
151
|
+
const sequence = ++requestSequence.current;
|
|
152
|
+
inFlight.current = true;
|
|
153
|
+
setBusy(true);
|
|
154
|
+
setConnectError(null);
|
|
155
|
+
let navigating = false;
|
|
156
|
+
try {
|
|
157
|
+
const next = await context.client.getGitHubApp(workspaceId, {
|
|
158
|
+
returnPath: `/workspaces/${encodeURIComponent(workspaceId)}/sessions/${encodeURIComponent(sessionId)}`
|
|
159
|
+
});
|
|
160
|
+
if (!active.current || sequence !== requestSequence.current) return;
|
|
161
|
+
if (next.status === "bound") {
|
|
162
|
+
setObserved({ status: next, over: context.githubStatus });
|
|
163
|
+
void context.refreshGitHub(workspaceId, void 0, { sync: true, userInitiated: true });
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (!next.linkUrl)
|
|
167
|
+
throw new Error(
|
|
168
|
+
next.configured ? "Your account cannot manage this workspace's GitHub connection." : "GitHub is not configured on this deployment."
|
|
169
|
+
);
|
|
170
|
+
navigating = true;
|
|
171
|
+
sentToGitHubAt.current = Date.now();
|
|
172
|
+
page.assign(next.linkUrl);
|
|
173
|
+
} catch (failure) {
|
|
174
|
+
navigating = false;
|
|
175
|
+
if (active.current && sequence === requestSequence.current) {
|
|
176
|
+
setConnectError(`Couldn't start GitHub setup. ${userErrorText(failure, "Try again.")}`);
|
|
177
|
+
setExpanded(true);
|
|
178
|
+
}
|
|
179
|
+
} finally {
|
|
180
|
+
if (sequence === requestSequence.current && !navigating) {
|
|
181
|
+
inFlight.current = false;
|
|
182
|
+
if (active.current) setBusy(false);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
const catalogItem = context.workspaceCapabilityCatalog.find(
|
|
187
|
+
(entry) => entry.id === recommendation.id
|
|
188
|
+
);
|
|
189
|
+
const logo = capabilityLogoSource(
|
|
190
|
+
catalogItem ?? { id: recommendation.id, logoAssetPath: null },
|
|
191
|
+
(path) => context.client.catalogAssetUrl(path)
|
|
192
|
+
);
|
|
193
|
+
const chooser = useRepositoryChooser({
|
|
194
|
+
status,
|
|
195
|
+
workspaceId,
|
|
196
|
+
sessionId,
|
|
197
|
+
resources,
|
|
198
|
+
sendContext,
|
|
199
|
+
onConfigured,
|
|
200
|
+
cardRef,
|
|
201
|
+
onOpenedGitHub: () => {
|
|
202
|
+
sentToGitHubAt.current = Date.now();
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
const unavailable = !bound ? !canUseGitHub ? "You don't have access to this workspace's GitHub connection." : status?.configured === false ? status.setupMode === "platform" ? "GitHub isn't available on this deployment right now." : "GitHub isn't set up on this deployment yet." : status && status.linkUrl === null ? "Only workspace admins can connect GitHub." : null : null;
|
|
206
|
+
const unavailableNote = !bound ? !canUseGitHub ? "Ask a workspace admin for GitHub access." : status?.configured === false ? status.setupMode === "platform" ? "Try again later, or use a public repository URL from the composer." : "An operator adds the GitHub App settings to the API and worker. This card updates when GitHub is connected." : status && status.linkUrl === null ? "Ask a workspace admin to connect GitHub. This card updates when they do." : null : null;
|
|
207
|
+
return /* @__PURE__ */ jsx(
|
|
208
|
+
SessionCapabilityFrame,
|
|
209
|
+
{
|
|
210
|
+
name: catalogItem?.name ?? recommendation.name,
|
|
211
|
+
subtitle: catalogItem ? catalogItem.providerDomain ?? "" : item.providerDomain,
|
|
212
|
+
logo,
|
|
213
|
+
typeLabel: "API",
|
|
214
|
+
description: ownerApprovalPending && !unavailable ? "Waiting for your GitHub organization owner to approve. After they do, an owner of the organization connects it here, and this card updates on its own." : catalogItem?.description || recommendation.rationale,
|
|
215
|
+
skill: false,
|
|
216
|
+
expanded,
|
|
217
|
+
complete: bound,
|
|
218
|
+
completeLabel: chooser.statusLabel ?? (personal ? "Connected to your Personal workspace" : "Connected to this workspace"),
|
|
219
|
+
actionLabel: busy ? "Opening GitHub\u2026" : `Connect ${catalogItem?.name ?? recommendation.name}`,
|
|
220
|
+
actionUnavailable: unavailable,
|
|
221
|
+
opensDialog: false,
|
|
222
|
+
note: unavailableNote ?? (ownerApprovalPending ? "Nothing is connected yet. Meanwhile, you can attach a zip of your project to a message instead." : "Choose which account and repositories this workspace can access on GitHub. For an organization you don't own, GitHub lets you ask its owners to approve."),
|
|
223
|
+
onOpen: () => void connect(),
|
|
224
|
+
onClose: () => setExpanded(false),
|
|
225
|
+
busy,
|
|
226
|
+
opener,
|
|
227
|
+
cardRef,
|
|
228
|
+
details: bound ? /* @__PURE__ */ jsx(
|
|
229
|
+
GitHubRepositoryPanel,
|
|
230
|
+
{
|
|
231
|
+
chooser,
|
|
232
|
+
canMessage,
|
|
233
|
+
canManage,
|
|
234
|
+
personal
|
|
235
|
+
}
|
|
236
|
+
) : null,
|
|
237
|
+
children: /* @__PURE__ */ jsxs("div", { className: "space-y-3 p-6 sm:p-8", children: [
|
|
238
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs leading-[1.7] text-fg-muted", children: "Choose the account and repositories to share with this workspace on GitHub, then return to this conversation." }),
|
|
239
|
+
connectError ? /* @__PURE__ */ jsx(Notice, { tone: "failed", children: connectError }) : null,
|
|
240
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
241
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "ghost", disabled: busy, onClick: () => setExpanded(false), children: "Cancel" }),
|
|
242
|
+
/* @__PURE__ */ jsxs(Button, { size: "sm", disabled: busy, onClick: () => void connect(), children: [
|
|
243
|
+
busy ? /* @__PURE__ */ jsx(Loader2Icon, { className: "animate-spin" }) : null,
|
|
244
|
+
"Try again"
|
|
245
|
+
] })
|
|
246
|
+
] })
|
|
247
|
+
] })
|
|
248
|
+
}
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
function useGitHubInstallRequest(workspaceId, bound) {
|
|
252
|
+
const [requestedAt, setRequestedAt] = useState(() => readGitHubInstallRequest(workspaceId));
|
|
253
|
+
useEffect(() => {
|
|
254
|
+
setRequestedAt(readGitHubInstallRequest(workspaceId));
|
|
255
|
+
return subscribeGitHubInstallRequests(
|
|
256
|
+
() => setRequestedAt(readGitHubInstallRequest(workspaceId))
|
|
257
|
+
);
|
|
258
|
+
}, [workspaceId]);
|
|
259
|
+
useEffect(() => {
|
|
260
|
+
if (bound) clearGitHubInstallRequest(workspaceId);
|
|
261
|
+
}, [bound, workspaceId]);
|
|
262
|
+
return !bound && requestedAt !== null;
|
|
263
|
+
}
|
|
264
|
+
function useRepositoryChooser({
|
|
265
|
+
status,
|
|
266
|
+
workspaceId,
|
|
267
|
+
sessionId,
|
|
268
|
+
resources,
|
|
269
|
+
sendContext,
|
|
270
|
+
onConfigured,
|
|
271
|
+
cardRef,
|
|
272
|
+
onOpenedGitHub
|
|
273
|
+
}) {
|
|
274
|
+
const page = usePage();
|
|
275
|
+
const context = useAppContext();
|
|
276
|
+
const repositories = context.githubRepos;
|
|
277
|
+
const [optimistic, setOptimistic] = useState([]);
|
|
278
|
+
const [attaching, setAttaching] = useState(null);
|
|
279
|
+
const [attachError, setAttachError] = useState(null);
|
|
280
|
+
const [outcome, setOutcome] = useState(null);
|
|
281
|
+
const [confirming, setConfirming] = useState(null);
|
|
282
|
+
const [linkError, setLinkError] = useState(null);
|
|
283
|
+
const [openingInstallation, setOpeningInstallation] = useState(null);
|
|
284
|
+
const pendingInputs = useRef(/* @__PURE__ */ new Map());
|
|
285
|
+
const inFlight = useRef(false);
|
|
286
|
+
const alive = useRef(true);
|
|
287
|
+
useEffect(() => {
|
|
288
|
+
alive.current = true;
|
|
289
|
+
return () => {
|
|
290
|
+
alive.current = false;
|
|
291
|
+
};
|
|
292
|
+
}, []);
|
|
293
|
+
const mounted = useMemo(() => {
|
|
294
|
+
const durable = [...resources ?? []];
|
|
295
|
+
return [
|
|
296
|
+
...durable,
|
|
297
|
+
...optimistic.filter(
|
|
298
|
+
(pending) => !durable.some(
|
|
299
|
+
(resource) => resource.kind === "repository" && resource.githubRepositoryId === pending.githubRepositoryId && resource.githubInstallationId === pending.githubInstallationId
|
|
300
|
+
)
|
|
301
|
+
)
|
|
302
|
+
];
|
|
303
|
+
}, [optimistic, resources]);
|
|
304
|
+
const accountLabel = useCallback(
|
|
305
|
+
(installationId) => status?.installations.find((installation) => installation.installationId === installationId)?.accountLogin ?? "another GitHub account",
|
|
306
|
+
[status]
|
|
307
|
+
);
|
|
308
|
+
const [leading] = useState(
|
|
309
|
+
() => new Set(
|
|
310
|
+
(resources ?? []).flatMap(
|
|
311
|
+
(resource) => resource.kind === "repository" && resource.githubRepositoryId !== void 0 ? [`${resource.githubInstallationId}:${resource.githubRepositoryId}`] : []
|
|
312
|
+
)
|
|
313
|
+
)
|
|
314
|
+
);
|
|
315
|
+
const rows = useMemo(() => {
|
|
316
|
+
const states = new Map(
|
|
317
|
+
repositories.map((repository) => [
|
|
318
|
+
repository.id,
|
|
319
|
+
gitHubRepositoryChatState(repository, mounted)
|
|
320
|
+
])
|
|
321
|
+
);
|
|
322
|
+
return orderRepositoriesForChat(
|
|
323
|
+
repositories,
|
|
324
|
+
(repository) => leading.has(`${repository.installationId}:${repository.id}`)
|
|
325
|
+
).map((repository) => ({ repository, state: states.get(repository.id) }));
|
|
326
|
+
}, [leading, mounted, repositories]);
|
|
327
|
+
const catalogSettled = context.githubCatalogReady && !context.repoBusy;
|
|
328
|
+
const revoked = useMemo(
|
|
329
|
+
() => revokedGitHubRepositoryResources(mounted, repositories, catalogSettled),
|
|
330
|
+
[catalogSettled, mounted, repositories]
|
|
331
|
+
);
|
|
332
|
+
const attachedNames = rows.filter((row) => row.state.kind === "attached").map((row) => row.repository.fullName);
|
|
333
|
+
async function attach(repository, resource, confirmed = false) {
|
|
334
|
+
if (inFlight.current) return;
|
|
335
|
+
setAttachError(null);
|
|
336
|
+
const chat = sendContext?.() ?? { blocked: null, awaitingHuman: false, extras: {} };
|
|
337
|
+
if (chat.blocked) {
|
|
338
|
+
setAttachError(chat.blocked);
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
if (chat.awaitingHuman && !confirmed) {
|
|
342
|
+
setConfirming(repository.id);
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
setConfirming(null);
|
|
346
|
+
inFlight.current = true;
|
|
347
|
+
setAttaching(repository.id);
|
|
348
|
+
const input = pendingInputs.current.get(repository.id) ?? {
|
|
349
|
+
text: repositoryUseMessage(repository),
|
|
350
|
+
resources: [resource],
|
|
351
|
+
...chat.extras,
|
|
352
|
+
clientEventId: crypto.randomUUID()
|
|
353
|
+
};
|
|
354
|
+
pendingInputs.current.set(repository.id, input);
|
|
355
|
+
let accepted;
|
|
356
|
+
try {
|
|
357
|
+
accepted = await context.client.sendMessage(workspaceId, sessionId, input);
|
|
358
|
+
} catch (failure) {
|
|
359
|
+
inFlight.current = false;
|
|
360
|
+
if (alive.current) {
|
|
361
|
+
setAttaching(null);
|
|
362
|
+
setAttachError(
|
|
363
|
+
`Couldn't add ${repository.fullName} to this chat. ${userErrorText(failure, "Try again.")}`
|
|
364
|
+
);
|
|
365
|
+
}
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
pendingInputs.current.delete(repository.id);
|
|
369
|
+
inFlight.current = false;
|
|
370
|
+
if (!alive.current) return;
|
|
371
|
+
setAttaching(null);
|
|
372
|
+
setOptimistic((current) => [...current, resource]);
|
|
373
|
+
const routing = accepted.payload?.routing;
|
|
374
|
+
setOutcome(
|
|
375
|
+
routing === "queued_for_execution" ? `Queued. The agent picks up ${repository.fullName} on its next turn.` : routing === "accepted_for_steering" ? `Sent. ${repository.fullName} replaced the request this chat was waiting on.` : null
|
|
376
|
+
);
|
|
377
|
+
requestAnimationFrame(() => {
|
|
378
|
+
const focused = document.activeElement;
|
|
379
|
+
if (!focused || focused === document.body) cardRef.current?.focus();
|
|
380
|
+
});
|
|
381
|
+
await onConfigured?.().catch(() => {
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
async function openGitHub(installationId) {
|
|
385
|
+
if (openingInstallation !== null) return;
|
|
386
|
+
const tab = page.openTab();
|
|
387
|
+
setOpeningInstallation(installationId);
|
|
388
|
+
setLinkError(null);
|
|
389
|
+
try {
|
|
390
|
+
const { openGitHubInstallationSettings } = await import("./app/lib/github-app-connect.js");
|
|
391
|
+
await openGitHubInstallationSettings(
|
|
392
|
+
context.client,
|
|
393
|
+
workspaceId,
|
|
394
|
+
installationId,
|
|
395
|
+
(url) => tab ? tab.location.replace(url) : page.assign(url)
|
|
396
|
+
);
|
|
397
|
+
onOpenedGitHub();
|
|
398
|
+
} catch (failure) {
|
|
399
|
+
tab?.close();
|
|
400
|
+
if (alive.current)
|
|
401
|
+
setLinkError(`Couldn't open GitHub. ${userErrorText(failure, "Try again.")}`);
|
|
402
|
+
} finally {
|
|
403
|
+
if (alive.current) setOpeningInstallation(null);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
return {
|
|
407
|
+
rows,
|
|
408
|
+
revoked,
|
|
409
|
+
loading: repositories.length === 0 && (!context.githubCatalogReady || context.repoBusy),
|
|
410
|
+
loadFailed: context.githubStatusFailed && !context.githubCatalogReady && repositories.length === 0,
|
|
411
|
+
retry: () => void context.refreshGitHub(workspaceId, void 0, { userInitiated: true }),
|
|
412
|
+
installations: (status?.installations ?? []).filter(
|
|
413
|
+
(installation) => installation.lifecycle === "active"
|
|
414
|
+
),
|
|
415
|
+
attaching,
|
|
416
|
+
attachError,
|
|
417
|
+
outcome,
|
|
418
|
+
confirming,
|
|
419
|
+
cancelConfirm: () => setConfirming(null),
|
|
420
|
+
linkError,
|
|
421
|
+
openingInstallation,
|
|
422
|
+
statusLabel: usingRepositoriesLabel(attachedNames),
|
|
423
|
+
accountLabel,
|
|
424
|
+
attach: (repository, resource, confirmed = false) => void attach(repository, resource, confirmed),
|
|
425
|
+
openGitHub: (installationId) => void openGitHub(installationId)
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
function GitHubRepositoryPanel({
|
|
429
|
+
chooser,
|
|
430
|
+
canMessage,
|
|
431
|
+
canManage,
|
|
432
|
+
personal
|
|
433
|
+
}) {
|
|
434
|
+
const [query, setQuery] = useState("");
|
|
435
|
+
const [visible, setVisible] = useState(GITHUB_CARD_PAGE_SIZE);
|
|
436
|
+
const listRef = useRef(null);
|
|
437
|
+
const total = chooser.rows.length;
|
|
438
|
+
const matches = chooser.rows.filter((row) => matchesRepositorySearch(row.repository, query));
|
|
439
|
+
const shown = matches.slice(0, visible);
|
|
440
|
+
const hidden = matches.length - shown.length;
|
|
441
|
+
const available = chooser.rows.filter((row) => row.state.kind === "available");
|
|
442
|
+
const groups = repositoryGroups(shown, chooser.accountLabel);
|
|
443
|
+
const confirmRow = chooser.confirming === null ? null : chooser.rows.find((row) => row.repository.id === chooser.confirming) ?? null;
|
|
444
|
+
const single = available.length === 1 && total === 1;
|
|
445
|
+
const githubLinks = canManage ? /* @__PURE__ */ jsx(Fragment, { children: chooser.installations.map((installation) => /* @__PURE__ */ jsxs(
|
|
446
|
+
"button",
|
|
447
|
+
{
|
|
448
|
+
type: "button",
|
|
449
|
+
disabled: chooser.openingInstallation !== null,
|
|
450
|
+
onClick: () => chooser.openGitHub(installation.installationId),
|
|
451
|
+
className: "inline-flex items-center gap-1 font-medium og-link disabled:opacity-60 pointer-coarse:min-h-11",
|
|
452
|
+
children: [
|
|
453
|
+
chooser.installations.length > 1 && installation.accountLogin ? `Choose ${installation.accountLogin} repositories` : "Choose repositories on GitHub",
|
|
454
|
+
chooser.openingInstallation === installation.installationId ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "size-3 animate-spin" }) : /* @__PURE__ */ jsx(ArrowUpRightIcon, { "aria-hidden": "true", className: "size-3" }),
|
|
455
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: " (opens in a new tab)" })
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
installation.installationId
|
|
459
|
+
)) }) : null;
|
|
460
|
+
return /* @__PURE__ */ jsxs(
|
|
461
|
+
"div",
|
|
462
|
+
{
|
|
463
|
+
"data-slot": "github-repositories",
|
|
464
|
+
className: "border-t border-border px-[19px] pt-3 pb-4 max-[480px]:px-3.5",
|
|
465
|
+
children: [
|
|
466
|
+
chooser.loading ? chooser.loadFailed ? /* @__PURE__ */ jsx(
|
|
467
|
+
Notice,
|
|
468
|
+
{
|
|
469
|
+
tone: "failed",
|
|
470
|
+
className: "text-xs",
|
|
471
|
+
action: /* @__PURE__ */ jsx(RowButton, { onClick: chooser.retry, className: "h-7", children: "Retry" }),
|
|
472
|
+
children: "Couldn't load this workspace's repositories."
|
|
473
|
+
}
|
|
474
|
+
) : /* @__PURE__ */ jsx(RowList, { label: "GitHub repositories", busy: true, flush: true, children: /* @__PURE__ */ jsx(ListRowSkeleton, { count: 2 }) }) : total === 0 && chooser.revoked.length === 0 ? /* @__PURE__ */ jsxs("div", { className: "space-y-2 py-1", children: [
|
|
475
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-fg", children: "No repositories shared yet" }),
|
|
476
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs leading-[1.6] text-fg-muted", children: canManage ? "GitHub isn't sharing any repositories with this workspace. Choose which ones it can use." : "GitHub isn't sharing any repositories with this workspace. Ask a workspace admin to choose some on GitHub." }),
|
|
477
|
+
canManage ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2 pt-1", children: chooser.installations.map((installation) => /* @__PURE__ */ jsxs(
|
|
478
|
+
Button,
|
|
479
|
+
{
|
|
480
|
+
type: "button",
|
|
481
|
+
size: "sm",
|
|
482
|
+
className: "rounded-[10px] text-xs pointer-coarse:h-11",
|
|
483
|
+
disabled: chooser.openingInstallation !== null,
|
|
484
|
+
onClick: () => chooser.openGitHub(installation.installationId),
|
|
485
|
+
children: [
|
|
486
|
+
chooser.installations.length > 1 && installation.accountLogin ? `Choose ${installation.accountLogin} repositories` : "Choose repositories on GitHub",
|
|
487
|
+
chooser.openingInstallation === installation.installationId ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "animate-spin" }) : /* @__PURE__ */ jsx(ArrowUpRightIcon, { "aria-hidden": "true" }),
|
|
488
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: " (opens in a new tab)" })
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
installation.installationId
|
|
492
|
+
)) }) : null
|
|
493
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
494
|
+
/* @__PURE__ */ jsxs("div", { className: "mb-1 flex items-baseline justify-between gap-3", children: [
|
|
495
|
+
/* @__PURE__ */ jsx("h4", { className: "m-0 text-xs font-medium text-fg-muted", children: canMessage ? "Use a repository in this chat" : "Repositories" }),
|
|
496
|
+
/* @__PURE__ */ jsxs("span", { className: "text-2xs text-fg-subtle tabular-nums", children: [
|
|
497
|
+
total,
|
|
498
|
+
" ",
|
|
499
|
+
total === 1 ? "repository" : "repositories"
|
|
500
|
+
] })
|
|
501
|
+
] }),
|
|
502
|
+
total >= GITHUB_CARD_SEARCH_THRESHOLD ? /* @__PURE__ */ jsx(
|
|
503
|
+
Input,
|
|
504
|
+
{
|
|
505
|
+
type: "search",
|
|
506
|
+
"aria-label": "Search repositories",
|
|
507
|
+
placeholder: "Search repositories\u2026",
|
|
508
|
+
value: query,
|
|
509
|
+
onChange: (event) => {
|
|
510
|
+
setQuery(event.target.value);
|
|
511
|
+
setVisible(GITHUB_CARD_PAGE_SIZE);
|
|
512
|
+
},
|
|
513
|
+
className: "my-2 h-8 text-xs"
|
|
514
|
+
}
|
|
515
|
+
) : null,
|
|
516
|
+
chooser.attachError ? /* @__PURE__ */ jsx(Notice, { tone: "failed", live: "assertive", className: "my-2 text-xs", children: chooser.attachError }) : null,
|
|
517
|
+
chooser.revoked.length > 0 ? /* @__PURE__ */ jsx(RowList, { label: "Repositories GitHub no longer shares", flush: true, children: chooser.revoked.map((resource) => /* @__PURE__ */ jsx(
|
|
518
|
+
ListRow,
|
|
519
|
+
{
|
|
520
|
+
leading: /* @__PURE__ */ jsx(LogoTile, { icon: /* @__PURE__ */ jsx(BookMarkedIcon, {}) }),
|
|
521
|
+
title: repositoryDisplayName(resource),
|
|
522
|
+
disabled: true,
|
|
523
|
+
disabledReason: canManage ? "GitHub no longer shares this repository with the workspace. Choose repositories on GitHub to restore it." : "GitHub no longer shares this repository with the workspace. Ask a workspace admin to restore it.",
|
|
524
|
+
indicator: { kind: "unavailable", label: "Access removed" }
|
|
525
|
+
},
|
|
526
|
+
`revoked:${resource.githubInstallationId}:${resource.githubRepositoryId}`
|
|
527
|
+
)) }) : null,
|
|
528
|
+
confirmRow ? /* @__PURE__ */ jsxs(
|
|
529
|
+
Notice,
|
|
530
|
+
{
|
|
531
|
+
tone: "waiting",
|
|
532
|
+
live: "polite",
|
|
533
|
+
className: "my-2 text-xs",
|
|
534
|
+
actionLayout: "responsive",
|
|
535
|
+
action: /* @__PURE__ */ jsxs("span", { className: "flex gap-1.5", children: [
|
|
536
|
+
/* @__PURE__ */ jsx(RowButton, { className: "h-7", onClick: chooser.cancelConfirm, children: "Cancel" }),
|
|
537
|
+
/* @__PURE__ */ jsx(
|
|
538
|
+
Button,
|
|
539
|
+
{
|
|
540
|
+
type: "button",
|
|
541
|
+
size: "sm",
|
|
542
|
+
className: "h-7 rounded-[10px] text-xs",
|
|
543
|
+
onClick: () => confirmRow.state.kind === "available" && chooser.attach(confirmRow.repository, confirmRow.state.resource, true),
|
|
544
|
+
children: "Use anyway"
|
|
545
|
+
}
|
|
546
|
+
)
|
|
547
|
+
] }),
|
|
548
|
+
children: [
|
|
549
|
+
"This chat is waiting for your answer. Using ",
|
|
550
|
+
confirmRow.repository.fullName,
|
|
551
|
+
" now replaces that request, like sending a message."
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
) : null,
|
|
555
|
+
/* @__PURE__ */ jsx("div", { ref: listRef, tabIndex: -1, className: "outline-hidden", children: groups.map((group) => /* @__PURE__ */ jsxs("section", { "aria-label": group.label ?? void 0, children: [
|
|
556
|
+
group.label ? /* @__PURE__ */ jsx("h5", { className: "m-0 mt-2 text-2xs font-medium tracking-wide text-fg-subtle uppercase", children: group.label }) : null,
|
|
557
|
+
/* @__PURE__ */ jsx(
|
|
558
|
+
RowList,
|
|
559
|
+
{
|
|
560
|
+
label: group.label ? `${group.label} repositories` : "GitHub repositories",
|
|
561
|
+
flush: true,
|
|
562
|
+
children: group.rows.map(({ repository, state }) => /* @__PURE__ */ jsx(
|
|
563
|
+
RepositoryListRow,
|
|
564
|
+
{
|
|
565
|
+
repository,
|
|
566
|
+
state,
|
|
567
|
+
canMessage,
|
|
568
|
+
primary: single,
|
|
569
|
+
busy: chooser.attaching === repository.id,
|
|
570
|
+
locked: chooser.attaching !== null,
|
|
571
|
+
onUse: (resource) => chooser.attach(repository, resource)
|
|
572
|
+
},
|
|
573
|
+
`${repository.installationId}:${repository.id}`
|
|
574
|
+
))
|
|
575
|
+
}
|
|
576
|
+
)
|
|
577
|
+
] }, group.installationId)) }),
|
|
578
|
+
query.trim() && matches.length === 0 ? /* @__PURE__ */ jsxs("p", { className: "py-3 text-center text-xs text-fg-muted", children: [
|
|
579
|
+
"No repositories match \u201C",
|
|
580
|
+
query.trim(),
|
|
581
|
+
"\u201D."
|
|
582
|
+
] }) : null,
|
|
583
|
+
hidden > 0 ? /* @__PURE__ */ jsxs(
|
|
584
|
+
Button,
|
|
585
|
+
{
|
|
586
|
+
type: "button",
|
|
587
|
+
variant: "ghost",
|
|
588
|
+
size: "sm",
|
|
589
|
+
className: "mt-1 w-full text-xs text-fg-muted pointer-coarse:h-11",
|
|
590
|
+
onClick: () => {
|
|
591
|
+
if (hidden <= GITHUB_CARD_MORE_SIZE) listRef.current?.focus();
|
|
592
|
+
setVisible((current) => current + GITHUB_CARD_MORE_SIZE);
|
|
593
|
+
},
|
|
594
|
+
children: [
|
|
595
|
+
"Show ",
|
|
596
|
+
Math.min(hidden, GITHUB_CARD_MORE_SIZE),
|
|
597
|
+
" more"
|
|
598
|
+
]
|
|
599
|
+
}
|
|
600
|
+
) : null,
|
|
601
|
+
/* @__PURE__ */ jsx(
|
|
602
|
+
"p",
|
|
603
|
+
{
|
|
604
|
+
role: "status",
|
|
605
|
+
className: cn(
|
|
606
|
+
"m-0 text-xs leading-[1.6] text-fg-muted",
|
|
607
|
+
chooser.outcome ? "mt-2" : "sr-only"
|
|
608
|
+
),
|
|
609
|
+
children: chooser.outcome
|
|
610
|
+
}
|
|
611
|
+
),
|
|
612
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-1.5 border-t border-border pt-3 text-xs leading-[1.6] text-fg-muted", children: [
|
|
613
|
+
/* @__PURE__ */ jsx("p", { className: "m-0", children: !canMessage ? "Only people who can message this chat can add a repository to it." : personal ? "Using a repository adds it to this chat only." : "Shared with everyone in this workspace. Using one adds it to this chat only." }),
|
|
614
|
+
githubLinks ? /* @__PURE__ */ jsxs("p", { className: "m-0 flex flex-wrap items-center gap-x-3 gap-y-1", children: [
|
|
615
|
+
/* @__PURE__ */ jsx("span", { children: "Missing one?" }),
|
|
616
|
+
githubLinks
|
|
617
|
+
] }) : /* @__PURE__ */ jsx("p", { className: "m-0", children: "Missing one? Ask a workspace admin to share it on GitHub." })
|
|
618
|
+
] })
|
|
619
|
+
] }),
|
|
620
|
+
chooser.linkError ? /* @__PURE__ */ jsx("p", { role: "alert", className: "mt-2 text-xs text-status-failed", children: chooser.linkError }) : null
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
var LOCKED = "aria-disabled:cursor-not-allowed aria-disabled:opacity-50";
|
|
626
|
+
function RepositoryListRow({
|
|
627
|
+
repository,
|
|
628
|
+
state,
|
|
629
|
+
canMessage,
|
|
630
|
+
primary,
|
|
631
|
+
busy,
|
|
632
|
+
locked,
|
|
633
|
+
onUse
|
|
634
|
+
}) {
|
|
635
|
+
const meta = [repository.defaultBranch, repository.private ? null : "Public"].filter(Boolean);
|
|
636
|
+
const titleAddon = repository.private ? /* @__PURE__ */ jsx(LockIcon, { role: "img", "aria-label": "Private", className: "size-3 shrink-0 text-fg-subtle" }) : null;
|
|
637
|
+
const common = {
|
|
638
|
+
leading: /* @__PURE__ */ jsx(LogoTile, { icon: /* @__PURE__ */ jsx(BookMarkedIcon, {}) }),
|
|
639
|
+
title: repository.fullName,
|
|
640
|
+
titleAddon,
|
|
641
|
+
meta
|
|
642
|
+
};
|
|
643
|
+
if (state.kind === "blocked") {
|
|
644
|
+
return /* @__PURE__ */ jsx(ListRow, { ...common, disabled: true, disabledReason: state.reason });
|
|
645
|
+
}
|
|
646
|
+
if (state.kind === "attached") {
|
|
647
|
+
return /* @__PURE__ */ jsx(
|
|
648
|
+
ListRow,
|
|
649
|
+
{
|
|
650
|
+
...common,
|
|
651
|
+
control: /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1 text-xs font-medium text-status-idle", children: [
|
|
652
|
+
/* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className: "size-3.5" }),
|
|
653
|
+
"In this chat"
|
|
654
|
+
] })
|
|
655
|
+
}
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
if (!canMessage) return /* @__PURE__ */ jsx(ListRow, { ...common });
|
|
659
|
+
return /* @__PURE__ */ jsx(
|
|
660
|
+
ListRow,
|
|
661
|
+
{
|
|
662
|
+
...common,
|
|
663
|
+
control: primary ? /* @__PURE__ */ jsxs(
|
|
664
|
+
Button,
|
|
665
|
+
{
|
|
666
|
+
type: "button",
|
|
667
|
+
size: "sm",
|
|
668
|
+
"aria-disabled": locked || void 0,
|
|
669
|
+
"aria-label": busy ? `Adding ${repository.fullName}` : `Use ${repository.fullName} in this chat`,
|
|
670
|
+
className: cn("rounded-[10px] pointer-coarse:h-11", LOCKED),
|
|
671
|
+
onClick: () => {
|
|
672
|
+
if (!locked) onUse(state.resource);
|
|
673
|
+
},
|
|
674
|
+
children: [
|
|
675
|
+
busy ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "animate-spin" }) : null,
|
|
676
|
+
busy ? "Adding\u2026" : "Use in this chat"
|
|
677
|
+
]
|
|
678
|
+
}
|
|
679
|
+
) : /* @__PURE__ */ jsxs(
|
|
680
|
+
RowButton,
|
|
681
|
+
{
|
|
682
|
+
"aria-disabled": locked || void 0,
|
|
683
|
+
"aria-label": busy ? `Adding ${repository.fullName}` : `Use ${repository.fullName} in this chat`,
|
|
684
|
+
className: cn(LOCKED, busy && "text-fg-muted"),
|
|
685
|
+
onClick: () => {
|
|
686
|
+
if (!locked) onUse(state.resource);
|
|
687
|
+
},
|
|
688
|
+
children: [
|
|
689
|
+
busy ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "animate-spin" }) : null,
|
|
690
|
+
busy ? "Adding\u2026" : "Use"
|
|
691
|
+
]
|
|
692
|
+
}
|
|
693
|
+
)
|
|
694
|
+
}
|
|
695
|
+
);
|
|
696
|
+
}
|
|
697
|
+
function repositoryGroups(rows, accountLabel) {
|
|
698
|
+
const byInstallation = /* @__PURE__ */ new Map();
|
|
699
|
+
for (const row of rows) {
|
|
700
|
+
const group = byInstallation.get(row.repository.installationId) ?? [];
|
|
701
|
+
group.push(row);
|
|
702
|
+
byInstallation.set(row.repository.installationId, group);
|
|
703
|
+
}
|
|
704
|
+
if (byInstallation.size <= 1) {
|
|
705
|
+
return [
|
|
706
|
+
{
|
|
707
|
+
installationId: rows[0]?.repository.installationId ?? 0,
|
|
708
|
+
label: null,
|
|
709
|
+
rows: [...rows]
|
|
710
|
+
}
|
|
711
|
+
];
|
|
712
|
+
}
|
|
713
|
+
return [...byInstallation.entries()].map(([installationId, groupRows]) => ({
|
|
714
|
+
installationId,
|
|
715
|
+
label: accountLabel(installationId),
|
|
716
|
+
rows: groupRows
|
|
717
|
+
}));
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export {
|
|
721
|
+
SessionGitHubCapabilityCard
|
|
722
|
+
};
|
|
723
|
+
//# sourceMappingURL=chunk-RP3YMYCX.js.map
|