@opengeni/react 6.40.0 → 6.41.1-canary.45704649926001
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 +45 -45
- package/dist/app/components/add-card-dialog.js +3 -3
- package/dist/app/components/add-card.js +2 -2
- package/dist/app/components/agent/agent-capability-picker.js +10 -10
- package/dist/app/components/agents/agent-can-use.js +51 -50
- package/dist/app/components/agents/agent-cost.js +2 -2
- package/dist/app/components/agents/agent-form-page.js +153 -152
- package/dist/app/components/agents/agent-form-page.js.map +1 -1
- package/dist/app/components/agents/agent-page.js +134 -133
- package/dist/app/components/agents/agent-setup-sections.js +81 -80
- package/dist/app/components/agents/agent-skills.js +15 -15
- package/dist/app/components/agents/agent-trigger-chat-field.js +6 -6
- package/dist/app/components/agents/agent-trigger-dialog.js +35 -35
- package/dist/app/components/agents/agent-trigger-picker.js +8 -8
- package/dist/app/components/agents/agent-trigger-repositories.js +16 -16
- package/dist/app/components/agents/agents-page.js +99 -98
- package/dist/app/components/agents/agents-page.js.map +1 -1
- package/dist/app/components/agents/composer-agent-chip.js +60 -59
- package/dist/app/components/agents/session-agent-chip.js +55 -54
- package/dist/app/components/artifacts/app-package.js +13 -13
- package/dist/app/components/artifacts/artifact-browse-controls.js +3 -3
- package/dist/app/components/artifacts/artifact-library.js +30 -30
- package/dist/app/components/artifacts/artifact-page-chrome.js +1 -1
- package/dist/app/components/artifacts/artifact-viewer.js +64 -63
- package/dist/app/components/artifacts/artifact-viewer.js.map +1 -1
- package/dist/app/components/artifacts/chat-interactive-block.js +30 -28
- package/dist/app/components/artifacts/chat-interactive-block.js.map +1 -1
- package/dist/app/components/artifacts/copy-artifact-link.js +3 -3
- package/dist/app/components/artifacts/file-reach-dialog.js +13 -13
- package/dist/app/components/artifacts/inline-chat-image.js +52 -51
- package/dist/app/components/artifacts/ready-made-apps.js +13 -13
- package/dist/app/components/artifacts/retained-file-preview.js +57 -56
- package/dist/app/components/artifacts/retained-text-preview.js +7 -7
- package/dist/app/components/artifacts/site-actions.js +11 -11
- package/dist/app/components/artifacts/site-audience.js +8 -8
- package/dist/app/components/artifacts/site-conversations.js +34 -34
- package/dist/app/components/artifacts/site-data.js +30 -30
- package/dist/app/components/artifacts/site-public-link.js +1 -1
- package/dist/app/components/artifacts/site-publishing-page.js +72 -72
- package/dist/app/components/artifacts/site-publishing.js +55 -55
- package/dist/app/components/artifacts/site-settings.js +71 -71
- package/dist/app/components/artifacts/site-version-menu.js +9 -9
- package/dist/app/components/billing-class-mark.js +7 -7
- package/dist/app/components/capabilities/capability-detail-sheet.js +18 -18
- package/dist/app/components/capabilities/capability-logo-source.js +31 -30
- 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/connection-ownership-selector.js +4 -4
- package/dist/app/components/capabilities/connector-tool-permissions.js +7 -7
- package/dist/app/components/capabilities/detail-dialog.js +3 -3
- package/dist/app/components/capabilities/native-connect-setup.js +36 -35
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +7 -7
- package/dist/app/components/capabilities/perform-capability-action.js +3 -3
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +35 -34
- package/dist/app/components/capabilities/session-capability-card.js +142 -141
- package/dist/app/components/capabilities/session-capability-card.js.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.js +49 -49
- package/dist/app/components/capabilities/session-connect-inputs-card.js +38 -37
- package/dist/app/components/capabilities/session-custom-mcp-card.js +43 -42
- package/dist/app/components/capabilities/session-github-card.js +49 -48
- package/dist/app/components/capabilities/session-machine-card.js +50 -50
- package/dist/app/components/capabilities/session-personal-github-card.js +35 -34
- package/dist/app/components/capabilities/session-plugin-card.js +23 -22
- package/dist/app/components/capabilities/use-capabilities-catalog.js +4 -4
- package/dist/app/components/capabilities/use-connection-accounts.js +3 -3
- package/dist/app/components/command-menu/chat-status.js +25 -25
- package/dist/app/components/command-menu/chat-switcher.js +90 -89
- package/dist/app/components/command-menu/chat-switcher.js.map +1 -1
- package/dist/app/components/command-menu/command-menu.js +118 -117
- package/dist/app/components/command-menu/command-menu.js.map +1 -1
- package/dist/app/components/command-menu/shortcut-sheet.js +26 -26
- package/dist/app/components/composer-capabilities-menu-body.js +7 -7
- package/dist/app/components/composer-mobile-plus-panel.js +32 -32
- package/dist/app/components/composer-mobile-plus.js +5 -5
- package/dist/app/components/credit-amount-picker.js +2 -2
- package/dist/app/components/credit-required-gate.js +6 -6
- package/dist/app/components/credit-required-prompt.js +27 -27
- package/dist/app/components/credits/checkout-credits-celebration.js +4 -4
- package/dist/app/components/credits/checkout-return.js +4 -4
- package/dist/app/components/credits/coupon-redeem.js +1 -1
- package/dist/app/components/credits/credit-refusal-notice.js +8 -8
- package/dist/app/components/credits/own-subscription-plan-notice.js +3 -3
- package/dist/app/components/cross-slot-deep-link-recovery.js +2 -2
- package/dist/app/components/desktop/app-shots.js +10 -10
- package/dist/app/components/desktop/app-update.js +3 -3
- package/dist/app/components/desktop/computer-use.js +4 -4
- package/dist/app/components/desktop/this-computer.js +8 -8
- package/dist/app/components/feedback.js +11 -11
- package/dist/app/components/follow-up-repository-menu-body.js +12 -12
- 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 +5 -5
- package/dist/app/components/machines/connect-machine-dialog.js +25 -25
- package/dist/app/components/manual-repository-editor.js +1 -1
- package/dist/app/components/markdown.js +18 -17
- package/dist/app/components/model-identity.js +3 -3
- package/dist/app/components/models/models-ui.js +17 -17
- 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 +19 -19
- package/dist/app/components/own-where-it-works.js +12 -12
- package/dist/app/components/personal-resource-attachment-surface.js +4 -4
- package/dist/app/components/pickers.js +12 -12
- package/dist/app/components/rail/channel-create-dialog.js +6 -6
- package/dist/app/components/rail/project-glyph.js +54 -53
- package/dist/app/components/rail/project-profile.js +76 -75
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +155 -154
- package/dist/app/components/rail/session-header.js +125 -124
- package/dist/app/components/rail/session-list.js +153 -152
- package/dist/app/components/rail/session-row-content.js +6 -6
- package/dist/app/components/rail/session-row-hover-details.js +36 -36
- package/dist/app/components/rail/session-shell.js +194 -193
- package/dist/app/components/rail/site-session-group-heading.js +37 -37
- package/dist/app/components/repository-picker.js +12 -12
- package/dist/app/components/secrets/session-secrets-panel.js +3 -3
- package/dist/app/components/session/agent-configuration-panel.js +53 -53
- package/dist/app/components/session/artifact-session-page.js +8 -8
- package/dist/app/components/session/banners.js +22 -21
- package/dist/app/components/session/chat-avatar.js +54 -53
- package/dist/app/components/session/console-new-conversation.js +105 -104
- package/dist/app/components/session/descendant-requests.js +101 -100
- package/dist/app/components/session/descendant-requests.js.map +1 -1
- package/dist/app/components/session/editable-artifacts-workspace.js +62 -60
- package/dist/app/components/session/editable-artifacts-workspace.js.map +1 -1
- package/dist/app/components/session/failed-session-banner.js +28 -28
- 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 +88 -87
- package/dist/app/components/session/inspector.js +136 -135
- package/dist/app/components/session/inspector.js.map +1 -1
- package/dist/app/components/session/linked-panel.js +3 -3
- package/dist/app/components/session/message-actions.js +11 -11
- package/dist/app/components/session/model-recovery-notice.js +4 -4
- package/dist/app/components/session/new-session-settings-menu.js +32 -32
- package/dist/app/components/session/new-session-setup-strip.js +58 -57
- package/dist/app/components/session/own-account-wait-notice.js +8 -8
- package/dist/app/components/session/pinned-account-wait-notice.js +8 -8
- package/dist/app/components/session/pull-request-panel.js +26 -25
- package/dist/app/components/session/sandbox-recovery-actions.js +5 -5
- package/dist/app/components/session/sandbox-switcher.js +22 -22
- package/dist/app/components/session/sandbox-workspace.js +118 -117
- package/dist/app/components/session/search-markdown-highlight.js +19 -18
- package/dist/app/components/session/search-results-view.js +20 -19
- package/dist/app/components/session/session-admin-access.js +12 -12
- package/dist/app/components/session/session-admission-notice.js +11 -11
- package/dist/app/components/session/session-avatar-picker.js +61 -60
- package/dist/app/components/session/session-avatar.js +56 -55
- package/dist/app/components/session/session-machine-access-notice.js +11 -11
- package/dist/app/components/session/session-profile-dialog.js +72 -71
- package/dist/app/components/session/session-profile-editor.js +73 -72
- package/dist/app/components/session/session-retention.js +8 -8
- package/dist/app/components/session/session-search-dialog.js +26 -25
- package/dist/app/components/session/session-search-dialog.js.map +1 -1
- package/dist/app/components/session/session-skill-reviews.js +5 -5
- package/dist/app/components/session/session-tenancy-control.js +25 -25
- package/dist/app/components/session/session-unattended-setting.js +4 -4
- package/dist/app/components/session/session-usage-limit-section.js +13 -13
- package/dist/app/components/session/share-chat-dialog.js +12 -12
- package/dist/app/components/session/subagents.js +22 -22
- 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 +11 -11
- package/dist/app/components/settings/row-select.js +6 -6
- package/dist/app/components/transcription-settings.js +10 -10
- package/dist/app/components/ui/destructive-confirm.js +11 -11
- package/dist/app/components/usage/usage-entry.js +8 -8
- package/dist/app/components/window-bar.js +25 -25
- package/dist/app/components/workspace-composer-plus.js +46 -45
- package/dist/app/components/workspace-reach.d.ts +2 -0
- package/dist/app/components/workspace-reach.js +6 -6
- package/dist/app/embed/session-app.js +406 -405
- package/dist/app/lib/actions/actions-provider.js +18 -18
- package/dist/app/lib/agent-capabilities.js +4 -4
- package/dist/app/lib/app-connect-card.js +16 -16
- package/dist/app/lib/app-shared-key-dialog.js +9 -9
- package/dist/app/lib/app-surfaces.js +1 -1
- package/dist/app/lib/app-sync-opt-in.js +7 -7
- 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 +35 -34
- package/dist/app/lib/composer-send-blocking.js +2 -2
- package/dist/app/lib/console-site.js +9 -9
- package/dist/app/lib/console-text.js +2 -2
- package/dist/app/lib/events.js +32 -31
- package/dist/app/lib/failed-session-copy.js +5 -5
- package/dist/app/lib/feedback-capture.js +2 -2
- package/dist/app/lib/model-access-onboarding.js +4 -4
- 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 +2 -2
- package/dist/app/lib/session-rail.js +15 -15
- package/dist/app/lib/session-rename.js +3 -3
- package/dist/app/lib/sessions-group.js +23 -23
- package/dist/app/lib/site-tool-consent-dialog.js +24 -24
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +6 -6
- 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 +9 -9
- package/dist/app/lib/use-personal-resource-attachment.js +2 -2
- package/dist/app/lib/use-workspace-integrations.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 +6 -6
- 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 +52 -50
- package/dist/app/routes/app-page-view.js.map +1 -1
- package/dist/app/routes/app-page.js +2 -2
- package/dist/app/routes/artifacts.js +170 -168
- package/dist/app/routes/artifacts.js.map +1 -1
- package/dist/app/routes/retained-artifact.js +110 -109
- package/dist/app/routes/retained-artifact.js.map +1 -1
- package/dist/app/routes/session-unavailable.js +6 -6
- package/dist/app/routes/session.js +249 -248
- package/dist/app/routes/sessions-index-hydration.js +6 -6
- package/dist/app/routes/sessions-index.js +204 -203
- package/dist/app/routes/site-view.js +210 -209
- package/dist/app/routes/site-view.js.map +1 -1
- package/dist/artifacts-document.js +4 -4
- package/dist/artifacts-presentation.js +9 -9
- package/dist/artifacts-spreadsheet.js +4 -4
- package/dist/artifacts.js +53 -51
- package/dist/automation-model.js +6 -6
- package/dist/automations.js +64 -64
- package/dist/browser-viewer-TRPZI6NT.js +23 -0
- package/dist/chat-interactive-block-Y4BS4JCM.js +24 -0
- package/dist/chunk-22E2YJHT.js +469 -0
- package/dist/chunk-2T6TN2YL.js +538 -0
- package/dist/chunk-2WNN26NW.js +175 -0
- package/dist/chunk-3432A6XB.js +88 -0
- package/dist/chunk-35U7NSOR.js +366 -0
- package/dist/chunk-3EPR76WS.js +773 -0
- package/dist/chunk-3FXXEU5D.js +144 -0
- package/dist/chunk-3MXOPOEU.js +650 -0
- package/dist/chunk-3PKDU4JI.js +340 -0
- package/dist/chunk-3PMO2BIV.js +12 -0
- package/dist/chunk-3XWHJNFY.js +48 -0
- package/dist/chunk-45WD2PKE.js +401 -0
- package/dist/chunk-4H2OWNRA.js +598 -0
- package/dist/chunk-4HVGOTMU.js +263 -0
- package/dist/chunk-4JER2ZMV.js +818 -0
- package/dist/chunk-4LVZ2VOQ.js +214 -0
- package/dist/chunk-4OGDD2EM.js +2434 -0
- package/dist/chunk-4PQC6WMF.js +54 -0
- package/dist/chunk-4UVSWAT3.js +794 -0
- package/dist/chunk-53A47RBX.js +214 -0
- package/dist/chunk-552KKENW.js +114 -0
- package/dist/chunk-55F7L6M3.js +177 -0
- package/dist/chunk-5AHIKB3O.js +449 -0
- package/dist/chunk-5KQD6MLJ.js +3996 -0
- package/dist/chunk-5KQD6MLJ.js.map +1 -0
- package/dist/chunk-5N4L5WTE.js +199 -0
- package/dist/chunk-5OUJCVZI.js +79 -0
- package/dist/chunk-5OYXQ7MH.js +65 -0
- package/dist/chunk-5RGF74K5.js +371 -0
- package/dist/chunk-5RGF74K5.js.map +1 -0
- package/dist/chunk-5TAVVMFX.js +225 -0
- package/dist/chunk-5Y3LYRNH.js +269 -0
- package/dist/chunk-5ZJKKE4T.js +386 -0
- package/dist/chunk-62DPSQRZ.js +57 -0
- package/dist/chunk-64KMWTJ6.js +608 -0
- package/dist/chunk-6F34IWSA.js +47 -0
- package/dist/chunk-6F34IWSA.js.map +1 -0
- package/dist/chunk-6MZBNUS7.js +73 -0
- package/dist/chunk-6YCE4ZC4.js +250 -0
- package/dist/chunk-6YROWWMX.js +175 -0
- package/dist/chunk-73RZ72VU.js +1236 -0
- package/dist/chunk-74KV436L.js +84 -0
- package/dist/chunk-7HKGLPV5.js +83 -0
- package/dist/chunk-7JSWODT6.js +466 -0
- package/dist/chunk-7K3PKWER.js +428 -0
- package/dist/chunk-7MPWC42V.js +1356 -0
- package/dist/chunk-7REO6FRN.js +141 -0
- package/dist/chunk-7V3OL7JC.js +850 -0
- package/dist/chunk-7V3OL7JC.js.map +1 -0
- package/dist/chunk-7YMWRNRQ.js +145 -0
- package/dist/chunk-A6H3KJ7G.js +131 -0
- package/dist/chunk-AGQIE6YU.js +1769 -0
- package/dist/chunk-AHQM4I5V.js +373 -0
- package/dist/chunk-AMTRO7XF.js +172 -0
- package/dist/chunk-AO4LTCG7.js +91 -0
- package/dist/chunk-APJ22OZV.js +2580 -0
- package/dist/chunk-APWL37KW.js +407 -0
- package/dist/chunk-AQEJOBQ2.js +15 -0
- package/dist/chunk-ARKNT6BX.js +234 -0
- package/dist/chunk-B2IHDMAR.js +211 -0
- package/dist/chunk-BCKIV26W.js +112 -0
- package/dist/chunk-BE26JUSD.js +259 -0
- package/dist/chunk-BOVCD6KD.js +171 -0
- package/dist/chunk-BQWV66A6.js +129 -0
- package/dist/chunk-BSQJXGGP.js +441 -0
- package/dist/chunk-BZY3MEVZ.js +3183 -0
- package/dist/chunk-C3D3OOEY.js +335 -0
- package/dist/chunk-CDHYO3DP.js +82 -0
- package/dist/chunk-CDV5JGVI.js +79 -0
- package/dist/chunk-CNW45M7G.js +207 -0
- package/dist/chunk-CUVQ37HB.js +150 -0
- package/dist/chunk-D32T3IIC.js +532 -0
- package/dist/chunk-D32VVOBJ.js +738 -0
- package/dist/chunk-D32VVOBJ.js.map +1 -0
- package/dist/chunk-D65BSM64.js +371 -0
- package/dist/chunk-D7435DWV.js +570 -0
- package/dist/chunk-DFH3M7B3.js +72 -0
- package/dist/chunk-DGWBQ76M.js +162 -0
- package/dist/chunk-DHJDTGSJ.js +372 -0
- package/dist/chunk-DKEFTNCD.js +400 -0
- package/dist/chunk-DNAF6MT4.js +107 -0
- package/dist/chunk-DSJ7K5IF.js +380 -0
- package/dist/chunk-DSJ7K5IF.js.map +1 -0
- package/dist/chunk-E35XY7DS.js +27 -0
- package/dist/chunk-E5T5WIIP.js +396 -0
- package/dist/chunk-EL6ECD34.js +166 -0
- package/dist/chunk-ELR6ITRC.js +467 -0
- package/dist/chunk-EPE3V2VE.js +851 -0
- package/dist/chunk-EYGQHHVW.js +584 -0
- package/dist/chunk-EYQEJHYP.js +307 -0
- package/dist/chunk-EZTH2XMH.js +276 -0
- package/dist/chunk-F3QVHVFS.js +287 -0
- package/dist/chunk-F5VWPREQ.js +1187 -0
- package/dist/chunk-FM7AQUBL.js +113 -0
- package/dist/chunk-FP6BUXJM.js +100 -0
- package/dist/chunk-FVU52L3I.js +249 -0
- package/dist/chunk-FZKNXNNO.js +218 -0
- package/dist/chunk-G3IXJWRY.js +236 -0
- package/dist/chunk-G6EI2O3N.js +333 -0
- package/dist/chunk-G7KHMA3E.js +256 -0
- package/dist/chunk-G7KHMA3E.js.map +1 -0
- package/dist/chunk-GB5T6YMZ.js +401 -0
- package/dist/chunk-GBLD6FOG.js +157 -0
- package/dist/chunk-GJBFFXCY.js +137 -0
- package/dist/chunk-GJDP2K2S.js +66 -0
- package/dist/chunk-GP26XTDX.js +187 -0
- package/dist/chunk-GTE6WP4N.js +606 -0
- package/dist/chunk-GWG3OAV7.js +108 -0
- package/dist/chunk-GXMHTMM6.js +931 -0
- package/dist/chunk-GYRN5O2E.js +107 -0
- package/dist/chunk-GZX7W2WW.js +65 -0
- package/dist/chunk-H3QI2G2B.js +403 -0
- package/dist/chunk-H7D4DVWY.js +849 -0
- package/dist/chunk-HCDGBBBJ.js +191 -0
- package/dist/chunk-HDSH6MIJ.js +3851 -0
- package/dist/chunk-HOEUPZ6O.js +89 -0
- package/dist/chunk-HPQRWTQB.js +772 -0
- package/dist/chunk-HUKGLWAY.js +174 -0
- package/dist/chunk-HUTQJY3F.js +23 -0
- package/dist/chunk-HWOYJOKK.js +266 -0
- package/dist/chunk-HZR3WGUP.js +96 -0
- package/dist/chunk-I7YUDPDR.js +138 -0
- package/dist/chunk-IDII52M4.js +27 -0
- package/dist/chunk-IDPWEUM7.js +103 -0
- package/dist/chunk-IEWQFGEC.js +192 -0
- package/dist/chunk-IKWGPFT5.js +300 -0
- package/dist/chunk-IKWGPFT5.js.map +1 -0
- package/dist/chunk-IMTACEXF.js +351 -0
- package/dist/chunk-IVWT6M6N.js +114 -0
- package/dist/chunk-JE2YXAVR.js +485 -0
- package/dist/chunk-JE2YXAVR.js.map +1 -0
- package/dist/chunk-JEUPIHIP.js +111 -0
- package/dist/chunk-JF4WX3GQ.js +168 -0
- package/dist/chunk-JJPYXUKC.js +2591 -0
- package/dist/chunk-JNHWTYDD.js +43 -0
- package/dist/chunk-JP7AOJWD.js +46 -0
- package/dist/chunk-JTWT2WQA.js +297 -0
- package/dist/chunk-JW3WIHWO.js +117 -0
- package/dist/chunk-JW7RJMEZ.js +134 -0
- package/dist/chunk-K76PXR3O.js +2317 -0
- package/dist/chunk-KCNIQN6V.js +107 -0
- package/dist/chunk-KH6KHYST.js +231 -0
- package/dist/chunk-KK4SEN7N.js +247 -0
- package/dist/chunk-KOKRGAAI.js +383 -0
- package/dist/chunk-KQFNTGAF.js +187 -0
- package/dist/chunk-KRLNC6TH.js +50 -0
- package/dist/chunk-KYDLVMKA.js +99 -0
- package/dist/chunk-KZQDP2JM.js +155 -0
- package/dist/chunk-L2EZ2HOX.js +132 -0
- package/dist/chunk-L2UAFR2D.js +33 -0
- package/dist/chunk-L4R7ORMD.js +4596 -0
- package/dist/chunk-LCLWN64E.js +227 -0
- package/dist/chunk-LFQI2C46.js +175 -0
- package/dist/chunk-LLYX4F5A.js +1628 -0
- package/dist/chunk-LQX5QCDS.js +215 -0
- package/dist/chunk-LRMHASG2.js +196 -0
- package/dist/chunk-LVUSG56I.js +5930 -0
- package/dist/chunk-LVUSG56I.js.map +1 -0
- package/dist/chunk-M5FX5KH5.js +629 -0
- package/dist/chunk-MLOTUQJJ.js +201 -0
- package/dist/chunk-MPUKGKXZ.js +209 -0
- package/dist/chunk-MS6LW4VU.js +283 -0
- package/dist/chunk-MWN7LDYV.js +4601 -0
- package/dist/chunk-MWN7LDYV.js.map +1 -0
- package/dist/chunk-MXPW4F74.js +278 -0
- package/dist/chunk-MZ7GJX5S.js +158 -0
- package/dist/chunk-N5OUIUYD.js +1260 -0
- package/dist/chunk-N6FNORC7.js +412 -0
- package/dist/chunk-NALVKY4U.js +113 -0
- package/dist/chunk-NJ77ZL5T.js +5222 -0
- package/dist/chunk-NM2DNJDJ.js +270 -0
- package/dist/chunk-NNKRRF7E.js +110 -0
- package/dist/chunk-NP5UFWU4.js +318 -0
- package/dist/chunk-NV3AEIFO.js +118 -0
- package/dist/chunk-O6JDF7KH.js +828 -0
- package/dist/chunk-OERZH3J4.js +251 -0
- package/dist/chunk-OKHWTWWU.js +1152 -0
- package/dist/chunk-OLAIUVGT.js +274 -0
- package/dist/chunk-OO36IUMS.js +270 -0
- package/dist/chunk-OVDK7K2Z.js +57 -0
- package/dist/chunk-OX5ZCHZQ.js +63 -0
- package/dist/chunk-P6LLCGPO.js +515 -0
- package/dist/chunk-PA2CUHTD.js +505 -0
- package/dist/chunk-PB4CQIRA.js +4979 -0
- package/dist/chunk-PBV2P632.js +566 -0
- package/dist/chunk-PCSRHFRF.js +75 -0
- package/dist/chunk-PEPWW5BC.js +436 -0
- package/dist/chunk-PMBZMVKE.js +33 -0
- package/dist/chunk-PP32RE26.js +34 -0
- package/dist/chunk-PTXAPI3Q.js +73 -0
- package/dist/chunk-PULNNF7G.js +56 -0
- package/dist/chunk-Q6KNROUT.js +158 -0
- package/dist/chunk-QEGP3HSW.js +184 -0
- package/dist/chunk-QEGP3HSW.js.map +1 -0
- package/dist/chunk-QGJIFIKN.js +1032 -0
- package/dist/chunk-QKKKORGL.js +41 -0
- package/dist/chunk-QKUMMG6P.js +85 -0
- package/dist/chunk-QNOWKKZ4.js +40 -0
- package/dist/chunk-QSWD3AHE.js +84 -0
- package/dist/chunk-QZ4U2VL5.js +391 -0
- package/dist/chunk-QZJNCLHV.js +271 -0
- package/dist/chunk-R6CFPY3F.js +278 -0
- package/dist/chunk-R6QRUYUH.js +406 -0
- package/dist/chunk-RE3GAQI5.js +2984 -0
- package/dist/chunk-RFHUVPFA.js +1184 -0
- package/dist/chunk-RH45HT5T.js +3690 -0
- package/dist/chunk-RJNQTZ5O.js +439 -0
- package/dist/chunk-RN24AP7Q.js +247 -0
- package/dist/chunk-RN24AP7Q.js.map +1 -0
- package/dist/chunk-S2BJTAAB.js +37 -0
- package/dist/chunk-S56PWXIX.js +138 -0
- package/dist/chunk-S6BDABIC.js +1390 -0
- package/dist/chunk-S6BDABIC.js.map +1 -0
- package/dist/chunk-S6FFDIHD.js +640 -0
- package/dist/chunk-S6MAMIK2.js +56 -0
- package/dist/chunk-SERTO6H6.js +311 -0
- package/dist/chunk-STOOH7EI.js +200 -0
- package/dist/chunk-SWSTEUXX.js +121 -0
- package/dist/chunk-SWZN7NNZ.js +1029 -0
- package/dist/chunk-SYDF57KS.js +178 -0
- package/dist/chunk-T275CUVD.js +29 -0
- package/dist/chunk-T4OT7QWP.js +378 -0
- package/dist/chunk-TCSRY2NP.js +2582 -0
- package/dist/chunk-TCX5OA2X.js +1177 -0
- package/dist/chunk-TDW5CSO5.js +3158 -0
- package/dist/chunk-TGG3ODCS.js +99 -0
- package/dist/chunk-TILSTYUC.js +505 -0
- package/dist/chunk-TJ5DYWXU.js +1333 -0
- package/dist/chunk-TNRI4ZE6.js +391 -0
- package/dist/chunk-TPIFVUMF.js +188 -0
- package/dist/chunk-TSW6OF22.js +162 -0
- package/dist/chunk-TTSTBHGR.js +1095 -0
- package/dist/chunk-U3JYAWMR.js +170 -0
- package/dist/chunk-U7ODSHA5.js +124 -0
- package/dist/chunk-UEGEPRNP.js +48 -0
- package/dist/chunk-UGIA2YEJ.js +83 -0
- package/dist/chunk-UHLKKDNF.js +432 -0
- package/dist/chunk-ULVXKIPX.js +26 -0
- package/dist/chunk-UN37ZY6R.js +10074 -0
- package/dist/chunk-UN37ZY6R.js.map +1 -0
- package/dist/chunk-USUDKZ5G.js +98 -0
- package/dist/chunk-UVO6I2F6.js +85 -0
- package/dist/chunk-V6NVG4K2.js +357 -0
- package/dist/chunk-VCMQFD3G.js +1185 -0
- package/dist/chunk-VKPBDNIO.js +246 -0
- package/dist/chunk-VLDKWGHD.js +61 -0
- package/dist/chunk-VM2NA2EL.js +905 -0
- package/dist/chunk-VMZTCVEL.js +114 -0
- package/dist/chunk-VQH5AXZY.js +269 -0
- package/dist/chunk-VTBTW6N4.js +114 -0
- package/dist/chunk-VV7PLDX4.js +230 -0
- package/dist/chunk-VYGGLH5H.js +50 -0
- package/dist/chunk-VYQHHTQ4.js +133 -0
- package/dist/chunk-VYSGRD2W.js +292 -0
- package/dist/chunk-W4W63LTP.js +1309 -0
- package/dist/chunk-WFC2JA6D.js +2335 -0
- package/dist/chunk-WFC2JA6D.js.map +1 -0
- package/dist/chunk-WHTRR66J.js +197 -0
- package/dist/chunk-WICIQFHJ.js +42 -0
- package/dist/chunk-WJYYMCCC.js +283 -0
- package/dist/chunk-WSJOWQJE.js +399 -0
- package/dist/chunk-WY333GHH.js +108 -0
- package/dist/chunk-WY333GHH.js.map +1 -0
- package/dist/chunk-WYDUXZ2R.js +353 -0
- package/dist/chunk-X62CN4YR.js +3321 -0
- package/dist/chunk-XFQHKMO6.js +1024 -0
- package/dist/chunk-XGJ7XZHS.js +527 -0
- package/dist/chunk-XJFJNOEV.js +723 -0
- package/dist/chunk-XKJLHMXZ.js +234 -0
- package/dist/chunk-XLFPJVQS.js +103 -0
- package/dist/chunk-XM4ZLZFW.js +129 -0
- package/dist/chunk-Y2GAWEJD.js +1021 -0
- package/dist/chunk-Y3A74SVK.js +296 -0
- package/dist/chunk-YANEVGI3.js +92 -0
- package/dist/chunk-YHHSO5QR.js +128 -0
- package/dist/chunk-YOSOCHCB.js +52 -0
- package/dist/chunk-YP4SNX4P.js +220 -0
- package/dist/chunk-YQH6AMIH.js +176 -0
- package/dist/chunk-YRWL2IAE.js +165 -0
- package/dist/chunk-YTWRQ3WK.js +251 -0
- package/dist/chunk-YV5GGSLK.js +20 -0
- package/dist/chunk-YXUDK37V.js +126 -0
- package/dist/chunk-YYM5TSCR.js +75 -0
- package/dist/chunk-ZG2CKFQF.js +202 -0
- package/dist/chunk-ZGJXO2HH.js +93 -0
- package/dist/chunk-ZGV76PZ4.js +3070 -0
- package/dist/chunk-ZOBUR2VC.js +229 -0
- package/dist/components/artifacts/artifact-chrome.d.ts +4 -0
- package/dist/components/artifacts/artifact-sandbox.d.ts +13 -0
- package/dist/components/artifacts/inline-html-document.d.ts +10 -1
- package/dist/components/artifacts/published-html-artifact-frame.d.ts +17 -0
- package/dist/components/preview-loading.d.ts +3 -1
- package/dist/composer.js +37 -37
- package/dist/computer-viewer-S6AL3XDT.js +21 -0
- package/dist/connect.js +38 -37
- package/dist/connection-step-up-XGPZKQEL.js +149 -0
- package/dist/connection-step-up-XGPZKQEL.js.map +1 -0
- package/dist/desktop-dictation.js +23 -23
- package/dist/desktop.js +2 -2
- package/dist/editor.js +2 -2
- package/dist/embedded-new-voice-T3BXRYJX.js +25 -0
- package/dist/embedded-voice-ZJXMF3RP.js +25 -0
- package/dist/fleet-decision-row-AUCMLBCV.js +361 -0
- package/dist/in-chat-connect-model.js +5 -5
- package/dist/index.js +296 -295
- package/dist/interaction.js +9 -9
- package/dist/latest-question-D5BKKEP6.js +1 -1
- package/dist/machine-request-model.js +1 -1
- package/dist/machines.js +8 -8
- package/dist/meetings/meeting-detail-page.d.ts +14 -0
- package/dist/meetings/meeting-notes.d.ts +6 -2
- package/dist/meetings/meeting-transcript.d.ts +3 -1
- package/dist/meetings-recorder.js +1 -1
- package/dist/meetings.js +367 -260
- package/dist/meetings.js.map +1 -1
- package/dist/messages/en.d.ts +6 -2
- package/dist/messages.js +1 -1
- package/dist/model-policy-picker-menu-TO57YUQ6.js +23 -0
- package/dist/native-previews.js +1 -1
- package/dist/payment-page-card-DFGDAMTG.js +227 -0
- package/dist/platform-activity-row-ZMBEJGXN.js +156 -0
- package/dist/queue-surface-implementation-KDK5CYH6.js +933 -0
- package/dist/realtime.js +17 -17
- package/dist/recorder-host-3HLYRL4H.js +80 -0
- package/dist/recordings.js +3 -3
- package/dist/sandbox-files-UOZ4OJZU.js +29 -0
- package/dist/session-app.js +406 -405
- package/dist/session-connect-cards-VZIYLH45.js +28 -0
- package/dist/session-list-model.js +2 -2
- package/dist/session-realtime-2ZGJWVZP.js +30 -0
- package/dist/session-realtime.js +2 -2
- package/dist/session-ui.js +98 -97
- package/dist/session.js +40 -40
- package/dist/sites.js +3 -3
- package/dist/skills.js +32 -32
- package/dist/terminal.js +2 -2
- package/dist/testing/meetings-fixture.d.ts +8 -0
- package/dist/testing/meetings-fixture.js +22 -1
- package/dist/testing/meetings-fixture.js.map +1 -1
- package/dist/this-computer.js +3 -3
- package/dist/timeline-annotation-markers-KBTFWLME.js +157 -0
- package/dist/timeline-annotation-selection-VI4YSDR5.js +208 -0
- package/dist/timeline-annotations-dialog-4PLWNLRB.js +283 -0
- package/dist/timeline-model.js +37 -37
- package/dist/ui/access-list.js +24 -24
- package/dist/ui/cadence-picker.js +7 -7
- package/dist/ui/capability-page.js +10 -10
- package/dist/ui/choice-cards.js +3 -3
- package/dist/ui/confirm-dialog.js +4 -4
- 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/dialog.js +2 -2
- package/dist/ui/diff-view.js +3 -3
- 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 +8 -8
- package/dist/ui/form-dialog.js +7 -7
- 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 +16 -16
- package/dist/ui/role-select.js +13 -13
- 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 +6 -5
- package/src/app/components/session/sandbox-recovery-actions.test.tsx +26 -0
- package/src/app/components/session/sandbox-recovery-actions.tsx +2 -1
- package/src/app/components/workspace-reach.tsx +2 -0
- package/src/components/artifacts/artifact-chrome.tsx +6 -0
- package/src/components/artifacts/artifact-sandbox.tsx +119 -20
- package/src/components/artifacts/chat-interactive-block.tsx +1 -0
- package/src/components/artifacts/inline-html-document.ts +13 -3
- package/src/components/artifacts/published-html-artifact-frame.tsx +60 -4
- package/src/components/preview-loading.tsx +2 -2
- package/src/meetings/meeting-detail-page.tsx +232 -112
- package/src/meetings/meeting-notes.tsx +48 -24
- package/src/meetings/meeting-transcript.tsx +75 -57
- package/src/meetings/meetings-pages.test.tsx +181 -2
- package/src/messages/en.ts +6 -2
- package/src/testing/meetings-fixture.ts +35 -1
- package/styles/compiled.css +8 -0
- package/styles/index.css +7 -0
- package/dist/browser-viewer-KFMM5S2B.js +0 -23
- package/dist/chat-interactive-block-5DJ72HU7.js +0 -22
- package/dist/chunk-2B3RQRNQ.js +0 -584
- package/dist/chunk-2DA7DTHO.js +0 -83
- package/dist/chunk-2GXAXCS2.js +0 -401
- package/dist/chunk-2JTZMHQK.js +0 -57
- package/dist/chunk-2LRJ32SO.js +0 -114
- package/dist/chunk-2VK7FJNR.js +0 -307
- package/dist/chunk-2YJS75C3.js +0 -269
- package/dist/chunk-2YNEUYWM.js +0 -231
- package/dist/chunk-2ZR75AUO.js +0 -225
- package/dist/chunk-32LD46VC.js +0 -72
- package/dist/chunk-3FVVZW7J.js +0 -84
- package/dist/chunk-4327UGUS.js +0 -79
- package/dist/chunk-45TILHFZ.js +0 -249
- package/dist/chunk-4AUSS7CX.js +0 -318
- package/dist/chunk-4ECOHGUL.js +0 -818
- package/dist/chunk-4FKE42TW.js +0 -1333
- package/dist/chunk-4K5UVYZQ.js +0 -113
- package/dist/chunk-4UZE7ZT4.js +0 -54
- package/dist/chunk-4XQH4XPP.js +0 -400
- package/dist/chunk-4Z7BPBS7.js +0 -34
- package/dist/chunk-56KVDNOS.js +0 -98
- package/dist/chunk-56NHT2TZ.js +0 -56
- package/dist/chunk-57QWSJLX.js +0 -114
- package/dist/chunk-5AGRFQSH.js +0 -432
- package/dist/chunk-5JMX5FRF.js +0 -1309
- package/dist/chunk-5UTHPGFF.js +0 -93
- package/dist/chunk-5VPQVMJI.js +0 -84
- package/dist/chunk-5WJCOFIU.js +0 -207
- package/dist/chunk-62T2ZPD5.js +0 -266
- package/dist/chunk-63AVTSUI.js +0 -383
- package/dist/chunk-6CDBX3XG.js +0 -33
- package/dist/chunk-6D3D2JWY.js +0 -278
- package/dist/chunk-6GUG7FXP.js +0 -380
- package/dist/chunk-6GUG7FXP.js.map +0 -1
- package/dist/chunk-6JGMBTXP.js +0 -114
- package/dist/chunk-6LYBRPUG.js +0 -931
- package/dist/chunk-6PHBW7SS.js +0 -287
- package/dist/chunk-6S2XVKNI.js +0 -91
- package/dist/chunk-6TWS6AXT.js +0 -1021
- package/dist/chunk-6VEIDSF4.js +0 -73
- package/dist/chunk-76NGRVCY.js +0 -340
- package/dist/chunk-7FFZLLCH.js +0 -391
- package/dist/chunk-7RRDXPNC.js +0 -111
- package/dist/chunk-7TLYFHMT.js +0 -851
- package/dist/chunk-7V2CQLTN.js +0 -20
- package/dist/chunk-7VDWXFTL.js +0 -772
- package/dist/chunk-A2OMNLDF.js +0 -150
- package/dist/chunk-A3QEJ2IZ.js +0 -229
- package/dist/chunk-A6Q6EUBR.js +0 -209
- package/dist/chunk-AJSRYRJS.js +0 -138
- package/dist/chunk-APNPWJCK.js +0 -66
- package/dist/chunk-ARNQH2XE.js +0 -178
- package/dist/chunk-B6AH43UQ.js +0 -2434
- package/dist/chunk-BIXGAYDJ.js +0 -276
- package/dist/chunk-BJ3WRO2K.js +0 -441
- package/dist/chunk-BO3D22BS.js +0 -12
- package/dist/chunk-BR62BHVY.js +0 -357
- package/dist/chunk-BTMSR4OA.js +0 -214
- package/dist/chunk-BVZYHORS.js +0 -40
- package/dist/chunk-BWBBS6HJ.js +0 -42
- package/dist/chunk-C22UPHA2.js +0 -274
- package/dist/chunk-C2EERTYX.js +0 -353
- package/dist/chunk-C2F6SKOS.js +0 -270
- package/dist/chunk-C625ODRG.js +0 -92
- package/dist/chunk-CAF3HFJH.js +0 -184
- package/dist/chunk-CAF3HFJH.js.map +0 -1
- package/dist/chunk-CC4JBFWY.js +0 -85
- package/dist/chunk-CDB66JAO.js +0 -283
- package/dist/chunk-CG2HT7TI.js +0 -269
- package/dist/chunk-CNNOPEAK.js +0 -570
- package/dist/chunk-CRBHMSAP.js +0 -469
- package/dist/chunk-CSK2WOOX.js +0 -83
- package/dist/chunk-CTBPPPLR.js +0 -2580
- package/dist/chunk-CTOLX2EW.js +0 -2317
- package/dist/chunk-CVDY7P3E.js +0 -246
- package/dist/chunk-CX3Z7W5Y.js +0 -107
- package/dist/chunk-D5K2BS5Q.js +0 -259
- package/dist/chunk-DA7XLT5F.js +0 -366
- package/dist/chunk-DAKKJ3XM.js +0 -298
- package/dist/chunk-DAKKJ3XM.js.map +0 -1
- package/dist/chunk-DC6KFW2R.js +0 -333
- package/dist/chunk-DIHPR5KJ.js +0 -15
- package/dist/chunk-DLMYANZX.js +0 -3851
- package/dist/chunk-DRAG2LZP.js +0 -171
- package/dist/chunk-E2SGFW2B.js +0 -3321
- package/dist/chunk-EAXZSBWV.js +0 -412
- package/dist/chunk-EFKWOXBP.js +0 -428
- package/dist/chunk-EGD5RPRX.js +0 -401
- package/dist/chunk-ELC2ZPHI.js +0 -1177
- package/dist/chunk-EZ5ZBOGQ.js +0 -1032
- package/dist/chunk-F2JKNL73.js +0 -187
- package/dist/chunk-F3LIUDXN.js +0 -738
- package/dist/chunk-F3LIUDXN.js.map +0 -1
- package/dist/chunk-FAB5SXNO.js +0 -640
- package/dist/chunk-FQ33JHJN.js +0 -63
- package/dist/chunk-FX343J2L.js +0 -132
- package/dist/chunk-FXFOKD7A.js +0 -449
- package/dist/chunk-FY42DW2R.js +0 -515
- package/dist/chunk-G4E5WKY7.js +0 -65
- package/dist/chunk-GFTV3RR6.js +0 -187
- package/dist/chunk-GGBMQNAB.js +0 -33
- package/dist/chunk-GGU7KV4G.js +0 -124
- package/dist/chunk-GIHE7U3Y.js +0 -174
- package/dist/chunk-GRGK3JJI.js +0 -10074
- package/dist/chunk-GRGK3JJI.js.map +0 -1
- package/dist/chunk-GT3FJVU6.js +0 -4596
- package/dist/chunk-GTGPKGWC.js +0 -65
- package/dist/chunk-GY6DSWBM.js +0 -82
- package/dist/chunk-H3EP6GNA.js +0 -538
- package/dist/chunk-HD2MCYQF.js +0 -234
- package/dist/chunk-HE4VN5D3.js +0 -4979
- package/dist/chunk-HFROJDFQ.js +0 -118
- package/dist/chunk-HHFFPE67.js +0 -220
- package/dist/chunk-HJ2CDFZX.js +0 -117
- package/dist/chunk-HJ2J2XQI.js +0 -88
- package/dist/chunk-HLLZPULI.js +0 -172
- package/dist/chunk-HPYQ5MES.js +0 -103
- package/dist/chunk-HRLJNDDC.js +0 -197
- package/dist/chunk-HVGM5IME.js +0 -170
- package/dist/chunk-HZE6V7GW.js +0 -214
- package/dist/chunk-I5DW76GB.js +0 -200
- package/dist/chunk-I7MZOZGC.js +0 -121
- package/dist/chunk-IB2EX6GX.js +0 -292
- package/dist/chunk-IEDDIJ6B.js +0 -4601
- package/dist/chunk-IEDDIJ6B.js.map +0 -1
- package/dist/chunk-IGFZFLI2.js +0 -1390
- package/dist/chunk-IGFZFLI2.js.map +0 -1
- package/dist/chunk-IIMRBCA4.js +0 -271
- package/dist/chunk-IIWNSYFA.js +0 -129
- package/dist/chunk-IN2ZJR2A.js +0 -96
- package/dist/chunk-IUPIJWFK.js +0 -905
- package/dist/chunk-IZA2KBYK.js +0 -57
- package/dist/chunk-IZZINUFM.js +0 -527
- package/dist/chunk-JFEAJRG6.js +0 -1029
- package/dist/chunk-JG7MEMJP.js +0 -1184
- package/dist/chunk-JIZWFW5A.js +0 -107
- package/dist/chunk-JJKUERR4.js +0 -131
- package/dist/chunk-JL4PMUDG.js +0 -192
- package/dist/chunk-JTWK3VE7.js +0 -202
- package/dist/chunk-JV2TJLUW.js +0 -144
- package/dist/chunk-KBDWMUYA.js +0 -175
- package/dist/chunk-KF65UG2L.js +0 -1628
- package/dist/chunk-KFYLTQGK.js +0 -133
- package/dist/chunk-KJI2DVSO.js +0 -26
- package/dist/chunk-KLYBSXHE.js +0 -3183
- package/dist/chunk-KPD6TBO4.js +0 -89
- package/dist/chunk-KTGKGHEA.js +0 -75
- package/dist/chunk-KUYQTNVT.js +0 -794
- package/dist/chunk-KZE7M52Y.js +0 -598
- package/dist/chunk-KZYZ3JHS.js +0 -112
- package/dist/chunk-L6WVCO6D.js +0 -61
- package/dist/chunk-L7T7M2P3.js +0 -5222
- package/dist/chunk-LKF6IPFC.js +0 -247
- package/dist/chunk-LLU7VKCZ.js +0 -188
- package/dist/chunk-LWEJGMVO.js +0 -50
- package/dist/chunk-LX5IEXDF.js +0 -505
- package/dist/chunk-LYEALWBN.js +0 -251
- package/dist/chunk-M722GGD3.js +0 -566
- package/dist/chunk-MCPKUVMQ.js +0 -99
- package/dist/chunk-MDGNCUAC.js +0 -145
- package/dist/chunk-MFLU3466.js +0 -99
- package/dist/chunk-MITT6IZG.js +0 -134
- package/dist/chunk-MN4LJYKQ.js +0 -608
- package/dist/chunk-MNCBL5AX.js +0 -449
- package/dist/chunk-MNCBL5AX.js.map +0 -1
- package/dist/chunk-MO3XJQN2.js +0 -629
- package/dist/chunk-MPP6BEAN.js +0 -158
- package/dist/chunk-MQRUZ2LW.js +0 -335
- package/dist/chunk-MRJFF5KY.js +0 -351
- package/dist/chunk-MUB44LD3.js +0 -75
- package/dist/chunk-MYDFABO6.js +0 -296
- package/dist/chunk-NJVHMK5R.js +0 -3158
- package/dist/chunk-NO6VQNWH.js +0 -396
- package/dist/chunk-NUF43R2F.js +0 -278
- package/dist/chunk-NUM3QV66.js +0 -107
- package/dist/chunk-NW4RPGET.js +0 -48
- package/dist/chunk-NZBZLY7H.js +0 -165
- package/dist/chunk-O664PL2U.js +0 -47
- package/dist/chunk-O664PL2U.js.map +0 -1
- package/dist/chunk-OCS3KIYC.js +0 -378
- package/dist/chunk-OKI45WHM.js +0 -311
- package/dist/chunk-ONF5M5GP.js +0 -283
- package/dist/chunk-OPCPBLHA.js +0 -79
- package/dist/chunk-OROXCA6L.js +0 -251
- package/dist/chunk-OTMJS3FV.js +0 -56
- package/dist/chunk-OXM267RC.js +0 -128
- package/dist/chunk-P5FLGDXW.js +0 -723
- package/dist/chunk-PC3FWPOP.js +0 -828
- package/dist/chunk-PPQJIVGM.js +0 -175
- package/dist/chunk-PQOVMZI2.js +0 -372
- package/dist/chunk-PVGD2RAV.js +0 -5926
- package/dist/chunk-PVGD2RAV.js.map +0 -1
- package/dist/chunk-PYU7CLEG.js +0 -215
- package/dist/chunk-Q2N5UR7Q.js +0 -505
- package/dist/chunk-Q4GB2QU3.js +0 -199
- package/dist/chunk-Q4RJKXQM.js +0 -606
- package/dist/chunk-Q4ZNRQKH.js +0 -196
- package/dist/chunk-Q7QXSQ46.js +0 -1185
- package/dist/chunk-QAVSUXLA.js +0 -773
- package/dist/chunk-QBJDMSFA.js +0 -27
- package/dist/chunk-QCB3WNCA.js +0 -176
- package/dist/chunk-QIOIJ7K5.js +0 -162
- package/dist/chunk-QR72J6WR.js +0 -650
- package/dist/chunk-QUTMVW4P.js +0 -141
- package/dist/chunk-QUXQYYZO.js +0 -73
- package/dist/chunk-RDHK2NYW.js +0 -129
- package/dist/chunk-RFBYAUZH.js +0 -311
- package/dist/chunk-RFBYAUZH.js.map +0 -1
- package/dist/chunk-RGCCRYTY.js +0 -46
- package/dist/chunk-RSTS3RWN.js +0 -211
- package/dist/chunk-RY7YRYVT.js +0 -126
- package/dist/chunk-S4LRL5BA.js +0 -439
- package/dist/chunk-S62CVC5C.js +0 -850
- package/dist/chunk-S62CVC5C.js.map +0 -1
- package/dist/chunk-SHVW3C3Y.js +0 -50
- package/dist/chunk-SL4CLUHR.js +0 -48
- package/dist/chunk-SOPKVWZJ.js +0 -1187
- package/dist/chunk-ST3H53IJ.js +0 -201
- package/dist/chunk-SYYFA7W7.js +0 -23
- package/dist/chunk-TBUWK3RP.js +0 -399
- package/dist/chunk-TC42NAIJ.js +0 -177
- package/dist/chunk-TJBTP6LH.js +0 -297
- package/dist/chunk-TQQALBLU.js +0 -391
- package/dist/chunk-TW56PZBB.js +0 -407
- package/dist/chunk-U6XRXK2T.js +0 -1356
- package/dist/chunk-U735UBHS.js +0 -2431
- package/dist/chunk-U735UBHS.js.map +0 -1
- package/dist/chunk-UAKG7GLE.js +0 -155
- package/dist/chunk-UB4GKFCI.js +0 -1095
- package/dist/chunk-UEAAF27Y.js +0 -108
- package/dist/chunk-UITWSZH3.js +0 -162
- package/dist/chunk-UQ67SEGH.js +0 -234
- package/dist/chunk-URSNCM57.js +0 -37
- package/dist/chunk-V77BSX2F.js +0 -1152
- package/dist/chunk-VATOL3OZ.js +0 -110
- package/dist/chunk-VEJG6GQQ.js +0 -103
- package/dist/chunk-VFQZPHZR.js +0 -436
- package/dist/chunk-VFZJV26C.js +0 -41
- package/dist/chunk-VJZPVP6C.js +0 -230
- package/dist/chunk-VQL7FHIF.js +0 -27
- package/dist/chunk-VSS6LRAK.js +0 -263
- package/dist/chunk-VSSXDLO3.js +0 -467
- package/dist/chunk-VVCKB62D.js +0 -1024
- package/dist/chunk-VVJDYTD4.js +0 -168
- package/dist/chunk-VVXOG3ZC.js +0 -52
- package/dist/chunk-W2EX346X.js +0 -85
- package/dist/chunk-W3R4C7Z2.js +0 -166
- package/dist/chunk-W43FINJV.js +0 -218
- package/dist/chunk-W6PJWSZ6.js +0 -1769
- package/dist/chunk-WCP32H3P.js +0 -2984
- package/dist/chunk-WKELNNIG.js +0 -3690
- package/dist/chunk-WRFXCMRW.js +0 -2591
- package/dist/chunk-WRLEHV4A.js +0 -386
- package/dist/chunk-WTNQHM6Q.js +0 -43
- package/dist/chunk-WTZ6OJUY.js +0 -3070
- package/dist/chunk-WVFMFQRZ.js +0 -256
- package/dist/chunk-WVFMFQRZ.js.map +0 -1
- package/dist/chunk-WYIC3CXE.js +0 -157
- package/dist/chunk-WZABXFUL.js +0 -246
- package/dist/chunk-WZABXFUL.js.map +0 -1
- package/dist/chunk-X3GBTLKD.js +0 -175
- package/dist/chunk-XBOLFS6I.js +0 -532
- package/dist/chunk-XF4UH54P.js +0 -250
- package/dist/chunk-XHPBQTJP.js +0 -1260
- package/dist/chunk-XQ4TJITR.js +0 -270
- package/dist/chunk-XRFMGLCE.js +0 -466
- package/dist/chunk-XV2F7PGS.js +0 -236
- package/dist/chunk-Y2EQTW5Q.js +0 -100
- package/dist/chunk-YAOXCAQD.js +0 -371
- package/dist/chunk-YCDB3HPS.js +0 -137
- package/dist/chunk-YCONEOZQ.js +0 -191
- package/dist/chunk-YG243U6J.js +0 -158
- package/dist/chunk-YGQANOSV.js +0 -113
- package/dist/chunk-YKRWKRNX.js +0 -138
- package/dist/chunk-YKT5NYYJ.js +0 -3996
- package/dist/chunk-YKT5NYYJ.js.map +0 -1
- package/dist/chunk-YLWABUFE.js +0 -406
- package/dist/chunk-YOKIE7NG.js +0 -227
- package/dist/chunk-YRCDL3GO.js +0 -2582
- package/dist/chunk-YVBAYE7Y.js +0 -1236
- package/dist/chunk-YYKPRX4P.js +0 -29
- package/dist/chunk-Z4MW635R.js +0 -849
- package/dist/chunk-Z7IPPKG6.js +0 -403
- package/dist/chunk-ZFGXQ54H.js +0 -114
- package/dist/chunk-ZGBXHHCL.js +0 -373
- package/dist/computer-viewer-AVH5J4TC.js +0 -21
- package/dist/connection-step-up-T2B25VP7.js +0 -148
- package/dist/connection-step-up-T2B25VP7.js.map +0 -1
- package/dist/embedded-new-voice-M6PBWMQZ.js +0 -25
- package/dist/embedded-voice-7USALJKI.js +0 -25
- package/dist/fleet-decision-row-XY6OZPHA.js +0 -361
- package/dist/model-policy-picker-menu-S5RTVLMQ.js +0 -23
- package/dist/payment-page-card-XSY5NO7D.js +0 -227
- package/dist/platform-activity-row-77WER5O3.js +0 -156
- package/dist/queue-surface-implementation-SDV7I32L.js +0 -933
- package/dist/recorder-host-7GNQG6BB.js +0 -80
- package/dist/sandbox-files-JOH2Q57T.js +0 -29
- package/dist/session-connect-cards-HZIR4ZWT.js +0 -28
- package/dist/session-realtime-OPCPTIAP.js +0 -30
- package/dist/timeline-annotation-markers-WXCRA4BY.js +0 -157
- package/dist/timeline-annotation-selection-YBZQNCNX.js +0 -208
- package/dist/timeline-annotations-dialog-4WVXTKFW.js +0 -283
- /package/dist/{browser-viewer-KFMM5S2B.js.map → browser-viewer-TRPZI6NT.js.map} +0 -0
- /package/dist/{chat-interactive-block-5DJ72HU7.js.map → chat-interactive-block-Y4BS4JCM.js.map} +0 -0
- /package/dist/{chunk-CRBHMSAP.js.map → chunk-22E2YJHT.js.map} +0 -0
- /package/dist/{chunk-H3EP6GNA.js.map → chunk-2T6TN2YL.js.map} +0 -0
- /package/dist/{chunk-KBDWMUYA.js.map → chunk-2WNN26NW.js.map} +0 -0
- /package/dist/{chunk-HJ2J2XQI.js.map → chunk-3432A6XB.js.map} +0 -0
- /package/dist/{chunk-DA7XLT5F.js.map → chunk-35U7NSOR.js.map} +0 -0
- /package/dist/{chunk-QAVSUXLA.js.map → chunk-3EPR76WS.js.map} +0 -0
- /package/dist/{chunk-JV2TJLUW.js.map → chunk-3FXXEU5D.js.map} +0 -0
- /package/dist/{chunk-QR72J6WR.js.map → chunk-3MXOPOEU.js.map} +0 -0
- /package/dist/{chunk-76NGRVCY.js.map → chunk-3PKDU4JI.js.map} +0 -0
- /package/dist/{chunk-BO3D22BS.js.map → chunk-3PMO2BIV.js.map} +0 -0
- /package/dist/{chunk-SL4CLUHR.js.map → chunk-3XWHJNFY.js.map} +0 -0
- /package/dist/{chunk-EGD5RPRX.js.map → chunk-45WD2PKE.js.map} +0 -0
- /package/dist/{chunk-KZE7M52Y.js.map → chunk-4H2OWNRA.js.map} +0 -0
- /package/dist/{chunk-VSS6LRAK.js.map → chunk-4HVGOTMU.js.map} +0 -0
- /package/dist/{chunk-4ECOHGUL.js.map → chunk-4JER2ZMV.js.map} +0 -0
- /package/dist/{chunk-HZE6V7GW.js.map → chunk-4LVZ2VOQ.js.map} +0 -0
- /package/dist/{chunk-B6AH43UQ.js.map → chunk-4OGDD2EM.js.map} +0 -0
- /package/dist/{chunk-4UZE7ZT4.js.map → chunk-4PQC6WMF.js.map} +0 -0
- /package/dist/{chunk-KUYQTNVT.js.map → chunk-4UVSWAT3.js.map} +0 -0
- /package/dist/{chunk-BTMSR4OA.js.map → chunk-53A47RBX.js.map} +0 -0
- /package/dist/{chunk-57QWSJLX.js.map → chunk-552KKENW.js.map} +0 -0
- /package/dist/{chunk-TC42NAIJ.js.map → chunk-55F7L6M3.js.map} +0 -0
- /package/dist/{chunk-FXFOKD7A.js.map → chunk-5AHIKB3O.js.map} +0 -0
- /package/dist/{chunk-Q4GB2QU3.js.map → chunk-5N4L5WTE.js.map} +0 -0
- /package/dist/{chunk-4327UGUS.js.map → chunk-5OUJCVZI.js.map} +0 -0
- /package/dist/{chunk-GTGPKGWC.js.map → chunk-5OYXQ7MH.js.map} +0 -0
- /package/dist/{chunk-2ZR75AUO.js.map → chunk-5TAVVMFX.js.map} +0 -0
- /package/dist/{chunk-2YJS75C3.js.map → chunk-5Y3LYRNH.js.map} +0 -0
- /package/dist/{chunk-WRLEHV4A.js.map → chunk-5ZJKKE4T.js.map} +0 -0
- /package/dist/{chunk-2JTZMHQK.js.map → chunk-62DPSQRZ.js.map} +0 -0
- /package/dist/{chunk-MN4LJYKQ.js.map → chunk-64KMWTJ6.js.map} +0 -0
- /package/dist/{chunk-QUXQYYZO.js.map → chunk-6MZBNUS7.js.map} +0 -0
- /package/dist/{chunk-XF4UH54P.js.map → chunk-6YCE4ZC4.js.map} +0 -0
- /package/dist/{chunk-X3GBTLKD.js.map → chunk-6YROWWMX.js.map} +0 -0
- /package/dist/{chunk-YVBAYE7Y.js.map → chunk-73RZ72VU.js.map} +0 -0
- /package/dist/{chunk-5VPQVMJI.js.map → chunk-74KV436L.js.map} +0 -0
- /package/dist/{chunk-CSK2WOOX.js.map → chunk-7HKGLPV5.js.map} +0 -0
- /package/dist/{chunk-XRFMGLCE.js.map → chunk-7JSWODT6.js.map} +0 -0
- /package/dist/{chunk-EFKWOXBP.js.map → chunk-7K3PKWER.js.map} +0 -0
- /package/dist/{chunk-U6XRXK2T.js.map → chunk-7MPWC42V.js.map} +0 -0
- /package/dist/{chunk-QUTMVW4P.js.map → chunk-7REO6FRN.js.map} +0 -0
- /package/dist/{chunk-MDGNCUAC.js.map → chunk-7YMWRNRQ.js.map} +0 -0
- /package/dist/{chunk-JJKUERR4.js.map → chunk-A6H3KJ7G.js.map} +0 -0
- /package/dist/{chunk-W6PJWSZ6.js.map → chunk-AGQIE6YU.js.map} +0 -0
- /package/dist/{chunk-ZGBXHHCL.js.map → chunk-AHQM4I5V.js.map} +0 -0
- /package/dist/{chunk-HLLZPULI.js.map → chunk-AMTRO7XF.js.map} +0 -0
- /package/dist/{chunk-6S2XVKNI.js.map → chunk-AO4LTCG7.js.map} +0 -0
- /package/dist/{chunk-CTBPPPLR.js.map → chunk-APJ22OZV.js.map} +0 -0
- /package/dist/{chunk-TW56PZBB.js.map → chunk-APWL37KW.js.map} +0 -0
- /package/dist/{chunk-DIHPR5KJ.js.map → chunk-AQEJOBQ2.js.map} +0 -0
- /package/dist/{chunk-HD2MCYQF.js.map → chunk-ARKNT6BX.js.map} +0 -0
- /package/dist/{chunk-RSTS3RWN.js.map → chunk-B2IHDMAR.js.map} +0 -0
- /package/dist/{chunk-KZYZ3JHS.js.map → chunk-BCKIV26W.js.map} +0 -0
- /package/dist/{chunk-D5K2BS5Q.js.map → chunk-BE26JUSD.js.map} +0 -0
- /package/dist/{chunk-DRAG2LZP.js.map → chunk-BOVCD6KD.js.map} +0 -0
- /package/dist/{chunk-IIWNSYFA.js.map → chunk-BQWV66A6.js.map} +0 -0
- /package/dist/{chunk-BJ3WRO2K.js.map → chunk-BSQJXGGP.js.map} +0 -0
- /package/dist/{chunk-KLYBSXHE.js.map → chunk-BZY3MEVZ.js.map} +0 -0
- /package/dist/{chunk-MQRUZ2LW.js.map → chunk-C3D3OOEY.js.map} +0 -0
- /package/dist/{chunk-GY6DSWBM.js.map → chunk-CDHYO3DP.js.map} +0 -0
- /package/dist/{chunk-OPCPBLHA.js.map → chunk-CDV5JGVI.js.map} +0 -0
- /package/dist/{chunk-5WJCOFIU.js.map → chunk-CNW45M7G.js.map} +0 -0
- /package/dist/{chunk-A2OMNLDF.js.map → chunk-CUVQ37HB.js.map} +0 -0
- /package/dist/{chunk-XBOLFS6I.js.map → chunk-D32T3IIC.js.map} +0 -0
- /package/dist/{chunk-YAOXCAQD.js.map → chunk-D65BSM64.js.map} +0 -0
- /package/dist/{chunk-CNNOPEAK.js.map → chunk-D7435DWV.js.map} +0 -0
- /package/dist/{chunk-32LD46VC.js.map → chunk-DFH3M7B3.js.map} +0 -0
- /package/dist/{chunk-QIOIJ7K5.js.map → chunk-DGWBQ76M.js.map} +0 -0
- /package/dist/{chunk-PQOVMZI2.js.map → chunk-DHJDTGSJ.js.map} +0 -0
- /package/dist/{chunk-4XQH4XPP.js.map → chunk-DKEFTNCD.js.map} +0 -0
- /package/dist/{chunk-JIZWFW5A.js.map → chunk-DNAF6MT4.js.map} +0 -0
- /package/dist/{chunk-QBJDMSFA.js.map → chunk-E35XY7DS.js.map} +0 -0
- /package/dist/{chunk-NO6VQNWH.js.map → chunk-E5T5WIIP.js.map} +0 -0
- /package/dist/{chunk-W3R4C7Z2.js.map → chunk-EL6ECD34.js.map} +0 -0
- /package/dist/{chunk-VSSXDLO3.js.map → chunk-ELR6ITRC.js.map} +0 -0
- /package/dist/{chunk-7TLYFHMT.js.map → chunk-EPE3V2VE.js.map} +0 -0
- /package/dist/{chunk-2B3RQRNQ.js.map → chunk-EYGQHHVW.js.map} +0 -0
- /package/dist/{chunk-2VK7FJNR.js.map → chunk-EYQEJHYP.js.map} +0 -0
- /package/dist/{chunk-BIXGAYDJ.js.map → chunk-EZTH2XMH.js.map} +0 -0
- /package/dist/{chunk-6PHBW7SS.js.map → chunk-F3QVHVFS.js.map} +0 -0
- /package/dist/{chunk-SOPKVWZJ.js.map → chunk-F5VWPREQ.js.map} +0 -0
- /package/dist/{chunk-YGQANOSV.js.map → chunk-FM7AQUBL.js.map} +0 -0
- /package/dist/{chunk-Y2EQTW5Q.js.map → chunk-FP6BUXJM.js.map} +0 -0
- /package/dist/{chunk-45TILHFZ.js.map → chunk-FVU52L3I.js.map} +0 -0
- /package/dist/{chunk-W43FINJV.js.map → chunk-FZKNXNNO.js.map} +0 -0
- /package/dist/{chunk-XV2F7PGS.js.map → chunk-G3IXJWRY.js.map} +0 -0
- /package/dist/{chunk-DC6KFW2R.js.map → chunk-G6EI2O3N.js.map} +0 -0
- /package/dist/{chunk-2GXAXCS2.js.map → chunk-GB5T6YMZ.js.map} +0 -0
- /package/dist/{chunk-WYIC3CXE.js.map → chunk-GBLD6FOG.js.map} +0 -0
- /package/dist/{chunk-YCDB3HPS.js.map → chunk-GJBFFXCY.js.map} +0 -0
- /package/dist/{chunk-APNPWJCK.js.map → chunk-GJDP2K2S.js.map} +0 -0
- /package/dist/{chunk-GFTV3RR6.js.map → chunk-GP26XTDX.js.map} +0 -0
- /package/dist/{chunk-Q4RJKXQM.js.map → chunk-GTE6WP4N.js.map} +0 -0
- /package/dist/{chunk-UEAAF27Y.js.map → chunk-GWG3OAV7.js.map} +0 -0
- /package/dist/{chunk-6LYBRPUG.js.map → chunk-GXMHTMM6.js.map} +0 -0
- /package/dist/{chunk-NUM3QV66.js.map → chunk-GYRN5O2E.js.map} +0 -0
- /package/dist/{chunk-G4E5WKY7.js.map → chunk-GZX7W2WW.js.map} +0 -0
- /package/dist/{chunk-Z7IPPKG6.js.map → chunk-H3QI2G2B.js.map} +0 -0
- /package/dist/{chunk-Z4MW635R.js.map → chunk-H7D4DVWY.js.map} +0 -0
- /package/dist/{chunk-YCONEOZQ.js.map → chunk-HCDGBBBJ.js.map} +0 -0
- /package/dist/{chunk-DLMYANZX.js.map → chunk-HDSH6MIJ.js.map} +0 -0
- /package/dist/{chunk-KPD6TBO4.js.map → chunk-HOEUPZ6O.js.map} +0 -0
- /package/dist/{chunk-7VDWXFTL.js.map → chunk-HPQRWTQB.js.map} +0 -0
- /package/dist/{chunk-GIHE7U3Y.js.map → chunk-HUKGLWAY.js.map} +0 -0
- /package/dist/{chunk-SYYFA7W7.js.map → chunk-HUTQJY3F.js.map} +0 -0
- /package/dist/{chunk-62T2ZPD5.js.map → chunk-HWOYJOKK.js.map} +0 -0
- /package/dist/{chunk-IN2ZJR2A.js.map → chunk-HZR3WGUP.js.map} +0 -0
- /package/dist/{chunk-YKRWKRNX.js.map → chunk-I7YUDPDR.js.map} +0 -0
- /package/dist/{chunk-VQL7FHIF.js.map → chunk-IDII52M4.js.map} +0 -0
- /package/dist/{chunk-HPYQ5MES.js.map → chunk-IDPWEUM7.js.map} +0 -0
- /package/dist/{chunk-JL4PMUDG.js.map → chunk-IEWQFGEC.js.map} +0 -0
- /package/dist/{chunk-MRJFF5KY.js.map → chunk-IMTACEXF.js.map} +0 -0
- /package/dist/{chunk-2LRJ32SO.js.map → chunk-IVWT6M6N.js.map} +0 -0
- /package/dist/{chunk-7RRDXPNC.js.map → chunk-JEUPIHIP.js.map} +0 -0
- /package/dist/{chunk-VVJDYTD4.js.map → chunk-JF4WX3GQ.js.map} +0 -0
- /package/dist/{chunk-WRFXCMRW.js.map → chunk-JJPYXUKC.js.map} +0 -0
- /package/dist/{chunk-WTNQHM6Q.js.map → chunk-JNHWTYDD.js.map} +0 -0
- /package/dist/{chunk-RGCCRYTY.js.map → chunk-JP7AOJWD.js.map} +0 -0
- /package/dist/{chunk-TJBTP6LH.js.map → chunk-JTWT2WQA.js.map} +0 -0
- /package/dist/{chunk-HJ2CDFZX.js.map → chunk-JW3WIHWO.js.map} +0 -0
- /package/dist/{chunk-MITT6IZG.js.map → chunk-JW7RJMEZ.js.map} +0 -0
- /package/dist/{chunk-CTOLX2EW.js.map → chunk-K76PXR3O.js.map} +0 -0
- /package/dist/{chunk-CX3Z7W5Y.js.map → chunk-KCNIQN6V.js.map} +0 -0
- /package/dist/{chunk-2YNEUYWM.js.map → chunk-KH6KHYST.js.map} +0 -0
- /package/dist/{chunk-LKF6IPFC.js.map → chunk-KK4SEN7N.js.map} +0 -0
- /package/dist/{chunk-63AVTSUI.js.map → chunk-KOKRGAAI.js.map} +0 -0
- /package/dist/{chunk-F2JKNL73.js.map → chunk-KQFNTGAF.js.map} +0 -0
- /package/dist/{chunk-SHVW3C3Y.js.map → chunk-KRLNC6TH.js.map} +0 -0
- /package/dist/{chunk-MFLU3466.js.map → chunk-KYDLVMKA.js.map} +0 -0
- /package/dist/{chunk-UAKG7GLE.js.map → chunk-KZQDP2JM.js.map} +0 -0
- /package/dist/{chunk-FX343J2L.js.map → chunk-L2EZ2HOX.js.map} +0 -0
- /package/dist/{chunk-GGBMQNAB.js.map → chunk-L2UAFR2D.js.map} +0 -0
- /package/dist/{chunk-GT3FJVU6.js.map → chunk-L4R7ORMD.js.map} +0 -0
- /package/dist/{chunk-YOKIE7NG.js.map → chunk-LCLWN64E.js.map} +0 -0
- /package/dist/{chunk-PPQJIVGM.js.map → chunk-LFQI2C46.js.map} +0 -0
- /package/dist/{chunk-KF65UG2L.js.map → chunk-LLYX4F5A.js.map} +0 -0
- /package/dist/{chunk-PYU7CLEG.js.map → chunk-LQX5QCDS.js.map} +0 -0
- /package/dist/{chunk-Q4ZNRQKH.js.map → chunk-LRMHASG2.js.map} +0 -0
- /package/dist/{chunk-MO3XJQN2.js.map → chunk-M5FX5KH5.js.map} +0 -0
- /package/dist/{chunk-ST3H53IJ.js.map → chunk-MLOTUQJJ.js.map} +0 -0
- /package/dist/{chunk-A6Q6EUBR.js.map → chunk-MPUKGKXZ.js.map} +0 -0
- /package/dist/{chunk-ONF5M5GP.js.map → chunk-MS6LW4VU.js.map} +0 -0
- /package/dist/{chunk-NUF43R2F.js.map → chunk-MXPW4F74.js.map} +0 -0
- /package/dist/{chunk-MPP6BEAN.js.map → chunk-MZ7GJX5S.js.map} +0 -0
- /package/dist/{chunk-XHPBQTJP.js.map → chunk-N5OUIUYD.js.map} +0 -0
- /package/dist/{chunk-EAXZSBWV.js.map → chunk-N6FNORC7.js.map} +0 -0
- /package/dist/{chunk-4K5UVYZQ.js.map → chunk-NALVKY4U.js.map} +0 -0
- /package/dist/{chunk-L7T7M2P3.js.map → chunk-NJ77ZL5T.js.map} +0 -0
- /package/dist/{chunk-XQ4TJITR.js.map → chunk-NM2DNJDJ.js.map} +0 -0
- /package/dist/{chunk-VATOL3OZ.js.map → chunk-NNKRRF7E.js.map} +0 -0
- /package/dist/{chunk-4AUSS7CX.js.map → chunk-NP5UFWU4.js.map} +0 -0
- /package/dist/{chunk-HFROJDFQ.js.map → chunk-NV3AEIFO.js.map} +0 -0
- /package/dist/{chunk-PC3FWPOP.js.map → chunk-O6JDF7KH.js.map} +0 -0
- /package/dist/{chunk-OROXCA6L.js.map → chunk-OERZH3J4.js.map} +0 -0
- /package/dist/{chunk-V77BSX2F.js.map → chunk-OKHWTWWU.js.map} +0 -0
- /package/dist/{chunk-C22UPHA2.js.map → chunk-OLAIUVGT.js.map} +0 -0
- /package/dist/{chunk-C2F6SKOS.js.map → chunk-OO36IUMS.js.map} +0 -0
- /package/dist/{chunk-IZA2KBYK.js.map → chunk-OVDK7K2Z.js.map} +0 -0
- /package/dist/{chunk-FQ33JHJN.js.map → chunk-OX5ZCHZQ.js.map} +0 -0
- /package/dist/{chunk-FY42DW2R.js.map → chunk-P6LLCGPO.js.map} +0 -0
- /package/dist/{chunk-LX5IEXDF.js.map → chunk-PA2CUHTD.js.map} +0 -0
- /package/dist/{chunk-HE4VN5D3.js.map → chunk-PB4CQIRA.js.map} +0 -0
- /package/dist/{chunk-M722GGD3.js.map → chunk-PBV2P632.js.map} +0 -0
- /package/dist/{chunk-KTGKGHEA.js.map → chunk-PCSRHFRF.js.map} +0 -0
- /package/dist/{chunk-VFQZPHZR.js.map → chunk-PEPWW5BC.js.map} +0 -0
- /package/dist/{chunk-6CDBX3XG.js.map → chunk-PMBZMVKE.js.map} +0 -0
- /package/dist/{chunk-4Z7BPBS7.js.map → chunk-PP32RE26.js.map} +0 -0
- /package/dist/{chunk-6VEIDSF4.js.map → chunk-PTXAPI3Q.js.map} +0 -0
- /package/dist/{chunk-OTMJS3FV.js.map → chunk-PULNNF7G.js.map} +0 -0
- /package/dist/{chunk-YG243U6J.js.map → chunk-Q6KNROUT.js.map} +0 -0
- /package/dist/{chunk-EZ5ZBOGQ.js.map → chunk-QGJIFIKN.js.map} +0 -0
- /package/dist/{chunk-VFZJV26C.js.map → chunk-QKKKORGL.js.map} +0 -0
- /package/dist/{chunk-W2EX346X.js.map → chunk-QKUMMG6P.js.map} +0 -0
- /package/dist/{chunk-BVZYHORS.js.map → chunk-QNOWKKZ4.js.map} +0 -0
- /package/dist/{chunk-3FVVZW7J.js.map → chunk-QSWD3AHE.js.map} +0 -0
- /package/dist/{chunk-7FFZLLCH.js.map → chunk-QZ4U2VL5.js.map} +0 -0
- /package/dist/{chunk-IIMRBCA4.js.map → chunk-QZJNCLHV.js.map} +0 -0
- /package/dist/{chunk-6D3D2JWY.js.map → chunk-R6CFPY3F.js.map} +0 -0
- /package/dist/{chunk-YLWABUFE.js.map → chunk-R6QRUYUH.js.map} +0 -0
- /package/dist/{chunk-WCP32H3P.js.map → chunk-RE3GAQI5.js.map} +0 -0
- /package/dist/{chunk-JG7MEMJP.js.map → chunk-RFHUVPFA.js.map} +0 -0
- /package/dist/{chunk-WKELNNIG.js.map → chunk-RH45HT5T.js.map} +0 -0
- /package/dist/{chunk-S4LRL5BA.js.map → chunk-RJNQTZ5O.js.map} +0 -0
- /package/dist/{chunk-URSNCM57.js.map → chunk-S2BJTAAB.js.map} +0 -0
- /package/dist/{chunk-AJSRYRJS.js.map → chunk-S56PWXIX.js.map} +0 -0
- /package/dist/{chunk-FAB5SXNO.js.map → chunk-S6FFDIHD.js.map} +0 -0
- /package/dist/{chunk-56NHT2TZ.js.map → chunk-S6MAMIK2.js.map} +0 -0
- /package/dist/{chunk-OKI45WHM.js.map → chunk-SERTO6H6.js.map} +0 -0
- /package/dist/{chunk-I5DW76GB.js.map → chunk-STOOH7EI.js.map} +0 -0
- /package/dist/{chunk-I7MZOZGC.js.map → chunk-SWSTEUXX.js.map} +0 -0
- /package/dist/{chunk-JFEAJRG6.js.map → chunk-SWZN7NNZ.js.map} +0 -0
- /package/dist/{chunk-ARNQH2XE.js.map → chunk-SYDF57KS.js.map} +0 -0
- /package/dist/{chunk-YYKPRX4P.js.map → chunk-T275CUVD.js.map} +0 -0
- /package/dist/{chunk-OCS3KIYC.js.map → chunk-T4OT7QWP.js.map} +0 -0
- /package/dist/{chunk-YRCDL3GO.js.map → chunk-TCSRY2NP.js.map} +0 -0
- /package/dist/{chunk-ELC2ZPHI.js.map → chunk-TCX5OA2X.js.map} +0 -0
- /package/dist/{chunk-NJVHMK5R.js.map → chunk-TDW5CSO5.js.map} +0 -0
- /package/dist/{chunk-MCPKUVMQ.js.map → chunk-TGG3ODCS.js.map} +0 -0
- /package/dist/{chunk-Q2N5UR7Q.js.map → chunk-TILSTYUC.js.map} +0 -0
- /package/dist/{chunk-4FKE42TW.js.map → chunk-TJ5DYWXU.js.map} +0 -0
- /package/dist/{chunk-TQQALBLU.js.map → chunk-TNRI4ZE6.js.map} +0 -0
- /package/dist/{chunk-LLU7VKCZ.js.map → chunk-TPIFVUMF.js.map} +0 -0
- /package/dist/{chunk-UITWSZH3.js.map → chunk-TSW6OF22.js.map} +0 -0
- /package/dist/{chunk-UB4GKFCI.js.map → chunk-TTSTBHGR.js.map} +0 -0
- /package/dist/{chunk-HVGM5IME.js.map → chunk-U3JYAWMR.js.map} +0 -0
- /package/dist/{chunk-GGU7KV4G.js.map → chunk-U7ODSHA5.js.map} +0 -0
- /package/dist/{chunk-NW4RPGET.js.map → chunk-UEGEPRNP.js.map} +0 -0
- /package/dist/{chunk-2DA7DTHO.js.map → chunk-UGIA2YEJ.js.map} +0 -0
- /package/dist/{chunk-5AGRFQSH.js.map → chunk-UHLKKDNF.js.map} +0 -0
- /package/dist/{chunk-KJI2DVSO.js.map → chunk-ULVXKIPX.js.map} +0 -0
- /package/dist/{chunk-56KVDNOS.js.map → chunk-USUDKZ5G.js.map} +0 -0
- /package/dist/{chunk-CC4JBFWY.js.map → chunk-UVO6I2F6.js.map} +0 -0
- /package/dist/{chunk-BR62BHVY.js.map → chunk-V6NVG4K2.js.map} +0 -0
- /package/dist/{chunk-Q7QXSQ46.js.map → chunk-VCMQFD3G.js.map} +0 -0
- /package/dist/{chunk-CVDY7P3E.js.map → chunk-VKPBDNIO.js.map} +0 -0
- /package/dist/{chunk-L6WVCO6D.js.map → chunk-VLDKWGHD.js.map} +0 -0
- /package/dist/{chunk-IUPIJWFK.js.map → chunk-VM2NA2EL.js.map} +0 -0
- /package/dist/{chunk-6JGMBTXP.js.map → chunk-VMZTCVEL.js.map} +0 -0
- /package/dist/{chunk-CG2HT7TI.js.map → chunk-VQH5AXZY.js.map} +0 -0
- /package/dist/{chunk-ZFGXQ54H.js.map → chunk-VTBTW6N4.js.map} +0 -0
- /package/dist/{chunk-VJZPVP6C.js.map → chunk-VV7PLDX4.js.map} +0 -0
- /package/dist/{chunk-LWEJGMVO.js.map → chunk-VYGGLH5H.js.map} +0 -0
- /package/dist/{chunk-KFYLTQGK.js.map → chunk-VYQHHTQ4.js.map} +0 -0
- /package/dist/{chunk-IB2EX6GX.js.map → chunk-VYSGRD2W.js.map} +0 -0
- /package/dist/{chunk-5JMX5FRF.js.map → chunk-W4W63LTP.js.map} +0 -0
- /package/dist/{chunk-HRLJNDDC.js.map → chunk-WHTRR66J.js.map} +0 -0
- /package/dist/{chunk-BWBBS6HJ.js.map → chunk-WICIQFHJ.js.map} +0 -0
- /package/dist/{chunk-CDB66JAO.js.map → chunk-WJYYMCCC.js.map} +0 -0
- /package/dist/{chunk-TBUWK3RP.js.map → chunk-WSJOWQJE.js.map} +0 -0
- /package/dist/{chunk-C2EERTYX.js.map → chunk-WYDUXZ2R.js.map} +0 -0
- /package/dist/{chunk-E2SGFW2B.js.map → chunk-X62CN4YR.js.map} +0 -0
- /package/dist/{chunk-VVCKB62D.js.map → chunk-XFQHKMO6.js.map} +0 -0
- /package/dist/{chunk-IZZINUFM.js.map → chunk-XGJ7XZHS.js.map} +0 -0
- /package/dist/{chunk-P5FLGDXW.js.map → chunk-XJFJNOEV.js.map} +0 -0
- /package/dist/{chunk-UQ67SEGH.js.map → chunk-XKJLHMXZ.js.map} +0 -0
- /package/dist/{chunk-VEJG6GQQ.js.map → chunk-XLFPJVQS.js.map} +0 -0
- /package/dist/{chunk-RDHK2NYW.js.map → chunk-XM4ZLZFW.js.map} +0 -0
- /package/dist/{chunk-6TWS6AXT.js.map → chunk-Y2GAWEJD.js.map} +0 -0
- /package/dist/{chunk-MYDFABO6.js.map → chunk-Y3A74SVK.js.map} +0 -0
- /package/dist/{chunk-C625ODRG.js.map → chunk-YANEVGI3.js.map} +0 -0
- /package/dist/{chunk-OXM267RC.js.map → chunk-YHHSO5QR.js.map} +0 -0
- /package/dist/{chunk-VVXOG3ZC.js.map → chunk-YOSOCHCB.js.map} +0 -0
- /package/dist/{chunk-HHFFPE67.js.map → chunk-YP4SNX4P.js.map} +0 -0
- /package/dist/{chunk-QCB3WNCA.js.map → chunk-YQH6AMIH.js.map} +0 -0
- /package/dist/{chunk-NZBZLY7H.js.map → chunk-YRWL2IAE.js.map} +0 -0
- /package/dist/{chunk-LYEALWBN.js.map → chunk-YTWRQ3WK.js.map} +0 -0
- /package/dist/{chunk-7V2CQLTN.js.map → chunk-YV5GGSLK.js.map} +0 -0
- /package/dist/{chunk-RY7YRYVT.js.map → chunk-YXUDK37V.js.map} +0 -0
- /package/dist/{chunk-MUB44LD3.js.map → chunk-YYM5TSCR.js.map} +0 -0
- /package/dist/{chunk-JTWK3VE7.js.map → chunk-ZG2CKFQF.js.map} +0 -0
- /package/dist/{chunk-5UTHPGFF.js.map → chunk-ZGJXO2HH.js.map} +0 -0
- /package/dist/{chunk-WTZ6OJUY.js.map → chunk-ZGV76PZ4.js.map} +0 -0
- /package/dist/{chunk-A3QEJ2IZ.js.map → chunk-ZOBUR2VC.js.map} +0 -0
- /package/dist/{computer-viewer-AVH5J4TC.js.map → computer-viewer-S6AL3XDT.js.map} +0 -0
- /package/dist/{embedded-new-voice-M6PBWMQZ.js.map → embedded-new-voice-T3BXRYJX.js.map} +0 -0
- /package/dist/{embedded-voice-7USALJKI.js.map → embedded-voice-ZJXMF3RP.js.map} +0 -0
- /package/dist/{fleet-decision-row-XY6OZPHA.js.map → fleet-decision-row-AUCMLBCV.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-S5RTVLMQ.js.map → model-policy-picker-menu-TO57YUQ6.js.map} +0 -0
- /package/dist/{payment-page-card-XSY5NO7D.js.map → payment-page-card-DFGDAMTG.js.map} +0 -0
- /package/dist/{platform-activity-row-77WER5O3.js.map → platform-activity-row-ZMBEJGXN.js.map} +0 -0
- /package/dist/{queue-surface-implementation-SDV7I32L.js.map → queue-surface-implementation-KDK5CYH6.js.map} +0 -0
- /package/dist/{recorder-host-7GNQG6BB.js.map → recorder-host-3HLYRL4H.js.map} +0 -0
- /package/dist/{sandbox-files-JOH2Q57T.js.map → sandbox-files-UOZ4OJZU.js.map} +0 -0
- /package/dist/{session-connect-cards-HZIR4ZWT.js.map → session-connect-cards-VZIYLH45.js.map} +0 -0
- /package/dist/{session-realtime-OPCPTIAP.js.map → session-realtime-2ZGJWVZP.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-WXCRA4BY.js.map → timeline-annotation-markers-KBTFWLME.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-YBZQNCNX.js.map → timeline-annotation-selection-VI4YSDR5.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-4WVXTKFW.js.map → timeline-annotations-dialog-4PLWNLRB.js.map} +0 -0
package/dist/chunk-XHPBQTJP.js
DELETED
|
@@ -1,1260 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
useUnicodeFallbackFonts
|
|
4
|
-
} from "./chunk-ACXGUCJX.js";
|
|
5
|
-
import {
|
|
6
|
-
PierreDiff
|
|
7
|
-
} from "./chunk-W43FINJV.js";
|
|
8
|
-
import {
|
|
9
|
-
useThemeType
|
|
10
|
-
} from "./chunk-B27E3V37.js";
|
|
11
|
-
import {
|
|
12
|
-
sandboxAcceptsLiveIo
|
|
13
|
-
} from "./chunk-QV3DJVRZ.js";
|
|
14
|
-
import {
|
|
15
|
-
DropdownMenu,
|
|
16
|
-
DropdownMenuContent,
|
|
17
|
-
DropdownMenuItem,
|
|
18
|
-
DropdownMenuRadioGroup,
|
|
19
|
-
DropdownMenuRadioItem,
|
|
20
|
-
DropdownMenuSeparator,
|
|
21
|
-
DropdownMenuTrigger
|
|
22
|
-
} from "./chunk-GM3LG6BG.js";
|
|
23
|
-
import {
|
|
24
|
-
connectionStatusForState
|
|
25
|
-
} from "./chunk-MSXVGGFQ.js";
|
|
26
|
-
import {
|
|
27
|
-
cn
|
|
28
|
-
} from "./chunk-TXS65BB2.js";
|
|
29
|
-
import {
|
|
30
|
-
useOpenGeniText
|
|
31
|
-
} from "./chunk-PVGD2RAV.js";
|
|
32
|
-
|
|
33
|
-
// src/hooks/use-machine-chip.ts
|
|
34
|
-
import { useMemo } from "react";
|
|
35
|
-
function formatAsOf(t, capturedAt, now) {
|
|
36
|
-
const then = Date.parse(capturedAt);
|
|
37
|
-
if (Number.isNaN(then)) return "recently";
|
|
38
|
-
const seconds = Math.max(0, Math.round((now - then) / 1e3));
|
|
39
|
-
if (seconds < 45) return t("hooks.useMachineChip.justNow");
|
|
40
|
-
const minutes = Math.round(seconds / 60);
|
|
41
|
-
if (minutes < 60) return `${minutes}m ago`;
|
|
42
|
-
const hours = Math.round(minutes / 60);
|
|
43
|
-
if (hours < 24) return `${hours}h ago`;
|
|
44
|
-
const days = Math.round(hours / 24);
|
|
45
|
-
return `${days}d ago`;
|
|
46
|
-
}
|
|
47
|
-
function deriveMachineChip(t, input) {
|
|
48
|
-
const now = input.now ?? Date.now();
|
|
49
|
-
const asOf = input.capturedAt ?? null;
|
|
50
|
-
const managedRestingLabel = asOf ? t("hooks.useMachineChip.sleepingSavedAsof", { asOf: formatAsOf(t, asOf, now) }) : t("hooks.useMachineChip.sleeping");
|
|
51
|
-
const offlineLabel = t("hooks.useMachineChip.offline");
|
|
52
|
-
const selfhostedOnline = input.activeIsSelfhosted === true && input.activeMachineState != null && connectionStatusForState(input.activeMachineState) === "online";
|
|
53
|
-
if (sandboxAcceptsLiveIo(input.liveness) || selfhostedOnline) {
|
|
54
|
-
return { state: "live", label: t("hooks.useMachineChip.live"), asOf: null };
|
|
55
|
-
}
|
|
56
|
-
const selfhostedOffline = input.activeIsSelfhosted === true && input.activeMachineState === "offline";
|
|
57
|
-
if (input.capabilitiesState === "error") {
|
|
58
|
-
return {
|
|
59
|
-
state: "offline",
|
|
60
|
-
label: input.activeIsSelfhosted === true ? offlineLabel : managedRestingLabel,
|
|
61
|
-
asOf,
|
|
62
|
-
...input.activeIsSelfhosted === true ? { unreachable: true } : {}
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
const machineWarming = input.activeMachineState === "reconnecting" || input.activeMachineState === "enrolling";
|
|
66
|
-
if (!selfhostedOffline && (input.capabilitiesState === "negotiating" || input.wantsWarm === true || machineWarming)) {
|
|
67
|
-
return { state: "waking", label: t("hooks.useMachineChip.waking"), asOf };
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
state: "offline",
|
|
71
|
-
label: input.activeIsSelfhosted === true ? offlineLabel : managedRestingLabel,
|
|
72
|
-
asOf,
|
|
73
|
-
...selfhostedOffline ? { unreachable: true } : {}
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function useMachineChip(input) {
|
|
77
|
-
const t = useOpenGeniText();
|
|
78
|
-
const {
|
|
79
|
-
liveness,
|
|
80
|
-
capabilitiesState,
|
|
81
|
-
activeMachineState,
|
|
82
|
-
activeIsSelfhosted,
|
|
83
|
-
wantsWarm,
|
|
84
|
-
capturedAt,
|
|
85
|
-
now
|
|
86
|
-
} = input;
|
|
87
|
-
return useMemo(
|
|
88
|
-
() => deriveMachineChip(t, {
|
|
89
|
-
liveness,
|
|
90
|
-
capabilitiesState,
|
|
91
|
-
activeMachineState,
|
|
92
|
-
activeIsSelfhosted,
|
|
93
|
-
wantsWarm,
|
|
94
|
-
capturedAt,
|
|
95
|
-
now
|
|
96
|
-
}),
|
|
97
|
-
// Depend on the primitive fields (not the object identity) so a caller passing
|
|
98
|
-
// a fresh object each render doesn't recompute needlessly.
|
|
99
|
-
[
|
|
100
|
-
liveness,
|
|
101
|
-
capabilitiesState,
|
|
102
|
-
activeMachineState,
|
|
103
|
-
activeIsSelfhosted,
|
|
104
|
-
wantsWarm,
|
|
105
|
-
capturedAt,
|
|
106
|
-
now,
|
|
107
|
-
t
|
|
108
|
-
]
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// src/components/workbench-changes.tsx
|
|
113
|
-
import {
|
|
114
|
-
ArrowUpRightIcon,
|
|
115
|
-
ChevronDownIcon,
|
|
116
|
-
ChevronRightIcon as ChevronRightIcon2,
|
|
117
|
-
Columns2Icon,
|
|
118
|
-
EllipsisIcon,
|
|
119
|
-
FileWarningIcon,
|
|
120
|
-
GitPullRequestArrowIcon,
|
|
121
|
-
HistoryIcon,
|
|
122
|
-
Rows2Icon
|
|
123
|
-
} from "lucide-react";
|
|
124
|
-
import {
|
|
125
|
-
Component,
|
|
126
|
-
memo as memo2,
|
|
127
|
-
useCallback as useCallback2,
|
|
128
|
-
useEffect as useEffect3,
|
|
129
|
-
useId,
|
|
130
|
-
useLayoutEffect,
|
|
131
|
-
useMemo as useMemo4,
|
|
132
|
-
useRef as useRef2,
|
|
133
|
-
useState as useState3
|
|
134
|
-
} from "react";
|
|
135
|
-
import { VList } from "virtua";
|
|
136
|
-
|
|
137
|
-
// src/hooks/use-windowed-sections.ts
|
|
138
|
-
import { useCallback, useEffect, useMemo as useMemo2, useRef, useState } from "react";
|
|
139
|
-
function computeWindowRange(heights, scrollTop, viewport, overscan) {
|
|
140
|
-
const n = heights.length;
|
|
141
|
-
if (n === 0) return { start: 0, end: 0 };
|
|
142
|
-
const top = Math.max(scrollTop, 0);
|
|
143
|
-
const bottom = top + Math.max(viewport, 0);
|
|
144
|
-
let firstVisible = -1;
|
|
145
|
-
let lastVisible = -1;
|
|
146
|
-
let acc = 0;
|
|
147
|
-
let anchor = 0;
|
|
148
|
-
for (let i = 0; i < n; i++) {
|
|
149
|
-
const secTop = acc;
|
|
150
|
-
const secBottom = secTop + Math.max(heights[i] ?? 0, 0);
|
|
151
|
-
if (secTop <= top) anchor = i;
|
|
152
|
-
if (secBottom > top && secTop < bottom) {
|
|
153
|
-
if (firstVisible === -1) firstVisible = i;
|
|
154
|
-
lastVisible = i;
|
|
155
|
-
}
|
|
156
|
-
acc = secBottom;
|
|
157
|
-
}
|
|
158
|
-
if (firstVisible === -1) {
|
|
159
|
-
firstVisible = anchor;
|
|
160
|
-
lastVisible = anchor;
|
|
161
|
-
}
|
|
162
|
-
return {
|
|
163
|
-
start: Math.max(0, firstVisible - overscan),
|
|
164
|
-
end: Math.min(n, lastVisible + 1 + overscan)
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
function useWindowedSections(opts) {
|
|
168
|
-
const { count, estimateHeight, overscan = 3 } = opts;
|
|
169
|
-
const scrollRef = useRef(null);
|
|
170
|
-
const [heights, setHeights] = useState(
|
|
171
|
-
() => Array.from({ length: count }, (_, i) => estimateHeight(i))
|
|
172
|
-
);
|
|
173
|
-
useEffect(() => {
|
|
174
|
-
setHeights((prev) => {
|
|
175
|
-
const next = Array.from({ length: count }, (_, i) => estimateHeight(i));
|
|
176
|
-
return prev.length === next.length && prev.every((height, index) => height === next[index]) ? prev : next;
|
|
177
|
-
});
|
|
178
|
-
}, [count, estimateHeight]);
|
|
179
|
-
const heightsRef = useRef(heights);
|
|
180
|
-
heightsRef.current = heights;
|
|
181
|
-
const [range, setRange] = useState(() => ({
|
|
182
|
-
start: 0,
|
|
183
|
-
end: Math.min(count, overscan + 1)
|
|
184
|
-
}));
|
|
185
|
-
const recompute = useCallback(() => {
|
|
186
|
-
const el = scrollRef.current;
|
|
187
|
-
if (!el) return;
|
|
188
|
-
const next = computeWindowRange(heightsRef.current, el.scrollTop, el.clientHeight, overscan);
|
|
189
|
-
setRange((prev) => prev.start === next.start && prev.end === next.end ? prev : next);
|
|
190
|
-
}, [overscan]);
|
|
191
|
-
useEffect(() => {
|
|
192
|
-
const el = scrollRef.current;
|
|
193
|
-
if (!el) return;
|
|
194
|
-
let raf = 0;
|
|
195
|
-
const onScroll = () => {
|
|
196
|
-
if (raf) return;
|
|
197
|
-
raf = typeof requestAnimationFrame === "function" ? requestAnimationFrame(() => {
|
|
198
|
-
raf = 0;
|
|
199
|
-
recompute();
|
|
200
|
-
}) : (recompute(), 0);
|
|
201
|
-
};
|
|
202
|
-
el.addEventListener("scroll", onScroll, { passive: true });
|
|
203
|
-
const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(() => recompute()) : null;
|
|
204
|
-
ro?.observe(el);
|
|
205
|
-
recompute();
|
|
206
|
-
return () => {
|
|
207
|
-
el.removeEventListener("scroll", onScroll);
|
|
208
|
-
ro?.disconnect();
|
|
209
|
-
if (raf && typeof cancelAnimationFrame === "function") cancelAnimationFrame(raf);
|
|
210
|
-
};
|
|
211
|
-
}, [recompute, count]);
|
|
212
|
-
const measure = useCallback((index, height) => {
|
|
213
|
-
if (height <= 0) return;
|
|
214
|
-
setHeights((prev) => {
|
|
215
|
-
if (Math.abs((prev[index] ?? 0) - height) < 1) return prev;
|
|
216
|
-
const next = prev.slice();
|
|
217
|
-
next[index] = height;
|
|
218
|
-
return next;
|
|
219
|
-
});
|
|
220
|
-
}, []);
|
|
221
|
-
const offsets = useMemo2(() => {
|
|
222
|
-
const out = new Array(count + 1);
|
|
223
|
-
out[0] = 0;
|
|
224
|
-
for (let i = 0; i < count; i++) out[i + 1] = (out[i] ?? 0) + Math.max(heights[i] ?? 0, 0);
|
|
225
|
-
return out;
|
|
226
|
-
}, [heights, count]);
|
|
227
|
-
useEffect(() => {
|
|
228
|
-
recompute();
|
|
229
|
-
}, [offsets, recompute]);
|
|
230
|
-
const scrollToIndex = useCallback(
|
|
231
|
-
(index) => {
|
|
232
|
-
const el = scrollRef.current;
|
|
233
|
-
if (!el) return;
|
|
234
|
-
const clamped = Math.max(0, Math.min(count - 1, index));
|
|
235
|
-
el.scrollTop = offsets[clamped] ?? 0;
|
|
236
|
-
},
|
|
237
|
-
[offsets, count]
|
|
238
|
-
);
|
|
239
|
-
return {
|
|
240
|
-
scrollRef,
|
|
241
|
-
range,
|
|
242
|
-
offsets,
|
|
243
|
-
totalHeight: offsets[count] ?? 0,
|
|
244
|
-
measure,
|
|
245
|
-
scrollToIndex
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// src/components/workbench-changes-nav.tsx
|
|
250
|
-
import {
|
|
251
|
-
ChevronRightIcon,
|
|
252
|
-
FileCode2Icon,
|
|
253
|
-
FileCogIcon,
|
|
254
|
-
FileIcon,
|
|
255
|
-
FileJsonIcon,
|
|
256
|
-
FileTextIcon,
|
|
257
|
-
FlaskConicalIcon,
|
|
258
|
-
ImageIcon,
|
|
259
|
-
PaletteIcon
|
|
260
|
-
} from "lucide-react";
|
|
261
|
-
import { memo, useEffect as useEffect2, useMemo as useMemo3, useState as useState2 } from "react";
|
|
262
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
263
|
-
function splitFilePath(path) {
|
|
264
|
-
const slash = path.lastIndexOf("/");
|
|
265
|
-
return slash >= 0 ? { name: path.slice(slash + 1), dir: path.slice(0, slash) } : { name: path, dir: "" };
|
|
266
|
-
}
|
|
267
|
-
var CODE = /\.(tsx?|jsx?|mjs|cjs|py|go|rs|rb|java|kt|swift|c|cc|cpp|h|hpp|cs|php|sh|sql|vue|svelte|css|scss|html)$/i;
|
|
268
|
-
var CONFIG = /(\.(ya?ml|toml|ini|tf|tfvars|env|lock|conf)|Dockerfile|Makefile)$/i;
|
|
269
|
-
var IMAGE = /\.(png|jpe?g|gif|webp|svg|ico|bmp|avif)$/i;
|
|
270
|
-
var TEST = /(\.|\/|^)(test|spec)s?(\.|\/)|__tests__\//i;
|
|
271
|
-
var STYLE = /\.(css|scss|sass|less)$/i;
|
|
272
|
-
var tone = (hue) => `color-mix(in oklch, ${hue} 72%, var(--og-color-fg))`;
|
|
273
|
-
var TONE = {
|
|
274
|
-
code: tone("oklch(0.68 0.13 250)"),
|
|
275
|
-
test: tone("oklch(0.7 0.13 165)"),
|
|
276
|
-
json: tone("oklch(0.75 0.14 75)"),
|
|
277
|
-
style: tone("oklch(0.68 0.14 330)"),
|
|
278
|
-
config: tone("oklch(0.68 0.11 295)"),
|
|
279
|
-
image: tone("oklch(0.7 0.13 25)")
|
|
280
|
-
};
|
|
281
|
-
function FileGlyph({ path, className }) {
|
|
282
|
-
const [Icon, color] = IMAGE.test(path) ? [ImageIcon, TONE.image] : /\.json$/i.test(path) ? [FileJsonIcon, TONE.json] : STYLE.test(path) ? [PaletteIcon, TONE.style] : TEST.test(path) && CODE.test(path) ? [FlaskConicalIcon, TONE.test] : CODE.test(path) ? [FileCode2Icon, TONE.code] : CONFIG.test(path) ? [FileCogIcon, TONE.config] : /\.(md|mdx|txt|rst)$/i.test(path) ? [FileTextIcon, void 0] : [FileIcon, void 0];
|
|
283
|
-
return /* @__PURE__ */ jsx(
|
|
284
|
-
Icon,
|
|
285
|
-
{
|
|
286
|
-
"aria-hidden": true,
|
|
287
|
-
"data-file-glyph": "",
|
|
288
|
-
className: cn("size-3.5 shrink-0 text-og-fg-subtle", className),
|
|
289
|
-
...color ? { style: { color } } : {}
|
|
290
|
-
}
|
|
291
|
-
);
|
|
292
|
-
}
|
|
293
|
-
var ChangeBar = memo(function ChangeBar2({
|
|
294
|
-
additions,
|
|
295
|
-
deletions,
|
|
296
|
-
className
|
|
297
|
-
}) {
|
|
298
|
-
const total = additions + deletions;
|
|
299
|
-
const fill = total === 0 ? 0 : Math.min(1, Math.log10(total + 1) / Math.log10(400));
|
|
300
|
-
const added = total === 0 ? 0 : additions / total * fill * 100;
|
|
301
|
-
const removed = total === 0 ? 0 : deletions / total * fill * 100;
|
|
302
|
-
return /* @__PURE__ */ jsxs(
|
|
303
|
-
"span",
|
|
304
|
-
{
|
|
305
|
-
"aria-hidden": true,
|
|
306
|
-
title: `+${additions} \u2212${deletions}`,
|
|
307
|
-
"data-change-bar": "",
|
|
308
|
-
className: cn(
|
|
309
|
-
"relative inline-flex h-[3px] w-7 shrink-0 gap-px overflow-hidden rounded-full bg-og-surface-2/70",
|
|
310
|
-
className
|
|
311
|
-
),
|
|
312
|
-
children: [
|
|
313
|
-
/* @__PURE__ */ jsx("span", { className: "h-full rounded-full bg-og-status-idle/85", style: { width: `${added}%` } }),
|
|
314
|
-
/* @__PURE__ */ jsx(
|
|
315
|
-
"span",
|
|
316
|
-
{
|
|
317
|
-
className: "h-full rounded-full bg-og-status-failed/85",
|
|
318
|
-
style: { width: `${removed}%` }
|
|
319
|
-
}
|
|
320
|
-
)
|
|
321
|
-
]
|
|
322
|
-
}
|
|
323
|
-
);
|
|
324
|
-
});
|
|
325
|
-
function FileChangeWords({
|
|
326
|
-
file
|
|
327
|
-
}) {
|
|
328
|
-
const t = useOpenGeniText();
|
|
329
|
-
const status = file.status === "added" || file.status === "untracked" ? t("workbenchChanges.statusAdded") : file.status === "deleted" ? t("workbenchChanges.statusDeleted") : file.status === "renamed" || file.status === "copied" ? t("workbenchChanges.statusRenamed") : t("workbenchChanges.statusModified");
|
|
330
|
-
return /* @__PURE__ */ jsxs("span", { className: "sr-only", children: [
|
|
331
|
-
", ",
|
|
332
|
-
t("workbenchChanges.fileChange", {
|
|
333
|
-
status,
|
|
334
|
-
additions: file.additions,
|
|
335
|
-
deletions: file.deletions
|
|
336
|
-
})
|
|
337
|
-
] });
|
|
338
|
-
}
|
|
339
|
-
function buildChangesTree(files) {
|
|
340
|
-
const root = { name: "", path: "", dirs: [], files: [] };
|
|
341
|
-
files.forEach((file, index) => {
|
|
342
|
-
const parts = file.path.split("/");
|
|
343
|
-
let node = root;
|
|
344
|
-
for (const part of parts.slice(0, -1)) {
|
|
345
|
-
let next = node.dirs.find((dir) => dir.name === part);
|
|
346
|
-
if (!next) {
|
|
347
|
-
next = { name: part, path: node.path ? `${node.path}/${part}` : part, dirs: [], files: [] };
|
|
348
|
-
node.dirs.push(next);
|
|
349
|
-
}
|
|
350
|
-
node = next;
|
|
351
|
-
}
|
|
352
|
-
node.files.push({ file, index });
|
|
353
|
-
});
|
|
354
|
-
const fold = (node) => {
|
|
355
|
-
let current = node;
|
|
356
|
-
while (current.files.length === 0 && current.dirs.length === 1 && current.path) {
|
|
357
|
-
const only = current.dirs[0];
|
|
358
|
-
current = { ...only, name: `${current.name}/${only.name}` };
|
|
359
|
-
}
|
|
360
|
-
return { ...current, dirs: current.dirs.map(fold) };
|
|
361
|
-
};
|
|
362
|
-
return { ...root, dirs: root.dirs.map(fold) };
|
|
363
|
-
}
|
|
364
|
-
function changesTreeOrder(files) {
|
|
365
|
-
const ordered = [];
|
|
366
|
-
const walk = (node) => {
|
|
367
|
-
for (const dir of node.dirs) walk(dir);
|
|
368
|
-
for (const { file } of node.files) ordered.push(file);
|
|
369
|
-
};
|
|
370
|
-
walk(buildChangesTree(files));
|
|
371
|
-
return ordered;
|
|
372
|
-
}
|
|
373
|
-
var ChangesTree = memo(function ChangesTree2({
|
|
374
|
-
files,
|
|
375
|
-
activeIndex,
|
|
376
|
-
onSelect,
|
|
377
|
-
className
|
|
378
|
-
}) {
|
|
379
|
-
const t = useOpenGeniText();
|
|
380
|
-
const tree = useMemo3(() => buildChangesTree(files), [files]);
|
|
381
|
-
const [closed, setClosed] = useState2(() => /* @__PURE__ */ new Set());
|
|
382
|
-
const activePath = files[activeIndex]?.path;
|
|
383
|
-
useEffect2(() => {
|
|
384
|
-
if (!activePath) return;
|
|
385
|
-
setClosed((current) => {
|
|
386
|
-
const shut = [...current].filter((dir) => activePath.startsWith(`${dir}/`));
|
|
387
|
-
if (shut.length === 0) return current;
|
|
388
|
-
const next = new Set(current);
|
|
389
|
-
for (const dir of shut) next.delete(dir);
|
|
390
|
-
return next;
|
|
391
|
-
});
|
|
392
|
-
}, [activePath]);
|
|
393
|
-
const toggle = (path) => setClosed((current) => {
|
|
394
|
-
const next = new Set(current);
|
|
395
|
-
if (next.has(path)) next.delete(path);
|
|
396
|
-
else next.add(path);
|
|
397
|
-
return next;
|
|
398
|
-
});
|
|
399
|
-
const guides = (depth) => Array.from({ length: depth }, (_, level) => /* @__PURE__ */ jsx(
|
|
400
|
-
"span",
|
|
401
|
-
{
|
|
402
|
-
"aria-hidden": true,
|
|
403
|
-
className: "pointer-events-none absolute inset-y-0 w-px bg-og-border/60",
|
|
404
|
-
style: { left: 16 + level * 12 }
|
|
405
|
-
},
|
|
406
|
-
level
|
|
407
|
-
));
|
|
408
|
-
const render = (node, depth) => [
|
|
409
|
-
...node.dirs.flatMap((dir) => {
|
|
410
|
-
const open = !closed.has(dir.path);
|
|
411
|
-
return [
|
|
412
|
-
/* @__PURE__ */ jsxs(
|
|
413
|
-
"button",
|
|
414
|
-
{
|
|
415
|
-
type: "button",
|
|
416
|
-
"aria-expanded": open,
|
|
417
|
-
onClick: () => toggle(dir.path),
|
|
418
|
-
"data-tree-dir": dir.path,
|
|
419
|
-
style: { paddingLeft: 10 + depth * 12 },
|
|
420
|
-
className: "relative flex min-h-[26px] w-full items-center gap-1.5 pr-3 text-left text-og-xs text-og-fg-subtle transition-colors duration-150 hover:text-og-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-og-accent pointer-coarse:min-h-11",
|
|
421
|
-
children: [
|
|
422
|
-
guides(depth),
|
|
423
|
-
/* @__PURE__ */ jsx(
|
|
424
|
-
ChevronRightIcon,
|
|
425
|
-
{
|
|
426
|
-
"aria-hidden": true,
|
|
427
|
-
className: cn(
|
|
428
|
-
"size-3 shrink-0 opacity-70 transition-transform duration-200 motion-reduce:transition-none",
|
|
429
|
-
open && "rotate-90"
|
|
430
|
-
)
|
|
431
|
-
}
|
|
432
|
-
),
|
|
433
|
-
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate font-medium", children: dir.name })
|
|
434
|
-
]
|
|
435
|
-
},
|
|
436
|
-
`d:${dir.path}`
|
|
437
|
-
),
|
|
438
|
-
...open ? render(dir, depth + 1) : []
|
|
439
|
-
];
|
|
440
|
-
}),
|
|
441
|
-
...node.files.map(({ file, index }) => {
|
|
442
|
-
const active = index === activeIndex;
|
|
443
|
-
const { name } = splitFilePath(file.path);
|
|
444
|
-
return /* @__PURE__ */ jsxs(
|
|
445
|
-
"button",
|
|
446
|
-
{
|
|
447
|
-
type: "button",
|
|
448
|
-
onClick: () => onSelect(index),
|
|
449
|
-
title: file.path,
|
|
450
|
-
"data-rail-file": "",
|
|
451
|
-
"data-rail-file-path": file.path,
|
|
452
|
-
"aria-current": active ? "true" : void 0,
|
|
453
|
-
style: { paddingLeft: 10 + depth * 12 + 16 },
|
|
454
|
-
className: cn(
|
|
455
|
-
"group/row relative flex min-h-[26px] w-full items-center gap-2 pr-3 text-left transition-colors duration-150 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-og-accent motion-reduce:transition-none pointer-coarse:min-h-11",
|
|
456
|
-
"before:absolute before:inset-y-px before:left-1.5 before:right-1.5 before:-z-0 before:rounded-lg before:transition-colors before:duration-150",
|
|
457
|
-
active ? "text-og-fg before:bg-og-surface-2 before:shadow-[inset_0_1px_0_color-mix(in_oklch,var(--og-color-fg)_7%,transparent),0_0_0_1px_color-mix(in_oklch,var(--og-color-fg)_6%,transparent)]" : "text-og-fg-muted hover:text-og-fg hover:before:bg-og-surface-2/50"
|
|
458
|
-
),
|
|
459
|
-
children: [
|
|
460
|
-
guides(depth),
|
|
461
|
-
/* @__PURE__ */ jsx(FileGlyph, { path: file.path, className: "relative" }),
|
|
462
|
-
/* @__PURE__ */ jsx(
|
|
463
|
-
"span",
|
|
464
|
-
{
|
|
465
|
-
className: cn(
|
|
466
|
-
"relative min-w-0 flex-1 truncate font-og-mono text-[12px]",
|
|
467
|
-
file.status === "deleted" && "line-through opacity-70"
|
|
468
|
-
),
|
|
469
|
-
children: name
|
|
470
|
-
}
|
|
471
|
-
),
|
|
472
|
-
/* @__PURE__ */ jsx(FileChangeWords, { file }),
|
|
473
|
-
/* @__PURE__ */ jsx(
|
|
474
|
-
ChangeBar,
|
|
475
|
-
{
|
|
476
|
-
additions: file.additions,
|
|
477
|
-
deletions: file.deletions,
|
|
478
|
-
className: cn(
|
|
479
|
-
"relative w-5 opacity-60 transition-opacity duration-150 group-hover/row:opacity-100",
|
|
480
|
-
active && "opacity-100"
|
|
481
|
-
)
|
|
482
|
-
}
|
|
483
|
-
)
|
|
484
|
-
]
|
|
485
|
-
},
|
|
486
|
-
`f:${file.path}`
|
|
487
|
-
);
|
|
488
|
-
})
|
|
489
|
-
];
|
|
490
|
-
return /* @__PURE__ */ jsx(
|
|
491
|
-
"nav",
|
|
492
|
-
{
|
|
493
|
-
"aria-label": t("workbenchChanges.changedFiles"),
|
|
494
|
-
"data-changes-tree": "",
|
|
495
|
-
className: cn("isolate overflow-y-auto py-2", className),
|
|
496
|
-
children: render(tree, 0)
|
|
497
|
-
}
|
|
498
|
-
);
|
|
499
|
-
});
|
|
500
|
-
|
|
501
|
-
// src/components/workbench-changes.tsx
|
|
502
|
-
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
503
|
-
var GROUP_THRESHOLD = 20;
|
|
504
|
-
var OVERSCAN = 1;
|
|
505
|
-
var HEADER_PX = 30;
|
|
506
|
-
var LINE_PX = 18;
|
|
507
|
-
var GUARD_BODY_PX = 52;
|
|
508
|
-
var EMPTY_BODY_PX = 36;
|
|
509
|
-
var COMPACT_SURFACE_PX = 560;
|
|
510
|
-
var useChangesLayoutEffect = typeof window === "undefined" ? useEffect3 : useLayoutEffect;
|
|
511
|
-
var STATUS_LETTER = {
|
|
512
|
-
added: "A",
|
|
513
|
-
modified: "M",
|
|
514
|
-
deleted: "D",
|
|
515
|
-
renamed: "R",
|
|
516
|
-
copied: "C",
|
|
517
|
-
untracked: "U",
|
|
518
|
-
ignored: "I",
|
|
519
|
-
conflicted: "!",
|
|
520
|
-
typechange: "T"
|
|
521
|
-
};
|
|
522
|
-
function compactFileLabel(file) {
|
|
523
|
-
const slash = file.path.lastIndexOf("/");
|
|
524
|
-
const basename = slash >= 0 ? file.path.slice(slash + 1) : file.path;
|
|
525
|
-
const parent = slash >= 0 ? file.path.slice(0, slash + 1) : "";
|
|
526
|
-
return `${STATUS_LETTER[file.status]} \xB7 ${basename}${parent ? ` \u2014 ${parent}` : ""}`;
|
|
527
|
-
}
|
|
528
|
-
var ChangesRailVList = class extends Component {
|
|
529
|
-
state = {
|
|
530
|
-
renderedRowCount: this.props.rowCount,
|
|
531
|
-
resetVersion: 0
|
|
532
|
-
};
|
|
533
|
-
host = null;
|
|
534
|
-
listHandle = null;
|
|
535
|
-
pendingFocusedPath = null;
|
|
536
|
-
restoreFrame = null;
|
|
537
|
-
static getDerivedStateFromProps(props, state) {
|
|
538
|
-
if (props.rowCount === state.renderedRowCount) return null;
|
|
539
|
-
return {
|
|
540
|
-
renderedRowCount: props.rowCount,
|
|
541
|
-
resetVersion: props.rowCount < state.renderedRowCount ? state.resetVersion + 1 : state.resetVersion
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
getSnapshotBeforeUpdate(_previousProps, previousState) {
|
|
545
|
-
if (previousState.resetVersion === this.state.resetVersion) return null;
|
|
546
|
-
const scroller = this.host?.firstElementChild;
|
|
547
|
-
if (!(scroller instanceof HTMLElement)) return null;
|
|
548
|
-
const active = document.activeElement;
|
|
549
|
-
const focusedRow = active instanceof HTMLElement && scroller.contains(active) ? active.closest("[data-rail-file-path]") : null;
|
|
550
|
-
return {
|
|
551
|
-
focusedPath: focusedRow?.dataset.railFilePath ?? this.pendingFocusedPath,
|
|
552
|
-
scrollOffset: scroller.scrollTop
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
componentDidUpdate(_previousProps, _previousState, snapshot) {
|
|
556
|
-
if (!snapshot || !this.listHandle) return;
|
|
557
|
-
this.cancelRestoreFrame();
|
|
558
|
-
const maxOffset = Math.max(0, this.listHandle.scrollSize - this.listHandle.viewportSize);
|
|
559
|
-
this.listHandle.scrollTo(Math.min(Math.max(snapshot.scrollOffset, 0), maxOffset));
|
|
560
|
-
const focusedPath = snapshot.focusedPath;
|
|
561
|
-
if (!focusedPath) return;
|
|
562
|
-
this.pendingFocusedPath = focusedPath;
|
|
563
|
-
this.continueFocusRestore();
|
|
564
|
-
}
|
|
565
|
-
componentWillUnmount() {
|
|
566
|
-
this.cancelRestoreFrame();
|
|
567
|
-
this.pendingFocusedPath = null;
|
|
568
|
-
}
|
|
569
|
-
cancelRestoreFrame() {
|
|
570
|
-
if (this.restoreFrame === null) return;
|
|
571
|
-
if (typeof cancelAnimationFrame === "function") cancelAnimationFrame(this.restoreFrame);
|
|
572
|
-
this.restoreFrame = null;
|
|
573
|
-
}
|
|
574
|
-
continueFocusRestore = () => {
|
|
575
|
-
const path = this.pendingFocusedPath;
|
|
576
|
-
if (!path) return;
|
|
577
|
-
if (this.restoreFocusedPath(path)) {
|
|
578
|
-
this.pendingFocusedPath = null;
|
|
579
|
-
return;
|
|
580
|
-
}
|
|
581
|
-
if (this.restoreFrame === null && typeof requestAnimationFrame === "function") {
|
|
582
|
-
this.restoreFrame = requestAnimationFrame(() => {
|
|
583
|
-
this.restoreFrame = null;
|
|
584
|
-
this.continueFocusRestore();
|
|
585
|
-
});
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
restoreFocusedPath(path) {
|
|
589
|
-
const host = this.host;
|
|
590
|
-
if (!host) return true;
|
|
591
|
-
const active = document.activeElement;
|
|
592
|
-
if (active instanceof HTMLElement && active.isConnected && active !== document.body) {
|
|
593
|
-
return true;
|
|
594
|
-
}
|
|
595
|
-
if (!this.props.files.some((file) => file.path === path)) return true;
|
|
596
|
-
const row = Array.from(host.querySelectorAll("[data-rail-file-path]")).find(
|
|
597
|
-
(candidate) => candidate.dataset.railFilePath === path
|
|
598
|
-
);
|
|
599
|
-
if (!row) return false;
|
|
600
|
-
row.focus({ preventScroll: true });
|
|
601
|
-
return true;
|
|
602
|
-
}
|
|
603
|
-
setHost = (host) => {
|
|
604
|
-
this.host = host;
|
|
605
|
-
};
|
|
606
|
-
setListHandle = (handle) => {
|
|
607
|
-
this.listHandle = handle;
|
|
608
|
-
};
|
|
609
|
-
render() {
|
|
610
|
-
return /* @__PURE__ */ jsx2("div", { ref: this.setHost, "data-opengeni-changes-rail": true, className: this.props.className, children: /* @__PURE__ */ jsx2(
|
|
611
|
-
VList,
|
|
612
|
-
{
|
|
613
|
-
ref: this.setListHandle,
|
|
614
|
-
className: "h-full",
|
|
615
|
-
itemSize: this.props.coarsePointer ? 44 : 28,
|
|
616
|
-
ssrCount: Math.min(30, this.props.rowCount),
|
|
617
|
-
children: this.props.children
|
|
618
|
-
},
|
|
619
|
-
this.state.resetVersion
|
|
620
|
-
) });
|
|
621
|
-
}
|
|
622
|
-
};
|
|
623
|
-
function buildRail(t, files) {
|
|
624
|
-
const roots = new Set(
|
|
625
|
-
files.flatMap((file) => file.repoRoot === void 0 ? [] : [file.repoRoot])
|
|
626
|
-
);
|
|
627
|
-
const groupByRepo = roots.size > 1;
|
|
628
|
-
if (!groupByRepo && files.length <= GROUP_THRESHOLD) {
|
|
629
|
-
return {
|
|
630
|
-
orderedFiles: files,
|
|
631
|
-
rows: files.map((file, index) => ({ kind: "file", file, index })),
|
|
632
|
-
grouped: false
|
|
633
|
-
};
|
|
634
|
-
}
|
|
635
|
-
const groups = /* @__PURE__ */ new Map();
|
|
636
|
-
for (const file of files) {
|
|
637
|
-
const slash = file.path.indexOf("/");
|
|
638
|
-
const key = groupByRepo ? file.repoRoot || t("workbenchChanges.workspace") : slash > 0 ? file.path.slice(0, slash) : t("workbenchChanges.root");
|
|
639
|
-
const bucket = groups.get(key);
|
|
640
|
-
if (bucket) bucket.push(file);
|
|
641
|
-
else groups.set(key, [file]);
|
|
642
|
-
}
|
|
643
|
-
const labels = [...groups.keys()].sort((a, b) => a.localeCompare(b));
|
|
644
|
-
const orderedFiles = [];
|
|
645
|
-
const rows = [];
|
|
646
|
-
for (const label of labels) {
|
|
647
|
-
const bucket = (groups.get(label) ?? []).slice().sort((a, b) => a.path.localeCompare(b.path));
|
|
648
|
-
rows.push({ kind: "group", label, count: bucket.length });
|
|
649
|
-
for (const file of bucket) {
|
|
650
|
-
rows.push({ kind: "file", file, index: orderedFiles.length });
|
|
651
|
-
orderedFiles.push(file);
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
return { orderedFiles, rows, grouped: true };
|
|
655
|
-
}
|
|
656
|
-
function isGuarded(file) {
|
|
657
|
-
return file.isBinary || file.truncated;
|
|
658
|
-
}
|
|
659
|
-
function hasNoHunks(file) {
|
|
660
|
-
return !isGuarded(file) && file.hunks.length === 0;
|
|
661
|
-
}
|
|
662
|
-
function estimateSectionHeight(file, collapsed = false) {
|
|
663
|
-
if (collapsed) return HEADER_PX;
|
|
664
|
-
if (isGuarded(file)) return HEADER_PX + GUARD_BODY_PX;
|
|
665
|
-
if (hasNoHunks(file)) return HEADER_PX + EMPTY_BODY_PX;
|
|
666
|
-
let lines = 0;
|
|
667
|
-
for (const hunk of file.hunks) lines += hunk.lines.length + 1;
|
|
668
|
-
return HEADER_PX + Math.max(lines, 1) * LINE_PX + 8;
|
|
669
|
-
}
|
|
670
|
-
var WorkbenchChanges = memo2(function WorkbenchChanges2({
|
|
671
|
-
diff,
|
|
672
|
-
source,
|
|
673
|
-
capturedAt,
|
|
674
|
-
captureRevision,
|
|
675
|
-
themeType,
|
|
676
|
-
onOpenFile,
|
|
677
|
-
pullRequest,
|
|
678
|
-
onOpenPullRequest,
|
|
679
|
-
comparison,
|
|
680
|
-
hideSummary = false,
|
|
681
|
-
navigation = "rail",
|
|
682
|
-
className
|
|
683
|
-
}) {
|
|
684
|
-
const t = useOpenGeniText();
|
|
685
|
-
const rootRef = useRef2(null);
|
|
686
|
-
const [compact, setCompact] = useState3(false);
|
|
687
|
-
const [coarsePointer, setCoarsePointer] = useState3(false);
|
|
688
|
-
const resolvedTheme = useThemeType(themeType);
|
|
689
|
-
const [layout, setLayout] = useState3("unified");
|
|
690
|
-
const [activePath, setActivePath] = useState3(null);
|
|
691
|
-
const [collapsedPaths, setCollapsedPaths] = useState3(() => /* @__PURE__ */ new Set());
|
|
692
|
-
const toggleCollapsed = useCallback2((path) => {
|
|
693
|
-
setCollapsedPaths((current) => {
|
|
694
|
-
const next = new Set(current);
|
|
695
|
-
if (next.has(path)) next.delete(path);
|
|
696
|
-
else next.add(path);
|
|
697
|
-
return next;
|
|
698
|
-
});
|
|
699
|
-
}, []);
|
|
700
|
-
const pickerId = useId();
|
|
701
|
-
const unicodeFontPaths = useMemo4(
|
|
702
|
-
() => diff.flatMap((file) => file.oldPath ? [file.path, file.oldPath] : [file.path]),
|
|
703
|
-
[diff]
|
|
704
|
-
);
|
|
705
|
-
useUnicodeFallbackFonts(unicodeFontPaths);
|
|
706
|
-
const { orderedFiles, rows, grouped } = useMemo4(
|
|
707
|
-
() => navigation === "tree" ? { orderedFiles: changesTreeOrder(diff), rows: [], grouped: false } : buildRail(t, diff),
|
|
708
|
-
[diff, navigation, t]
|
|
709
|
-
);
|
|
710
|
-
const selectedIndex = orderedFiles.findIndex((file) => file.path === activePath);
|
|
711
|
-
const activeIndex = selectedIndex >= 0 ? selectedIndex : 0;
|
|
712
|
-
useChangesLayoutEffect(() => {
|
|
713
|
-
const root = rootRef.current;
|
|
714
|
-
if (!root || typeof ResizeObserver === "undefined") return;
|
|
715
|
-
const update = (width) => {
|
|
716
|
-
if (width > 0) setCompact(width < COMPACT_SURFACE_PX);
|
|
717
|
-
};
|
|
718
|
-
update(root.getBoundingClientRect().width);
|
|
719
|
-
const observer = new ResizeObserver((entries) => {
|
|
720
|
-
update(entries[0]?.contentRect.width ?? root.getBoundingClientRect().width);
|
|
721
|
-
});
|
|
722
|
-
observer.observe(root);
|
|
723
|
-
return () => observer.disconnect();
|
|
724
|
-
}, []);
|
|
725
|
-
useChangesLayoutEffect(() => {
|
|
726
|
-
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
|
|
727
|
-
const query = window.matchMedia("(pointer: coarse)");
|
|
728
|
-
const update = () => setCoarsePointer(query.matches);
|
|
729
|
-
update();
|
|
730
|
-
if (typeof query.addEventListener === "function") {
|
|
731
|
-
query.addEventListener("change", update);
|
|
732
|
-
return () => query.removeEventListener("change", update);
|
|
733
|
-
}
|
|
734
|
-
if (typeof query.addListener === "function") {
|
|
735
|
-
query.addListener(update);
|
|
736
|
-
return () => query.removeListener(update);
|
|
737
|
-
}
|
|
738
|
-
}, []);
|
|
739
|
-
const additions = useMemo4(() => diff.reduce((sum, f) => sum + f.additions, 0), [diff]);
|
|
740
|
-
const deletions = useMemo4(() => diff.reduce((sum, f) => sum + f.deletions, 0), [diff]);
|
|
741
|
-
const estimateHeight = useCallback2(
|
|
742
|
-
(index) => {
|
|
743
|
-
const file = orderedFiles[index];
|
|
744
|
-
return file ? estimateSectionHeight(file, collapsedPaths.has(file.path)) : HEADER_PX + LINE_PX;
|
|
745
|
-
},
|
|
746
|
-
[orderedFiles, collapsedPaths]
|
|
747
|
-
);
|
|
748
|
-
const windowed = useWindowedSections({
|
|
749
|
-
count: orderedFiles.length,
|
|
750
|
-
estimateHeight,
|
|
751
|
-
overscan: OVERSCAN
|
|
752
|
-
});
|
|
753
|
-
const layoutRef = useRef2({ orderedFiles, offsets: windowed.offsets });
|
|
754
|
-
layoutRef.current = { orderedFiles, offsets: windowed.offsets };
|
|
755
|
-
const anchorRef = useRef2(null);
|
|
756
|
-
const scrollToIndex = windowed.scrollToIndex;
|
|
757
|
-
const scrollToIndexRef = useRef2(scrollToIndex);
|
|
758
|
-
scrollToIndexRef.current = scrollToIndex;
|
|
759
|
-
const jumpTo = useCallback2((index) => {
|
|
760
|
-
const path = layoutRef.current.orderedFiles[index]?.path ?? null;
|
|
761
|
-
anchorRef.current = path;
|
|
762
|
-
setActivePath(path);
|
|
763
|
-
scrollToIndexRef.current(index);
|
|
764
|
-
}, []);
|
|
765
|
-
useChangesLayoutEffect(() => {
|
|
766
|
-
const anchor = anchorRef.current;
|
|
767
|
-
if (anchor === null) return;
|
|
768
|
-
const index = orderedFiles.findIndex((file) => file.path === anchor);
|
|
769
|
-
if (index < 0) {
|
|
770
|
-
anchorRef.current = null;
|
|
771
|
-
return;
|
|
772
|
-
}
|
|
773
|
-
scrollToIndex(index);
|
|
774
|
-
}, [windowed.offsets, orderedFiles, scrollToIndex]);
|
|
775
|
-
const onPaneScroll = useCallback2(() => {
|
|
776
|
-
if (anchorRef.current !== null) return;
|
|
777
|
-
const el = windowed.scrollRef.current;
|
|
778
|
-
if (!el) {
|
|
779
|
-
return;
|
|
780
|
-
}
|
|
781
|
-
const top = el.scrollTop;
|
|
782
|
-
const { offsets, orderedFiles: files } = layoutRef.current;
|
|
783
|
-
let idx = 0;
|
|
784
|
-
for (let i = 0; i < files.length; i++) {
|
|
785
|
-
if ((offsets[i] ?? 0) <= top + 4) idx = i;
|
|
786
|
-
else break;
|
|
787
|
-
}
|
|
788
|
-
const nextPath = files[idx]?.path ?? null;
|
|
789
|
-
setActivePath((previous) => previous === nextPath ? previous : nextPath);
|
|
790
|
-
}, [windowed.scrollRef]);
|
|
791
|
-
useEffect3(() => {
|
|
792
|
-
const el = windowed.scrollRef.current;
|
|
793
|
-
if (!el) return;
|
|
794
|
-
const release = () => {
|
|
795
|
-
anchorRef.current = null;
|
|
796
|
-
};
|
|
797
|
-
el.addEventListener("scroll", onPaneScroll, { passive: true });
|
|
798
|
-
el.addEventListener("wheel", release, { passive: true });
|
|
799
|
-
el.addEventListener("touchstart", release, { passive: true });
|
|
800
|
-
el.addEventListener("keydown", release);
|
|
801
|
-
el.addEventListener("pointerdown", release);
|
|
802
|
-
return () => {
|
|
803
|
-
el.removeEventListener("scroll", onPaneScroll);
|
|
804
|
-
el.removeEventListener("wheel", release);
|
|
805
|
-
el.removeEventListener("touchstart", release);
|
|
806
|
-
el.removeEventListener("keydown", release);
|
|
807
|
-
el.removeEventListener("pointerdown", release);
|
|
808
|
-
};
|
|
809
|
-
}, [windowed.scrollRef, onPaneScroll]);
|
|
810
|
-
const sourceBadge = describeSource(t, source, capturedAt, captureRevision ?? null);
|
|
811
|
-
const activeFile = orderedFiles[activeIndex] ?? orderedFiles[0];
|
|
812
|
-
const onToggle = toggleCollapsed;
|
|
813
|
-
return /* @__PURE__ */ jsxs2(
|
|
814
|
-
"div",
|
|
815
|
-
{
|
|
816
|
-
ref: rootRef,
|
|
817
|
-
className: cn("flex h-full min-h-0 min-w-0 flex-col", className),
|
|
818
|
-
"data-workbench-changes-layout": compact ? "compact" : "rail",
|
|
819
|
-
"data-workbench-changes-navigation": navigation,
|
|
820
|
-
children: [
|
|
821
|
-
/* @__PURE__ */ jsxs2("span", { role: "status", "aria-atomic": "true", "aria-live": "polite", className: "sr-only", children: [
|
|
822
|
-
t("workbenchChanges.filesChanged", { count: diff.length }),
|
|
823
|
-
" +",
|
|
824
|
-
additions,
|
|
825
|
-
" \u2212",
|
|
826
|
-
deletions
|
|
827
|
-
] }),
|
|
828
|
-
hideSummary ? null : /* @__PURE__ */ jsxs2(
|
|
829
|
-
"div",
|
|
830
|
-
{
|
|
831
|
-
className: cn(
|
|
832
|
-
"flex min-h-9 shrink-0 items-center gap-2 px-2 py-1",
|
|
833
|
-
navigation === "rail" && "border-b border-og-border"
|
|
834
|
-
),
|
|
835
|
-
children: [
|
|
836
|
-
/* @__PURE__ */ jsx2(
|
|
837
|
-
WorkbenchChangesViewMenu,
|
|
838
|
-
{
|
|
839
|
-
comparison,
|
|
840
|
-
layout,
|
|
841
|
-
onLayoutChange: compact ? void 0 : setLayout
|
|
842
|
-
}
|
|
843
|
-
),
|
|
844
|
-
source === "capture" && capturedAt ? /* @__PURE__ */ jsx2(SourceBadge, { capturedAt, label: sourceBadge }) : null,
|
|
845
|
-
/* @__PURE__ */ jsx2("div", { className: "ml-auto flex shrink-0 items-center", children: /* @__PURE__ */ jsx2(PullRequestAction, { pullRequest, onOpenPullRequest }) })
|
|
846
|
-
]
|
|
847
|
-
}
|
|
848
|
-
),
|
|
849
|
-
compact ? /* @__PURE__ */ jsxs2("div", { className: "flex min-h-0 flex-1 flex-col", children: [
|
|
850
|
-
/* @__PURE__ */ jsxs2("div", { className: "shrink-0 border-b border-og-border p-2", children: [
|
|
851
|
-
/* @__PURE__ */ jsx2("label", { className: "sr-only", htmlFor: pickerId, children: t("workbenchChanges.changedFile") }),
|
|
852
|
-
/* @__PURE__ */ jsx2(
|
|
853
|
-
"select",
|
|
854
|
-
{
|
|
855
|
-
id: pickerId,
|
|
856
|
-
"aria-label": t("workbenchChanges.changedFile"),
|
|
857
|
-
value: activeIndex,
|
|
858
|
-
onChange: (event) => {
|
|
859
|
-
const index = Number(event.currentTarget.value);
|
|
860
|
-
setActivePath(orderedFiles[index]?.path ?? null);
|
|
861
|
-
},
|
|
862
|
-
title: activeFile?.path,
|
|
863
|
-
"data-compact-file-picker": true,
|
|
864
|
-
className: "h-11 w-full rounded-og-md border border-og-border bg-og-bg px-3 font-og-mono text-og-sm text-og-fg outline-hidden transition-colors focus:border-og-accent focus:ring-2 focus:ring-og-accent-soft",
|
|
865
|
-
children: orderedFiles.map((file, index) => /* @__PURE__ */ jsx2("option", { value: index, children: compactFileLabel(file) }, file.path))
|
|
866
|
-
}
|
|
867
|
-
)
|
|
868
|
-
] }),
|
|
869
|
-
/* @__PURE__ */ jsx2(
|
|
870
|
-
"div",
|
|
871
|
-
{
|
|
872
|
-
"aria-label": t("workbenchChanges.changedFileDiff"),
|
|
873
|
-
className: "min-h-0 min-w-0 flex-1 overflow-auto outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-og-accent",
|
|
874
|
-
"data-opengeni-changes-pane": true,
|
|
875
|
-
role: "region",
|
|
876
|
-
tabIndex: 0,
|
|
877
|
-
children: activeFile ? /* @__PURE__ */ jsx2(
|
|
878
|
-
DiffSection,
|
|
879
|
-
{
|
|
880
|
-
file: activeFile,
|
|
881
|
-
layout: "unified",
|
|
882
|
-
themeType: resolvedTheme,
|
|
883
|
-
...onOpenFile ? { onOpenFile } : {}
|
|
884
|
-
}
|
|
885
|
-
) : null
|
|
886
|
-
}
|
|
887
|
-
)
|
|
888
|
-
] }) : /* @__PURE__ */ jsxs2("div", { className: "flex min-h-0 flex-1", children: [
|
|
889
|
-
navigation === "tree" ? /* @__PURE__ */ jsx2(
|
|
890
|
-
ChangesTree,
|
|
891
|
-
{
|
|
892
|
-
files: orderedFiles,
|
|
893
|
-
activeIndex,
|
|
894
|
-
onSelect: jumpTo,
|
|
895
|
-
className: "w-[clamp(12rem,32%,18rem)] shrink-0 shadow-[inset_-1px_0_0_color-mix(in_oklch,var(--og-color-border)_70%,transparent)]"
|
|
896
|
-
}
|
|
897
|
-
) : null,
|
|
898
|
-
navigation !== "rail" ? null : /* @__PURE__ */ jsx2(
|
|
899
|
-
ChangesRailVList,
|
|
900
|
-
{
|
|
901
|
-
rowCount: rows.length,
|
|
902
|
-
coarsePointer,
|
|
903
|
-
files: orderedFiles,
|
|
904
|
-
className: "w-[clamp(12rem,28%,15rem)] shrink-0 border-r border-og-border",
|
|
905
|
-
children: rows.map(
|
|
906
|
-
(row) => row.kind === "group" ? /* @__PURE__ */ jsx2(
|
|
907
|
-
"div",
|
|
908
|
-
{
|
|
909
|
-
"data-rail-group": true,
|
|
910
|
-
className: "flex items-center gap-1.5 px-2 pb-0.5 pt-2 text-og-xs font-medium text-og-fg-subtle",
|
|
911
|
-
children: /* @__PURE__ */ jsx2("span", { className: "min-w-0 truncate", children: row.label })
|
|
912
|
-
},
|
|
913
|
-
`g:${row.label}`
|
|
914
|
-
) : /* @__PURE__ */ jsx2(
|
|
915
|
-
RailFileRow,
|
|
916
|
-
{
|
|
917
|
-
file: row.file,
|
|
918
|
-
index: row.index,
|
|
919
|
-
grouped,
|
|
920
|
-
active: row.index === activeIndex,
|
|
921
|
-
onSelect: jumpTo
|
|
922
|
-
},
|
|
923
|
-
row.file.path
|
|
924
|
-
)
|
|
925
|
-
)
|
|
926
|
-
}
|
|
927
|
-
),
|
|
928
|
-
/* @__PURE__ */ jsx2("div", { className: "relative flex min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsx2(
|
|
929
|
-
"div",
|
|
930
|
-
{
|
|
931
|
-
ref: windowed.scrollRef,
|
|
932
|
-
"aria-label": t("workbenchChanges.changedFilesDiff"),
|
|
933
|
-
className: cn(
|
|
934
|
-
"min-h-0 min-w-0 flex-1 overflow-auto outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-og-accent"
|
|
935
|
-
),
|
|
936
|
-
"data-opengeni-changes-pane": true,
|
|
937
|
-
role: "region",
|
|
938
|
-
tabIndex: 0,
|
|
939
|
-
children: /* @__PURE__ */ jsx2("div", { style: { position: "relative", height: windowed.totalHeight }, children: orderedFiles.map((file, index) => {
|
|
940
|
-
if (index < windowed.range.start || index >= windowed.range.end) return null;
|
|
941
|
-
return /* @__PURE__ */ jsx2(
|
|
942
|
-
MeasuredSection,
|
|
943
|
-
{
|
|
944
|
-
index,
|
|
945
|
-
top: windowed.offsets[index] ?? 0,
|
|
946
|
-
onMeasure: windowed.measure,
|
|
947
|
-
children: /* @__PURE__ */ jsx2(
|
|
948
|
-
DiffSection,
|
|
949
|
-
{
|
|
950
|
-
file,
|
|
951
|
-
layout,
|
|
952
|
-
themeType: resolvedTheme,
|
|
953
|
-
collapsed: collapsedPaths.has(file.path),
|
|
954
|
-
onToggle,
|
|
955
|
-
...onOpenFile ? { onOpenFile } : {}
|
|
956
|
-
}
|
|
957
|
-
)
|
|
958
|
-
},
|
|
959
|
-
file.path
|
|
960
|
-
);
|
|
961
|
-
}) })
|
|
962
|
-
}
|
|
963
|
-
) })
|
|
964
|
-
] })
|
|
965
|
-
]
|
|
966
|
-
}
|
|
967
|
-
);
|
|
968
|
-
});
|
|
969
|
-
function SourceBadge({ capturedAt, label }) {
|
|
970
|
-
const t = useOpenGeniText();
|
|
971
|
-
return /* @__PURE__ */ jsxs2(
|
|
972
|
-
"span",
|
|
973
|
-
{
|
|
974
|
-
className: "inline-flex items-center gap-1 px-1 text-og-xs text-og-fg-muted",
|
|
975
|
-
title: new Date(capturedAt).toLocaleString(t.locale),
|
|
976
|
-
children: [
|
|
977
|
-
/* @__PURE__ */ jsx2(HistoryIcon, { className: "size-3 shrink-0 text-og-status-running", "aria-hidden": true }),
|
|
978
|
-
label
|
|
979
|
-
]
|
|
980
|
-
}
|
|
981
|
-
);
|
|
982
|
-
}
|
|
983
|
-
function describeSource(t, source, capturedAt, revision) {
|
|
984
|
-
if (source !== "capture" || !capturedAt) return t("workbenchChanges.liveDiff");
|
|
985
|
-
const time = formatAsOf(t, capturedAt, Date.now());
|
|
986
|
-
return revision !== null ? t("workbenchChanges.asOfTurnRevisionTime", { revision, time }) : `as of ${time}`;
|
|
987
|
-
}
|
|
988
|
-
function splitPath(path) {
|
|
989
|
-
const slash = path.lastIndexOf("/");
|
|
990
|
-
return slash >= 0 ? { name: path.slice(slash + 1), dir: path.slice(0, slash) } : { name: path, dir: "" };
|
|
991
|
-
}
|
|
992
|
-
var RailFileRow = memo2(function RailFileRow2({
|
|
993
|
-
file,
|
|
994
|
-
index,
|
|
995
|
-
grouped,
|
|
996
|
-
active,
|
|
997
|
-
onSelect
|
|
998
|
-
}) {
|
|
999
|
-
const repoPrefix = file.repoRoot ? `${file.repoRoot}/` : null;
|
|
1000
|
-
const shown = grouped ? file.repoRoot !== void 0 ? repoPrefix && file.path.startsWith(repoPrefix) ? file.path.slice(repoPrefix.length) : file.path : file.path.slice(file.path.indexOf("/") + 1) || file.path : file.path;
|
|
1001
|
-
const { name, dir } = splitPath(shown);
|
|
1002
|
-
return /* @__PURE__ */ jsx2(
|
|
1003
|
-
"button",
|
|
1004
|
-
{
|
|
1005
|
-
type: "button",
|
|
1006
|
-
onClick: () => onSelect(index),
|
|
1007
|
-
title: file.path,
|
|
1008
|
-
"data-rail-file": true,
|
|
1009
|
-
"data-rail-file-path": file.path,
|
|
1010
|
-
"aria-current": active ? "true" : void 0,
|
|
1011
|
-
className: cn(
|
|
1012
|
-
"flex min-h-7 w-full items-center gap-1.5 truncate px-2 py-0.5 text-left text-og-sm text-og-fg-muted transition-colors hover:bg-og-surface-2 hover:text-og-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-og-accent pointer-coarse:min-h-11",
|
|
1013
|
-
grouped && "pl-3",
|
|
1014
|
-
active && "bg-og-surface-2 text-og-fg"
|
|
1015
|
-
),
|
|
1016
|
-
children: /* @__PURE__ */ jsxs2("span", { className: "min-w-0 flex-1 truncate", children: [
|
|
1017
|
-
/* @__PURE__ */ jsx2("span", { className: cn(file.status === "deleted" && "line-through"), children: name }),
|
|
1018
|
-
/* @__PURE__ */ jsx2(FileChangeWords, { file }),
|
|
1019
|
-
dir ? /* @__PURE__ */ jsx2("span", { className: "ml-1.5 text-og-xs text-og-fg-subtle", children: dir }) : null
|
|
1020
|
-
] })
|
|
1021
|
-
}
|
|
1022
|
-
);
|
|
1023
|
-
});
|
|
1024
|
-
var MeasuredSection = memo2(function MeasuredSection2({
|
|
1025
|
-
index,
|
|
1026
|
-
top,
|
|
1027
|
-
onMeasure,
|
|
1028
|
-
children
|
|
1029
|
-
}) {
|
|
1030
|
-
const ref = useRef2(null);
|
|
1031
|
-
useEffect3(() => {
|
|
1032
|
-
const el = ref.current;
|
|
1033
|
-
if (!el) return;
|
|
1034
|
-
const report = () => onMeasure(index, el.offsetHeight);
|
|
1035
|
-
report();
|
|
1036
|
-
const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(report) : null;
|
|
1037
|
-
ro?.observe(el);
|
|
1038
|
-
return () => ro?.disconnect();
|
|
1039
|
-
}, [index, onMeasure]);
|
|
1040
|
-
return /* @__PURE__ */ jsx2(
|
|
1041
|
-
"div",
|
|
1042
|
-
{
|
|
1043
|
-
ref,
|
|
1044
|
-
"data-diff-section": true,
|
|
1045
|
-
"data-diff-index": index,
|
|
1046
|
-
style: { position: "absolute", top, left: 0, right: 0 },
|
|
1047
|
-
children
|
|
1048
|
-
}
|
|
1049
|
-
);
|
|
1050
|
-
});
|
|
1051
|
-
var DiffSection = memo2(function DiffSection2({
|
|
1052
|
-
file,
|
|
1053
|
-
layout,
|
|
1054
|
-
themeType,
|
|
1055
|
-
collapsed = false,
|
|
1056
|
-
onToggle,
|
|
1057
|
-
onOpenFile,
|
|
1058
|
-
hideHeader = false
|
|
1059
|
-
}) {
|
|
1060
|
-
const guarded = isGuarded(file);
|
|
1061
|
-
const empty = hasNoHunks(file);
|
|
1062
|
-
const diff = useMemo4(() => [file], [file]);
|
|
1063
|
-
return /* @__PURE__ */ jsxs2(
|
|
1064
|
-
"section",
|
|
1065
|
-
{
|
|
1066
|
-
"data-diff-file": file.path,
|
|
1067
|
-
"data-diff-collapsed": collapsed ? "" : void 0,
|
|
1068
|
-
...guarded || empty || collapsed ? {} : { "data-pierre-section": "" },
|
|
1069
|
-
className: cn(!collapsed && "pb-2"),
|
|
1070
|
-
children: [
|
|
1071
|
-
hideHeader ? null : /* @__PURE__ */ jsx2(DiffFileHeader, { file, collapsed, onToggle }),
|
|
1072
|
-
collapsed ? null : guarded ? /* @__PURE__ */ jsx2(GuardBody, { file, ...onOpenFile ? { onOpenFile } : {} }) : empty ? /* @__PURE__ */ jsx2(NoHunksBody, {}) : /* @__PURE__ */ jsx2(
|
|
1073
|
-
PierreDiff,
|
|
1074
|
-
{
|
|
1075
|
-
diff,
|
|
1076
|
-
layout,
|
|
1077
|
-
themeType,
|
|
1078
|
-
disableFileHeader: true,
|
|
1079
|
-
className: "px-1"
|
|
1080
|
-
}
|
|
1081
|
-
)
|
|
1082
|
-
]
|
|
1083
|
-
}
|
|
1084
|
-
);
|
|
1085
|
-
});
|
|
1086
|
-
function DiffFileHeader({
|
|
1087
|
-
file,
|
|
1088
|
-
collapsed,
|
|
1089
|
-
onToggle
|
|
1090
|
-
}) {
|
|
1091
|
-
const renamed = file.oldPath && file.oldPath !== file.path;
|
|
1092
|
-
const label = renamed ? `${file.oldPath} \u2192 ${file.path}` : file.path;
|
|
1093
|
-
const { name, dir } = splitPath(file.path);
|
|
1094
|
-
const Chevron = collapsed ? ChevronRightIcon2 : ChevronDownIcon;
|
|
1095
|
-
const body = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
1096
|
-
onToggle ? /* @__PURE__ */ jsx2(
|
|
1097
|
-
Chevron,
|
|
1098
|
-
{
|
|
1099
|
-
className: "size-3 shrink-0 text-og-fg-subtle opacity-60 transition-opacity group-hover/file:opacity-100",
|
|
1100
|
-
"aria-hidden": true
|
|
1101
|
-
}
|
|
1102
|
-
) : null,
|
|
1103
|
-
/* @__PURE__ */ jsx2(FileGlyph, { path: file.path }),
|
|
1104
|
-
/* @__PURE__ */ jsxs2("span", { className: "min-w-0 flex-1 truncate text-left", title: label, children: [
|
|
1105
|
-
/* @__PURE__ */ jsx2(
|
|
1106
|
-
"span",
|
|
1107
|
-
{
|
|
1108
|
-
className: cn(
|
|
1109
|
-
"font-og-mono text-[12px] font-semibold tracking-[-0.01em] text-og-fg",
|
|
1110
|
-
file.status === "deleted" && "line-through"
|
|
1111
|
-
),
|
|
1112
|
-
children: name
|
|
1113
|
-
}
|
|
1114
|
-
),
|
|
1115
|
-
/* @__PURE__ */ jsx2(FileChangeWords, { file }),
|
|
1116
|
-
dir ? /* @__PURE__ */ jsx2("span", { className: "ml-2 text-og-xs text-og-fg-subtle", children: dir }) : null,
|
|
1117
|
-
renamed ? /* @__PURE__ */ jsxs2("span", { className: "ml-2 text-og-xs text-og-fg-subtle", children: [
|
|
1118
|
-
"\u2190 ",
|
|
1119
|
-
file.oldPath
|
|
1120
|
-
] }) : null
|
|
1121
|
-
] }),
|
|
1122
|
-
/* @__PURE__ */ jsx2(ChangeBar, { additions: file.additions, deletions: file.deletions })
|
|
1123
|
-
] });
|
|
1124
|
-
const className = "group/file sticky top-0 z-10 flex min-h-9 w-full items-center gap-2 bg-[color-mix(in_oklch,var(--og-diff-header,var(--og-color-bg))_96%,transparent)] px-3.5 py-1.5 text-og-sm text-og-fg shadow-[inset_0_-1px_0_color-mix(in_oklch,var(--og-color-border)_60%,transparent)]";
|
|
1125
|
-
if (!onToggle) return /* @__PURE__ */ jsx2("header", { className, children: body });
|
|
1126
|
-
return /* @__PURE__ */ jsx2(
|
|
1127
|
-
"button",
|
|
1128
|
-
{
|
|
1129
|
-
type: "button",
|
|
1130
|
-
"aria-expanded": !collapsed,
|
|
1131
|
-
onClick: () => onToggle(file.path),
|
|
1132
|
-
className: cn(
|
|
1133
|
-
className,
|
|
1134
|
-
"transition-colors duration-150 hover:bg-og-surface-1/60 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-og-accent pointer-coarse:min-h-11"
|
|
1135
|
-
),
|
|
1136
|
-
children: body
|
|
1137
|
-
}
|
|
1138
|
-
);
|
|
1139
|
-
}
|
|
1140
|
-
function PullRequestAction({
|
|
1141
|
-
pullRequest,
|
|
1142
|
-
onOpenPullRequest
|
|
1143
|
-
}) {
|
|
1144
|
-
const t = useOpenGeniText();
|
|
1145
|
-
const className = "inline-flex min-h-7 shrink-0 items-center gap-1.5 rounded-full px-3 py-0.5 text-og-xs font-medium transition-colors duration-150 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent pointer-coarse:min-h-11";
|
|
1146
|
-
if (pullRequest?.url) {
|
|
1147
|
-
return /* @__PURE__ */ jsxs2(
|
|
1148
|
-
"a",
|
|
1149
|
-
{
|
|
1150
|
-
href: pullRequest.url,
|
|
1151
|
-
target: "_blank",
|
|
1152
|
-
rel: "noreferrer noopener",
|
|
1153
|
-
"data-workbench-pr-action": "view",
|
|
1154
|
-
className: cn(className, "text-og-fg-muted hover:bg-og-surface-2 hover:text-og-fg"),
|
|
1155
|
-
...pullRequest.number ? { title: `#${pullRequest.number}` } : {},
|
|
1156
|
-
children: [
|
|
1157
|
-
t("workbenchChanges.viewOnGitHub"),
|
|
1158
|
-
/* @__PURE__ */ jsx2(ArrowUpRightIcon, { className: "size-3.5", "aria-hidden": true })
|
|
1159
|
-
]
|
|
1160
|
-
}
|
|
1161
|
-
);
|
|
1162
|
-
}
|
|
1163
|
-
if (!onOpenPullRequest) return null;
|
|
1164
|
-
return /* @__PURE__ */ jsxs2(
|
|
1165
|
-
"button",
|
|
1166
|
-
{
|
|
1167
|
-
type: "button",
|
|
1168
|
-
onClick: onOpenPullRequest,
|
|
1169
|
-
"data-workbench-pr-action": "open",
|
|
1170
|
-
className: cn(className, "bg-og-primary text-og-primary-fg hover:bg-og-primary-hover"),
|
|
1171
|
-
children: [
|
|
1172
|
-
/* @__PURE__ */ jsx2(GitPullRequestArrowIcon, { className: "size-3.5", "aria-hidden": true }),
|
|
1173
|
-
t("workbenchChanges.openPullRequest")
|
|
1174
|
-
]
|
|
1175
|
-
}
|
|
1176
|
-
);
|
|
1177
|
-
}
|
|
1178
|
-
function NoHunksBody() {
|
|
1179
|
-
const t = useOpenGeniText();
|
|
1180
|
-
return /* @__PURE__ */ jsx2("div", { className: "px-3 py-2 text-og-sm text-og-fg-subtle", children: t("workbenchChanges.noContentChanges") });
|
|
1181
|
-
}
|
|
1182
|
-
function GuardBody({
|
|
1183
|
-
file,
|
|
1184
|
-
onOpenFile
|
|
1185
|
-
}) {
|
|
1186
|
-
const t = useOpenGeniText();
|
|
1187
|
-
const reason = file.isBinary ? t("workbenchChanges.binaryFile") : t("workbenchChanges.diffTooLargeToShow");
|
|
1188
|
-
return /* @__PURE__ */ jsxs2("div", { className: "flex flex-wrap items-center gap-2 px-3 py-3 text-og-sm text-og-fg-subtle", children: [
|
|
1189
|
-
/* @__PURE__ */ jsx2(FileWarningIcon, { className: "size-3.5 shrink-0", "aria-hidden": true }),
|
|
1190
|
-
/* @__PURE__ */ jsxs2("span", { className: "min-w-0 flex-1", children: [
|
|
1191
|
-
reason,
|
|
1192
|
-
"."
|
|
1193
|
-
] }),
|
|
1194
|
-
onOpenFile ? /* @__PURE__ */ jsxs2(
|
|
1195
|
-
"button",
|
|
1196
|
-
{
|
|
1197
|
-
type: "button",
|
|
1198
|
-
onClick: () => onOpenFile(file.path),
|
|
1199
|
-
className: "inline-flex min-h-8 shrink-0 items-center gap-1.5 rounded-og-sm border border-og-border px-2 py-1 text-og-xs font-medium text-og-fg-muted transition-colors hover:border-og-border-strong hover:bg-og-surface-2 hover:text-og-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent pointer-coarse:min-h-11",
|
|
1200
|
-
children: [
|
|
1201
|
-
t("workbenchChanges.openInFiles"),
|
|
1202
|
-
/* @__PURE__ */ jsx2(ArrowUpRightIcon, { className: "size-3.5", "aria-hidden": true })
|
|
1203
|
-
]
|
|
1204
|
-
}
|
|
1205
|
-
) : null
|
|
1206
|
-
] });
|
|
1207
|
-
}
|
|
1208
|
-
function WorkbenchChangesViewMenu({
|
|
1209
|
-
comparison,
|
|
1210
|
-
layout = "unified",
|
|
1211
|
-
onLayoutChange
|
|
1212
|
-
}) {
|
|
1213
|
-
const t = useOpenGeniText();
|
|
1214
|
-
if (!comparison && !onLayoutChange) return null;
|
|
1215
|
-
const current = comparison?.options.find((option) => option.value === comparison.value);
|
|
1216
|
-
const next = layout === "unified" ? "split" : "unified";
|
|
1217
|
-
const layoutLabel = next === "split" ? t("workbenchChanges.showSplitDiff") : t("workbenchChanges.showUnifiedDiff");
|
|
1218
|
-
const LayoutIcon = next === "split" ? Columns2Icon : Rows2Icon;
|
|
1219
|
-
return /* @__PURE__ */ jsxs2(DropdownMenu, { children: [
|
|
1220
|
-
/* @__PURE__ */ jsx2(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx2(
|
|
1221
|
-
"button",
|
|
1222
|
-
{
|
|
1223
|
-
type: "button",
|
|
1224
|
-
"data-changes-view-menu": true,
|
|
1225
|
-
"aria-label": current ? `${current.label}, ${t("workbenchChanges.view")}` : t("workbenchChanges.view"),
|
|
1226
|
-
title: t("workbenchChanges.view"),
|
|
1227
|
-
className: "inline-flex min-h-7 shrink-0 items-center gap-1 rounded-og-sm px-1.5 text-og-xs font-medium text-og-fg-muted transition-colors hover:bg-og-surface-2 hover:text-og-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent data-[state=open]:bg-og-surface-2 pointer-coarse:min-h-11",
|
|
1228
|
-
children: current ? /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
1229
|
-
current.label,
|
|
1230
|
-
/* @__PURE__ */ jsx2(ChevronDownIcon, { className: "size-3 text-og-fg-subtle", "aria-hidden": true })
|
|
1231
|
-
] }) : /* @__PURE__ */ jsx2(EllipsisIcon, { className: "size-4", "aria-hidden": true })
|
|
1232
|
-
}
|
|
1233
|
-
) }),
|
|
1234
|
-
/* @__PURE__ */ jsxs2(DropdownMenuContent, { align: "start", className: "min-w-[11rem]", children: [
|
|
1235
|
-
comparison ? /* @__PURE__ */ jsx2(DropdownMenuRadioGroup, { value: comparison.value, onValueChange: comparison.onChange, children: comparison.options.map((option) => /* @__PURE__ */ jsx2(
|
|
1236
|
-
DropdownMenuRadioItem,
|
|
1237
|
-
{
|
|
1238
|
-
value: option.value,
|
|
1239
|
-
"data-changes-comparison-option": option.value,
|
|
1240
|
-
children: option.label
|
|
1241
|
-
},
|
|
1242
|
-
option.value
|
|
1243
|
-
)) }) : null,
|
|
1244
|
-
comparison && onLayoutChange ? /* @__PURE__ */ jsx2(DropdownMenuSeparator, {}) : null,
|
|
1245
|
-
onLayoutChange ? /* @__PURE__ */ jsxs2(DropdownMenuItem, { "data-diff-layout": layout, onSelect: () => onLayoutChange(next), children: [
|
|
1246
|
-
/* @__PURE__ */ jsx2(LayoutIcon, { className: "size-3.5 text-og-fg-subtle", "aria-hidden": true }),
|
|
1247
|
-
layoutLabel
|
|
1248
|
-
] }) : null
|
|
1249
|
-
] })
|
|
1250
|
-
] });
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
export {
|
|
1254
|
-
formatAsOf,
|
|
1255
|
-
deriveMachineChip,
|
|
1256
|
-
useMachineChip,
|
|
1257
|
-
WorkbenchChanges,
|
|
1258
|
-
WorkbenchChangesViewMenu
|
|
1259
|
-
};
|
|
1260
|
-
//# sourceMappingURL=chunk-XHPBQTJP.js.map
|