@opengeni/react 4.3.3-canary.39780140124001 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/app-state.js +29 -29
- package/dist/app/components/Composer.js +22 -22
- package/dist/app/components/agent/agent-capability-picker.js +4 -4
- package/dist/app/components/artifacts/artifact-browse-controls.js +1 -1
- package/dist/app/components/artifacts/artifact-library.js +19 -19
- package/dist/app/components/artifacts/chat-interactive-block.js +14 -14
- package/dist/app/components/artifacts/inline-chat-image.js +25 -25
- package/dist/app/components/artifacts/retained-file-preview.js +28 -28
- package/dist/app/components/artifacts/retained-text-preview.js +3 -3
- package/dist/app/components/artifacts/site-audience.js +4 -4
- package/dist/app/components/artifacts/site-conversations.js +18 -18
- package/dist/app/components/artifacts/site-data.js +19 -19
- package/dist/app/components/artifacts/site-publishing.js +38 -38
- package/dist/app/components/artifacts/site-settings.js +47 -47
- package/dist/app/components/billing-class-mark.js +4 -4
- package/dist/app/components/capabilities/capability-detail-sheet.js +8 -8
- package/dist/app/components/capabilities/capability-logo-source.js +8 -8
- package/dist/app/components/capabilities/connector-tool-permissions.js +4 -4
- package/dist/app/components/capabilities/native-connect-setup.js +12 -12
- package/dist/app/components/capabilities/perform-capability-action.js +1 -1
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +11 -11
- package/dist/app/components/capabilities/session-capability-card.js +90 -74
- package/dist/app/components/capabilities/session-capability-card.js.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.css +1023 -0
- package/dist/app/components/capabilities/session-chrome-card.css.map +1 -0
- package/dist/app/components/capabilities/session-chrome-card.d.ts +18 -0
- package/dist/app/components/capabilities/session-chrome-card.js +70 -0
- package/dist/app/components/capabilities/session-custom-mcp-card.js +16 -16
- package/dist/app/components/capabilities/session-github-card.js +20 -20
- package/dist/app/components/capabilities/session-machine-card.d.ts +27 -1
- package/dist/app/components/capabilities/session-machine-card.js +31 -29
- package/dist/app/components/capabilities/use-capabilities-catalog.js +3 -3
- package/dist/app/components/capabilities/use-connection-accounts.js +1 -1
- package/dist/app/components/command-menu/chat-status.js +12 -12
- package/dist/app/components/command-menu/chat-switcher.js +17 -17
- package/dist/app/components/command-menu/command-menu.js +35 -35
- package/dist/app/components/command-menu/shortcut-sheet.js +16 -16
- package/dist/app/components/composer-capabilities-menu-body.js +3 -3
- package/dist/app/components/composer-mobile-plus-panel.js +16 -16
- 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 +10 -10
- package/dist/app/components/desktop/app-shots.js +2 -2
- package/dist/app/components/feedback.js +2 -2
- package/dist/app/components/follow-up-repository-menu-body.js +7 -7
- package/dist/app/components/follow-up-repository-picker.js +2 -2
- package/dist/app/components/github-app-connect-launcher.js +2 -2
- package/dist/app/components/knowledge/agent-learning-settings.js +3 -3
- package/dist/app/components/machines/connect-machine-dialog.js +16 -16
- package/dist/app/components/markdown.js +7 -7
- package/dist/app/components/message-context-pills.js +2 -2
- package/dist/app/components/models/models-ui.js +8 -8
- package/dist/app/components/pickers.js +7 -7
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +63 -63
- package/dist/app/components/rail/session-header.js +48 -48
- package/dist/app/components/rail/session-list.js +62 -62
- package/dist/app/components/rail/session-row-content.js +2 -2
- package/dist/app/components/rail/session-row-hover-details.js +17 -17
- package/dist/app/components/rail/session-shell.js +102 -102
- package/dist/app/components/rail/site-session-group-heading.js +3 -3
- package/dist/app/components/repository-picker.js +7 -7
- package/dist/app/components/secrets/session-secrets-panel.js +3 -3
- package/dist/app/components/session/agent-configuration-panel.js +33 -33
- package/dist/app/components/session/artifact-session-page.js +1 -1
- package/dist/app/components/session/banners.js +10 -10
- package/dist/app/components/session/codex-account-indicator.js +8 -8
- package/dist/app/components/session/editable-artifacts-workspace.js +38 -38
- package/dist/app/components/session/failed-session-banner.js +7 -7
- package/dist/app/components/session/human-input.js +44 -44
- package/dist/app/components/session/inspector.js +87 -87
- package/dist/app/components/session/message-actions.js +2 -2
- package/dist/app/components/session/message-resource-attachments.js +20 -20
- package/dist/app/components/session/model-account-indicator.js +8 -8
- package/dist/app/components/session/model-context-inspector.js +2 -2
- package/dist/app/components/session/new-session-settings-menu.js +10 -10
- package/dist/app/components/session/sandbox-switcher.js +12 -12
- package/dist/app/components/session/sandbox-workspace.js +62 -62
- 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 +8 -8
- package/dist/app/components/session/session-admission-notice.js +2 -2
- package/dist/app/components/session/session-machine-access-notice.js +2 -2
- 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-skill-reviews.js +1 -1
- package/dist/app/components/session/session-tenancy-control.js +24 -24
- package/dist/app/components/session/session-usage-limit-section.js +10 -10
- package/dist/app/components/session/session-wait-status.js +7 -7
- package/dist/app/components/session/subagents.js +13 -13
- package/dist/app/components/session-connectors-menu-body.js +5 -5
- package/dist/app/components/settings/row-select.js +3 -3
- package/dist/app/components/transcription-settings.js +4 -4
- package/dist/app/components/ui/destructive-confirm.js +6 -6
- package/dist/app/components/usage/usage-entry.js +4 -4
- package/dist/app/components/workspace-composer-plus.js +18 -18
- package/dist/app/embed/session-app.js +268 -268
- package/dist/app/lib/actions/actions-provider.js +16 -16
- package/dist/app/lib/app-surfaces.js +1 -1
- package/dist/app/lib/codex-usage-query.js +2 -2
- package/dist/app/lib/composer-connectors.js +9 -9
- package/dist/app/lib/events.js +12 -12
- package/dist/app/lib/session-branch-cache.js +9 -9
- package/dist/app/lib/session-create.js +2 -2
- package/dist/app/lib/session-group-pagination.js +9 -9
- package/dist/app/lib/session-hover-facts.js +10 -10
- package/dist/app/lib/session-model.js +3 -3
- package/dist/app/lib/session-rail.js +7 -7
- package/dist/app/lib/session-rename.js +3 -3
- package/dist/app/lib/sessions-group.js +9 -9
- package/dist/app/lib/turn-failure-analytics.js +1 -1
- package/dist/app/lib/use-duplicate-site.js +3 -3
- package/dist/app/lib/use-follow-up-repositories.js +5 -5
- package/dist/app/lib/use-workspace-integrations.js +2 -2
- package/dist/app/lib/use-workspace-machines.js +2 -2
- package/dist/app/lib/use-workspace-model-catalog.js +2 -2
- package/dist/app/lib/use-workspace-rigs.js +3 -3
- package/dist/app/lib/workspace-navigation-preference.js +1 -1
- package/dist/app/lib/workspace-scope-context.js +1 -1
- package/dist/app/routes/artifacts.js +132 -132
- package/dist/app/routes/retained-artifact.js +62 -62
- package/dist/app/routes/session-unavailable.js +2 -2
- package/dist/app/routes/session.js +163 -163
- package/dist/app/routes/sessions-index-hydration.js +3 -3
- package/dist/app/routes/sessions-index.js +109 -109
- package/dist/artifacts-document.js +2 -2
- package/dist/artifacts-presentation.js +2 -2
- package/dist/artifacts-spreadsheet.js +2 -2
- package/dist/artifacts.js +36 -36
- package/dist/{browser-viewer-VYZLJH3P.js → browser-viewer-RYYQSRTC.js} +5 -5
- package/dist/{chat-interactive-block-MECBXZ7V.js → chat-interactive-block-ABCRKXJ4.js} +5 -5
- package/dist/{chunk-Y4D4N2EF.js → chunk-22ZBT6CN.js} +2 -2
- package/dist/{chunk-TFK4KFKA.js → chunk-33TPANCR.js} +4 -4
- package/dist/{chunk-CFFNT2OY.js → chunk-3GLAPCVI.js} +8 -8
- package/dist/{chunk-BXQYAAVE.js → chunk-3XOISKZC.js} +4 -4
- package/dist/{chunk-FYGMIMEG.js → chunk-4432A3HQ.js} +2 -2
- package/dist/{chunk-3MOD23RS.js → chunk-46VBQG2D.js} +13 -13
- package/dist/{chunk-Q2PVSCJV.js → chunk-4EAF3HSD.js} +2 -2
- package/dist/{chunk-YTK6MYZH.js → chunk-4EONHNJU.js} +2 -2
- package/dist/{chunk-7YLXFFF5.js → chunk-4R3JCVID.js} +141 -141
- package/dist/{chunk-73DMIW44.js → chunk-4VKA5O7T.js} +2 -2
- package/dist/{chunk-SLTOYHG6.js → chunk-4W7VISE7.js} +108 -108
- package/dist/{chunk-SLTOYHG6.js.map → chunk-4W7VISE7.js.map} +1 -1
- package/dist/{chunk-TIBPTOLQ.js → chunk-5JEIDFPD.js} +1 -1
- package/dist/{chunk-L7UDYTU3.js → chunk-5MZTJMZ3.js} +7 -6
- package/dist/chunk-5MZTJMZ3.js.map +1 -0
- package/dist/{chunk-3E4SJHVW.js → chunk-5POTDNQT.js} +5 -5
- package/dist/{chunk-JW6CYU5F.js → chunk-63VGE4OH.js} +2 -2
- package/dist/{chunk-2VDCH2DF.js → chunk-6JKZILLF.js} +65 -65
- package/dist/{chunk-2VDCH2DF.js.map → chunk-6JKZILLF.js.map} +1 -1
- package/dist/{chunk-7HVOIRGN.js → chunk-6NIB2KGJ.js} +41 -41
- package/dist/{chunk-KLVK7BN5.js → chunk-6PQNLL4E.js} +35 -35
- package/dist/{chunk-FGPSTD37.js → chunk-72J6C2AJ.js} +4 -4
- package/dist/{chunk-N34NUHUO.js → chunk-73SOCVLS.js} +4 -4
- package/dist/{chunk-43OV5QK7.js → chunk-7BST7BA6.js} +4 -4
- package/dist/{chunk-FDAV72IX.js → chunk-7CZTKBTI.js} +5 -5
- package/dist/{chunk-G4ONAC4P.js → chunk-7DU35P5J.js} +6 -6
- package/dist/{chunk-SM5QX6UK.js → chunk-A2EWJQXX.js} +4 -4
- package/dist/{chunk-3WDWLSYX.js → chunk-AD22P5X3.js} +3 -3
- package/dist/{chunk-ZQSRAMSH.js → chunk-ADJJQSYC.js} +42 -42
- package/dist/{chunk-5C6KUGFG.js → chunk-AG7VGUIW.js} +6 -6
- package/dist/{chunk-LF5CBAOS.js → chunk-AOLE4IRZ.js} +5 -5
- package/dist/{chunk-CF7ZCKZC.js → chunk-APU42QDI.js} +133 -133
- package/dist/{chunk-P56F4SFD.js → chunk-BJIZ7PL7.js} +2 -2
- package/dist/{chunk-XEL2ZJ3Z.js → chunk-BJW7G6EF.js} +2 -2
- package/dist/{chunk-NNNXKGJH.js → chunk-BNUPYHHZ.js} +2 -2
- package/dist/{chunk-FYSOHZSM.js → chunk-BXRIQZAH.js} +8 -8
- package/dist/{chunk-N4ZDRONX.js → chunk-CBY5CXBD.js} +4 -4
- package/dist/{chunk-7PTHBHEW.js → chunk-CVG4FILQ.js} +69 -69
- package/dist/{chunk-LMN7SO4T.js → chunk-DDK4WFJ3.js} +12 -12
- package/dist/{chunk-G4HQUBO4.js → chunk-DLOYMWUQ.js} +7 -7
- package/dist/{chunk-OTMWHZBY.js → chunk-DWPOQ3S5.js} +2 -2
- package/dist/{chunk-C32ZOZTE.js → chunk-EF5SYXAY.js} +59 -34
- package/dist/chunk-EF5SYXAY.js.map +1 -0
- package/dist/{chunk-JIJGQPW2.js → chunk-EHCUFCXM.js} +18 -18
- package/dist/{chunk-SFTKDFOQ.js → chunk-EU6XSQFM.js} +2 -2
- package/dist/{chunk-62VER7O4.js → chunk-F3NERYBQ.js} +6 -6
- package/dist/{chunk-XZTOGYSM.js → chunk-F6LBGYS6.js} +39 -39
- package/dist/{chunk-EX5YO2KX.js → chunk-FDNJVZRE.js} +16 -16
- package/dist/{chunk-E5GLL7GL.js → chunk-FLGUVRR7.js} +5 -5
- package/dist/{chunk-YGD4MVPD.js → chunk-FSN6APRD.js} +4 -4
- package/dist/{chunk-J2YMBA2R.js → chunk-GAIM5RNE.js} +2 -2
- package/dist/{chunk-X2AH4DRF.js → chunk-GALB2G3W.js} +2 -2
- package/dist/{chunk-E2NTKB4G.js → chunk-GFUUFM2O.js} +4 -4
- package/dist/{chunk-7FTEIGVP.js → chunk-GTQ3SNEI.js} +2 -2
- package/dist/{chunk-SPH2HDSW.js → chunk-HDHK3SXK.js} +6 -6
- package/dist/{chunk-IJ6WELGP.js → chunk-HGMWMK5K.js} +2 -2
- package/dist/{chunk-HRMDE6MI.js → chunk-HNYJEAES.js} +7 -7
- package/dist/{chunk-BYASTRHQ.js → chunk-HO5Y2OOX.js} +11 -11
- package/dist/{chunk-WW7VY5LC.js → chunk-HOJGAJAB.js} +9 -9
- package/dist/{chunk-DYGAOHXK.js → chunk-HTT3FB7T.js} +2 -2
- package/dist/{chunk-O2WCMUQG.js → chunk-HWDGJFM4.js} +13 -13
- package/dist/{chunk-2JASYO6P.js → chunk-I6VUUEXH.js} +149 -149
- package/dist/chunk-I6VUUEXH.js.map +1 -0
- package/dist/{chunk-3AOXZHF6.js → chunk-IVOA3DXA.js} +10 -10
- package/dist/{chunk-5O5NCXJP.js → chunk-JK7C5A4I.js} +27 -27
- package/dist/{chunk-R7S6NSUB.js → chunk-JTN3T4QN.js} +20 -20
- package/dist/{chunk-7DUTMHRQ.js → chunk-JXT5QDJC.js} +4 -4
- package/dist/{chunk-BWTNB77U.js → chunk-KTRKZRID.js} +13 -13
- package/dist/{chunk-MWAFZVC4.js → chunk-KWKGBGAF.js} +10 -10
- package/dist/{chunk-5HXZC3OM.js → chunk-KZHW27BV.js} +2 -2
- package/dist/{chunk-RWUIKGLS.js → chunk-L7YURQI2.js} +2 -2
- package/dist/{chunk-73WI7FL2.js → chunk-LE2EDBXU.js} +18 -18
- package/dist/{chunk-5DSKMG2I.js → chunk-LEXPBQ56.js} +4 -4
- package/dist/{chunk-DWOP7YQX.js → chunk-N3ZP4IDU.js} +2 -2
- package/dist/{chunk-2KKFUNVW.js → chunk-NCX5SAQY.js} +7 -7
- package/dist/{chunk-ITGR4HN7.js → chunk-NDF3SH3X.js} +13 -13
- package/dist/{chunk-JQCGPTZ6.js → chunk-NWZW2WHN.js} +9 -9
- package/dist/{chunk-NQA5WCKG.js → chunk-NYZQ7LO7.js} +19 -19
- package/dist/{chunk-ZDL4ZALP.js → chunk-O756O2I7.js} +1 -1
- package/dist/{chunk-GRSODLVO.js → chunk-OANSIX34.js} +4 -4
- package/dist/{chunk-JLMDWUME.js → chunk-OBQVTCTW.js} +3 -3
- package/dist/{chunk-TUERKBGA.js → chunk-OO2T63BY.js} +2 -2
- package/dist/{chunk-EPWD4KRA.js → chunk-OOEO4MKY.js} +2 -2
- package/dist/{chunk-IKN3XCJU.js → chunk-OR37STQZ.js} +2 -2
- package/dist/{chunk-62LZQOAH.js → chunk-OSVHU2WU.js} +14 -14
- package/dist/{chunk-73YPB5IB.js → chunk-P5WABK2H.js} +8 -8
- package/dist/{chunk-JNFRC3AW.js → chunk-PM3OSANE.js} +4 -4
- package/dist/{chunk-W57X2TSV.js → chunk-PN66T6JA.js} +5 -5
- package/dist/{chunk-4NDE4JTJ.js → chunk-Q35DT6I6.js} +200 -200
- package/dist/{chunk-WFS5EUCL.js → chunk-Q35YZVDZ.js} +7 -7
- package/dist/{chunk-P5GMHOZB.js → chunk-QCD5Y7K5.js} +17 -17
- package/dist/{chunk-YTX274IC.js → chunk-QM5H4FPT.js} +2 -2
- package/dist/{chunk-VCUGPND2.js → chunk-QRVNI5V6.js} +3 -3
- package/dist/{chunk-JM4HQPAI.js → chunk-QZRDCFHI.js} +5 -5
- package/dist/{chunk-ELABMEDP.js → chunk-R63QEVPK.js} +15 -15
- package/dist/{chunk-CP7ZQHBW.js → chunk-RA3FNMWF.js} +10 -10
- package/dist/{chunk-D6II4KOG.js → chunk-RGW24ZZM.js} +74 -74
- package/dist/{chunk-2FUVCKGA.js → chunk-ROQOVH4N.js} +18 -18
- package/dist/chunk-ROQOVH4N.js.map +1 -0
- package/dist/{chunk-WSYR6CUF.js → chunk-RQDFYQHA.js} +7 -7
- package/dist/{chunk-CSLCTVND.js → chunk-RSNYGEVZ.js} +7 -7
- package/dist/{chunk-B2ES3U36.js → chunk-S4EZ3JUB.js} +39 -39
- package/dist/{chunk-OOUEPFGL.js → chunk-S4SC5SSV.js} +16 -16
- package/dist/{chunk-A4BD4ZVB.js → chunk-S7PVL7XH.js} +4 -4
- package/dist/{chunk-4LPA25NQ.js → chunk-SD2K5ZN5.js} +4 -4
- package/dist/chunk-ST22GONV.js +204 -0
- package/dist/chunk-ST22GONV.js.map +1 -0
- package/dist/{chunk-XAXTE2NA.js → chunk-SUVEDKE2.js} +3 -3
- package/dist/{chunk-LCFU5YUA.js → chunk-TGVVEGZG.js} +9 -9
- package/dist/{chunk-E74ISUXA.js → chunk-TQGJN5UZ.js} +233 -233
- package/dist/chunk-TQGJN5UZ.js.map +1 -0
- package/dist/{chunk-OEL73V62.js → chunk-U36PO27Q.js} +3 -3
- package/dist/{chunk-HZT5H5ZP.js → chunk-U3HSFCON.js} +22 -22
- package/dist/{chunk-J5MEDX7C.js → chunk-U47YDYLQ.js} +8 -8
- package/dist/{chunk-BLT4KQTS.js → chunk-UP4BE32Y.js} +4 -4
- package/dist/{chunk-ZSKUBXA6.js → chunk-UWJ5P5CU.js} +2 -2
- package/dist/{chunk-YVBHGMKC.js → chunk-VAIESMPY.js} +4 -4
- package/dist/{chunk-5P6EKYTC.js → chunk-VP62LPLW.js} +14 -14
- package/dist/{chunk-GOEN2FSD.js → chunk-VUHPA3XQ.js} +4 -4
- package/dist/{chunk-5FA455GR.js → chunk-WNG757ID.js} +4 -4
- package/dist/{chunk-4LMNYFES.js → chunk-WSMYOLHG.js} +9 -9
- package/dist/{chunk-JXEMUZTV.js → chunk-X7ASQHR6.js} +2 -2
- package/dist/{chunk-YSSTNTJD.js → chunk-X7L4H4VG.js} +223 -223
- package/dist/chunk-X7L4H4VG.js.map +1 -0
- package/dist/{chunk-CZSYF7UF.js → chunk-XOFUXMPP.js} +2 -2
- package/dist/{chunk-VNMM6DQP.js → chunk-XWWXIZFP.js} +4 -4
- package/dist/{chunk-XC4DZXZZ.js → chunk-YXOKAG66.js} +2 -2
- package/dist/{chunk-XMNUZUUA.js → chunk-Z2DAWUO3.js} +6 -6
- package/dist/{chunk-TJ2MBYK4.js → chunk-Z5WMLJKI.js} +4 -4
- package/dist/{chunk-WCK2NF54.js → chunk-ZKYYZH6L.js} +7 -7
- package/dist/{chunk-AS6ZXN5K.js → chunk-ZRJCGBVV.js} +2 -2
- package/dist/composer.js +11 -11
- package/dist/{computer-viewer-MUOPCKPS.js → computer-viewer-KEDVLD42.js} +6 -6
- package/dist/connect.js +7 -7
- package/dist/{embedded-new-voice-IIZPNXHC.js → embedded-new-voice-LFHWWYD2.js} +5 -5
- package/dist/{embedded-voice-5PXDBGOI.js → embedded-voice-6QS4ANNX.js} +5 -5
- package/dist/index.js +206 -206
- package/dist/interaction.js +6 -6
- package/dist/{latest-question-ZCZYQZMD.js → latest-question-AW3PPDUM.js} +2 -2
- package/dist/machines.js +1 -1
- package/dist/{model-policy-picker-menu-4GWYXUP3.js → model-policy-picker-menu-CURJ247L.js} +5 -5
- package/dist/native-previews.js +3 -3
- package/dist/{queue-surface-implementation-VPPIEPJL.js → queue-surface-implementation-2X5AXB6I.js} +4 -4
- package/dist/realtime.js +4 -4
- package/dist/{sandbox-files-QXIZJJMW.js → sandbox-files-4FBG3GS2.js} +8 -8
- package/dist/sandbox-files-4FBG3GS2.js.map +1 -0
- package/dist/session-app.js +268 -268
- package/dist/session-list-model.js +2 -2
- package/dist/session-ui.js +57 -57
- package/dist/session.js +11 -11
- package/dist/terminal.js +1 -1
- package/dist/timeline/types.d.ts +2 -0
- package/dist/{timeline-annotation-markers-BSTWUL4V.js → timeline-annotation-markers-X4K2IEOO.js} +4 -4
- package/dist/{timeline-annotation-selection-3SMCLIJE.js → timeline-annotation-selection-MEHBW676.js} +6 -6
- package/dist/{timeline-annotations-dialog-GFF3RFYZ.js → timeline-annotations-dialog-U2FPQ3UY.js} +7 -7
- package/dist/timeline-model.js +15 -15
- package/dist/ui/access-list.js +18 -18
- package/dist/ui/cadence-picker.js +2 -2
- package/dist/ui/choice-cards.js +2 -2
- package/dist/ui/detail-page.js +2 -2
- package/dist/ui/detail-sheet.js +2 -2
- package/dist/ui/diff-view.js +2 -2
- package/dist/ui/disclosure.js +4 -4
- 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/revision-history.js +11 -11
- package/dist/ui/role-select.js +7 -7
- package/dist/ui/select-menu.js +2 -2
- package/dist/ui/settings-nav.js +3 -3
- package/dist/workbench.js +9 -9
- package/package.json +4 -4
- package/src/app/components/capabilities/session-capability-card.tsx +14 -1
- package/src/app/components/capabilities/session-chrome-card.dom-fixture.tsx +377 -0
- package/src/app/components/capabilities/session-chrome-card.test.tsx +18 -0
- package/src/app/components/capabilities/session-chrome-card.tsx +243 -0
- package/src/app/components/capabilities/session-machine-card.dom-fixture.tsx +2 -0
- package/src/app/components/capabilities/session-machine-card.tsx +65 -14
- package/src/timeline/projection.ts +4 -2
- package/src/timeline/types.ts +2 -0
- package/dist/chunk-2FUVCKGA.js.map +0 -1
- package/dist/chunk-2JASYO6P.js.map +0 -1
- package/dist/chunk-C32ZOZTE.js.map +0 -1
- package/dist/chunk-E74ISUXA.js.map +0 -1
- package/dist/chunk-L7UDYTU3.js.map +0 -1
- package/dist/chunk-YSSTNTJD.js.map +0 -1
- /package/dist/{browser-viewer-VYZLJH3P.js.map → app/components/capabilities/session-chrome-card.js.map} +0 -0
- /package/dist/{chat-interactive-block-MECBXZ7V.js.map → browser-viewer-RYYQSRTC.js.map} +0 -0
- /package/dist/{computer-viewer-MUOPCKPS.js.map → chat-interactive-block-ABCRKXJ4.js.map} +0 -0
- /package/dist/{chunk-Y4D4N2EF.js.map → chunk-22ZBT6CN.js.map} +0 -0
- /package/dist/{chunk-TFK4KFKA.js.map → chunk-33TPANCR.js.map} +0 -0
- /package/dist/{chunk-CFFNT2OY.js.map → chunk-3GLAPCVI.js.map} +0 -0
- /package/dist/{chunk-BXQYAAVE.js.map → chunk-3XOISKZC.js.map} +0 -0
- /package/dist/{chunk-FYGMIMEG.js.map → chunk-4432A3HQ.js.map} +0 -0
- /package/dist/{chunk-3MOD23RS.js.map → chunk-46VBQG2D.js.map} +0 -0
- /package/dist/{chunk-Q2PVSCJV.js.map → chunk-4EAF3HSD.js.map} +0 -0
- /package/dist/{chunk-YTK6MYZH.js.map → chunk-4EONHNJU.js.map} +0 -0
- /package/dist/{chunk-7YLXFFF5.js.map → chunk-4R3JCVID.js.map} +0 -0
- /package/dist/{chunk-73DMIW44.js.map → chunk-4VKA5O7T.js.map} +0 -0
- /package/dist/{chunk-TIBPTOLQ.js.map → chunk-5JEIDFPD.js.map} +0 -0
- /package/dist/{chunk-3E4SJHVW.js.map → chunk-5POTDNQT.js.map} +0 -0
- /package/dist/{chunk-JW6CYU5F.js.map → chunk-63VGE4OH.js.map} +0 -0
- /package/dist/{chunk-7HVOIRGN.js.map → chunk-6NIB2KGJ.js.map} +0 -0
- /package/dist/{chunk-KLVK7BN5.js.map → chunk-6PQNLL4E.js.map} +0 -0
- /package/dist/{chunk-FGPSTD37.js.map → chunk-72J6C2AJ.js.map} +0 -0
- /package/dist/{chunk-N34NUHUO.js.map → chunk-73SOCVLS.js.map} +0 -0
- /package/dist/{chunk-43OV5QK7.js.map → chunk-7BST7BA6.js.map} +0 -0
- /package/dist/{chunk-FDAV72IX.js.map → chunk-7CZTKBTI.js.map} +0 -0
- /package/dist/{chunk-G4ONAC4P.js.map → chunk-7DU35P5J.js.map} +0 -0
- /package/dist/{chunk-SM5QX6UK.js.map → chunk-A2EWJQXX.js.map} +0 -0
- /package/dist/{chunk-3WDWLSYX.js.map → chunk-AD22P5X3.js.map} +0 -0
- /package/dist/{chunk-ZQSRAMSH.js.map → chunk-ADJJQSYC.js.map} +0 -0
- /package/dist/{chunk-5C6KUGFG.js.map → chunk-AG7VGUIW.js.map} +0 -0
- /package/dist/{chunk-LF5CBAOS.js.map → chunk-AOLE4IRZ.js.map} +0 -0
- /package/dist/{chunk-CF7ZCKZC.js.map → chunk-APU42QDI.js.map} +0 -0
- /package/dist/{chunk-P56F4SFD.js.map → chunk-BJIZ7PL7.js.map} +0 -0
- /package/dist/{chunk-XEL2ZJ3Z.js.map → chunk-BJW7G6EF.js.map} +0 -0
- /package/dist/{chunk-NNNXKGJH.js.map → chunk-BNUPYHHZ.js.map} +0 -0
- /package/dist/{chunk-FYSOHZSM.js.map → chunk-BXRIQZAH.js.map} +0 -0
- /package/dist/{chunk-N4ZDRONX.js.map → chunk-CBY5CXBD.js.map} +0 -0
- /package/dist/{chunk-7PTHBHEW.js.map → chunk-CVG4FILQ.js.map} +0 -0
- /package/dist/{chunk-LMN7SO4T.js.map → chunk-DDK4WFJ3.js.map} +0 -0
- /package/dist/{chunk-G4HQUBO4.js.map → chunk-DLOYMWUQ.js.map} +0 -0
- /package/dist/{chunk-OTMWHZBY.js.map → chunk-DWPOQ3S5.js.map} +0 -0
- /package/dist/{chunk-JIJGQPW2.js.map → chunk-EHCUFCXM.js.map} +0 -0
- /package/dist/{chunk-SFTKDFOQ.js.map → chunk-EU6XSQFM.js.map} +0 -0
- /package/dist/{chunk-62VER7O4.js.map → chunk-F3NERYBQ.js.map} +0 -0
- /package/dist/{chunk-XZTOGYSM.js.map → chunk-F6LBGYS6.js.map} +0 -0
- /package/dist/{chunk-EX5YO2KX.js.map → chunk-FDNJVZRE.js.map} +0 -0
- /package/dist/{chunk-E5GLL7GL.js.map → chunk-FLGUVRR7.js.map} +0 -0
- /package/dist/{chunk-YGD4MVPD.js.map → chunk-FSN6APRD.js.map} +0 -0
- /package/dist/{chunk-J2YMBA2R.js.map → chunk-GAIM5RNE.js.map} +0 -0
- /package/dist/{chunk-X2AH4DRF.js.map → chunk-GALB2G3W.js.map} +0 -0
- /package/dist/{chunk-E2NTKB4G.js.map → chunk-GFUUFM2O.js.map} +0 -0
- /package/dist/{chunk-7FTEIGVP.js.map → chunk-GTQ3SNEI.js.map} +0 -0
- /package/dist/{chunk-SPH2HDSW.js.map → chunk-HDHK3SXK.js.map} +0 -0
- /package/dist/{chunk-IJ6WELGP.js.map → chunk-HGMWMK5K.js.map} +0 -0
- /package/dist/{chunk-HRMDE6MI.js.map → chunk-HNYJEAES.js.map} +0 -0
- /package/dist/{chunk-BYASTRHQ.js.map → chunk-HO5Y2OOX.js.map} +0 -0
- /package/dist/{chunk-WW7VY5LC.js.map → chunk-HOJGAJAB.js.map} +0 -0
- /package/dist/{chunk-DYGAOHXK.js.map → chunk-HTT3FB7T.js.map} +0 -0
- /package/dist/{chunk-O2WCMUQG.js.map → chunk-HWDGJFM4.js.map} +0 -0
- /package/dist/{chunk-3AOXZHF6.js.map → chunk-IVOA3DXA.js.map} +0 -0
- /package/dist/{chunk-5O5NCXJP.js.map → chunk-JK7C5A4I.js.map} +0 -0
- /package/dist/{chunk-R7S6NSUB.js.map → chunk-JTN3T4QN.js.map} +0 -0
- /package/dist/{chunk-7DUTMHRQ.js.map → chunk-JXT5QDJC.js.map} +0 -0
- /package/dist/{chunk-BWTNB77U.js.map → chunk-KTRKZRID.js.map} +0 -0
- /package/dist/{chunk-MWAFZVC4.js.map → chunk-KWKGBGAF.js.map} +0 -0
- /package/dist/{chunk-5HXZC3OM.js.map → chunk-KZHW27BV.js.map} +0 -0
- /package/dist/{chunk-RWUIKGLS.js.map → chunk-L7YURQI2.js.map} +0 -0
- /package/dist/{chunk-73WI7FL2.js.map → chunk-LE2EDBXU.js.map} +0 -0
- /package/dist/{chunk-5DSKMG2I.js.map → chunk-LEXPBQ56.js.map} +0 -0
- /package/dist/{chunk-DWOP7YQX.js.map → chunk-N3ZP4IDU.js.map} +0 -0
- /package/dist/{chunk-2KKFUNVW.js.map → chunk-NCX5SAQY.js.map} +0 -0
- /package/dist/{chunk-ITGR4HN7.js.map → chunk-NDF3SH3X.js.map} +0 -0
- /package/dist/{chunk-JQCGPTZ6.js.map → chunk-NWZW2WHN.js.map} +0 -0
- /package/dist/{chunk-NQA5WCKG.js.map → chunk-NYZQ7LO7.js.map} +0 -0
- /package/dist/{chunk-ZDL4ZALP.js.map → chunk-O756O2I7.js.map} +0 -0
- /package/dist/{chunk-GRSODLVO.js.map → chunk-OANSIX34.js.map} +0 -0
- /package/dist/{chunk-JLMDWUME.js.map → chunk-OBQVTCTW.js.map} +0 -0
- /package/dist/{chunk-TUERKBGA.js.map → chunk-OO2T63BY.js.map} +0 -0
- /package/dist/{chunk-EPWD4KRA.js.map → chunk-OOEO4MKY.js.map} +0 -0
- /package/dist/{chunk-IKN3XCJU.js.map → chunk-OR37STQZ.js.map} +0 -0
- /package/dist/{chunk-62LZQOAH.js.map → chunk-OSVHU2WU.js.map} +0 -0
- /package/dist/{chunk-73YPB5IB.js.map → chunk-P5WABK2H.js.map} +0 -0
- /package/dist/{chunk-JNFRC3AW.js.map → chunk-PM3OSANE.js.map} +0 -0
- /package/dist/{chunk-W57X2TSV.js.map → chunk-PN66T6JA.js.map} +0 -0
- /package/dist/{chunk-4NDE4JTJ.js.map → chunk-Q35DT6I6.js.map} +0 -0
- /package/dist/{chunk-WFS5EUCL.js.map → chunk-Q35YZVDZ.js.map} +0 -0
- /package/dist/{chunk-P5GMHOZB.js.map → chunk-QCD5Y7K5.js.map} +0 -0
- /package/dist/{chunk-YTX274IC.js.map → chunk-QM5H4FPT.js.map} +0 -0
- /package/dist/{chunk-VCUGPND2.js.map → chunk-QRVNI5V6.js.map} +0 -0
- /package/dist/{chunk-JM4HQPAI.js.map → chunk-QZRDCFHI.js.map} +0 -0
- /package/dist/{chunk-ELABMEDP.js.map → chunk-R63QEVPK.js.map} +0 -0
- /package/dist/{chunk-CP7ZQHBW.js.map → chunk-RA3FNMWF.js.map} +0 -0
- /package/dist/{chunk-D6II4KOG.js.map → chunk-RGW24ZZM.js.map} +0 -0
- /package/dist/{chunk-WSYR6CUF.js.map → chunk-RQDFYQHA.js.map} +0 -0
- /package/dist/{chunk-CSLCTVND.js.map → chunk-RSNYGEVZ.js.map} +0 -0
- /package/dist/{chunk-B2ES3U36.js.map → chunk-S4EZ3JUB.js.map} +0 -0
- /package/dist/{chunk-OOUEPFGL.js.map → chunk-S4SC5SSV.js.map} +0 -0
- /package/dist/{chunk-A4BD4ZVB.js.map → chunk-S7PVL7XH.js.map} +0 -0
- /package/dist/{chunk-4LPA25NQ.js.map → chunk-SD2K5ZN5.js.map} +0 -0
- /package/dist/{chunk-XAXTE2NA.js.map → chunk-SUVEDKE2.js.map} +0 -0
- /package/dist/{chunk-LCFU5YUA.js.map → chunk-TGVVEGZG.js.map} +0 -0
- /package/dist/{chunk-OEL73V62.js.map → chunk-U36PO27Q.js.map} +0 -0
- /package/dist/{chunk-HZT5H5ZP.js.map → chunk-U3HSFCON.js.map} +0 -0
- /package/dist/{chunk-J5MEDX7C.js.map → chunk-U47YDYLQ.js.map} +0 -0
- /package/dist/{chunk-BLT4KQTS.js.map → chunk-UP4BE32Y.js.map} +0 -0
- /package/dist/{chunk-ZSKUBXA6.js.map → chunk-UWJ5P5CU.js.map} +0 -0
- /package/dist/{chunk-YVBHGMKC.js.map → chunk-VAIESMPY.js.map} +0 -0
- /package/dist/{chunk-5P6EKYTC.js.map → chunk-VP62LPLW.js.map} +0 -0
- /package/dist/{chunk-GOEN2FSD.js.map → chunk-VUHPA3XQ.js.map} +0 -0
- /package/dist/{chunk-5FA455GR.js.map → chunk-WNG757ID.js.map} +0 -0
- /package/dist/{chunk-4LMNYFES.js.map → chunk-WSMYOLHG.js.map} +0 -0
- /package/dist/{chunk-JXEMUZTV.js.map → chunk-X7ASQHR6.js.map} +0 -0
- /package/dist/{chunk-CZSYF7UF.js.map → chunk-XOFUXMPP.js.map} +0 -0
- /package/dist/{chunk-VNMM6DQP.js.map → chunk-XWWXIZFP.js.map} +0 -0
- /package/dist/{chunk-XC4DZXZZ.js.map → chunk-YXOKAG66.js.map} +0 -0
- /package/dist/{chunk-XMNUZUUA.js.map → chunk-Z2DAWUO3.js.map} +0 -0
- /package/dist/{chunk-TJ2MBYK4.js.map → chunk-Z5WMLJKI.js.map} +0 -0
- /package/dist/{chunk-WCK2NF54.js.map → chunk-ZKYYZH6L.js.map} +0 -0
- /package/dist/{chunk-AS6ZXN5K.js.map → chunk-ZRJCGBVV.js.map} +0 -0
- /package/dist/{embedded-new-voice-IIZPNXHC.js.map → computer-viewer-KEDVLD42.js.map} +0 -0
- /package/dist/{embedded-voice-5PXDBGOI.js.map → embedded-new-voice-LFHWWYD2.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-4GWYXUP3.js.map → embedded-voice-6QS4ANNX.js.map} +0 -0
- /package/dist/{latest-question-ZCZYQZMD.js.map → latest-question-AW3PPDUM.js.map} +0 -0
- /package/dist/{sandbox-files-QXIZJJMW.js.map → model-policy-picker-menu-CURJ247L.js.map} +0 -0
- /package/dist/{queue-surface-implementation-VPPIEPJL.js.map → queue-surface-implementation-2X5AXB6I.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-BSTWUL4V.js.map → timeline-annotation-markers-X4K2IEOO.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-3SMCLIJE.js.map → timeline-annotation-selection-MEHBW676.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-GFF3RFYZ.js.map → timeline-annotations-dialog-U2FPQ3UY.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
recencyGroupFor,
|
|
22
22
|
sessionActivityTime,
|
|
23
23
|
sessionInputWait
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Z5WMLJKI.js";
|
|
25
25
|
|
|
26
26
|
// src/app/lib/sessions-group.tsx
|
|
27
27
|
function sessionProjectTotals(totals, channelIds) {
|
|
@@ -796,4 +796,4 @@ export {
|
|
|
796
796
|
visibleForestRows,
|
|
797
797
|
channelRailSections
|
|
798
798
|
};
|
|
799
|
-
//# sourceMappingURL=chunk-
|
|
799
|
+
//# sourceMappingURL=chunk-BJIZ7PL7.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-GVK3MCHP.js";
|
|
8
8
|
import {
|
|
9
9
|
BillingClassMark
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HGMWMK5K.js";
|
|
11
11
|
import {
|
|
12
12
|
Skeleton
|
|
13
13
|
} from "./chunk-HY7EYWIG.js";
|
|
@@ -147,4 +147,4 @@ function CodexAccountIndicator({
|
|
|
147
147
|
export {
|
|
148
148
|
CodexAccountIndicator
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
150
|
+
//# sourceMappingURL=chunk-BJW7G6EF.js.map
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
useState
|
|
35
35
|
} from "react";
|
|
36
36
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
37
|
-
var TimelineAnnotationsDialog = lazy(() => import("./timeline-annotations-dialog-
|
|
37
|
+
var TimelineAnnotationsDialog = lazy(() => import("./timeline-annotations-dialog-U2FPQ3UY.js"));
|
|
38
38
|
function AnnotationSourceRootBridge({
|
|
39
39
|
triggerRef,
|
|
40
40
|
children
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
TimelineAnnotationCards,
|
|
210
210
|
TimelineAnnotationsChip
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-BNUPYHHZ.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
RadioRow,
|
|
5
5
|
useFocusCheckedRow
|
|
6
6
|
} from "./chunk-Z2S5VQG7.js";
|
|
7
|
-
import {
|
|
8
|
-
cn
|
|
9
|
-
} from "./chunk-A3MTTRCX.js";
|
|
10
7
|
import {
|
|
11
8
|
parseSessionUsageLimitDraft
|
|
12
9
|
} from "./chunk-RBRX5ZS3.js";
|
|
10
|
+
import {
|
|
11
|
+
cn
|
|
12
|
+
} from "./chunk-A3MTTRCX.js";
|
|
13
13
|
import {
|
|
14
14
|
Input
|
|
15
15
|
} from "./chunk-ECNX3UOI.js";
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
ComposerMenuHeader
|
|
21
21
|
} from "./chunk-O2LGEYG4.js";
|
|
22
|
-
import {
|
|
23
|
-
DropdownMenuItem
|
|
24
|
-
} from "./chunk-TREHTIBD.js";
|
|
25
22
|
import {
|
|
26
23
|
rememberedMachineFolder,
|
|
27
24
|
workspaceDefaultRigOptionLabel
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JXT5QDJC.js";
|
|
29
26
|
import {
|
|
30
27
|
t
|
|
31
28
|
} from "./chunk-HPPKLBTJ.js";
|
|
29
|
+
import {
|
|
30
|
+
DropdownMenuItem
|
|
31
|
+
} from "./chunk-TREHTIBD.js";
|
|
32
32
|
import {
|
|
33
33
|
MENU_LABEL_CLASS,
|
|
34
34
|
MENU_NOTE_CLASS,
|
|
@@ -493,4 +493,4 @@ export {
|
|
|
493
493
|
VisibilityMenuBody,
|
|
494
494
|
UsageLimitMenuBody
|
|
495
495
|
};
|
|
496
|
-
//# sourceMappingURL=chunk-
|
|
496
|
+
//# sourceMappingURL=chunk-BXRIQZAH.js.map
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
userErrorText
|
|
21
21
|
} from "./chunk-L4OF77LE.js";
|
|
22
|
+
import {
|
|
23
|
+
Button
|
|
24
|
+
} from "./chunk-HMU5IELG.js";
|
|
22
25
|
import {
|
|
23
26
|
feedbackDialogCopy,
|
|
24
27
|
feedbackSentimentLabel,
|
|
25
28
|
feedbackSubmission
|
|
26
29
|
} from "./chunk-LRNZ5F2R.js";
|
|
27
|
-
import {
|
|
28
|
-
Button
|
|
29
|
-
} from "./chunk-HMU5IELG.js";
|
|
30
30
|
|
|
31
31
|
// src/app/components/feedback.tsx
|
|
32
32
|
import { useEffect, useId, useRef, useState } from "react";
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
FeedbackDialog,
|
|
202
202
|
SessionFeedback
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=chunk-
|
|
204
|
+
//# sourceMappingURL=chunk-CBY5CXBD.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
ProviderRecoveryNotice
|
|
8
8
|
} from "./chunk-P5T36BA3.js";
|
|
9
|
+
import {
|
|
10
|
+
UserMessageBody,
|
|
11
|
+
UserMessageDisclosureProvider
|
|
12
|
+
} from "./chunk-L7YURQI2.js";
|
|
9
13
|
import {
|
|
10
14
|
MessageSenderContext,
|
|
11
15
|
MessageSenderSlot
|
|
12
16
|
} from "./chunk-KDQAWRYZ.js";
|
|
13
|
-
import {
|
|
14
|
-
UserMessageBody,
|
|
15
|
-
UserMessageDisclosureProvider
|
|
16
|
-
} from "./chunk-RWUIKGLS.js";
|
|
17
17
|
import {
|
|
18
18
|
SESSION_STATUS_META,
|
|
19
19
|
StatusDot
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
} from "./chunk-RGPYMHKI.js";
|
|
24
24
|
import {
|
|
25
25
|
ChatComposer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AD22P5X3.js";
|
|
27
27
|
import {
|
|
28
28
|
TimelineAnnotationCards,
|
|
29
29
|
TimelineAnnotationsChip
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BNUPYHHZ.js";
|
|
31
31
|
import {
|
|
32
32
|
TimelineAnnotationSourceRootContext
|
|
33
33
|
} from "./chunk-RIMKJBCD.js";
|
|
34
34
|
import {
|
|
35
35
|
OpenGeniProvider
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XWWXIZFP.js";
|
|
37
37
|
import {
|
|
38
38
|
ActivityNoteTextContext,
|
|
39
39
|
ActivityRail,
|
|
@@ -67,7 +67,33 @@ import {
|
|
|
67
67
|
useFoldMemory,
|
|
68
68
|
useStartupDetails,
|
|
69
69
|
useTurnSettleOpen
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-X7L4H4VG.js";
|
|
71
|
+
import {
|
|
72
|
+
invokeOlderHistoryLoaderWithReceiptCapture,
|
|
73
|
+
useClientConfigFlags,
|
|
74
|
+
useGoal,
|
|
75
|
+
useNewConversation,
|
|
76
|
+
useSessionConversation,
|
|
77
|
+
useSessionReadAcknowledgement
|
|
78
|
+
} from "./chunk-4W7VISE7.js";
|
|
79
|
+
import {
|
|
80
|
+
buildTimeline,
|
|
81
|
+
compactionFailureDetails,
|
|
82
|
+
compactionSkipSubtitle,
|
|
83
|
+
compactionSkipTitle,
|
|
84
|
+
groupTimeline
|
|
85
|
+
} from "./chunk-5MZTJMZ3.js";
|
|
86
|
+
import {
|
|
87
|
+
forgetHumanInputDraft,
|
|
88
|
+
readHumanInputDraft,
|
|
89
|
+
writeHumanInputDraft
|
|
90
|
+
} from "./chunk-ZOARMQY2.js";
|
|
91
|
+
import {
|
|
92
|
+
joinClientConfigRead
|
|
93
|
+
} from "./chunk-IGVL3ELX.js";
|
|
94
|
+
import {
|
|
95
|
+
markClassicScrollbars
|
|
96
|
+
} from "./chunk-MK2TQO4Y.js";
|
|
71
97
|
import {
|
|
72
98
|
CompactActivityContext,
|
|
73
99
|
CopyHoverFrame,
|
|
@@ -78,7 +104,7 @@ import {
|
|
|
78
104
|
isTimelineSearchTarget,
|
|
79
105
|
useSecretsUi,
|
|
80
106
|
useTimelineSearchNavigation
|
|
81
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-R63QEVPK.js";
|
|
82
108
|
import {
|
|
83
109
|
prefersReducedMotion
|
|
84
110
|
} from "./chunk-OYQQJL3J.js";
|
|
@@ -98,46 +124,6 @@ import {
|
|
|
98
124
|
queueNeighborAnchors,
|
|
99
125
|
queuedTurnPresentation
|
|
100
126
|
} from "./chunk-7N5AD2TC.js";
|
|
101
|
-
import {
|
|
102
|
-
ThisComputerCard
|
|
103
|
-
} from "./chunk-4LKNIGHB.js";
|
|
104
|
-
import {
|
|
105
|
-
LightboxProvider,
|
|
106
|
-
ShimmerText,
|
|
107
|
-
Tooltip,
|
|
108
|
-
TooltipContent,
|
|
109
|
-
TooltipProvider,
|
|
110
|
-
TooltipTrigger
|
|
111
|
-
} from "./chunk-JLMDWUME.js";
|
|
112
|
-
import {
|
|
113
|
-
ModelPolicyPicker
|
|
114
|
-
} from "./chunk-5C6KUGFG.js";
|
|
115
|
-
import {
|
|
116
|
-
invokeOlderHistoryLoaderWithReceiptCapture,
|
|
117
|
-
useClientConfigFlags,
|
|
118
|
-
useGoal,
|
|
119
|
-
useNewConversation,
|
|
120
|
-
useSessionConversation,
|
|
121
|
-
useSessionReadAcknowledgement
|
|
122
|
-
} from "./chunk-SLTOYHG6.js";
|
|
123
|
-
import {
|
|
124
|
-
buildTimeline,
|
|
125
|
-
compactionFailureDetails,
|
|
126
|
-
compactionSkipSubtitle,
|
|
127
|
-
compactionSkipTitle,
|
|
128
|
-
groupTimeline
|
|
129
|
-
} from "./chunk-L7UDYTU3.js";
|
|
130
|
-
import {
|
|
131
|
-
forgetHumanInputDraft,
|
|
132
|
-
readHumanInputDraft,
|
|
133
|
-
writeHumanInputDraft
|
|
134
|
-
} from "./chunk-ZOARMQY2.js";
|
|
135
|
-
import {
|
|
136
|
-
joinClientConfigRead
|
|
137
|
-
} from "./chunk-IGVL3ELX.js";
|
|
138
|
-
import {
|
|
139
|
-
notifyObserver
|
|
140
|
-
} from "./chunk-GNEHAPKV.js";
|
|
141
127
|
import {
|
|
142
128
|
DEFAULT_SESSION_USAGE_LIMIT_LABELS,
|
|
143
129
|
allowanceLabels,
|
|
@@ -145,17 +131,8 @@ import {
|
|
|
145
131
|
formatAllowanceInstant
|
|
146
132
|
} from "./chunk-4U7SHFQ2.js";
|
|
147
133
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import {
|
|
151
|
-
useErrorMessage
|
|
152
|
-
} from "./chunk-CM7LVUKC.js";
|
|
153
|
-
import {
|
|
154
|
-
useOpenGeni
|
|
155
|
-
} from "./chunk-TVQCDDSZ.js";
|
|
156
|
-
import {
|
|
157
|
-
markClassicScrollbars
|
|
158
|
-
} from "./chunk-MK2TQO4Y.js";
|
|
134
|
+
ThisComputerCard
|
|
135
|
+
} from "./chunk-4LKNIGHB.js";
|
|
159
136
|
import {
|
|
160
137
|
QUESTION_NAV_MARGIN_PX,
|
|
161
138
|
answersFromDrafts,
|
|
@@ -187,10 +164,10 @@ import {
|
|
|
187
164
|
secretPatternMismatch,
|
|
188
165
|
secretVaultForTarget,
|
|
189
166
|
timelineGroupIndexAtSequence
|
|
190
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-I6VUUEXH.js";
|
|
191
168
|
import {
|
|
192
169
|
formatElapsed
|
|
193
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-TQGJN5UZ.js";
|
|
194
171
|
import {
|
|
195
172
|
namedAgentTitle
|
|
196
173
|
} from "./chunk-HEVQKE27.js";
|
|
@@ -205,6 +182,29 @@ import {
|
|
|
205
182
|
toolDisplayName,
|
|
206
183
|
toolStepPhase
|
|
207
184
|
} from "./chunk-STUCI6QA.js";
|
|
185
|
+
import {
|
|
186
|
+
notifyObserver
|
|
187
|
+
} from "./chunk-GNEHAPKV.js";
|
|
188
|
+
import {
|
|
189
|
+
ModelPolicyPicker
|
|
190
|
+
} from "./chunk-AG7VGUIW.js";
|
|
191
|
+
import {
|
|
192
|
+
LightboxProvider,
|
|
193
|
+
ShimmerText,
|
|
194
|
+
Tooltip,
|
|
195
|
+
TooltipContent,
|
|
196
|
+
TooltipProvider,
|
|
197
|
+
TooltipTrigger
|
|
198
|
+
} from "./chunk-OBQVTCTW.js";
|
|
199
|
+
import {
|
|
200
|
+
usePolledValue
|
|
201
|
+
} from "./chunk-NAWXARTY.js";
|
|
202
|
+
import {
|
|
203
|
+
useErrorMessage
|
|
204
|
+
} from "./chunk-CM7LVUKC.js";
|
|
205
|
+
import {
|
|
206
|
+
useOpenGeni
|
|
207
|
+
} from "./chunk-TVQCDDSZ.js";
|
|
208
208
|
import {
|
|
209
209
|
formatClockTime,
|
|
210
210
|
formatRelativeTime,
|
|
@@ -2866,8 +2866,8 @@ function SessionUsageLimitRow({ stop }) {
|
|
|
2866
2866
|
|
|
2867
2867
|
// src/components/message-timeline.tsx
|
|
2868
2868
|
import { Fragment as Fragment5, jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
2869
|
-
var TimelineAnnotationSelection = lazy(() => import("./timeline-annotation-selection-
|
|
2870
|
-
var TimelineAnnotationMarkers = lazy(() => import("./timeline-annotation-markers-
|
|
2869
|
+
var TimelineAnnotationSelection = lazy(() => import("./timeline-annotation-selection-MEHBW676.js"));
|
|
2870
|
+
var TimelineAnnotationMarkers = lazy(() => import("./timeline-annotation-markers-X4K2IEOO.js"));
|
|
2871
2871
|
var PIN_THRESHOLD_PX = 48;
|
|
2872
2872
|
var JUMP_TO_LATEST_CATCHUP_DEBT_PX = 240;
|
|
2873
2873
|
var NAV_BUTTON_CLASS = "pointer-events-auto relative inline-flex size-8 items-center justify-center rounded-full border border-og-border bg-og-surface-3/90 text-og-fg-muted shadow-og-md backdrop-blur hover:border-og-border-strong hover:text-og-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-og-accent pointer-coarse:before:absolute pointer-coarse:before:-inset-1.5 pointer-coarse:before:content-['']";
|
|
@@ -6495,7 +6495,7 @@ function authReasonLine(t, reason) {
|
|
|
6495
6495
|
import { Loader2Icon } from "lucide-react";
|
|
6496
6496
|
import { lazy as lazy2, Suspense as Suspense3 } from "react";
|
|
6497
6497
|
import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
6498
|
-
var loadQueueSurface = () => import("./queue-surface-implementation-
|
|
6498
|
+
var loadQueueSurface = () => import("./queue-surface-implementation-2X5AXB6I.js");
|
|
6499
6499
|
var QueueSurface = createQueueSurface(loadQueueSurface);
|
|
6500
6500
|
function createQueueSurface(loadImplementation) {
|
|
6501
6501
|
const LazyQueueSurface = lazy2(async () => ({
|
|
@@ -8989,9 +8989,9 @@ function GoalChrome({
|
|
|
8989
8989
|
});
|
|
8990
8990
|
return /* @__PURE__ */ jsx17(SessionChrome, { ...chrome, goal });
|
|
8991
8991
|
}
|
|
8992
|
-
var LazyEmbeddedRealtimeVoice = lazy3(() => import("./embedded-voice-
|
|
8992
|
+
var LazyEmbeddedRealtimeVoice = lazy3(() => import("./embedded-voice-6QS4ANNX.js"));
|
|
8993
8993
|
var LazyChatInteractiveBlock = lazy3(
|
|
8994
|
-
() => import("./chat-interactive-block-
|
|
8994
|
+
() => import("./chat-interactive-block-ABCRKXJ4.js").then((module) => ({
|
|
8995
8995
|
default: module.ChatInteractiveBlock
|
|
8996
8996
|
}))
|
|
8997
8997
|
);
|
|
@@ -9101,7 +9101,7 @@ function useComposerTranscription(client, workspaceId, capability) {
|
|
|
9101
9101
|
import { OpenGeniApiError as OpenGeniApiError3 } from "@opengeni/sdk";
|
|
9102
9102
|
import { lazy as lazy4, Suspense as Suspense5, useRef as useRef12 } from "react";
|
|
9103
9103
|
import { Fragment as Fragment8, jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
9104
|
-
var LazyNewVoice = lazy4(() => import("./embedded-new-voice-
|
|
9104
|
+
var LazyNewVoice = lazy4(() => import("./embedded-new-voice-LFHWWYD2.js"));
|
|
9105
9105
|
var DEFAULT_LABELS = (t) => ({
|
|
9106
9106
|
title: t("newConversation.howCanIHelp"),
|
|
9107
9107
|
placeholder: t("newConversation.askAnything"),
|
|
@@ -9982,4 +9982,4 @@ export {
|
|
|
9982
9982
|
SessionCommands,
|
|
9983
9983
|
StartupTimings
|
|
9984
9984
|
};
|
|
9985
|
-
//# sourceMappingURL=chunk-
|
|
9985
|
+
//# sourceMappingURL=chunk-CVG4FILQ.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NewSessionLink
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4R3JCVID.js";
|
|
5
5
|
import {
|
|
6
6
|
TooltipWithKeys
|
|
7
7
|
} from "./chunk-OHGG2G3A.js";
|
|
8
8
|
import {
|
|
9
9
|
useActionShortcut
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JK7C5A4I.js";
|
|
11
11
|
import {
|
|
12
12
|
useRail
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
BrandMark,
|
|
16
|
-
Wordmark
|
|
17
|
-
} from "./chunk-Z63GB7JI.js";
|
|
13
|
+
} from "./chunk-UP4BE32Y.js";
|
|
18
14
|
import {
|
|
19
15
|
useSessionUiFeature
|
|
20
16
|
} from "./chunk-XFNLU7EW.js";
|
|
21
17
|
import {
|
|
22
18
|
windowControlsInPage
|
|
23
19
|
} from "./chunk-FABYS4WM.js";
|
|
20
|
+
import {
|
|
21
|
+
BrandMark,
|
|
22
|
+
Wordmark
|
|
23
|
+
} from "./chunk-Z63GB7JI.js";
|
|
24
24
|
import {
|
|
25
25
|
cn
|
|
26
26
|
} from "./chunk-A3MTTRCX.js";
|
|
27
|
+
import {
|
|
28
|
+
Link,
|
|
29
|
+
useRouterState
|
|
30
|
+
} from "./chunk-MYNUBDU7.js";
|
|
27
31
|
import {
|
|
28
32
|
Tooltip,
|
|
29
33
|
TooltipContent,
|
|
30
34
|
TooltipTrigger
|
|
31
35
|
} from "./chunk-OLTGED2Q.js";
|
|
32
|
-
import {
|
|
33
|
-
Link,
|
|
34
|
-
useRouterState
|
|
35
|
-
} from "./chunk-MYNUBDU7.js";
|
|
36
36
|
import {
|
|
37
37
|
Button
|
|
38
38
|
} from "./chunk-HMU5IELG.js";
|
|
@@ -163,4 +163,4 @@ export {
|
|
|
163
163
|
RailHeader,
|
|
164
164
|
PrimaryNav
|
|
165
165
|
};
|
|
166
|
-
//# sourceMappingURL=chunk-
|
|
166
|
+
//# sourceMappingURL=chunk-DDK4WFJ3.js.map
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ConfirmDialog
|
|
4
4
|
} from "./chunk-Q27G7PF6.js";
|
|
5
|
+
import {
|
|
6
|
+
toast
|
|
7
|
+
} from "./chunk-YG6NARQY.js";
|
|
8
|
+
import {
|
|
9
|
+
userErrorText
|
|
10
|
+
} from "./chunk-L4OF77LE.js";
|
|
5
11
|
import {
|
|
6
12
|
DropdownMenu,
|
|
7
13
|
DropdownMenuContent,
|
|
@@ -15,12 +21,6 @@ import {
|
|
|
15
21
|
TooltipProvider,
|
|
16
22
|
TooltipTrigger
|
|
17
23
|
} from "./chunk-OLTGED2Q.js";
|
|
18
|
-
import {
|
|
19
|
-
toast
|
|
20
|
-
} from "./chunk-YG6NARQY.js";
|
|
21
|
-
import {
|
|
22
|
-
userErrorText
|
|
23
|
-
} from "./chunk-L4OF77LE.js";
|
|
24
24
|
import {
|
|
25
25
|
Button
|
|
26
26
|
} from "./chunk-HMU5IELG.js";
|
|
@@ -218,4 +218,4 @@ export {
|
|
|
218
218
|
useArtifactAudience,
|
|
219
219
|
useSiteAudience
|
|
220
220
|
};
|
|
221
|
-
//# sourceMappingURL=chunk-
|
|
221
|
+
//# sourceMappingURL=chunk-DLOYMWUQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
RowSelect
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GALB2G3W.js";
|
|
5
5
|
import {
|
|
6
6
|
cn
|
|
7
7
|
} from "./chunk-A3MTTRCX.js";
|
|
@@ -214,4 +214,4 @@ export {
|
|
|
214
214
|
VoiceInputPreferences,
|
|
215
215
|
PreferenceToggleRow
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-DWPOQ3S5.js.map
|
|
@@ -2,64 +2,64 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ConnectMachineDialog,
|
|
4
4
|
connectScopeFor
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NYZQ7LO7.js";
|
|
6
6
|
import {
|
|
7
7
|
RowButton
|
|
8
8
|
} from "./chunk-2LUBBDZV.js";
|
|
9
9
|
import {
|
|
10
10
|
ListRow,
|
|
11
11
|
RowList
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
useDesktopThisComputer
|
|
15
|
-
} from "./chunk-VVCDB2T7.js";
|
|
12
|
+
} from "./chunk-NWZW2WHN.js";
|
|
16
13
|
import {
|
|
17
14
|
moveChatToMachine
|
|
18
15
|
} from "./chunk-AZVANYMB.js";
|
|
19
16
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./chunk-
|
|
17
|
+
useDesktopThisComputer
|
|
18
|
+
} from "./chunk-VVCDB2T7.js";
|
|
22
19
|
import {
|
|
23
20
|
useWorkspaceMachines
|
|
24
21
|
} from "./chunk-722UO6YQ.js";
|
|
22
|
+
import {
|
|
23
|
+
useAppApi
|
|
24
|
+
} from "./chunk-L5HJ4UYB.js";
|
|
25
25
|
import {
|
|
26
26
|
LogoTile
|
|
27
27
|
} from "./chunk-FQQEZUSN.js";
|
|
28
|
-
import {
|
|
29
|
-
hasWorkspacePermission
|
|
30
|
-
} from "./chunk-FIDD34ZF.js";
|
|
31
28
|
import {
|
|
32
29
|
t
|
|
33
30
|
} from "./chunk-HPPKLBTJ.js";
|
|
34
31
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
32
|
+
hasWorkspacePermission
|
|
33
|
+
} from "./chunk-FIDD34ZF.js";
|
|
37
34
|
import {
|
|
38
35
|
userErrorText
|
|
39
36
|
} from "./chunk-L4OF77LE.js";
|
|
40
37
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./chunk-SQGXMHJO.js";
|
|
44
|
-
import {
|
|
45
|
-
SessionCapabilityFrame
|
|
46
|
-
} from "./chunk-HRJQAFKR.js";
|
|
38
|
+
useAppContext
|
|
39
|
+
} from "./chunk-W6KAUGXO.js";
|
|
47
40
|
import {
|
|
48
41
|
Notice
|
|
49
42
|
} from "./chunk-WLEDGIVS.js";
|
|
50
43
|
import {
|
|
51
44
|
Button
|
|
52
45
|
} from "./chunk-HMU5IELG.js";
|
|
53
|
-
import {
|
|
54
|
-
machineDisplayName,
|
|
55
|
-
machineScopeLabel
|
|
56
|
-
} from "./chunk-BOG2FED3.js";
|
|
57
46
|
import {
|
|
58
47
|
isMachineComputeSelectable
|
|
59
48
|
} from "./chunk-CPLCSM6K.js";
|
|
60
49
|
import {
|
|
61
50
|
MACHINES_SESSION_POLL_MS
|
|
62
51
|
} from "./chunk-HT5WSUC7.js";
|
|
52
|
+
import {
|
|
53
|
+
SessionCapabilityFrame
|
|
54
|
+
} from "./chunk-HRJQAFKR.js";
|
|
55
|
+
import {
|
|
56
|
+
thisComputerNeedsPermissions,
|
|
57
|
+
thisComputerReady
|
|
58
|
+
} from "./chunk-SQGXMHJO.js";
|
|
59
|
+
import {
|
|
60
|
+
machineDisplayName,
|
|
61
|
+
machineScopeLabel
|
|
62
|
+
} from "./chunk-BOG2FED3.js";
|
|
63
63
|
|
|
64
64
|
// src/app/components/capabilities/session-machine-card.tsx
|
|
65
65
|
import { OPENGENI_BROWSER_EXTENSION_URL } from "@opengeni/contracts";
|
|
@@ -80,6 +80,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
80
80
|
var WATCH_POLL_MS = 3e3;
|
|
81
81
|
var CHROME_POLL_MS = 5e3;
|
|
82
82
|
var CHROME_POLL_LIMIT_MS = 10 * 6e4;
|
|
83
|
+
var CHROME_REFRESH_POLL_LIMIT_MS = 6e4;
|
|
83
84
|
var CONNECTED_MACHINE_LOGO = "data:image/svg+xml;utf8," + encodeURIComponent(
|
|
84
85
|
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 28 28" fill="none" stroke="#71717a" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z"/><path d="M20.054 15.987H3.946"/></svg>'
|
|
85
86
|
);
|
|
@@ -212,7 +213,7 @@ function SessionMachineCapabilityCard({
|
|
|
212
213
|
const chromeMachine = (activeMachine?.hasDisplay && isMachineComputeSelectable(activeMachine.state) ? activeMachine : null) ?? reachable.find((machine) => machine.hasDisplay) ?? null;
|
|
213
214
|
const chrome = useAttachedChrome(
|
|
214
215
|
workspaceId,
|
|
215
|
-
fleet.canRead
|
|
216
|
+
fleet.canRead && chromeMachine?.enrollmentId ? { enrollmentId: chromeMachine.enrollmentId } : null
|
|
216
217
|
);
|
|
217
218
|
const fresh = justConnected ? machines.find((machine) => machine.sandboxId === justConnected) ?? null : null;
|
|
218
219
|
const origin = apiBaseUrl || (typeof window !== "undefined" ? window.location.origin : "");
|
|
@@ -364,10 +365,10 @@ function SessionMachineCapabilityCard({
|
|
|
364
365
|
) : null
|
|
365
366
|
] });
|
|
366
367
|
}
|
|
367
|
-
function RepeatedMachineRequestNote() {
|
|
368
|
+
function RepeatedMachineRequestNote({ chrome = false }) {
|
|
368
369
|
return /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-xs text-fg-muted", children: [
|
|
369
370
|
/* @__PURE__ */ jsx(LaptopIcon, { "aria-hidden": true, className: "size-3.5 shrink-0" }),
|
|
370
|
-
"The agent asked to use a machine. It asked again below."
|
|
371
|
+
chrome ? "The agent asked to connect Chrome. It asked again below." : "The agent asked to use a machine. It asked again below."
|
|
371
372
|
] });
|
|
372
373
|
}
|
|
373
374
|
function MachineRow({
|
|
@@ -438,18 +439,26 @@ function MachineRow({
|
|
|
438
439
|
}
|
|
439
440
|
);
|
|
440
441
|
}
|
|
441
|
-
function useAttachedChrome(workspaceId,
|
|
442
|
+
function useAttachedChrome(workspaceId, scope, refreshKey = null) {
|
|
442
443
|
const { client } = useAppContext();
|
|
443
444
|
const clientRef = useRef(client);
|
|
444
445
|
clientRef.current = client;
|
|
445
446
|
const [connected, setConnected] = useState(null);
|
|
447
|
+
const [checked, setChecked] = useState(false);
|
|
446
448
|
const [watchSince, setWatchSince] = useState(null);
|
|
449
|
+
const [refreshSince, setRefreshSince] = useState(null);
|
|
450
|
+
const [expired, setExpired] = useState(false);
|
|
447
451
|
const [denied, setDenied] = useState(false);
|
|
448
452
|
const linked = connected !== null;
|
|
453
|
+
const enrollmentId = scope === null ? null : scope === "any" ? "*" : scope.enrollmentId;
|
|
449
454
|
useEffect(() => {
|
|
450
455
|
setConnected(null);
|
|
456
|
+
setChecked(false);
|
|
451
457
|
setDenied(false);
|
|
452
458
|
}, [enrollmentId]);
|
|
459
|
+
useEffect(() => {
|
|
460
|
+
setRefreshSince(refreshKey === null ? null : Date.now());
|
|
461
|
+
}, [refreshKey]);
|
|
453
462
|
useEffect(() => {
|
|
454
463
|
if (!enrollmentId || denied) return;
|
|
455
464
|
let cancelled = false;
|
|
@@ -458,9 +467,10 @@ function useAttachedChrome(workspaceId, enrollmentId) {
|
|
|
458
467
|
const result = await clientRef.current.listAttachedBrowsers(workspaceId);
|
|
459
468
|
if (cancelled) return;
|
|
460
469
|
const device = result.devices.find(
|
|
461
|
-
(candidate) => candidate.state === "connected" && candidate.enrollmentId === enrollmentId
|
|
470
|
+
(candidate) => candidate.state === "connected" && candidate.capabilities.debuggerAttachment && (enrollmentId === "*" || candidate.enrollmentId === enrollmentId)
|
|
462
471
|
);
|
|
463
472
|
setConnected(device ? { name: device.profileLabel ?? device.browserName } : null);
|
|
473
|
+
setChecked(true);
|
|
464
474
|
} catch (failure) {
|
|
465
475
|
if (!cancelled && failure instanceof OpenGeniApiError && failure.status >= 400 && failure.status < 500) {
|
|
466
476
|
setDenied(true);
|
|
@@ -468,10 +478,16 @@ function useAttachedChrome(workspaceId, enrollmentId) {
|
|
|
468
478
|
}
|
|
469
479
|
};
|
|
470
480
|
void read();
|
|
471
|
-
if (linked || watchSince === null
|
|
481
|
+
if (linked || watchSince === null && refreshSince === null) {
|
|
482
|
+
return () => void (cancelled = true);
|
|
483
|
+
}
|
|
472
484
|
const timer = window.setInterval(() => {
|
|
473
|
-
|
|
485
|
+
const now = Date.now();
|
|
486
|
+
const watching = watchSince !== null && now - watchSince <= CHROME_POLL_LIMIT_MS;
|
|
487
|
+
const refreshing = refreshSince !== null && now - refreshSince <= CHROME_REFRESH_POLL_LIMIT_MS;
|
|
488
|
+
if (!watching && !refreshing) {
|
|
474
489
|
window.clearInterval(timer);
|
|
490
|
+
if (watchSince !== null) setExpired(true);
|
|
475
491
|
return;
|
|
476
492
|
}
|
|
477
493
|
if (document.visibilityState !== "hidden") void read();
|
|
@@ -480,9 +496,17 @@ function useAttachedChrome(workspaceId, enrollmentId) {
|
|
|
480
496
|
cancelled = true;
|
|
481
497
|
window.clearInterval(timer);
|
|
482
498
|
};
|
|
483
|
-
}, [denied, enrollmentId, linked, watchSince, workspaceId]);
|
|
484
|
-
const watch = useCallback(() =>
|
|
485
|
-
|
|
499
|
+
}, [denied, enrollmentId, linked, refreshSince, watchSince, workspaceId]);
|
|
500
|
+
const watch = useCallback(() => {
|
|
501
|
+
setExpired(false);
|
|
502
|
+
setWatchSince(Date.now());
|
|
503
|
+
}, []);
|
|
504
|
+
return {
|
|
505
|
+
connected,
|
|
506
|
+
checked,
|
|
507
|
+
watch,
|
|
508
|
+
watching: watchSince !== null && !linked && !expired && !denied
|
|
509
|
+
};
|
|
486
510
|
}
|
|
487
511
|
var SCREEN_CONTROL_WATCH_MS = 9e4;
|
|
488
512
|
var MAC_PERMISSION_WATCH_MS = 3 * 6e4;
|
|
@@ -698,6 +722,7 @@ function ChromeStep({ chrome, machineName }) {
|
|
|
698
722
|
export {
|
|
699
723
|
CONNECTED_MACHINE_LOGO,
|
|
700
724
|
SessionMachineCapabilityCard,
|
|
701
|
-
RepeatedMachineRequestNote
|
|
725
|
+
RepeatedMachineRequestNote,
|
|
726
|
+
useAttachedChrome
|
|
702
727
|
};
|
|
703
|
-
//# sourceMappingURL=chunk-
|
|
728
|
+
//# sourceMappingURL=chunk-EF5SYXAY.js.map
|