@opengeni/react 6.36.0 → 6.36.1-canary.45113772604001
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 +10 -10
- package/dist/app/components/Composer.js +19 -19
- package/dist/app/components/agent/agent-capability-picker.js +6 -6
- package/dist/app/components/agents/agent-can-use.js +21 -20
- package/dist/app/components/agents/agent-form-page.js +69 -65
- package/dist/app/components/agents/agent-form-page.js.map +1 -1
- package/dist/app/components/agents/agent-page.js +68 -64
- package/dist/app/components/agents/agent-setup-sections.js +40 -36
- package/dist/app/components/agents/agent-skills.js +5 -5
- package/dist/app/components/agents/agent-trigger-chat-field.js +4 -4
- package/dist/app/components/agents/agent-trigger-dialog.js +20 -17
- package/dist/app/components/agents/agent-trigger-model.d.ts +14 -0
- package/dist/app/components/agents/agent-trigger-picker.js +6 -5
- package/dist/app/components/agents/agent-trigger-repositories.d.ts +9 -0
- package/dist/app/components/agents/agent-trigger-repositories.js +31 -0
- package/dist/app/components/agents/agents-page.css +1905 -0
- package/dist/app/components/agents/agents-page.css.map +1 -0
- package/dist/app/components/agents/agents-page.js +106 -61
- package/dist/app/components/agents/agents-page.js.map +1 -1
- package/dist/app/components/agents/composer-agent-chip.js +29 -29
- package/dist/app/components/agents/session-agent-chip.js +29 -29
- package/dist/app/components/artifacts/app-package.js +3 -3
- package/dist/app/components/artifacts/app-server-status.d.ts +22 -0
- package/dist/app/components/artifacts/app-server-status.js +13 -0
- package/dist/app/components/artifacts/artifact-library.css +1905 -0
- package/dist/app/components/artifacts/artifact-library.css.map +1 -0
- package/dist/app/components/artifacts/artifact-library.js +8 -8
- package/dist/app/components/artifacts/artifact-viewer.css +1905 -0
- package/dist/app/components/artifacts/artifact-viewer.css.map +1 -0
- package/dist/app/components/artifacts/artifact-viewer.js +30 -30
- package/dist/app/components/artifacts/chat-interactive-block.js +16 -16
- package/dist/app/components/artifacts/file-reach-dialog.js +6 -6
- package/dist/app/components/artifacts/inline-chat-image.js +28 -28
- package/dist/app/components/artifacts/ready-made-apps.css +1905 -0
- package/dist/app/components/artifacts/ready-made-apps.css.map +1 -0
- package/dist/app/components/artifacts/ready-made-apps.d.ts +3 -0
- package/dist/app/components/artifacts/ready-made-apps.js +40 -0
- package/dist/app/components/artifacts/retained-file-preview.js +30 -30
- package/dist/app/components/artifacts/retained-text-preview.js +3 -3
- package/dist/app/components/artifacts/site-actions.js +1 -1
- package/dist/app/components/artifacts/site-audience.js +3 -3
- package/dist/app/components/artifacts/site-conversations.js +15 -15
- package/dist/app/components/artifacts/site-data.js +11 -11
- package/dist/app/components/artifacts/site-publishing-page.js +32 -32
- package/dist/app/components/artifacts/site-publishing.js +24 -24
- package/dist/app/components/artifacts/site-settings.js +31 -31
- package/dist/app/components/artifacts/site-version-menu.js +4 -4
- package/dist/app/components/billing-class-mark.js +3 -3
- package/dist/app/components/capabilities/capability-detail-sheet.js +7 -7
- package/dist/app/components/capabilities/capability-logo-source.js +15 -14
- package/dist/app/components/capabilities/connector-tool-permissions.js +4 -4
- package/dist/app/components/capabilities/native-connect-setup.js +16 -15
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +3 -3
- package/dist/app/components/capabilities/perform-capability-action.js +1 -1
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +17 -16
- package/dist/app/components/capabilities/session-capability-card.js +70 -69
- package/dist/app/components/capabilities/session-capability-card.js.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.js +22 -22
- package/dist/app/components/capabilities/session-connect-inputs-card.js +16 -15
- package/dist/app/components/capabilities/session-custom-mcp-card.js +18 -17
- package/dist/app/components/capabilities/session-github-card.js +19 -18
- package/dist/app/components/capabilities/session-machine-card.js +21 -21
- package/dist/app/components/capabilities/session-personal-github-card.js +16 -15
- package/dist/app/components/capabilities/session-plugin-card.js +9 -9
- package/dist/app/components/capabilities/use-connection-accounts.js +1 -1
- package/dist/app/components/command-menu/chat-status.js +18 -18
- package/dist/app/components/command-menu/chat-switcher.js +47 -47
- package/dist/app/components/command-menu/command-menu.js +58 -58
- package/dist/app/components/command-menu/shortcut-sheet.js +15 -15
- package/dist/app/components/composer-capabilities-menu-body.js +4 -4
- package/dist/app/components/composer-mobile-plus-panel.js +9 -9
- package/dist/app/components/composer-mobile-plus.js +1 -1
- package/dist/app/components/credit-required-gate.js +1 -1
- package/dist/app/components/credit-required-prompt.js +11 -11
- package/dist/app/components/credits/checkout-credits-celebration.js +2 -2
- package/dist/app/components/credits/checkout-return.js +2 -2
- package/dist/app/components/credits/credit-refusal-notice.js +2 -2
- package/dist/app/components/desktop/app-shots.js +7 -7
- package/dist/app/components/desktop/computer-use.js +2 -2
- package/dist/app/components/desktop/this-computer.js +5 -5
- package/dist/app/components/feedback.js +3 -3
- package/dist/app/components/follow-up-repository-menu-body.js +2 -2
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +1 -1
- package/dist/app/components/machines/connect-machine-dialog.js +11 -11
- package/dist/app/components/markdown.js +7 -7
- package/dist/app/components/models/models-ui.js +6 -6
- package/dist/app/components/models/subscription-usage.js +5 -5
- package/dist/app/components/my-things.js +4 -4
- package/dist/app/components/own-where-it-works.js +3 -3
- package/dist/app/components/personal-resource-attachment-surface.js +4 -4
- package/dist/app/components/pickers.js +6 -6
- package/dist/app/components/rail/channel-create-dialog.js +3 -3
- package/dist/app/components/rail/project-glyph.js +29 -29
- package/dist/app/components/rail/project-profile.js +36 -36
- package/dist/app/components/rail/rail-context.js +1 -1
- package/dist/app/components/rail/rail-sections.js +80 -80
- package/dist/app/components/rail/session-header.js +64 -64
- package/dist/app/components/rail/session-list.js +78 -78
- package/dist/app/components/rail/session-row-content.js +4 -4
- package/dist/app/components/rail/session-row-hover-details.js +20 -20
- package/dist/app/components/rail/session-shell.js +102 -102
- package/dist/app/components/rail/site-session-group-heading.js +14 -14
- package/dist/app/components/repository-picker.js +2 -2
- package/dist/app/components/session/agent-configuration-panel.js +16 -16
- package/dist/app/components/session/artifact-session-page.js +1 -1
- package/dist/app/components/session/banners.js +9 -9
- package/dist/app/components/session/chat-avatar.js +29 -29
- package/dist/app/components/session/console-new-conversation.js +51 -51
- package/dist/app/components/session/descendant-requests.js +46 -46
- package/dist/app/components/session/editable-artifacts-workspace.css +1905 -0
- package/dist/app/components/session/editable-artifacts-workspace.css.map +1 -0
- package/dist/app/components/session/editable-artifacts-workspace.js +22 -22
- package/dist/app/components/session/failed-session-banner.js +10 -10
- package/dist/app/components/session/failure-recovery-boundary.js +3 -3
- package/dist/app/components/session/human-input-delegation-record.js +2 -2
- package/dist/app/components/session/human-input.js +42 -42
- package/dist/app/components/session/inspector.js +56 -56
- package/dist/app/components/session/linked-panel.js +3 -3
- package/dist/app/components/session/message-actions.js +3 -3
- package/dist/app/components/session/model-recovery-notice.js +3 -3
- package/dist/app/components/session/new-session-settings-menu.js +11 -11
- package/dist/app/components/session/new-session-setup-strip.js +30 -30
- package/dist/app/components/session/pull-request-panel.js +11 -11
- package/dist/app/components/session/sandbox-recovery-actions.js +3 -3
- package/dist/app/components/session/sandbox-switcher.js +8 -8
- package/dist/app/components/session/sandbox-workspace.js +58 -58
- package/dist/app/components/session/search-markdown-highlight.js +8 -8
- package/dist/app/components/session/search-results-view.js +9 -9
- package/dist/app/components/session/session-admin-access.js +4 -4
- package/dist/app/components/session/session-admission-notice.js +4 -4
- package/dist/app/components/session/session-avatar-picker.js +30 -30
- package/dist/app/components/session/session-avatar.js +28 -28
- package/dist/app/components/session/session-machine-access-notice.js +4 -4
- package/dist/app/components/session/session-profile-dialog.js +34 -34
- package/dist/app/components/session/session-profile-editor.js +35 -35
- package/dist/app/components/session/session-retention.js +4 -4
- package/dist/app/components/session/session-search-dialog.js +9 -9
- package/dist/app/components/session/session-tenancy-control.js +8 -8
- package/dist/app/components/session/session-usage-limit-section.js +4 -4
- package/dist/app/components/session/share-chat-dialog.js +6 -6
- package/dist/app/components/session/subagents.js +13 -13
- package/dist/app/components/session/subscription-account-indicator.js +11 -11
- package/dist/app/components/session/subscription-account-menu.js +6 -6
- package/dist/app/components/settings/row-select.js +4 -4
- package/dist/app/components/toaster.js +2 -2
- package/dist/app/components/transcription-settings.js +6 -6
- package/dist/app/components/ui/destructive-confirm.js +5 -5
- package/dist/app/components/usage/usage-entry.js +3 -3
- package/dist/app/components/window-bar.js +13 -13
- package/dist/app/components/workspace-composer-plus.js +18 -17
- package/dist/app/components/workspace-reach.js +4 -4
- package/dist/app/embed/session-app.js +241 -240
- package/dist/app/lib/actions/actions-provider.js +12 -12
- package/dist/app/lib/agent-capabilities.js +3 -3
- package/dist/app/lib/app-connect-card.js +9 -9
- package/dist/app/lib/app-shared-key-dialog.js +4 -4
- package/dist/app/lib/app-sync-opt-in.js +3 -3
- package/dist/app/lib/codex-usage-query.js +2 -2
- package/dist/app/lib/composer-connectors.js +16 -15
- package/dist/app/lib/console-site.js +5 -5
- package/dist/app/lib/console-text.js +2 -2
- package/dist/app/lib/events.js +18 -18
- package/dist/app/lib/failed-session-copy.js +3 -3
- package/dist/app/lib/model-access-onboarding.js +3 -3
- package/dist/app/lib/move-chat-to-machine.js +3 -3
- package/dist/app/lib/needs-you.d.ts +2 -1
- package/dist/app/lib/needs-you.js +1 -1
- package/dist/app/lib/ready-made-apps.d.ts +14 -0
- package/dist/app/lib/ready-made-apps.js +8 -0
- package/dist/app/lib/session-branch-cache.js +13 -13
- package/dist/app/lib/session-capabilities.js +1 -1
- package/dist/app/lib/session-create.js +4 -4
- package/dist/app/lib/session-group-pagination.js +13 -13
- package/dist/app/lib/session-hover-facts.js +17 -17
- package/dist/app/lib/session-list-dirty-scopes.js +14 -14
- package/dist/app/lib/session-model.js +2 -2
- package/dist/app/lib/session-rail.js +10 -10
- package/dist/app/lib/session-rename.js +3 -3
- package/dist/app/lib/sessions-group.js +12 -12
- package/dist/app/lib/site-tool-consent-dialog.js +8 -8
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +4 -4
- package/dist/app/lib/use-follow-up-repositories.js +3 -3
- package/dist/app/lib/use-workspace-machines.js +4 -4
- package/dist/app/lib/use-workspace-model-catalog.js +3 -3
- package/dist/app/lib/use-workspace-rigs.js +2 -2
- package/dist/app/lib/workspace-navigation-preference.js +4 -4
- package/dist/app/lib/workspace-scope-context.js +3 -3
- package/dist/app/routes/app-page-view.js +10 -10
- package/dist/app/routes/app-page.js +1 -1
- package/dist/app/routes/artifacts.css +1905 -0
- package/dist/app/routes/artifacts.css.map +1 -0
- package/dist/app/routes/artifacts.js +105 -94
- package/dist/app/routes/artifacts.js.map +1 -1
- package/dist/app/routes/retained-artifact.js +47 -47
- package/dist/app/routes/session-unavailable.js +2 -2
- package/dist/app/routes/session.js +131 -130
- package/dist/app/routes/sessions-index-hydration.js +5 -5
- package/dist/app/routes/sessions-index.js +108 -107
- package/dist/app/routes/site-view.js +107 -95
- package/dist/app/routes/site-view.js.map +1 -1
- package/dist/approval-review-model.js +2 -2
- package/dist/artifacts-document.js +4 -4
- package/dist/artifacts-presentation.js +5 -5
- package/dist/artifacts-spreadsheet.js +4 -4
- package/dist/artifacts.js +15 -15
- package/dist/automation-model.js +5 -5
- package/dist/automations.d.ts +1 -0
- package/dist/automations.js +29 -22
- package/dist/automations.js.map +1 -1
- package/dist/browser-viewer-EPGAK2W6.js +23 -0
- package/dist/chat-interactive-block-65YU6TMO.js +22 -0
- package/dist/chunk-25ODMMHH.js +403 -0
- package/dist/chunk-266ZPUMH.js +400 -0
- package/dist/chunk-2A7SB7UR.js +168 -0
- package/dist/chunk-2EU4Y7A7.js +100 -0
- package/dist/chunk-2F7VSGRS.js +1177 -0
- package/dist/chunk-2F7VSGRS.js.map +1 -0
- package/dist/chunk-2L6B6766.js +5915 -0
- package/dist/chunk-2L6B6766.js.map +1 -0
- package/dist/chunk-2LBYEHBH.js +570 -0
- package/dist/chunk-2MHIIF4N.js +141 -0
- package/dist/chunk-2SHWGDAA.js +283 -0
- package/dist/chunk-2VX42S4W.js +773 -0
- package/dist/chunk-2WGJQ4XK.js +311 -0
- package/dist/chunk-2XSF44TY.js +15 -0
- package/dist/chunk-33HUZMNE.js +639 -0
- package/dist/chunk-36IKHM4Q.js +148 -0
- package/dist/chunk-3JVQZAXQ.js +4480 -0
- package/dist/chunk-3SDESU6U.js +287 -0
- package/dist/chunk-3VXZFBP6.js +292 -0
- package/dist/chunk-3WDNCSVU.js +197 -0
- package/dist/chunk-3WDNCSVU.js.map +1 -0
- package/dist/chunk-3YKED2ZV.js +307 -0
- package/dist/chunk-3ZNOKD3S.js +1019 -0
- package/dist/chunk-45SB4UK3.js +2580 -0
- package/dist/chunk-47BETTVA.js +133 -0
- package/dist/chunk-4BTQ473O.js +274 -0
- package/dist/chunk-4JQRWJVR.js +249 -0
- package/dist/chunk-4NGIKV2W.js +316 -0
- package/dist/chunk-4NGIKV2W.js.map +1 -0
- package/dist/chunk-4R6WFQKZ.js +202 -0
- package/dist/chunk-4WEPVL7X.js +283 -0
- package/dist/chunk-4YWHOAB4.js +201 -0
- package/dist/chunk-52XGYRVS.js +155 -0
- package/dist/chunk-5G6UHUJZ.js +43 -0
- package/dist/chunk-5HFITPHH.js +229 -0
- package/dist/chunk-5LVVN2K7.js +650 -0
- package/dist/chunk-5PVXFVIT.js +48 -0
- package/dist/chunk-5WFGW7B7.js +187 -0
- package/dist/chunk-5YMSLKJP.js +92 -0
- package/dist/chunk-5YMSLKJP.js.map +1 -0
- package/dist/chunk-66M7RVM6.js +3070 -0
- package/dist/chunk-6AGNZI2W.js +437 -0
- package/dist/chunk-6ENO634Y.js +373 -0
- package/dist/chunk-6LQ5KEMP.js +200 -0
- package/dist/chunk-6QGIWLH5.js +428 -0
- package/dist/chunk-6WEDWD4N.js +170 -0
- package/dist/chunk-6YCYPXDA.js +114 -0
- package/dist/chunk-6YTNMDFP.js +318 -0
- package/dist/chunk-73O7NO3F.js +50 -0
- package/dist/chunk-76VXLTQF.js +251 -0
- package/dist/chunk-7EJ7PSZT.js +93 -0
- package/dist/chunk-7GS2MGFU.js +27 -0
- package/dist/chunk-7MF6MFHS.js +406 -0
- package/dist/chunk-7N35XBSC.js +386 -0
- package/dist/chunk-7ND2VMKV.js +270 -0
- package/dist/chunk-7RVJLO3N.js +154 -0
- package/dist/chunk-7VAILBP6.js +353 -0
- package/dist/chunk-7VSJQWFO.js +37 -0
- package/dist/chunk-7YKUIKGH.js +335 -0
- package/dist/chunk-A7DS77WC.js +138 -0
- package/dist/chunk-ABGHRGID.js +376 -0
- package/dist/chunk-ABGHRGID.js.map +1 -0
- package/dist/chunk-AEH34OOU.js +298 -0
- package/dist/chunk-ANWMRO2G.js +554 -0
- package/dist/chunk-APGUIORF.js +247 -0
- package/dist/chunk-ASCVQJB4.js +1309 -0
- package/dist/chunk-AVYFJKQS.js +10044 -0
- package/dist/chunk-AVYFJKQS.js.map +1 -0
- package/dist/chunk-AY4XH73V.js +1333 -0
- package/dist/chunk-B6AH43UQ.js +2434 -0
- package/dist/chunk-BBZUHH4F.js +154 -0
- package/dist/chunk-BBZUHH4F.js.map +1 -0
- package/dist/chunk-BGT43KDL.js +42 -0
- package/dist/chunk-BHS4KW4W.js +3851 -0
- package/dist/chunk-BJUDGPOD.js +1803 -0
- package/dist/chunk-BJUDGPOD.js.map +1 -0
- package/dist/chunk-BNWO72C2.js +851 -0
- package/dist/chunk-BSPIASSQ.js +2551 -0
- package/dist/chunk-BVWJEZXG.js +230 -0
- package/dist/chunk-BZ47G3VP.js +366 -0
- package/dist/chunk-C6KI5P3H.js +72 -0
- package/dist/chunk-CLERWAEA.js +2317 -0
- package/dist/chunk-CNRFFCAE.js +572 -0
- package/dist/chunk-CPC6CYVW.js +236 -0
- package/dist/chunk-D23UAPXK.js +107 -0
- package/dist/chunk-DAPZEB4R.js +29 -0
- package/dist/chunk-DEDEA3WS.js +205 -0
- package/dist/chunk-DHVA3T3K.js +271 -0
- package/dist/chunk-DJQ6TKIP.js +391 -0
- package/dist/chunk-DK2CDAMR.js +33 -0
- package/dist/chunk-DPOB6MUS.js +278 -0
- package/dist/chunk-DSO7S6PZ.js +137 -0
- package/dist/chunk-DV3OECO6.js +333 -0
- package/dist/chunk-DW2IQRMB.js +1187 -0
- package/dist/chunk-DWLPQTDL.js +134 -0
- package/dist/chunk-DXMKECFR.js +3176 -0
- package/dist/chunk-DYQRNIID.js +73 -0
- package/dist/chunk-DZLWO73N.js +129 -0
- package/dist/chunk-DZZSFPMW.js +66 -0
- package/dist/chunk-DZZSFPMW.js.map +1 -0
- package/dist/chunk-E2GNUL64.js +107 -0
- package/dist/chunk-E7XU2KHD.js +192 -0
- package/dist/chunk-ENYULVQW.js +114 -0
- package/dist/chunk-EWHQ3DFM.js +41 -0
- package/dist/chunk-F2T4J7CK.js +4957 -0
- package/dist/chunk-F2T4J7CK.js.map +1 -0
- package/dist/chunk-F3LIUDXN.js +738 -0
- package/dist/chunk-F5C7DTVR.js +103 -0
- package/dist/chunk-F5NFGBIN.js +391 -0
- package/dist/chunk-F6XJLGOV.js +175 -0
- package/dist/chunk-F7T2STMX.js +158 -0
- package/dist/chunk-FAEVOM6B.js +371 -0
- package/dist/chunk-FCFAXQDM.js +276 -0
- package/dist/chunk-FEQVCQMK.js +138 -0
- package/dist/chunk-FLD4VOJW.js +4565 -0
- package/dist/chunk-FLD4VOJW.js.map +1 -0
- package/dist/chunk-FLDF2Z44.js +396 -0
- package/dist/chunk-GADABL3P.js +772 -0
- package/dist/chunk-GFUDB3SA.js +140 -0
- package/dist/chunk-GGPZPBHS.js +215 -0
- package/dist/chunk-GIEGIEMT.js +311 -0
- package/dist/chunk-GKWFQEO3.js +187 -0
- package/dist/chunk-GMMB4NCN.js +250 -0
- package/dist/chunk-GN4FOL2G.js +269 -0
- package/dist/chunk-GQJAMANY.js +469 -0
- package/dist/chunk-H7F4ANJQ.js +379 -0
- package/dist/chunk-HEPFJ3XQ.js +3110 -0
- package/dist/chunk-HLRAQITA.js +234 -0
- package/dist/chunk-HXYSZKCC.js +117 -0
- package/dist/chunk-I5Q6FVHP.js +828 -0
- package/dist/chunk-I7M5BYJU.js +265 -0
- package/dist/chunk-IH3J7VWW.js +85 -0
- package/dist/chunk-IMMDXSZ4.js +178 -0
- package/dist/chunk-IOMZDY5D.js +199 -0
- package/dist/chunk-IQTCUUDF.js +1236 -0
- package/dist/chunk-ISR6KXWT.js +898 -0
- package/dist/chunk-IWPPGXUZ.js +3321 -0
- package/dist/chunk-IYKO6BBK.js +3854 -0
- package/dist/chunk-IYKO6BBK.js.map +1 -0
- package/dist/chunk-IYUZPNMU.js +79 -0
- package/dist/chunk-IYUZPNMU.js.map +1 -0
- package/dist/chunk-JNPCRNPA.js +84 -0
- package/dist/chunk-JSJGGP32.js +505 -0
- package/dist/chunk-JZZUEJYD.js +56 -0
- package/dist/chunk-K5XFZKK5.js +270 -0
- package/dist/chunk-K6GRTSEA.js +65 -0
- package/dist/chunk-KA4PZU3Q.js +103 -0
- package/dist/chunk-KGZ35ESO.js +83 -0
- package/dist/chunk-KRM4PW5N.js +1021 -0
- package/dist/chunk-KSNKF6FE.js +551 -0
- package/dist/chunk-KSNKF6FE.js.map +1 -0
- package/dist/chunk-LEZGGRDQ.js +1095 -0
- package/dist/chunk-LFWMFFKT.js +144 -0
- package/dist/chunk-LKSPUZPH.js +849 -0
- package/dist/chunk-LLX4S6BI.js +401 -0
- package/dist/chunk-M4WEF4DZ.js +850 -0
- package/dist/chunk-MATYGLUT.js +121 -0
- package/dist/chunk-MDI6SH7B.js +27 -0
- package/dist/chunk-MQO7MSA6.js +43 -0
- package/dist/chunk-MQO7MSA6.js.map +1 -0
- package/dist/chunk-MQTYIBY6.js +263 -0
- package/dist/chunk-MRKY2GL5.js +1185 -0
- package/dist/chunk-MSIQ42IY.js +794 -0
- package/dist/chunk-MVGU7BET.js +357 -0
- package/dist/chunk-MWY4TBDY.js +404 -0
- package/dist/chunk-NGQCWCD6.js +234 -0
- package/dist/chunk-NKXMIOYN.js +538 -0
- package/dist/chunk-NMVRFFCR.js +256 -0
- package/dist/chunk-NNTDIKJP.js +407 -0
- package/dist/chunk-NQXCPP4G.js +98 -0
- package/dist/chunk-NYGS6FNV.js +132 -0
- package/dist/chunk-O3LOQDTI.js +176 -0
- package/dist/chunk-O5HRZ2KG.js +818 -0
- package/dist/chunk-O5PZRVQR.js +214 -0
- package/dist/chunk-O6KR5SN7.js +399 -0
- package/dist/chunk-OBKDRV2H.js +259 -0
- package/dist/chunk-OBKKUBGL.js +107 -0
- package/dist/chunk-OFYXDB6I.js +52 -0
- package/dist/chunk-OLMWJGSJ.js +50 -0
- package/dist/chunk-OO7N6APA.js +598 -0
- package/dist/chunk-OO7N6APA.js.map +1 -0
- package/dist/chunk-ORRACKLB.js +1263 -0
- package/dist/chunk-P426WWAB.js +351 -0
- package/dist/chunk-P4GOY3ZL.js +177 -0
- package/dist/chunk-P4KVJLUC.js +129 -0
- package/dist/chunk-P4N7ZS6W.js +56 -0
- package/dist/chunk-P6LSLNSL.js +209 -0
- package/dist/chunk-P7MQCSML.js +77 -0
- package/dist/chunk-P7MQCSML.js.map +1 -0
- package/dist/chunk-PAFSIDM2.js +111 -0
- package/dist/chunk-PC2JAIAH.js +117 -0
- package/dist/chunk-PGSXT5OY.js +207 -0
- package/dist/chunk-QDMGUTOU.js +2984 -0
- package/dist/chunk-QEMDQKQT.js +1356 -0
- package/dist/chunk-QK7VU5N3.js +2412 -0
- package/dist/chunk-QL4Q332Z.js +12 -0
- package/dist/chunk-QL5227KT.js +1184 -0
- package/dist/chunk-QREYGVWO.js +297 -0
- package/dist/chunk-QREYGVWO.js.map +1 -0
- package/dist/chunk-QUFCZMHG.js +114 -0
- package/dist/chunk-QXPKUKOV.js +227 -0
- package/dist/chunk-QZE3KD34.js +441 -0
- package/dist/chunk-RAIUIXCY.js +166 -0
- package/dist/chunk-RDLS6IZY.js +723 -0
- package/dist/chunk-RKPETJDJ.js +175 -0
- package/dist/chunk-RMDLTRLI.js +372 -0
- package/dist/chunk-RR6DQN4X.js +523 -0
- package/dist/chunk-RVPH6BB7.js +218 -0
- package/dist/chunk-RVXLSVJH.js +931 -0
- package/dist/chunk-RVY5EZNU.js +246 -0
- package/dist/chunk-RWHBX4MN.js +1024 -0
- package/dist/chunk-RWHDMGFG.js +214 -0
- package/dist/chunk-RYB3WBMZ.js +113 -0
- package/dist/chunk-S7EO77EE.js +449 -0
- package/dist/chunk-S7J4HBPP.js +584 -0
- package/dist/chunk-SA3XI7FB.js +108 -0
- package/dist/chunk-SKRTCSUL.js +196 -0
- package/dist/chunk-SUWDILUY.js +5089 -0
- package/dist/chunk-SWTPVMR4.js +251 -0
- package/dist/chunk-T5BYEE66.js +191 -0
- package/dist/chunk-T652Q4R6.js +48 -0
- package/dist/chunk-TBUOHK6R.js +608 -0
- package/dist/chunk-TCUAGCAX.js +1628 -0
- package/dist/chunk-TLWH4E3P.js +126 -0
- package/dist/chunk-TNHGSWG3.js +1152 -0
- package/dist/chunk-TO6VBJI3.js +383 -0
- package/dist/chunk-TOL7MOAN.js +162 -0
- package/dist/chunk-U243CBVZ.js +2553 -0
- package/dist/chunk-U2CEPRDH.js +46 -0
- package/dist/chunk-UAZPXKPH.js +3996 -0
- package/dist/chunk-UHRGUMLJ.js +412 -0
- package/dist/chunk-UNDSD6UA.js +131 -0
- package/dist/chunk-USU2SS4V.js +3690 -0
- package/dist/chunk-USWA5GQQ.js +340 -0
- package/dist/chunk-UXGTI4HR.js +184 -0
- package/dist/chunk-UZKAHEQO.js +172 -0
- package/dist/chunk-VALESBNH.js +113 -0
- package/dist/chunk-VMSMVWCJ.js +515 -0
- package/dist/chunk-VPERSFGV.js +158 -0
- package/dist/chunk-VVW2CBWK.js +21 -0
- package/dist/chunk-VVW2CBWK.js.map +1 -0
- package/dist/chunk-VXPY2GF3.js +124 -0
- package/dist/chunk-W7RKXZDV.js +112 -0
- package/dist/chunk-WEGZPK4I.js +532 -0
- package/dist/chunk-WPKY3BGG.js +380 -0
- package/dist/chunk-X3T3N6W5.js +1022 -0
- package/dist/chunk-X4OGMBY6.js +110 -0
- package/dist/chunk-X7ZHIJEI.js +82 -0
- package/dist/chunk-XR7Y2HPZ.js +67 -0
- package/dist/chunk-Y2NMKJ7F.js +57 -0
- package/dist/chunk-Y2QYPJDN.js +26 -0
- package/dist/chunk-Y47EPVCD.js +211 -0
- package/dist/chunk-Y5Q4ETIW.js +162 -0
- package/dist/chunk-YMQVVFXI.js +105 -0
- package/dist/chunk-YQ6FP33X.js +378 -0
- package/dist/chunk-YUA42N5A.js +406 -0
- package/dist/chunk-YXFNW64N.js +91 -0
- package/dist/chunk-Z76RJPZF.js +389 -0
- package/dist/chunk-ZD67RM6G.js +60 -0
- package/dist/chunk-ZE4RD7U5.js +231 -0
- package/dist/chunk-ZGR7LNXC.js +432 -0
- package/dist/chunk-ZNA65Q6Y.js +20 -0
- package/dist/chunk-ZRNK6FK6.js +188 -0
- package/dist/chunk-ZVAIKQMC.js +296 -0
- package/dist/chunk-ZZ3KNGTJ.js +246 -0
- package/dist/components/automations/pasted-webhook-steps.d.ts +29 -0
- package/dist/components/browser-viewer.d.ts +4 -1
- package/dist/components/human-input-form.d.ts +3 -4
- package/dist/components/use-fit-browser-viewport.d.ts +10 -0
- package/dist/composer.js +8 -8
- package/dist/computer-viewer-M5N3GWBR.js +21 -0
- package/dist/connect.js +17 -15
- package/dist/connection-step-up-CNVFVWYO.js +146 -0
- package/dist/connection-step-up-CNVFVWYO.js.map +1 -0
- package/dist/desktop-dictation.js +8 -8
- package/dist/desktop.js +2 -2
- package/dist/editor.js +2 -2
- package/dist/embedded-new-voice-QZJG5DZ3.js +25 -0
- package/dist/embedded-voice-7KOQNGKU.js +25 -0
- package/dist/fleet-decision-row-FJPAWNOQ.js +361 -0
- package/dist/in-chat-connect-model.js +5 -5
- package/dist/index.js +65 -65
- package/dist/interaction.js +5 -5
- package/dist/latest-question-F3VPDR7U.js +124 -0
- package/dist/machines.js +3 -3
- package/dist/meetings-recorder.js +1 -1
- package/dist/meetings.js +20 -20
- package/dist/messages/en.d.ts +1 -1
- package/dist/messages.js +1 -1
- package/dist/model-policy-picker-menu-UNI5B6N6.js +23 -0
- package/dist/model-policy-picker-menu-UNI5B6N6.js.map +1 -0
- package/dist/payment-page-card-HZJVN3F4.js +226 -0
- package/dist/platform-activity-row-NPEGG2VE.js +156 -0
- package/dist/queue-surface-implementation-RTCTPF5T.js +932 -0
- package/dist/realtime.js +4 -4
- package/dist/recorder-host-YPWPLMS6.js +80 -0
- package/dist/recordings.js +3 -3
- package/dist/sandbox-files-BJKCREOU.js +28 -0
- package/dist/sandbox-files-BJKCREOU.js.map +1 -0
- package/dist/session-app.js +242 -241
- package/dist/session-connect-cards-DK3UJZRY.js +27 -0
- package/dist/session-connect-cards-DK3UJZRY.js.map +1 -0
- package/dist/session-list-model.js +2 -2
- package/dist/session-realtime-AKDUKFY4.js +30 -0
- package/dist/session-realtime-AKDUKFY4.js.map +1 -0
- package/dist/session-realtime.js +2 -2
- package/dist/session-ui.js +42 -42
- package/dist/session.js +11 -11
- package/dist/sites.js +2 -2
- package/dist/terminal.js +2 -2
- package/dist/this-computer.js +3 -3
- package/dist/timeline-annotation-markers-7QSYK22C.js +157 -0
- package/dist/timeline-annotation-selection-XYNMESWL.js +208 -0
- package/dist/timeline-annotations-dialog-WSI6L2CP.js +283 -0
- package/dist/timeline-model.js +26 -26
- package/dist/ui/access-list.js +5 -5
- package/dist/ui/cadence-picker.js +5 -5
- package/dist/ui/choice-cards.js +3 -3
- package/dist/ui/confirm-dialog.js +2 -2
- package/dist/ui/copy-field.js +3 -3
- package/dist/ui/detail-page.js +2 -2
- package/dist/ui/detail-sheet.js +2 -2
- package/dist/ui/disclosure.js +3 -3
- package/dist/ui/email-chips-input.js +3 -3
- package/dist/ui/field.js +2 -2
- package/dist/ui/flush-form-page.js +3 -3
- package/dist/ui/form-dialog.js +2 -2
- package/dist/ui/list-row.js +4 -4
- package/dist/ui/relative-time.js +3 -3
- package/dist/ui/revision-history.js +5 -5
- package/dist/ui/role-select.js +5 -5
- package/dist/ui/select-menu.js +3 -3
- package/dist/ui/usage-meter.js +4 -4
- package/dist/usage.js +2 -2
- package/dist/workbench.js +4 -4
- package/package.json +6 -5
- package/src/app/components/agents/agent-skills.tsx +21 -18
- package/src/app/components/agents/agent-trigger-dialog.tsx +80 -119
- package/src/app/components/agents/agent-trigger-model.ts +47 -0
- package/src/app/components/agents/agent-trigger-repositories.tsx +88 -0
- package/src/app/components/agents/agents-page.tsx +118 -38
- package/src/app/components/artifacts/app-server-status.test.tsx +33 -0
- package/src/app/components/artifacts/app-server-status.tsx +93 -0
- package/src/app/components/artifacts/ready-made-apps.tsx +84 -0
- package/src/app/lib/codex-model-switch.ts +1 -0
- package/src/app/lib/needs-you.test.ts +8 -0
- package/src/app/lib/needs-you.tsx +3 -1
- package/src/app/lib/ready-made-apps.tsx +42 -0
- package/src/app/lib/session-capabilities.tsx +1 -0
- package/src/app/routes/artifacts.tsx +11 -0
- package/src/app/routes/site-view.tsx +9 -0
- package/src/automations.ts +8 -2
- package/src/components/automations/pasted-webhook-steps.tsx +89 -0
- package/src/components/browser-viewer.tsx +49 -7
- package/src/components/human-input-form.tsx +16 -5
- package/src/components/secret-question-field.tsx +42 -32
- package/src/components/use-fit-browser-viewport.ts +84 -0
- package/src/messages/en.ts +1 -1
- package/src/timeline/projection.ts +5 -2
- package/src/timeline/tool-steps.ts +2 -0
- package/dist/browser-viewer-EIEMRVFF.js +0 -23
- package/dist/chat-interactive-block-FV37LWYZ.js +0 -22
- package/dist/chunk-2COBAJC7.js +0 -818
- package/dist/chunk-2HS3IUXE.js +0 -170
- package/dist/chunk-2JTMFYCT.js +0 -296
- package/dist/chunk-2JXKP4M6.js +0 -114
- package/dist/chunk-2P5K7CBH.js +0 -269
- package/dist/chunk-2XGRHMRI.js +0 -250
- package/dist/chunk-332BYSAZ.js +0 -65
- package/dist/chunk-3EM5GTP3.js +0 -158
- package/dist/chunk-3L5ATO4A.js +0 -52
- package/dist/chunk-3S3PJB7J.js +0 -107
- package/dist/chunk-3SBKYPNM.js +0 -270
- package/dist/chunk-3Z7VA6ET.js +0 -114
- package/dist/chunk-43BRJBEV.js +0 -207
- package/dist/chunk-46LZO4ZO.js +0 -188
- package/dist/chunk-4AH4EEHE.js +0 -298
- package/dist/chunk-4D3YJNVN.js +0 -270
- package/dist/chunk-4E5QVAT4.js +0 -4480
- package/dist/chunk-4I4RTI4D.js +0 -37
- package/dist/chunk-4KASGJTF.js +0 -287
- package/dist/chunk-4RUKLIOF.js +0 -1263
- package/dist/chunk-4UU7FN3I.js +0 -650
- package/dist/chunk-4ZRNASBF.js +0 -2551
- package/dist/chunk-5EJBPQI2.js +0 -41
- package/dist/chunk-5G4IGG7F.js +0 -209
- package/dist/chunk-5JAYZOAW.js +0 -131
- package/dist/chunk-5JOKVDSR.js +0 -789
- package/dist/chunk-5JOKVDSR.js.map +0 -1
- package/dist/chunk-5MP3G7ZV.js +0 -1236
- package/dist/chunk-5OVRMKP5.js +0 -42
- package/dist/chunk-5SGTRULO.js +0 -1184
- package/dist/chunk-5SOL4INY.js +0 -572
- package/dist/chunk-5Y34P32B.js +0 -27
- package/dist/chunk-62HIKJ5F.js +0 -72
- package/dist/chunk-63VNZRLY.js +0 -386
- package/dist/chunk-63WDQV5X.js +0 -148
- package/dist/chunk-6DOIINY4.js +0 -201
- package/dist/chunk-6DQBUKGJ.js +0 -112
- package/dist/chunk-6SETNFNH.js +0 -1399
- package/dist/chunk-6SETNFNH.js.map +0 -1
- package/dist/chunk-6XYFMHNT.js +0 -56
- package/dist/chunk-6YU3WV2P.js +0 -33
- package/dist/chunk-6YUHDFOZ.js +0 -351
- package/dist/chunk-72EOXOR7.js +0 -1185
- package/dist/chunk-72ND4ALI.js +0 -532
- package/dist/chunk-757LE32E.js +0 -283
- package/dist/chunk-7S2S4MXR.js +0 -138
- package/dist/chunk-7SYCHMXS.js +0 -200
- package/dist/chunk-7TVAPQOV.js +0 -5089
- package/dist/chunk-7UDLRDHK.js +0 -214
- package/dist/chunk-7YLQCMZP.js +0 -357
- package/dist/chunk-A5GX3CAE.js +0 -849
- package/dist/chunk-A7EBV2EB.js +0 -318
- package/dist/chunk-AB5SPXUR.js +0 -114
- package/dist/chunk-AHVQGL5A.js +0 -202
- package/dist/chunk-AI77ZKEV.js +0 -26
- package/dist/chunk-AIX2D6RB.js +0 -1019
- package/dist/chunk-AVSIHP7Q.js +0 -192
- package/dist/chunk-AWK23Q32.js +0 -107
- package/dist/chunk-AYM3UFP2.js +0 -43
- package/dist/chunk-AYM3UFP2.js.map +0 -1
- package/dist/chunk-AYVWA6KD.js +0 -432
- package/dist/chunk-AYVWA6KD.js.map +0 -1
- package/dist/chunk-AYZXE4IM.js +0 -2553
- package/dist/chunk-AZGGSPTE.js +0 -124
- package/dist/chunk-B45TB4HY.js +0 -931
- package/dist/chunk-BC7PTVXW.js +0 -140
- package/dist/chunk-BIUJHNVR.js +0 -46
- package/dist/chunk-BJUOKUE5.js +0 -234
- package/dist/chunk-BMT5IXQW.js +0 -154
- package/dist/chunk-BMT5IXQW.js.map +0 -1
- package/dist/chunk-BPEEVMKH.js +0 -292
- package/dist/chunk-BXMND6YU.js +0 -307
- package/dist/chunk-C6OM2SRG.js +0 -117
- package/dist/chunk-CIRCUDKF.js +0 -1309
- package/dist/chunk-CLKR4UG3.js +0 -403
- package/dist/chunk-CPX6BHER.js +0 -554
- package/dist/chunk-CVC4RO7D.js +0 -155
- package/dist/chunk-D3YJAQGK.js +0 -103
- package/dist/chunk-DFQ72BLS.js +0 -1024
- package/dist/chunk-DG65PJOZ.js +0 -4564
- package/dist/chunk-DG65PJOZ.js.map +0 -1
- package/dist/chunk-DNAXAS5R.js +0 -406
- package/dist/chunk-DO247ITS.js +0 -175
- package/dist/chunk-DONBARLL.js +0 -154
- package/dist/chunk-DTLXQ3ZU.js +0 -373
- package/dist/chunk-EAXTACI4.js +0 -274
- package/dist/chunk-EDPH7AJH.js +0 -412
- package/dist/chunk-EER3B3G5.js +0 -10036
- package/dist/chunk-EER3B3G5.js.map +0 -1
- package/dist/chunk-EFKQHCGJ.js +0 -276
- package/dist/chunk-EILSPMVD.js +0 -133
- package/dist/chunk-EMWT6GOK.js +0 -437
- package/dist/chunk-EO22NST7.js +0 -259
- package/dist/chunk-ER5MYLIE.js +0 -256
- package/dist/chunk-ES5HKVQF.js +0 -234
- package/dist/chunk-EXRQ5ATC.js +0 -738
- package/dist/chunk-F26YBYAZ.js +0 -111
- package/dist/chunk-F6QP4GSK.js +0 -515
- package/dist/chunk-F7QEO7M2.js +0 -851
- package/dist/chunk-FJFGDLXB.js +0 -12
- package/dist/chunk-FLLJ2WXW.js +0 -113
- package/dist/chunk-FMBJKMT4.js +0 -107
- package/dist/chunk-FPN4I4CG.js +0 -3690
- package/dist/chunk-FUXFJTXL.js +0 -3070
- package/dist/chunk-FZI4QOAV.js +0 -3996
- package/dist/chunk-G6SSSX5R.js +0 -158
- package/dist/chunk-GBGCMHBB.js +0 -608
- package/dist/chunk-GJ4GTYOD.js +0 -372
- package/dist/chunk-GLSDWNFV.js +0 -432
- package/dist/chunk-GMGAW3T6.js +0 -278
- package/dist/chunk-GNGI6XFN.js +0 -43
- package/dist/chunk-GSW4YHZE.js +0 -229
- package/dist/chunk-GUC6IWEY.js +0 -407
- package/dist/chunk-GWAY3SO5.js +0 -15
- package/dist/chunk-GXOTNT5D.js +0 -168
- package/dist/chunk-GZZCVF76.js +0 -3851
- package/dist/chunk-H4VMHFOX.js +0 -214
- package/dist/chunk-HA5RFQAF.js +0 -110
- package/dist/chunk-HJLHGXWL.js +0 -103
- package/dist/chunk-HKNMNL7B.js +0 -2984
- package/dist/chunk-HT7MBHLY.js +0 -1021
- package/dist/chunk-I5FSUZVW.js +0 -584
- package/dist/chunk-II376XH3.js +0 -117
- package/dist/chunk-IINQO425.js +0 -246
- package/dist/chunk-IIXNEOK4.js +0 -1022
- package/dist/chunk-IM3WA5AL.js +0 -311
- package/dist/chunk-IX4P4OGR.js +0 -399
- package/dist/chunk-IX5VHZYS.js +0 -129
- package/dist/chunk-J7QHW2KS.js +0 -549
- package/dist/chunk-J7QHW2KS.js.map +0 -1
- package/dist/chunk-JB3TSUZO.js +0 -263
- package/dist/chunk-JD6LHU26.js +0 -3852
- package/dist/chunk-JD6LHU26.js.map +0 -1
- package/dist/chunk-JIC6RLUB.js +0 -27
- package/dist/chunk-JNJIZCTN.js +0 -172
- package/dist/chunk-JNV5ZPUV.js +0 -828
- package/dist/chunk-JPQFVR24.js +0 -50
- package/dist/chunk-JPZVMXDP.js +0 -1333
- package/dist/chunk-JVPF34MX.js +0 -215
- package/dist/chunk-KED67KAF.js +0 -85
- package/dist/chunk-KJ72GMZ2.js +0 -378
- package/dist/chunk-KVPQUADA.js +0 -5915
- package/dist/chunk-KVPQUADA.js.map +0 -1
- package/dist/chunk-KXBLLFOO.js +0 -249
- package/dist/chunk-LIOZ2MXJ.js +0 -380
- package/dist/chunk-LPEFULJY.js +0 -73
- package/dist/chunk-LRMGPO7E.js +0 -98
- package/dist/chunk-LVKTKORH.js +0 -121
- package/dist/chunk-MFVUNNFN.js +0 -205
- package/dist/chunk-MIUJ3EH5.js +0 -60
- package/dist/chunk-MIUMNTIJ.js +0 -175
- package/dist/chunk-ML46TXRM.js +0 -113
- package/dist/chunk-MQRHTOQ2.js +0 -218
- package/dist/chunk-NIPON7YB.js +0 -850
- package/dist/chunk-NPBEUU22.js +0 -196
- package/dist/chunk-NSXKGS2K.js +0 -178
- package/dist/chunk-NUEFORM6.js +0 -2317
- package/dist/chunk-NZOFNQNC.js +0 -176
- package/dist/chunk-OATXCLTY.js +0 -211
- package/dist/chunk-OG3ELROW.js +0 -538
- package/dist/chunk-OI4WS7FW.js +0 -162
- package/dist/chunk-OITGZUDC.js +0 -82
- package/dist/chunk-OKD2LBMK.js +0 -333
- package/dist/chunk-OSA4CGST.js +0 -134
- package/dist/chunk-OXYAKUFU.js +0 -401
- package/dist/chunk-OYMSMU5O.js +0 -396
- package/dist/chunk-P4NZ72KY.js +0 -162
- package/dist/chunk-PBYL2VIM.js +0 -379
- package/dist/chunk-PDW3OOSZ.js +0 -505
- package/dist/chunk-PGRKTQIW.js +0 -523
- package/dist/chunk-Q273Q33U.js +0 -166
- package/dist/chunk-Q4CLS2HL.js +0 -340
- package/dist/chunk-QFOBUA2J.js +0 -428
- package/dist/chunk-QLIM4D56.js +0 -1095
- package/dist/chunk-QMQF5U2D.js +0 -20
- package/dist/chunk-QPOUPVPD.js +0 -144
- package/dist/chunk-QTJAQ6DS.js +0 -48
- package/dist/chunk-QUOFP3G7.js +0 -404
- package/dist/chunk-QVOTPOXK.js +0 -29
- package/dist/chunk-QYZ5RVGM.js +0 -184
- package/dist/chunk-R7CVDKRN.js +0 -2580
- package/dist/chunk-RB7MXNZD.js +0 -639
- package/dist/chunk-RDZQFZOQ.js +0 -187
- package/dist/chunk-RIHKEGWS.js +0 -194
- package/dist/chunk-RIHKEGWS.js.map +0 -1
- package/dist/chunk-ROSB7GF6.js +0 -57
- package/dist/chunk-RP3YMYCX.js +0 -723
- package/dist/chunk-RPHXJHNX.js +0 -271
- package/dist/chunk-RVC3M66H.js +0 -191
- package/dist/chunk-S3OTJAAC.js +0 -283
- package/dist/chunk-SBWPMVRN.js +0 -56
- package/dist/chunk-SERECSAR.js +0 -138
- package/dist/chunk-SHSEF3GJ.js +0 -187
- package/dist/chunk-SMS2M3RG.js +0 -772
- package/dist/chunk-SRDHDIRQ.js +0 -177
- package/dist/chunk-SXRYA7NN.js +0 -389
- package/dist/chunk-SYA3WYG4.js +0 -1187
- package/dist/chunk-T2QDSTBH.js +0 -371
- package/dist/chunk-TFSCGFYV.js +0 -251
- package/dist/chunk-TGCKZOSX.js +0 -246
- package/dist/chunk-THILLYQM.js +0 -132
- package/dist/chunk-TI6LGUEZ.js +0 -2412
- package/dist/chunk-TSY6YZL2.js +0 -366
- package/dist/chunk-TW2RHTLH.js +0 -3321
- package/dist/chunk-TWA5G277.js +0 -141
- package/dist/chunk-TZZ2S4XI.js +0 -247
- package/dist/chunk-UECD27LX.js +0 -251
- package/dist/chunk-UFJDETKG.js +0 -108
- package/dist/chunk-UHBIXNRW.js +0 -100
- package/dist/chunk-UHCFYX4I.js +0 -570
- package/dist/chunk-UHTURYJO.js +0 -898
- package/dist/chunk-UJH63JT3.js +0 -67
- package/dist/chunk-UMLPIMGW.js +0 -105
- package/dist/chunk-UOLDS6S5.js +0 -1152
- package/dist/chunk-UUE3OGXI.js +0 -84
- package/dist/chunk-UUNJ2E57.js +0 -391
- package/dist/chunk-UYQVWRAH.js +0 -199
- package/dist/chunk-UYWWUEL4.js +0 -126
- package/dist/chunk-V4CQKX5H.js +0 -48
- package/dist/chunk-V4QM7GDQ.js +0 -3176
- package/dist/chunk-V5Y74WII.js +0 -91
- package/dist/chunk-VGGZLUQK.js +0 -129
- package/dist/chunk-VGX636MB.js +0 -311
- package/dist/chunk-VGZLFQO2.js +0 -773
- package/dist/chunk-VJWZATNF.js +0 -137
- package/dist/chunk-VMWCIC2N.js +0 -50
- package/dist/chunk-VPWKTIU5.js +0 -227
- package/dist/chunk-VXOLG6YB.js +0 -469
- package/dist/chunk-W2NAU5VB.js +0 -1628
- package/dist/chunk-WGORKMR3.js +0 -353
- package/dist/chunk-WMIDELSJ.js +0 -391
- package/dist/chunk-WSOSGL2G.js +0 -383
- package/dist/chunk-WXUUOM4X.js +0 -400
- package/dist/chunk-WZ74QHLE.js +0 -4863
- package/dist/chunk-WZ74QHLE.js.map +0 -1
- package/dist/chunk-X2OWM2ME.js +0 -1870
- package/dist/chunk-X2OWM2ME.js.map +0 -1
- package/dist/chunk-XDXKB25W.js +0 -93
- package/dist/chunk-XE4PHI74.js +0 -231
- package/dist/chunk-XLJ4SQFS.js +0 -230
- package/dist/chunk-XOD4FX6M.js +0 -2434
- package/dist/chunk-XODQ2GPF.js +0 -3110
- package/dist/chunk-XT54RTAM.js +0 -441
- package/dist/chunk-YDQHFJM2.js +0 -83
- package/dist/chunk-YH6O6OQ6.js +0 -1356
- package/dist/chunk-YIKPC2QP.js +0 -794
- package/dist/chunk-ZD7PKYC4.js +0 -335
- package/dist/chunk-ZEQYHEWP.js +0 -406
- package/dist/chunk-ZRVUCTSI.js +0 -265
- package/dist/chunk-ZSI3ITRK.js +0 -449
- package/dist/chunk-ZZMEQCIZ.js +0 -236
- package/dist/computer-viewer-ZBY3BPYW.js +0 -21
- package/dist/connection-step-up-JQ4OFSQN.js +0 -145
- package/dist/connection-step-up-JQ4OFSQN.js.map +0 -1
- package/dist/embedded-new-voice-ZB5XLKLU.js +0 -25
- package/dist/embedded-voice-MZJISDCS.js +0 -25
- package/dist/fleet-decision-row-LG3SYVR3.js +0 -361
- package/dist/latest-question-QWJTXMFA.js +0 -124
- package/dist/model-policy-picker-menu-5Y72PLNF.js +0 -23
- package/dist/payment-page-card-YPSXRHBA.js +0 -226
- package/dist/platform-activity-row-ZU4MEBNK.js +0 -156
- package/dist/queue-surface-implementation-6Q25RPH6.js +0 -932
- package/dist/recorder-host-JD4GWJ2Z.js +0 -80
- package/dist/sandbox-files-HCLEEJMU.js +0 -28
- package/dist/session-connect-cards-DRKEN3Z4.js +0 -27
- package/dist/session-realtime-IZOTTRH6.js +0 -30
- package/dist/timeline-annotation-markers-WWXNJOXI.js +0 -157
- package/dist/timeline-annotation-selection-ZKRIQFIQ.js +0 -208
- package/dist/timeline-annotations-dialog-4IMKTOXJ.js +0 -283
- /package/dist/{browser-viewer-EIEMRVFF.js.map → app/components/agents/agent-trigger-repositories.js.map} +0 -0
- /package/dist/{chat-interactive-block-FV37LWYZ.js.map → app/components/artifacts/app-server-status.js.map} +0 -0
- /package/dist/{computer-viewer-ZBY3BPYW.js.map → app/components/artifacts/ready-made-apps.js.map} +0 -0
- /package/dist/{embedded-new-voice-ZB5XLKLU.js.map → app/lib/ready-made-apps.js.map} +0 -0
- /package/dist/{embedded-voice-MZJISDCS.js.map → browser-viewer-EPGAK2W6.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-5Y72PLNF.js.map → chat-interactive-block-65YU6TMO.js.map} +0 -0
- /package/dist/{chunk-CLKR4UG3.js.map → chunk-25ODMMHH.js.map} +0 -0
- /package/dist/{chunk-WXUUOM4X.js.map → chunk-266ZPUMH.js.map} +0 -0
- /package/dist/{chunk-GXOTNT5D.js.map → chunk-2A7SB7UR.js.map} +0 -0
- /package/dist/{chunk-UHBIXNRW.js.map → chunk-2EU4Y7A7.js.map} +0 -0
- /package/dist/{chunk-UHCFYX4I.js.map → chunk-2LBYEHBH.js.map} +0 -0
- /package/dist/{chunk-TWA5G277.js.map → chunk-2MHIIF4N.js.map} +0 -0
- /package/dist/{chunk-757LE32E.js.map → chunk-2SHWGDAA.js.map} +0 -0
- /package/dist/{chunk-VGZLFQO2.js.map → chunk-2VX42S4W.js.map} +0 -0
- /package/dist/{chunk-VGX636MB.js.map → chunk-2WGJQ4XK.js.map} +0 -0
- /package/dist/{chunk-GWAY3SO5.js.map → chunk-2XSF44TY.js.map} +0 -0
- /package/dist/{chunk-RB7MXNZD.js.map → chunk-33HUZMNE.js.map} +0 -0
- /package/dist/{chunk-63WDQV5X.js.map → chunk-36IKHM4Q.js.map} +0 -0
- /package/dist/{chunk-4E5QVAT4.js.map → chunk-3JVQZAXQ.js.map} +0 -0
- /package/dist/{chunk-4KASGJTF.js.map → chunk-3SDESU6U.js.map} +0 -0
- /package/dist/{chunk-BPEEVMKH.js.map → chunk-3VXZFBP6.js.map} +0 -0
- /package/dist/{chunk-BXMND6YU.js.map → chunk-3YKED2ZV.js.map} +0 -0
- /package/dist/{chunk-AIX2D6RB.js.map → chunk-3ZNOKD3S.js.map} +0 -0
- /package/dist/{chunk-R7CVDKRN.js.map → chunk-45SB4UK3.js.map} +0 -0
- /package/dist/{chunk-EILSPMVD.js.map → chunk-47BETTVA.js.map} +0 -0
- /package/dist/{chunk-EAXTACI4.js.map → chunk-4BTQ473O.js.map} +0 -0
- /package/dist/{chunk-KXBLLFOO.js.map → chunk-4JQRWJVR.js.map} +0 -0
- /package/dist/{chunk-AHVQGL5A.js.map → chunk-4R6WFQKZ.js.map} +0 -0
- /package/dist/{chunk-S3OTJAAC.js.map → chunk-4WEPVL7X.js.map} +0 -0
- /package/dist/{chunk-6DOIINY4.js.map → chunk-4YWHOAB4.js.map} +0 -0
- /package/dist/{chunk-CVC4RO7D.js.map → chunk-52XGYRVS.js.map} +0 -0
- /package/dist/{chunk-GNGI6XFN.js.map → chunk-5G6UHUJZ.js.map} +0 -0
- /package/dist/{chunk-GSW4YHZE.js.map → chunk-5HFITPHH.js.map} +0 -0
- /package/dist/{chunk-4UU7FN3I.js.map → chunk-5LVVN2K7.js.map} +0 -0
- /package/dist/{chunk-V4CQKX5H.js.map → chunk-5PVXFVIT.js.map} +0 -0
- /package/dist/{chunk-RDZQFZOQ.js.map → chunk-5WFGW7B7.js.map} +0 -0
- /package/dist/{chunk-FUXFJTXL.js.map → chunk-66M7RVM6.js.map} +0 -0
- /package/dist/{chunk-EMWT6GOK.js.map → chunk-6AGNZI2W.js.map} +0 -0
- /package/dist/{chunk-DTLXQ3ZU.js.map → chunk-6ENO634Y.js.map} +0 -0
- /package/dist/{chunk-7SYCHMXS.js.map → chunk-6LQ5KEMP.js.map} +0 -0
- /package/dist/{chunk-QFOBUA2J.js.map → chunk-6QGIWLH5.js.map} +0 -0
- /package/dist/{chunk-2HS3IUXE.js.map → chunk-6WEDWD4N.js.map} +0 -0
- /package/dist/{chunk-AB5SPXUR.js.map → chunk-6YCYPXDA.js.map} +0 -0
- /package/dist/{chunk-A7EBV2EB.js.map → chunk-6YTNMDFP.js.map} +0 -0
- /package/dist/{chunk-JPQFVR24.js.map → chunk-73O7NO3F.js.map} +0 -0
- /package/dist/{chunk-UECD27LX.js.map → chunk-76VXLTQF.js.map} +0 -0
- /package/dist/{chunk-XDXKB25W.js.map → chunk-7EJ7PSZT.js.map} +0 -0
- /package/dist/{chunk-JIC6RLUB.js.map → chunk-7GS2MGFU.js.map} +0 -0
- /package/dist/{chunk-DNAXAS5R.js.map → chunk-7MF6MFHS.js.map} +0 -0
- /package/dist/{chunk-63VNZRLY.js.map → chunk-7N35XBSC.js.map} +0 -0
- /package/dist/{chunk-3SBKYPNM.js.map → chunk-7ND2VMKV.js.map} +0 -0
- /package/dist/{chunk-DONBARLL.js.map → chunk-7RVJLO3N.js.map} +0 -0
- /package/dist/{chunk-WGORKMR3.js.map → chunk-7VAILBP6.js.map} +0 -0
- /package/dist/{chunk-4I4RTI4D.js.map → chunk-7VSJQWFO.js.map} +0 -0
- /package/dist/{chunk-ZD7PKYC4.js.map → chunk-7YKUIKGH.js.map} +0 -0
- /package/dist/{chunk-SERECSAR.js.map → chunk-A7DS77WC.js.map} +0 -0
- /package/dist/{chunk-4AH4EEHE.js.map → chunk-AEH34OOU.js.map} +0 -0
- /package/dist/{chunk-CPX6BHER.js.map → chunk-ANWMRO2G.js.map} +0 -0
- /package/dist/{chunk-TZZ2S4XI.js.map → chunk-APGUIORF.js.map} +0 -0
- /package/dist/{chunk-CIRCUDKF.js.map → chunk-ASCVQJB4.js.map} +0 -0
- /package/dist/{chunk-JPZVMXDP.js.map → chunk-AY4XH73V.js.map} +0 -0
- /package/dist/{chunk-XOD4FX6M.js.map → chunk-B6AH43UQ.js.map} +0 -0
- /package/dist/{chunk-5OVRMKP5.js.map → chunk-BGT43KDL.js.map} +0 -0
- /package/dist/{chunk-GZZCVF76.js.map → chunk-BHS4KW4W.js.map} +0 -0
- /package/dist/{chunk-F7QEO7M2.js.map → chunk-BNWO72C2.js.map} +0 -0
- /package/dist/{chunk-4ZRNASBF.js.map → chunk-BSPIASSQ.js.map} +0 -0
- /package/dist/{chunk-XLJ4SQFS.js.map → chunk-BVWJEZXG.js.map} +0 -0
- /package/dist/{chunk-TSY6YZL2.js.map → chunk-BZ47G3VP.js.map} +0 -0
- /package/dist/{chunk-62HIKJ5F.js.map → chunk-C6KI5P3H.js.map} +0 -0
- /package/dist/{chunk-NUEFORM6.js.map → chunk-CLERWAEA.js.map} +0 -0
- /package/dist/{chunk-5SOL4INY.js.map → chunk-CNRFFCAE.js.map} +0 -0
- /package/dist/{chunk-ZZMEQCIZ.js.map → chunk-CPC6CYVW.js.map} +0 -0
- /package/dist/{chunk-FMBJKMT4.js.map → chunk-D23UAPXK.js.map} +0 -0
- /package/dist/{chunk-QVOTPOXK.js.map → chunk-DAPZEB4R.js.map} +0 -0
- /package/dist/{chunk-MFVUNNFN.js.map → chunk-DEDEA3WS.js.map} +0 -0
- /package/dist/{chunk-RPHXJHNX.js.map → chunk-DHVA3T3K.js.map} +0 -0
- /package/dist/{chunk-UUNJ2E57.js.map → chunk-DJQ6TKIP.js.map} +0 -0
- /package/dist/{chunk-6YU3WV2P.js.map → chunk-DK2CDAMR.js.map} +0 -0
- /package/dist/{chunk-GMGAW3T6.js.map → chunk-DPOB6MUS.js.map} +0 -0
- /package/dist/{chunk-VJWZATNF.js.map → chunk-DSO7S6PZ.js.map} +0 -0
- /package/dist/{chunk-OKD2LBMK.js.map → chunk-DV3OECO6.js.map} +0 -0
- /package/dist/{chunk-SYA3WYG4.js.map → chunk-DW2IQRMB.js.map} +0 -0
- /package/dist/{chunk-OSA4CGST.js.map → chunk-DWLPQTDL.js.map} +0 -0
- /package/dist/{chunk-V4QM7GDQ.js.map → chunk-DXMKECFR.js.map} +0 -0
- /package/dist/{chunk-LPEFULJY.js.map → chunk-DYQRNIID.js.map} +0 -0
- /package/dist/{chunk-VGGZLUQK.js.map → chunk-DZLWO73N.js.map} +0 -0
- /package/dist/{chunk-AWK23Q32.js.map → chunk-E2GNUL64.js.map} +0 -0
- /package/dist/{chunk-AVSIHP7Q.js.map → chunk-E7XU2KHD.js.map} +0 -0
- /package/dist/{chunk-2JXKP4M6.js.map → chunk-ENYULVQW.js.map} +0 -0
- /package/dist/{chunk-5EJBPQI2.js.map → chunk-EWHQ3DFM.js.map} +0 -0
- /package/dist/{chunk-EXRQ5ATC.js.map → chunk-F3LIUDXN.js.map} +0 -0
- /package/dist/{chunk-D3YJAQGK.js.map → chunk-F5C7DTVR.js.map} +0 -0
- /package/dist/{chunk-WMIDELSJ.js.map → chunk-F5NFGBIN.js.map} +0 -0
- /package/dist/{chunk-DO247ITS.js.map → chunk-F6XJLGOV.js.map} +0 -0
- /package/dist/{chunk-G6SSSX5R.js.map → chunk-F7T2STMX.js.map} +0 -0
- /package/dist/{chunk-T2QDSTBH.js.map → chunk-FAEVOM6B.js.map} +0 -0
- /package/dist/{chunk-EFKQHCGJ.js.map → chunk-FCFAXQDM.js.map} +0 -0
- /package/dist/{chunk-7S2S4MXR.js.map → chunk-FEQVCQMK.js.map} +0 -0
- /package/dist/{chunk-OYMSMU5O.js.map → chunk-FLDF2Z44.js.map} +0 -0
- /package/dist/{chunk-SMS2M3RG.js.map → chunk-GADABL3P.js.map} +0 -0
- /package/dist/{chunk-BC7PTVXW.js.map → chunk-GFUDB3SA.js.map} +0 -0
- /package/dist/{chunk-JVPF34MX.js.map → chunk-GGPZPBHS.js.map} +0 -0
- /package/dist/{chunk-IM3WA5AL.js.map → chunk-GIEGIEMT.js.map} +0 -0
- /package/dist/{chunk-SHSEF3GJ.js.map → chunk-GKWFQEO3.js.map} +0 -0
- /package/dist/{chunk-2XGRHMRI.js.map → chunk-GMMB4NCN.js.map} +0 -0
- /package/dist/{chunk-2P5K7CBH.js.map → chunk-GN4FOL2G.js.map} +0 -0
- /package/dist/{chunk-VXOLG6YB.js.map → chunk-GQJAMANY.js.map} +0 -0
- /package/dist/{chunk-PBYL2VIM.js.map → chunk-H7F4ANJQ.js.map} +0 -0
- /package/dist/{chunk-XODQ2GPF.js.map → chunk-HEPFJ3XQ.js.map} +0 -0
- /package/dist/{chunk-ES5HKVQF.js.map → chunk-HLRAQITA.js.map} +0 -0
- /package/dist/{chunk-II376XH3.js.map → chunk-HXYSZKCC.js.map} +0 -0
- /package/dist/{chunk-JNV5ZPUV.js.map → chunk-I5Q6FVHP.js.map} +0 -0
- /package/dist/{chunk-ZRVUCTSI.js.map → chunk-I7M5BYJU.js.map} +0 -0
- /package/dist/{chunk-KED67KAF.js.map → chunk-IH3J7VWW.js.map} +0 -0
- /package/dist/{chunk-NSXKGS2K.js.map → chunk-IMMDXSZ4.js.map} +0 -0
- /package/dist/{chunk-UYQVWRAH.js.map → chunk-IOMZDY5D.js.map} +0 -0
- /package/dist/{chunk-5MP3G7ZV.js.map → chunk-IQTCUUDF.js.map} +0 -0
- /package/dist/{chunk-UHTURYJO.js.map → chunk-ISR6KXWT.js.map} +0 -0
- /package/dist/{chunk-TW2RHTLH.js.map → chunk-IWPPGXUZ.js.map} +0 -0
- /package/dist/{chunk-UUE3OGXI.js.map → chunk-JNPCRNPA.js.map} +0 -0
- /package/dist/{chunk-PDW3OOSZ.js.map → chunk-JSJGGP32.js.map} +0 -0
- /package/dist/{chunk-SBWPMVRN.js.map → chunk-JZZUEJYD.js.map} +0 -0
- /package/dist/{chunk-4D3YJNVN.js.map → chunk-K5XFZKK5.js.map} +0 -0
- /package/dist/{chunk-332BYSAZ.js.map → chunk-K6GRTSEA.js.map} +0 -0
- /package/dist/{chunk-HJLHGXWL.js.map → chunk-KA4PZU3Q.js.map} +0 -0
- /package/dist/{chunk-YDQHFJM2.js.map → chunk-KGZ35ESO.js.map} +0 -0
- /package/dist/{chunk-HT7MBHLY.js.map → chunk-KRM4PW5N.js.map} +0 -0
- /package/dist/{chunk-QLIM4D56.js.map → chunk-LEZGGRDQ.js.map} +0 -0
- /package/dist/{chunk-QPOUPVPD.js.map → chunk-LFWMFFKT.js.map} +0 -0
- /package/dist/{chunk-A5GX3CAE.js.map → chunk-LKSPUZPH.js.map} +0 -0
- /package/dist/{chunk-OXYAKUFU.js.map → chunk-LLX4S6BI.js.map} +0 -0
- /package/dist/{chunk-NIPON7YB.js.map → chunk-M4WEF4DZ.js.map} +0 -0
- /package/dist/{chunk-LVKTKORH.js.map → chunk-MATYGLUT.js.map} +0 -0
- /package/dist/{chunk-5Y34P32B.js.map → chunk-MDI6SH7B.js.map} +0 -0
- /package/dist/{chunk-JB3TSUZO.js.map → chunk-MQTYIBY6.js.map} +0 -0
- /package/dist/{chunk-72EOXOR7.js.map → chunk-MRKY2GL5.js.map} +0 -0
- /package/dist/{chunk-YIKPC2QP.js.map → chunk-MSIQ42IY.js.map} +0 -0
- /package/dist/{chunk-7YLQCMZP.js.map → chunk-MVGU7BET.js.map} +0 -0
- /package/dist/{chunk-QUOFP3G7.js.map → chunk-MWY4TBDY.js.map} +0 -0
- /package/dist/{chunk-BJUOKUE5.js.map → chunk-NGQCWCD6.js.map} +0 -0
- /package/dist/{chunk-OG3ELROW.js.map → chunk-NKXMIOYN.js.map} +0 -0
- /package/dist/{chunk-ER5MYLIE.js.map → chunk-NMVRFFCR.js.map} +0 -0
- /package/dist/{chunk-GUC6IWEY.js.map → chunk-NNTDIKJP.js.map} +0 -0
- /package/dist/{chunk-LRMGPO7E.js.map → chunk-NQXCPP4G.js.map} +0 -0
- /package/dist/{chunk-THILLYQM.js.map → chunk-NYGS6FNV.js.map} +0 -0
- /package/dist/{chunk-NZOFNQNC.js.map → chunk-O3LOQDTI.js.map} +0 -0
- /package/dist/{chunk-2COBAJC7.js.map → chunk-O5HRZ2KG.js.map} +0 -0
- /package/dist/{chunk-H4VMHFOX.js.map → chunk-O5PZRVQR.js.map} +0 -0
- /package/dist/{chunk-IX4P4OGR.js.map → chunk-O6KR5SN7.js.map} +0 -0
- /package/dist/{chunk-EO22NST7.js.map → chunk-OBKDRV2H.js.map} +0 -0
- /package/dist/{chunk-3S3PJB7J.js.map → chunk-OBKKUBGL.js.map} +0 -0
- /package/dist/{chunk-3L5ATO4A.js.map → chunk-OFYXDB6I.js.map} +0 -0
- /package/dist/{chunk-VMWCIC2N.js.map → chunk-OLMWJGSJ.js.map} +0 -0
- /package/dist/{chunk-4RUKLIOF.js.map → chunk-ORRACKLB.js.map} +0 -0
- /package/dist/{chunk-6YUHDFOZ.js.map → chunk-P426WWAB.js.map} +0 -0
- /package/dist/{chunk-SRDHDIRQ.js.map → chunk-P4GOY3ZL.js.map} +0 -0
- /package/dist/{chunk-IX5VHZYS.js.map → chunk-P4KVJLUC.js.map} +0 -0
- /package/dist/{chunk-6XYFMHNT.js.map → chunk-P4N7ZS6W.js.map} +0 -0
- /package/dist/{chunk-5G4IGG7F.js.map → chunk-P6LSLNSL.js.map} +0 -0
- /package/dist/{chunk-F26YBYAZ.js.map → chunk-PAFSIDM2.js.map} +0 -0
- /package/dist/{chunk-C6OM2SRG.js.map → chunk-PC2JAIAH.js.map} +0 -0
- /package/dist/{chunk-43BRJBEV.js.map → chunk-PGSXT5OY.js.map} +0 -0
- /package/dist/{chunk-HKNMNL7B.js.map → chunk-QDMGUTOU.js.map} +0 -0
- /package/dist/{chunk-YH6O6OQ6.js.map → chunk-QEMDQKQT.js.map} +0 -0
- /package/dist/{chunk-TI6LGUEZ.js.map → chunk-QK7VU5N3.js.map} +0 -0
- /package/dist/{chunk-FJFGDLXB.js.map → chunk-QL4Q332Z.js.map} +0 -0
- /package/dist/{chunk-5SGTRULO.js.map → chunk-QL5227KT.js.map} +0 -0
- /package/dist/{chunk-3Z7VA6ET.js.map → chunk-QUFCZMHG.js.map} +0 -0
- /package/dist/{chunk-VPWKTIU5.js.map → chunk-QXPKUKOV.js.map} +0 -0
- /package/dist/{chunk-XT54RTAM.js.map → chunk-QZE3KD34.js.map} +0 -0
- /package/dist/{chunk-Q273Q33U.js.map → chunk-RAIUIXCY.js.map} +0 -0
- /package/dist/{chunk-RP3YMYCX.js.map → chunk-RDLS6IZY.js.map} +0 -0
- /package/dist/{chunk-MIUMNTIJ.js.map → chunk-RKPETJDJ.js.map} +0 -0
- /package/dist/{chunk-GJ4GTYOD.js.map → chunk-RMDLTRLI.js.map} +0 -0
- /package/dist/{chunk-PGRKTQIW.js.map → chunk-RR6DQN4X.js.map} +0 -0
- /package/dist/{chunk-MQRHTOQ2.js.map → chunk-RVPH6BB7.js.map} +0 -0
- /package/dist/{chunk-B45TB4HY.js.map → chunk-RVXLSVJH.js.map} +0 -0
- /package/dist/{chunk-IINQO425.js.map → chunk-RVY5EZNU.js.map} +0 -0
- /package/dist/{chunk-DFQ72BLS.js.map → chunk-RWHBX4MN.js.map} +0 -0
- /package/dist/{chunk-7UDLRDHK.js.map → chunk-RWHDMGFG.js.map} +0 -0
- /package/dist/{chunk-FLLJ2WXW.js.map → chunk-RYB3WBMZ.js.map} +0 -0
- /package/dist/{chunk-ZSI3ITRK.js.map → chunk-S7EO77EE.js.map} +0 -0
- /package/dist/{chunk-I5FSUZVW.js.map → chunk-S7J4HBPP.js.map} +0 -0
- /package/dist/{chunk-UFJDETKG.js.map → chunk-SA3XI7FB.js.map} +0 -0
- /package/dist/{chunk-NPBEUU22.js.map → chunk-SKRTCSUL.js.map} +0 -0
- /package/dist/{chunk-7TVAPQOV.js.map → chunk-SUWDILUY.js.map} +0 -0
- /package/dist/{chunk-TFSCGFYV.js.map → chunk-SWTPVMR4.js.map} +0 -0
- /package/dist/{chunk-RVC3M66H.js.map → chunk-T5BYEE66.js.map} +0 -0
- /package/dist/{chunk-QTJAQ6DS.js.map → chunk-T652Q4R6.js.map} +0 -0
- /package/dist/{chunk-GBGCMHBB.js.map → chunk-TBUOHK6R.js.map} +0 -0
- /package/dist/{chunk-W2NAU5VB.js.map → chunk-TCUAGCAX.js.map} +0 -0
- /package/dist/{chunk-UYWWUEL4.js.map → chunk-TLWH4E3P.js.map} +0 -0
- /package/dist/{chunk-UOLDS6S5.js.map → chunk-TNHGSWG3.js.map} +0 -0
- /package/dist/{chunk-WSOSGL2G.js.map → chunk-TO6VBJI3.js.map} +0 -0
- /package/dist/{chunk-OI4WS7FW.js.map → chunk-TOL7MOAN.js.map} +0 -0
- /package/dist/{chunk-AYZXE4IM.js.map → chunk-U243CBVZ.js.map} +0 -0
- /package/dist/{chunk-BIUJHNVR.js.map → chunk-U2CEPRDH.js.map} +0 -0
- /package/dist/{chunk-FZI4QOAV.js.map → chunk-UAZPXKPH.js.map} +0 -0
- /package/dist/{chunk-EDPH7AJH.js.map → chunk-UHRGUMLJ.js.map} +0 -0
- /package/dist/{chunk-5JAYZOAW.js.map → chunk-UNDSD6UA.js.map} +0 -0
- /package/dist/{chunk-FPN4I4CG.js.map → chunk-USU2SS4V.js.map} +0 -0
- /package/dist/{chunk-Q4CLS2HL.js.map → chunk-USWA5GQQ.js.map} +0 -0
- /package/dist/{chunk-QYZ5RVGM.js.map → chunk-UXGTI4HR.js.map} +0 -0
- /package/dist/{chunk-JNJIZCTN.js.map → chunk-UZKAHEQO.js.map} +0 -0
- /package/dist/{chunk-ML46TXRM.js.map → chunk-VALESBNH.js.map} +0 -0
- /package/dist/{chunk-F6QP4GSK.js.map → chunk-VMSMVWCJ.js.map} +0 -0
- /package/dist/{chunk-3EM5GTP3.js.map → chunk-VPERSFGV.js.map} +0 -0
- /package/dist/{chunk-AZGGSPTE.js.map → chunk-VXPY2GF3.js.map} +0 -0
- /package/dist/{chunk-6DQBUKGJ.js.map → chunk-W7RKXZDV.js.map} +0 -0
- /package/dist/{chunk-72ND4ALI.js.map → chunk-WEGZPK4I.js.map} +0 -0
- /package/dist/{chunk-LIOZ2MXJ.js.map → chunk-WPKY3BGG.js.map} +0 -0
- /package/dist/{chunk-IIXNEOK4.js.map → chunk-X3T3N6W5.js.map} +0 -0
- /package/dist/{chunk-HA5RFQAF.js.map → chunk-X4OGMBY6.js.map} +0 -0
- /package/dist/{chunk-OITGZUDC.js.map → chunk-X7ZHIJEI.js.map} +0 -0
- /package/dist/{chunk-UJH63JT3.js.map → chunk-XR7Y2HPZ.js.map} +0 -0
- /package/dist/{chunk-ROSB7GF6.js.map → chunk-Y2NMKJ7F.js.map} +0 -0
- /package/dist/{chunk-AI77ZKEV.js.map → chunk-Y2QYPJDN.js.map} +0 -0
- /package/dist/{chunk-OATXCLTY.js.map → chunk-Y47EPVCD.js.map} +0 -0
- /package/dist/{chunk-P4NZ72KY.js.map → chunk-Y5Q4ETIW.js.map} +0 -0
- /package/dist/{chunk-UMLPIMGW.js.map → chunk-YMQVVFXI.js.map} +0 -0
- /package/dist/{chunk-KJ72GMZ2.js.map → chunk-YQ6FP33X.js.map} +0 -0
- /package/dist/{chunk-ZEQYHEWP.js.map → chunk-YUA42N5A.js.map} +0 -0
- /package/dist/{chunk-V5Y74WII.js.map → chunk-YXFNW64N.js.map} +0 -0
- /package/dist/{chunk-SXRYA7NN.js.map → chunk-Z76RJPZF.js.map} +0 -0
- /package/dist/{chunk-MIUJ3EH5.js.map → chunk-ZD67RM6G.js.map} +0 -0
- /package/dist/{chunk-XE4PHI74.js.map → chunk-ZE4RD7U5.js.map} +0 -0
- /package/dist/{chunk-GLSDWNFV.js.map → chunk-ZGR7LNXC.js.map} +0 -0
- /package/dist/{chunk-QMQF5U2D.js.map → chunk-ZNA65Q6Y.js.map} +0 -0
- /package/dist/{chunk-46LZO4ZO.js.map → chunk-ZRNK6FK6.js.map} +0 -0
- /package/dist/{chunk-2JTMFYCT.js.map → chunk-ZVAIKQMC.js.map} +0 -0
- /package/dist/{chunk-TGCKZOSX.js.map → chunk-ZZ3KNGTJ.js.map} +0 -0
- /package/dist/{sandbox-files-HCLEEJMU.js.map → computer-viewer-M5N3GWBR.js.map} +0 -0
- /package/dist/{session-connect-cards-DRKEN3Z4.js.map → embedded-new-voice-QZJG5DZ3.js.map} +0 -0
- /package/dist/{session-realtime-IZOTTRH6.js.map → embedded-voice-7KOQNGKU.js.map} +0 -0
- /package/dist/{fleet-decision-row-LG3SYVR3.js.map → fleet-decision-row-FJPAWNOQ.js.map} +0 -0
- /package/dist/{latest-question-QWJTXMFA.js.map → latest-question-F3VPDR7U.js.map} +0 -0
- /package/dist/{payment-page-card-YPSXRHBA.js.map → payment-page-card-HZJVN3F4.js.map} +0 -0
- /package/dist/{platform-activity-row-ZU4MEBNK.js.map → platform-activity-row-NPEGG2VE.js.map} +0 -0
- /package/dist/{queue-surface-implementation-6Q25RPH6.js.map → queue-surface-implementation-RTCTPF5T.js.map} +0 -0
- /package/dist/{recorder-host-JD4GWJ2Z.js.map → recorder-host-YPWPLMS6.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-WWXNJOXI.js.map → timeline-annotation-markers-7QSYK22C.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-ZKRIQFIQ.js.map → timeline-annotation-selection-XYNMESWL.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-4IMKTOXJ.js.map → timeline-annotations-dialog-WSI6L2CP.js.map} +0 -0
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
GITHUB_CARD_MORE_SIZE,
|
|
4
|
+
GITHUB_CARD_PAGE_SIZE,
|
|
5
|
+
GITHUB_CARD_SEARCH_THRESHOLD,
|
|
6
|
+
gitHubRepositoryChatState,
|
|
7
|
+
matchesRepositorySearch,
|
|
8
|
+
orderRepositoriesForChat,
|
|
9
|
+
repositoryUseMessage,
|
|
10
|
+
revokedGitHubRepositoryResources,
|
|
11
|
+
usingRepositoriesLabel
|
|
12
|
+
} from "./chunk-2PPIA25J.js";
|
|
13
|
+
import {
|
|
14
|
+
clearGitHubInstallRequest,
|
|
15
|
+
readGitHubInstallRequest,
|
|
16
|
+
subscribeGitHubInstallRequests
|
|
17
|
+
} from "./chunk-PVNI2KHS.js";
|
|
18
|
+
import {
|
|
19
|
+
capabilityLogoSource
|
|
20
|
+
} from "./chunk-Y2QYPJDN.js";
|
|
21
|
+
import {
|
|
22
|
+
repositoryDisplayName
|
|
23
|
+
} from "./chunk-AK2634UU.js";
|
|
24
|
+
import {
|
|
25
|
+
hasWorkspacePermission
|
|
26
|
+
} from "./chunk-EQSXKGTW.js";
|
|
27
|
+
import {
|
|
28
|
+
isPersonalWorkspace
|
|
29
|
+
} from "./chunk-LBSXJVHD.js";
|
|
30
|
+
import {
|
|
31
|
+
usePage
|
|
32
|
+
} from "./chunk-C52N45PY.js";
|
|
33
|
+
import {
|
|
34
|
+
useAppContext
|
|
35
|
+
} from "./chunk-7GGVDTCZ.js";
|
|
36
|
+
import {
|
|
37
|
+
RowButton
|
|
38
|
+
} from "./chunk-3FI3GS6M.js";
|
|
39
|
+
import {
|
|
40
|
+
cn
|
|
41
|
+
} from "./chunk-A3MTTRCX.js";
|
|
42
|
+
import {
|
|
43
|
+
Input
|
|
44
|
+
} from "./chunk-INGGBKDC.js";
|
|
45
|
+
import {
|
|
46
|
+
ListRow,
|
|
47
|
+
ListRowSkeleton,
|
|
48
|
+
RowList
|
|
49
|
+
} from "./chunk-O5HRZ2KG.js";
|
|
50
|
+
import {
|
|
51
|
+
LogoTile
|
|
52
|
+
} from "./chunk-KYUYKACJ.js";
|
|
53
|
+
import {
|
|
54
|
+
userErrorText
|
|
55
|
+
} from "./chunk-UJQMDNZ5.js";
|
|
56
|
+
import {
|
|
57
|
+
Notice
|
|
58
|
+
} from "./chunk-FSOQDUCG.js";
|
|
59
|
+
import {
|
|
60
|
+
SessionCapabilityFrame
|
|
61
|
+
} from "./chunk-RWHDMGFG.js";
|
|
62
|
+
import {
|
|
63
|
+
Button
|
|
64
|
+
} from "./chunk-7QQN3KNP.js";
|
|
65
|
+
|
|
66
|
+
// src/app/components/capabilities/session-github-card.tsx
|
|
67
|
+
import { ArrowUpRightIcon, BookMarkedIcon, CheckIcon, Loader2Icon, LockIcon } from "lucide-react";
|
|
68
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
69
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
70
|
+
var AWAITING_REFRESH_MS = 3e3;
|
|
71
|
+
var SETTLED_REFRESH_MS = 6e4;
|
|
72
|
+
var AWAITING_GITHUB_MS = 15 * 6e4;
|
|
73
|
+
var lastForegroundRefresh = /* @__PURE__ */ new Map();
|
|
74
|
+
function SessionGitHubCapabilityCard({
|
|
75
|
+
item,
|
|
76
|
+
workspaceId,
|
|
77
|
+
sessionId,
|
|
78
|
+
resources,
|
|
79
|
+
sendContext,
|
|
80
|
+
onConfigured
|
|
81
|
+
}) {
|
|
82
|
+
const page = usePage();
|
|
83
|
+
const context = useAppContext();
|
|
84
|
+
const refreshGitHub = context.refreshGitHub;
|
|
85
|
+
const recommendation = item.capability;
|
|
86
|
+
const [observed, setObserved] = useState(null);
|
|
87
|
+
const status = observed && observed.over === context.githubStatus ? observed.status : context.githubStatus;
|
|
88
|
+
const [expanded, setExpanded] = useState(false);
|
|
89
|
+
const [busy, setBusy] = useState(false);
|
|
90
|
+
const [connectError, setConnectError] = useState(null);
|
|
91
|
+
const opener = useRef(null);
|
|
92
|
+
const cardRef = useRef(null);
|
|
93
|
+
const inFlight = useRef(false);
|
|
94
|
+
const requestSequence = useRef(0);
|
|
95
|
+
const active = useRef(true);
|
|
96
|
+
const sentToGitHubAt = useRef(0);
|
|
97
|
+
useEffect(() => {
|
|
98
|
+
active.current = true;
|
|
99
|
+
return () => {
|
|
100
|
+
active.current = false;
|
|
101
|
+
};
|
|
102
|
+
}, []);
|
|
103
|
+
const bound = status?.status === "bound";
|
|
104
|
+
const ownerApprovalPending = useGitHubInstallRequest(workspaceId, bound);
|
|
105
|
+
const accessKnown = context.accessContext !== null && context.accessContext !== void 0;
|
|
106
|
+
const can = (permission) => !accessKnown || hasWorkspacePermission(context.accessContext, workspaceId, permission);
|
|
107
|
+
const canUseGitHub = can("github:use");
|
|
108
|
+
const canMessage = can("sessions:control");
|
|
109
|
+
const canManage = Boolean(status?.linkUrl);
|
|
110
|
+
const personal = isPersonalWorkspace(
|
|
111
|
+
context.workspaces?.find((entry) => entry.id === workspaceId) ?? null,
|
|
112
|
+
null
|
|
113
|
+
);
|
|
114
|
+
const canSyncGitHub = can("github:manage");
|
|
115
|
+
const awaitingChange = !bound || context.githubRepos.length === 0;
|
|
116
|
+
const repoBusy = context.repoBusy;
|
|
117
|
+
useEffect(() => {
|
|
118
|
+
if (!canUseGitHub) return;
|
|
119
|
+
const onForeground = () => {
|
|
120
|
+
if (document.visibilityState === "hidden" || repoBusy) return;
|
|
121
|
+
const now = Date.now();
|
|
122
|
+
const awaiting = awaitingChange || now - sentToGitHubAt.current < AWAITING_GITHUB_MS;
|
|
123
|
+
const interval = awaiting ? AWAITING_REFRESH_MS : SETTLED_REFRESH_MS;
|
|
124
|
+
if (now - (lastForegroundRefresh.get(workspaceId) ?? 0) < interval) return;
|
|
125
|
+
lastForegroundRefresh.set(workspaceId, now);
|
|
126
|
+
void refreshGitHub(workspaceId, void 0, { sync: awaiting && canSyncGitHub }).catch(
|
|
127
|
+
() => {
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
};
|
|
131
|
+
window.addEventListener("focus", onForeground);
|
|
132
|
+
document.addEventListener("visibilitychange", onForeground);
|
|
133
|
+
return () => {
|
|
134
|
+
window.removeEventListener("focus", onForeground);
|
|
135
|
+
document.removeEventListener("visibilitychange", onForeground);
|
|
136
|
+
};
|
|
137
|
+
}, [awaitingChange, canSyncGitHub, canUseGitHub, refreshGitHub, repoBusy, workspaceId]);
|
|
138
|
+
useEffect(() => {
|
|
139
|
+
const onPageShow = (event) => {
|
|
140
|
+
if (event?.persisted !== true || !inFlight.current) return;
|
|
141
|
+
requestSequence.current += 1;
|
|
142
|
+
inFlight.current = false;
|
|
143
|
+
setBusy(false);
|
|
144
|
+
void refreshGitHub(workspaceId);
|
|
145
|
+
};
|
|
146
|
+
window.addEventListener("pageshow", onPageShow);
|
|
147
|
+
return () => window.removeEventListener("pageshow", onPageShow);
|
|
148
|
+
}, [refreshGitHub, workspaceId]);
|
|
149
|
+
async function connect() {
|
|
150
|
+
if (inFlight.current) return;
|
|
151
|
+
const sequence = ++requestSequence.current;
|
|
152
|
+
inFlight.current = true;
|
|
153
|
+
setBusy(true);
|
|
154
|
+
setConnectError(null);
|
|
155
|
+
let navigating = false;
|
|
156
|
+
try {
|
|
157
|
+
const next = await context.client.getGitHubApp(workspaceId, {
|
|
158
|
+
returnPath: `/workspaces/${encodeURIComponent(workspaceId)}/sessions/${encodeURIComponent(sessionId)}`
|
|
159
|
+
});
|
|
160
|
+
if (!active.current || sequence !== requestSequence.current) return;
|
|
161
|
+
if (next.status === "bound") {
|
|
162
|
+
setObserved({ status: next, over: context.githubStatus });
|
|
163
|
+
void context.refreshGitHub(workspaceId, void 0, { sync: true, userInitiated: true });
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (!next.linkUrl)
|
|
167
|
+
throw new Error(
|
|
168
|
+
next.configured ? "Your account cannot manage this workspace's GitHub connection." : "GitHub is not configured on this deployment."
|
|
169
|
+
);
|
|
170
|
+
navigating = true;
|
|
171
|
+
sentToGitHubAt.current = Date.now();
|
|
172
|
+
page.assign(next.linkUrl);
|
|
173
|
+
} catch (failure) {
|
|
174
|
+
navigating = false;
|
|
175
|
+
if (active.current && sequence === requestSequence.current) {
|
|
176
|
+
setConnectError(`Couldn't start GitHub setup. ${userErrorText(failure, "Try again.")}`);
|
|
177
|
+
setExpanded(true);
|
|
178
|
+
}
|
|
179
|
+
} finally {
|
|
180
|
+
if (sequence === requestSequence.current && !navigating) {
|
|
181
|
+
inFlight.current = false;
|
|
182
|
+
if (active.current) setBusy(false);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
const catalogItem = context.workspaceCapabilityCatalog.find(
|
|
187
|
+
(entry) => entry.id === recommendation.id
|
|
188
|
+
);
|
|
189
|
+
const logo = capabilityLogoSource(
|
|
190
|
+
catalogItem ?? { id: recommendation.id, logoAssetPath: null },
|
|
191
|
+
(path) => context.client.catalogAssetUrl(path)
|
|
192
|
+
);
|
|
193
|
+
const chooser = useRepositoryChooser({
|
|
194
|
+
status,
|
|
195
|
+
workspaceId,
|
|
196
|
+
sessionId,
|
|
197
|
+
resources,
|
|
198
|
+
sendContext,
|
|
199
|
+
onConfigured,
|
|
200
|
+
cardRef,
|
|
201
|
+
onOpenedGitHub: () => {
|
|
202
|
+
sentToGitHubAt.current = Date.now();
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
const unavailable = !bound ? !canUseGitHub ? "You don't have access to this workspace's GitHub connection." : status?.configured === false ? status.setupMode === "platform" ? "GitHub isn't available on this deployment right now." : "GitHub isn't set up on this deployment yet." : status && status.linkUrl === null ? "Only workspace admins can connect GitHub." : null : null;
|
|
206
|
+
const unavailableNote = !bound ? !canUseGitHub ? "Ask a workspace admin for GitHub access." : status?.configured === false ? status.setupMode === "platform" ? "Try again later, or use a public repository URL from the composer." : "An operator adds the GitHub App settings to the API and worker. This card updates when GitHub is connected." : status && status.linkUrl === null ? "Ask a workspace admin to connect GitHub. This card updates when they do." : null : null;
|
|
207
|
+
return /* @__PURE__ */ jsx(
|
|
208
|
+
SessionCapabilityFrame,
|
|
209
|
+
{
|
|
210
|
+
name: catalogItem?.name ?? recommendation.name,
|
|
211
|
+
subtitle: catalogItem ? catalogItem.providerDomain ?? "" : item.providerDomain,
|
|
212
|
+
logo,
|
|
213
|
+
typeLabel: "API",
|
|
214
|
+
description: ownerApprovalPending && !unavailable ? "Waiting for your GitHub organization owner to approve. After they do, an owner of the organization connects it here, and this card updates on its own." : catalogItem?.description || recommendation.rationale,
|
|
215
|
+
skill: false,
|
|
216
|
+
expanded,
|
|
217
|
+
complete: bound,
|
|
218
|
+
completeLabel: chooser.statusLabel ?? (personal ? "Connected to your Personal workspace" : "Connected to this workspace"),
|
|
219
|
+
actionLabel: busy ? "Opening GitHub\u2026" : `Connect ${catalogItem?.name ?? recommendation.name}`,
|
|
220
|
+
actionUnavailable: unavailable,
|
|
221
|
+
opensDialog: false,
|
|
222
|
+
note: unavailableNote ?? (ownerApprovalPending ? "Nothing is connected yet. Meanwhile, you can attach a zip of your project to a message instead." : "Choose which account and repositories this workspace can access on GitHub. For an organization you don't own, GitHub lets you ask its owners to approve."),
|
|
223
|
+
onOpen: () => void connect(),
|
|
224
|
+
onClose: () => setExpanded(false),
|
|
225
|
+
busy,
|
|
226
|
+
opener,
|
|
227
|
+
cardRef,
|
|
228
|
+
details: bound ? /* @__PURE__ */ jsx(
|
|
229
|
+
GitHubRepositoryPanel,
|
|
230
|
+
{
|
|
231
|
+
chooser,
|
|
232
|
+
canMessage,
|
|
233
|
+
canManage,
|
|
234
|
+
personal
|
|
235
|
+
}
|
|
236
|
+
) : null,
|
|
237
|
+
children: /* @__PURE__ */ jsxs("div", { className: "space-y-3 p-6 sm:p-8", children: [
|
|
238
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs leading-[1.7] text-fg-muted", children: "Choose the account and repositories to share with this workspace on GitHub, then return to this conversation." }),
|
|
239
|
+
connectError ? /* @__PURE__ */ jsx(Notice, { tone: "failed", children: connectError }) : null,
|
|
240
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
241
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "ghost", disabled: busy, onClick: () => setExpanded(false), children: "Cancel" }),
|
|
242
|
+
/* @__PURE__ */ jsxs(Button, { size: "sm", disabled: busy, onClick: () => void connect(), children: [
|
|
243
|
+
busy ? /* @__PURE__ */ jsx(Loader2Icon, { className: "animate-spin" }) : null,
|
|
244
|
+
"Try again"
|
|
245
|
+
] })
|
|
246
|
+
] })
|
|
247
|
+
] })
|
|
248
|
+
}
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
function useGitHubInstallRequest(workspaceId, bound) {
|
|
252
|
+
const [requestedAt, setRequestedAt] = useState(() => readGitHubInstallRequest(workspaceId));
|
|
253
|
+
useEffect(() => {
|
|
254
|
+
setRequestedAt(readGitHubInstallRequest(workspaceId));
|
|
255
|
+
return subscribeGitHubInstallRequests(
|
|
256
|
+
() => setRequestedAt(readGitHubInstallRequest(workspaceId))
|
|
257
|
+
);
|
|
258
|
+
}, [workspaceId]);
|
|
259
|
+
useEffect(() => {
|
|
260
|
+
if (bound) clearGitHubInstallRequest(workspaceId);
|
|
261
|
+
}, [bound, workspaceId]);
|
|
262
|
+
return !bound && requestedAt !== null;
|
|
263
|
+
}
|
|
264
|
+
function useRepositoryChooser({
|
|
265
|
+
status,
|
|
266
|
+
workspaceId,
|
|
267
|
+
sessionId,
|
|
268
|
+
resources,
|
|
269
|
+
sendContext,
|
|
270
|
+
onConfigured,
|
|
271
|
+
cardRef,
|
|
272
|
+
onOpenedGitHub
|
|
273
|
+
}) {
|
|
274
|
+
const page = usePage();
|
|
275
|
+
const context = useAppContext();
|
|
276
|
+
const repositories = context.githubRepos;
|
|
277
|
+
const [optimistic, setOptimistic] = useState([]);
|
|
278
|
+
const [attaching, setAttaching] = useState(null);
|
|
279
|
+
const [attachError, setAttachError] = useState(null);
|
|
280
|
+
const [outcome, setOutcome] = useState(null);
|
|
281
|
+
const [confirming, setConfirming] = useState(null);
|
|
282
|
+
const [linkError, setLinkError] = useState(null);
|
|
283
|
+
const [openingInstallation, setOpeningInstallation] = useState(null);
|
|
284
|
+
const pendingInputs = useRef(/* @__PURE__ */ new Map());
|
|
285
|
+
const inFlight = useRef(false);
|
|
286
|
+
const alive = useRef(true);
|
|
287
|
+
useEffect(() => {
|
|
288
|
+
alive.current = true;
|
|
289
|
+
return () => {
|
|
290
|
+
alive.current = false;
|
|
291
|
+
};
|
|
292
|
+
}, []);
|
|
293
|
+
const mounted = useMemo(() => {
|
|
294
|
+
const durable = [...resources ?? []];
|
|
295
|
+
return [
|
|
296
|
+
...durable,
|
|
297
|
+
...optimistic.filter(
|
|
298
|
+
(pending) => !durable.some(
|
|
299
|
+
(resource) => resource.kind === "repository" && resource.githubRepositoryId === pending.githubRepositoryId && resource.githubInstallationId === pending.githubInstallationId
|
|
300
|
+
)
|
|
301
|
+
)
|
|
302
|
+
];
|
|
303
|
+
}, [optimistic, resources]);
|
|
304
|
+
const accountLabel = useCallback(
|
|
305
|
+
(installationId) => status?.installations.find((installation) => installation.installationId === installationId)?.accountLogin ?? "another GitHub account",
|
|
306
|
+
[status]
|
|
307
|
+
);
|
|
308
|
+
const [leading] = useState(
|
|
309
|
+
() => new Set(
|
|
310
|
+
(resources ?? []).flatMap(
|
|
311
|
+
(resource) => resource.kind === "repository" && resource.githubRepositoryId !== void 0 ? [`${resource.githubInstallationId}:${resource.githubRepositoryId}`] : []
|
|
312
|
+
)
|
|
313
|
+
)
|
|
314
|
+
);
|
|
315
|
+
const rows = useMemo(() => {
|
|
316
|
+
const states = new Map(
|
|
317
|
+
repositories.map((repository) => [
|
|
318
|
+
repository.id,
|
|
319
|
+
gitHubRepositoryChatState(repository, mounted)
|
|
320
|
+
])
|
|
321
|
+
);
|
|
322
|
+
return orderRepositoriesForChat(
|
|
323
|
+
repositories,
|
|
324
|
+
(repository) => leading.has(`${repository.installationId}:${repository.id}`)
|
|
325
|
+
).map((repository) => ({ repository, state: states.get(repository.id) }));
|
|
326
|
+
}, [leading, mounted, repositories]);
|
|
327
|
+
const catalogSettled = context.githubCatalogReady && !context.repoBusy;
|
|
328
|
+
const revoked = useMemo(
|
|
329
|
+
() => revokedGitHubRepositoryResources(mounted, repositories, catalogSettled),
|
|
330
|
+
[catalogSettled, mounted, repositories]
|
|
331
|
+
);
|
|
332
|
+
const attachedNames = rows.filter((row) => row.state.kind === "attached").map((row) => row.repository.fullName);
|
|
333
|
+
async function attach(repository, resource, confirmed = false) {
|
|
334
|
+
if (inFlight.current) return;
|
|
335
|
+
setAttachError(null);
|
|
336
|
+
const chat = sendContext?.() ?? { blocked: null, awaitingHuman: false, extras: {} };
|
|
337
|
+
if (chat.blocked) {
|
|
338
|
+
setAttachError(chat.blocked);
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
if (chat.awaitingHuman && !confirmed) {
|
|
342
|
+
setConfirming(repository.id);
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
setConfirming(null);
|
|
346
|
+
inFlight.current = true;
|
|
347
|
+
setAttaching(repository.id);
|
|
348
|
+
const input = pendingInputs.current.get(repository.id) ?? {
|
|
349
|
+
text: repositoryUseMessage(repository),
|
|
350
|
+
resources: [resource],
|
|
351
|
+
...chat.extras,
|
|
352
|
+
clientEventId: crypto.randomUUID()
|
|
353
|
+
};
|
|
354
|
+
pendingInputs.current.set(repository.id, input);
|
|
355
|
+
let accepted;
|
|
356
|
+
try {
|
|
357
|
+
accepted = await context.client.sendMessage(workspaceId, sessionId, input);
|
|
358
|
+
} catch (failure) {
|
|
359
|
+
inFlight.current = false;
|
|
360
|
+
if (alive.current) {
|
|
361
|
+
setAttaching(null);
|
|
362
|
+
setAttachError(
|
|
363
|
+
`Couldn't add ${repository.fullName} to this chat. ${userErrorText(failure, "Try again.")}`
|
|
364
|
+
);
|
|
365
|
+
}
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
pendingInputs.current.delete(repository.id);
|
|
369
|
+
inFlight.current = false;
|
|
370
|
+
if (!alive.current) return;
|
|
371
|
+
setAttaching(null);
|
|
372
|
+
setOptimistic((current) => [...current, resource]);
|
|
373
|
+
const routing = accepted.payload?.routing;
|
|
374
|
+
setOutcome(
|
|
375
|
+
routing === "queued_for_execution" ? `Queued. The agent picks up ${repository.fullName} on its next turn.` : routing === "accepted_for_steering" ? `Sent. ${repository.fullName} replaced the request this chat was waiting on.` : null
|
|
376
|
+
);
|
|
377
|
+
requestAnimationFrame(() => {
|
|
378
|
+
const focused = document.activeElement;
|
|
379
|
+
if (!focused || focused === document.body) cardRef.current?.focus();
|
|
380
|
+
});
|
|
381
|
+
await onConfigured?.().catch(() => {
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
async function openGitHub(installationId) {
|
|
385
|
+
if (openingInstallation !== null) return;
|
|
386
|
+
const tab = page.openTab();
|
|
387
|
+
setOpeningInstallation(installationId);
|
|
388
|
+
setLinkError(null);
|
|
389
|
+
try {
|
|
390
|
+
const { openGitHubInstallationSettings } = await import("./app/lib/github-app-connect.js");
|
|
391
|
+
await openGitHubInstallationSettings(
|
|
392
|
+
context.client,
|
|
393
|
+
workspaceId,
|
|
394
|
+
installationId,
|
|
395
|
+
(url) => tab ? tab.location.replace(url) : page.assign(url)
|
|
396
|
+
);
|
|
397
|
+
onOpenedGitHub();
|
|
398
|
+
} catch (failure) {
|
|
399
|
+
tab?.close();
|
|
400
|
+
if (alive.current)
|
|
401
|
+
setLinkError(`Couldn't open GitHub. ${userErrorText(failure, "Try again.")}`);
|
|
402
|
+
} finally {
|
|
403
|
+
if (alive.current) setOpeningInstallation(null);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
return {
|
|
407
|
+
rows,
|
|
408
|
+
revoked,
|
|
409
|
+
loading: repositories.length === 0 && (!context.githubCatalogReady || context.repoBusy),
|
|
410
|
+
loadFailed: context.githubStatusFailed && !context.githubCatalogReady && repositories.length === 0,
|
|
411
|
+
retry: () => void context.refreshGitHub(workspaceId, void 0, { userInitiated: true }),
|
|
412
|
+
installations: (status?.installations ?? []).filter(
|
|
413
|
+
(installation) => installation.lifecycle === "active"
|
|
414
|
+
),
|
|
415
|
+
attaching,
|
|
416
|
+
attachError,
|
|
417
|
+
outcome,
|
|
418
|
+
confirming,
|
|
419
|
+
cancelConfirm: () => setConfirming(null),
|
|
420
|
+
linkError,
|
|
421
|
+
openingInstallation,
|
|
422
|
+
statusLabel: usingRepositoriesLabel(attachedNames),
|
|
423
|
+
accountLabel,
|
|
424
|
+
attach: (repository, resource, confirmed = false) => void attach(repository, resource, confirmed),
|
|
425
|
+
openGitHub: (installationId) => void openGitHub(installationId)
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
function GitHubRepositoryPanel({
|
|
429
|
+
chooser,
|
|
430
|
+
canMessage,
|
|
431
|
+
canManage,
|
|
432
|
+
personal
|
|
433
|
+
}) {
|
|
434
|
+
const [query, setQuery] = useState("");
|
|
435
|
+
const [visible, setVisible] = useState(GITHUB_CARD_PAGE_SIZE);
|
|
436
|
+
const listRef = useRef(null);
|
|
437
|
+
const total = chooser.rows.length;
|
|
438
|
+
const matches = chooser.rows.filter((row) => matchesRepositorySearch(row.repository, query));
|
|
439
|
+
const shown = matches.slice(0, visible);
|
|
440
|
+
const hidden = matches.length - shown.length;
|
|
441
|
+
const available = chooser.rows.filter((row) => row.state.kind === "available");
|
|
442
|
+
const groups = repositoryGroups(shown, chooser.accountLabel);
|
|
443
|
+
const confirmRow = chooser.confirming === null ? null : chooser.rows.find((row) => row.repository.id === chooser.confirming) ?? null;
|
|
444
|
+
const single = available.length === 1 && total === 1;
|
|
445
|
+
const githubLinks = canManage ? /* @__PURE__ */ jsx(Fragment, { children: chooser.installations.map((installation) => /* @__PURE__ */ jsxs(
|
|
446
|
+
"button",
|
|
447
|
+
{
|
|
448
|
+
type: "button",
|
|
449
|
+
disabled: chooser.openingInstallation !== null,
|
|
450
|
+
onClick: () => chooser.openGitHub(installation.installationId),
|
|
451
|
+
className: "inline-flex items-center gap-1 font-medium og-link disabled:opacity-60 pointer-coarse:min-h-11",
|
|
452
|
+
children: [
|
|
453
|
+
chooser.installations.length > 1 && installation.accountLogin ? `Choose ${installation.accountLogin} repositories` : "Choose repositories on GitHub",
|
|
454
|
+
chooser.openingInstallation === installation.installationId ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "size-3 animate-spin" }) : /* @__PURE__ */ jsx(ArrowUpRightIcon, { "aria-hidden": "true", className: "size-3" }),
|
|
455
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: " (opens in a new tab)" })
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
installation.installationId
|
|
459
|
+
)) }) : null;
|
|
460
|
+
return /* @__PURE__ */ jsxs(
|
|
461
|
+
"div",
|
|
462
|
+
{
|
|
463
|
+
"data-slot": "github-repositories",
|
|
464
|
+
className: "border-t border-border px-[19px] pt-3 pb-4 max-[480px]:px-3.5",
|
|
465
|
+
children: [
|
|
466
|
+
chooser.loading ? chooser.loadFailed ? /* @__PURE__ */ jsx(
|
|
467
|
+
Notice,
|
|
468
|
+
{
|
|
469
|
+
tone: "failed",
|
|
470
|
+
className: "text-xs",
|
|
471
|
+
action: /* @__PURE__ */ jsx(RowButton, { onClick: chooser.retry, className: "h-7", children: "Retry" }),
|
|
472
|
+
children: "Couldn't load this workspace's repositories."
|
|
473
|
+
}
|
|
474
|
+
) : /* @__PURE__ */ jsx(RowList, { label: "GitHub repositories", busy: true, flush: true, children: /* @__PURE__ */ jsx(ListRowSkeleton, { count: 2 }) }) : total === 0 && chooser.revoked.length === 0 ? /* @__PURE__ */ jsxs("div", { className: "space-y-2 py-1", children: [
|
|
475
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-fg", children: "No repositories shared yet" }),
|
|
476
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs leading-[1.6] text-fg-muted", children: canManage ? "GitHub isn't sharing any repositories with this workspace. Choose which ones it can use." : "GitHub isn't sharing any repositories with this workspace. Ask a workspace admin to choose some on GitHub." }),
|
|
477
|
+
canManage ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2 pt-1", children: chooser.installations.map((installation) => /* @__PURE__ */ jsxs(
|
|
478
|
+
Button,
|
|
479
|
+
{
|
|
480
|
+
type: "button",
|
|
481
|
+
size: "sm",
|
|
482
|
+
className: "rounded-[10px] text-xs pointer-coarse:h-11",
|
|
483
|
+
disabled: chooser.openingInstallation !== null,
|
|
484
|
+
onClick: () => chooser.openGitHub(installation.installationId),
|
|
485
|
+
children: [
|
|
486
|
+
chooser.installations.length > 1 && installation.accountLogin ? `Choose ${installation.accountLogin} repositories` : "Choose repositories on GitHub",
|
|
487
|
+
chooser.openingInstallation === installation.installationId ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "animate-spin" }) : /* @__PURE__ */ jsx(ArrowUpRightIcon, { "aria-hidden": "true" }),
|
|
488
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: " (opens in a new tab)" })
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
installation.installationId
|
|
492
|
+
)) }) : null
|
|
493
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
494
|
+
/* @__PURE__ */ jsxs("div", { className: "mb-1 flex items-baseline justify-between gap-3", children: [
|
|
495
|
+
/* @__PURE__ */ jsx("h4", { className: "m-0 text-xs font-medium text-fg-muted", children: canMessage ? "Use a repository in this chat" : "Repositories" }),
|
|
496
|
+
/* @__PURE__ */ jsxs("span", { className: "text-2xs text-fg-subtle tabular-nums", children: [
|
|
497
|
+
total,
|
|
498
|
+
" ",
|
|
499
|
+
total === 1 ? "repository" : "repositories"
|
|
500
|
+
] })
|
|
501
|
+
] }),
|
|
502
|
+
total >= GITHUB_CARD_SEARCH_THRESHOLD ? /* @__PURE__ */ jsx(
|
|
503
|
+
Input,
|
|
504
|
+
{
|
|
505
|
+
type: "search",
|
|
506
|
+
"aria-label": "Search repositories",
|
|
507
|
+
placeholder: "Search repositories\u2026",
|
|
508
|
+
value: query,
|
|
509
|
+
onChange: (event) => {
|
|
510
|
+
setQuery(event.target.value);
|
|
511
|
+
setVisible(GITHUB_CARD_PAGE_SIZE);
|
|
512
|
+
},
|
|
513
|
+
className: "my-2 h-8 text-xs"
|
|
514
|
+
}
|
|
515
|
+
) : null,
|
|
516
|
+
chooser.attachError ? /* @__PURE__ */ jsx(Notice, { tone: "failed", live: "assertive", className: "my-2 text-xs", children: chooser.attachError }) : null,
|
|
517
|
+
chooser.revoked.length > 0 ? /* @__PURE__ */ jsx(RowList, { label: "Repositories GitHub no longer shares", flush: true, children: chooser.revoked.map((resource) => /* @__PURE__ */ jsx(
|
|
518
|
+
ListRow,
|
|
519
|
+
{
|
|
520
|
+
leading: /* @__PURE__ */ jsx(LogoTile, { icon: /* @__PURE__ */ jsx(BookMarkedIcon, {}) }),
|
|
521
|
+
title: repositoryDisplayName(resource),
|
|
522
|
+
disabled: true,
|
|
523
|
+
disabledReason: canManage ? "GitHub no longer shares this repository with the workspace. Choose repositories on GitHub to restore it." : "GitHub no longer shares this repository with the workspace. Ask a workspace admin to restore it.",
|
|
524
|
+
indicator: { kind: "unavailable", label: "Access removed" }
|
|
525
|
+
},
|
|
526
|
+
`revoked:${resource.githubInstallationId}:${resource.githubRepositoryId}`
|
|
527
|
+
)) }) : null,
|
|
528
|
+
confirmRow ? /* @__PURE__ */ jsxs(
|
|
529
|
+
Notice,
|
|
530
|
+
{
|
|
531
|
+
tone: "waiting",
|
|
532
|
+
live: "polite",
|
|
533
|
+
className: "my-2 text-xs",
|
|
534
|
+
actionLayout: "responsive",
|
|
535
|
+
action: /* @__PURE__ */ jsxs("span", { className: "flex gap-1.5", children: [
|
|
536
|
+
/* @__PURE__ */ jsx(RowButton, { className: "h-7", onClick: chooser.cancelConfirm, children: "Cancel" }),
|
|
537
|
+
/* @__PURE__ */ jsx(
|
|
538
|
+
Button,
|
|
539
|
+
{
|
|
540
|
+
type: "button",
|
|
541
|
+
size: "sm",
|
|
542
|
+
className: "h-7 rounded-[10px] text-xs",
|
|
543
|
+
onClick: () => confirmRow.state.kind === "available" && chooser.attach(confirmRow.repository, confirmRow.state.resource, true),
|
|
544
|
+
children: "Use anyway"
|
|
545
|
+
}
|
|
546
|
+
)
|
|
547
|
+
] }),
|
|
548
|
+
children: [
|
|
549
|
+
"This chat is waiting for your answer. Using ",
|
|
550
|
+
confirmRow.repository.fullName,
|
|
551
|
+
" now replaces that request, like sending a message."
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
) : null,
|
|
555
|
+
/* @__PURE__ */ jsx("div", { ref: listRef, tabIndex: -1, className: "outline-hidden", children: groups.map((group) => /* @__PURE__ */ jsxs("section", { "aria-label": group.label ?? void 0, children: [
|
|
556
|
+
group.label ? /* @__PURE__ */ jsx("h5", { className: "m-0 mt-2 text-2xs font-medium tracking-wide text-fg-subtle uppercase", children: group.label }) : null,
|
|
557
|
+
/* @__PURE__ */ jsx(
|
|
558
|
+
RowList,
|
|
559
|
+
{
|
|
560
|
+
label: group.label ? `${group.label} repositories` : "GitHub repositories",
|
|
561
|
+
flush: true,
|
|
562
|
+
children: group.rows.map(({ repository, state }) => /* @__PURE__ */ jsx(
|
|
563
|
+
RepositoryListRow,
|
|
564
|
+
{
|
|
565
|
+
repository,
|
|
566
|
+
state,
|
|
567
|
+
canMessage,
|
|
568
|
+
primary: single,
|
|
569
|
+
busy: chooser.attaching === repository.id,
|
|
570
|
+
locked: chooser.attaching !== null,
|
|
571
|
+
onUse: (resource) => chooser.attach(repository, resource)
|
|
572
|
+
},
|
|
573
|
+
`${repository.installationId}:${repository.id}`
|
|
574
|
+
))
|
|
575
|
+
}
|
|
576
|
+
)
|
|
577
|
+
] }, group.installationId)) }),
|
|
578
|
+
query.trim() && matches.length === 0 ? /* @__PURE__ */ jsxs("p", { className: "py-3 text-center text-xs text-fg-muted", children: [
|
|
579
|
+
"No repositories match \u201C",
|
|
580
|
+
query.trim(),
|
|
581
|
+
"\u201D."
|
|
582
|
+
] }) : null,
|
|
583
|
+
hidden > 0 ? /* @__PURE__ */ jsxs(
|
|
584
|
+
Button,
|
|
585
|
+
{
|
|
586
|
+
type: "button",
|
|
587
|
+
variant: "ghost",
|
|
588
|
+
size: "sm",
|
|
589
|
+
className: "mt-1 w-full text-xs text-fg-muted pointer-coarse:h-11",
|
|
590
|
+
onClick: () => {
|
|
591
|
+
if (hidden <= GITHUB_CARD_MORE_SIZE) listRef.current?.focus();
|
|
592
|
+
setVisible((current) => current + GITHUB_CARD_MORE_SIZE);
|
|
593
|
+
},
|
|
594
|
+
children: [
|
|
595
|
+
"Show ",
|
|
596
|
+
Math.min(hidden, GITHUB_CARD_MORE_SIZE),
|
|
597
|
+
" more"
|
|
598
|
+
]
|
|
599
|
+
}
|
|
600
|
+
) : null,
|
|
601
|
+
/* @__PURE__ */ jsx(
|
|
602
|
+
"p",
|
|
603
|
+
{
|
|
604
|
+
role: "status",
|
|
605
|
+
className: cn(
|
|
606
|
+
"m-0 text-xs leading-[1.6] text-fg-muted",
|
|
607
|
+
chooser.outcome ? "mt-2" : "sr-only"
|
|
608
|
+
),
|
|
609
|
+
children: chooser.outcome
|
|
610
|
+
}
|
|
611
|
+
),
|
|
612
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-1.5 border-t border-border pt-3 text-xs leading-[1.6] text-fg-muted", children: [
|
|
613
|
+
/* @__PURE__ */ jsx("p", { className: "m-0", children: !canMessage ? "Only people who can message this chat can add a repository to it." : personal ? "Using a repository adds it to this chat only." : "Shared with everyone in this workspace. Using one adds it to this chat only." }),
|
|
614
|
+
githubLinks ? /* @__PURE__ */ jsxs("p", { className: "m-0 flex flex-wrap items-center gap-x-3 gap-y-1", children: [
|
|
615
|
+
/* @__PURE__ */ jsx("span", { children: "Missing one?" }),
|
|
616
|
+
githubLinks
|
|
617
|
+
] }) : /* @__PURE__ */ jsx("p", { className: "m-0", children: "Missing one? Ask a workspace admin to share it on GitHub." })
|
|
618
|
+
] })
|
|
619
|
+
] }),
|
|
620
|
+
chooser.linkError ? /* @__PURE__ */ jsx("p", { role: "alert", className: "mt-2 text-xs text-status-failed", children: chooser.linkError }) : null
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
var LOCKED = "aria-disabled:cursor-not-allowed aria-disabled:opacity-50";
|
|
626
|
+
function RepositoryListRow({
|
|
627
|
+
repository,
|
|
628
|
+
state,
|
|
629
|
+
canMessage,
|
|
630
|
+
primary,
|
|
631
|
+
busy,
|
|
632
|
+
locked,
|
|
633
|
+
onUse
|
|
634
|
+
}) {
|
|
635
|
+
const meta = [repository.defaultBranch, repository.private ? null : "Public"].filter(Boolean);
|
|
636
|
+
const titleAddon = repository.private ? /* @__PURE__ */ jsx(LockIcon, { role: "img", "aria-label": "Private", className: "size-3 shrink-0 text-fg-subtle" }) : null;
|
|
637
|
+
const common = {
|
|
638
|
+
leading: /* @__PURE__ */ jsx(LogoTile, { icon: /* @__PURE__ */ jsx(BookMarkedIcon, {}) }),
|
|
639
|
+
title: repository.fullName,
|
|
640
|
+
titleAddon,
|
|
641
|
+
meta
|
|
642
|
+
};
|
|
643
|
+
if (state.kind === "blocked") {
|
|
644
|
+
return /* @__PURE__ */ jsx(ListRow, { ...common, disabled: true, disabledReason: state.reason });
|
|
645
|
+
}
|
|
646
|
+
if (state.kind === "attached") {
|
|
647
|
+
return /* @__PURE__ */ jsx(
|
|
648
|
+
ListRow,
|
|
649
|
+
{
|
|
650
|
+
...common,
|
|
651
|
+
control: /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1 text-xs font-medium text-status-idle", children: [
|
|
652
|
+
/* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className: "size-3.5" }),
|
|
653
|
+
"In this chat"
|
|
654
|
+
] })
|
|
655
|
+
}
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
if (!canMessage) return /* @__PURE__ */ jsx(ListRow, { ...common });
|
|
659
|
+
return /* @__PURE__ */ jsx(
|
|
660
|
+
ListRow,
|
|
661
|
+
{
|
|
662
|
+
...common,
|
|
663
|
+
control: primary ? /* @__PURE__ */ jsxs(
|
|
664
|
+
Button,
|
|
665
|
+
{
|
|
666
|
+
type: "button",
|
|
667
|
+
size: "sm",
|
|
668
|
+
"aria-disabled": locked || void 0,
|
|
669
|
+
"aria-label": busy ? `Adding ${repository.fullName}` : `Use ${repository.fullName} in this chat`,
|
|
670
|
+
className: cn("rounded-[10px] pointer-coarse:h-11", LOCKED),
|
|
671
|
+
onClick: () => {
|
|
672
|
+
if (!locked) onUse(state.resource);
|
|
673
|
+
},
|
|
674
|
+
children: [
|
|
675
|
+
busy ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "animate-spin" }) : null,
|
|
676
|
+
busy ? "Adding\u2026" : "Use in this chat"
|
|
677
|
+
]
|
|
678
|
+
}
|
|
679
|
+
) : /* @__PURE__ */ jsxs(
|
|
680
|
+
RowButton,
|
|
681
|
+
{
|
|
682
|
+
"aria-disabled": locked || void 0,
|
|
683
|
+
"aria-label": busy ? `Adding ${repository.fullName}` : `Use ${repository.fullName} in this chat`,
|
|
684
|
+
className: cn(LOCKED, busy && "text-fg-muted"),
|
|
685
|
+
onClick: () => {
|
|
686
|
+
if (!locked) onUse(state.resource);
|
|
687
|
+
},
|
|
688
|
+
children: [
|
|
689
|
+
busy ? /* @__PURE__ */ jsx(Loader2Icon, { "aria-hidden": "true", className: "animate-spin" }) : null,
|
|
690
|
+
busy ? "Adding\u2026" : "Use"
|
|
691
|
+
]
|
|
692
|
+
}
|
|
693
|
+
)
|
|
694
|
+
}
|
|
695
|
+
);
|
|
696
|
+
}
|
|
697
|
+
function repositoryGroups(rows, accountLabel) {
|
|
698
|
+
const byInstallation = /* @__PURE__ */ new Map();
|
|
699
|
+
for (const row of rows) {
|
|
700
|
+
const group = byInstallation.get(row.repository.installationId) ?? [];
|
|
701
|
+
group.push(row);
|
|
702
|
+
byInstallation.set(row.repository.installationId, group);
|
|
703
|
+
}
|
|
704
|
+
if (byInstallation.size <= 1) {
|
|
705
|
+
return [
|
|
706
|
+
{
|
|
707
|
+
installationId: rows[0]?.repository.installationId ?? 0,
|
|
708
|
+
label: null,
|
|
709
|
+
rows: [...rows]
|
|
710
|
+
}
|
|
711
|
+
];
|
|
712
|
+
}
|
|
713
|
+
return [...byInstallation.entries()].map(([installationId, groupRows]) => ({
|
|
714
|
+
installationId,
|
|
715
|
+
label: accountLabel(installationId),
|
|
716
|
+
rows: groupRows
|
|
717
|
+
}));
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export {
|
|
721
|
+
SessionGitHubCapabilityCard
|
|
722
|
+
};
|
|
723
|
+
//# sourceMappingURL=chunk-RDLS6IZY.js.map
|