@opengeni/react 4.4.1 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/app-state.js +25 -25
- package/dist/app/components/Composer.js +27 -27
- package/dist/app/components/agent/agent-capability-picker.js +4 -4
- package/dist/app/components/artifacts/artifact-browse-controls.js +3 -3
- package/dist/app/components/artifacts/artifact-library.js +19 -19
- package/dist/app/components/artifacts/artifact-page-chrome.js +2 -2
- package/dist/app/components/artifacts/chat-interactive-block.js +15 -15
- package/dist/app/components/artifacts/inline-chat-image.js +30 -29
- package/dist/app/components/artifacts/retained-file-preview.js +34 -33
- package/dist/app/components/artifacts/retained-text-preview.js +5 -5
- package/dist/app/components/artifacts/site-audience.js +4 -4
- package/dist/app/components/artifacts/site-conversations.js +20 -19
- package/dist/app/components/artifacts/site-data.js +18 -18
- package/dist/app/components/artifacts/site-publishing.js +39 -39
- package/dist/app/components/artifacts/site-settings.js +46 -46
- package/dist/app/components/billing-class-mark.js +5 -5
- package/dist/app/components/capabilities/capability-detail-sheet.js +8 -8
- package/dist/app/components/capabilities/capability-logo-source.js +11 -11
- package/dist/app/components/capabilities/connector-tool-permissions.js +4 -4
- package/dist/app/components/capabilities/native-connect-setup.js +14 -14
- package/dist/app/components/capabilities/perform-capability-action.js +1 -1
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +15 -15
- package/dist/app/components/capabilities/session-capability-card.js +77 -75
- package/dist/app/components/capabilities/session-capability-card.js.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.js +35 -33
- package/dist/app/components/capabilities/session-custom-mcp-card.js +19 -19
- package/dist/app/components/capabilities/session-github-card.js +22 -22
- package/dist/app/components/capabilities/session-machine-card.js +34 -32
- 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 +15 -14
- package/dist/app/components/command-menu/chat-switcher.js +16 -15
- package/dist/app/components/command-menu/chat-switcher.js.map +1 -1
- package/dist/app/components/command-menu/command-menu.js +32 -110
- package/dist/app/components/command-menu/command-menu.js.map +1 -1
- package/dist/app/components/command-menu/shortcut-sheet.js +15 -15
- package/dist/app/components/composer-capabilities-menu-body.js +3 -3
- package/dist/app/components/composer-mobile-plus-panel.js +17 -17
- 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 +9 -9
- package/dist/app/components/credits/coupon-redeem.js +2 -2
- package/dist/app/components/credits/credit-refusal-notice.js +2 -2
- package/dist/app/components/desktop/app-shots.js +6 -6
- package/dist/app/components/desktop/this-computer.js +4 -4
- package/dist/app/components/feedback.js +4 -4
- package/dist/app/components/follow-up-repository-menu-body.js +4 -4
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +2 -2
- package/dist/app/components/in-app-help-link.js +2 -2
- package/dist/app/components/knowledge/agent-learning-settings.js +3 -3
- package/dist/app/components/machines/connect-machine-dialog.js +18 -18
- package/dist/app/components/markdown.js +8 -8
- package/dist/app/components/message-context-pills.js +2 -2
- package/dist/app/components/models/models-ui.js +8 -8
- package/dist/app/components/new-session-starters.js +2 -2
- package/dist/app/components/pickers.js +8 -8
- package/dist/app/components/rail/rail-context.js +3 -3
- package/dist/app/components/rail/rail-sections.js +65 -62
- package/dist/app/components/rail/session-header.js +48 -47
- package/dist/app/components/rail/session-list.js +64 -61
- package/dist/app/components/rail/session-row-content.d.ts +6 -2
- package/dist/app/components/rail/session-row-content.js +1 -1
- package/dist/app/components/rail/session-row-hover-details.js +20 -19
- package/dist/app/components/rail/session-shell.js +104 -101
- package/dist/app/components/rail/site-session-group-heading.d.ts +7 -1
- package/dist/app/components/rail/site-session-group-heading.js +20 -3
- package/dist/app/components/repository-picker.js +4 -4
- 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-link-boundary.js +2 -2
- package/dist/app/components/session/artifact-session-page.js +5 -5
- package/dist/app/components/session/banners.js +10 -10
- package/dist/app/components/session/codex-account-indicator.js +11 -11
- package/dist/app/components/session/editable-artifacts-workspace.js +44 -44
- package/dist/app/components/session/failed-session-banner.js +10 -10
- package/dist/app/components/session/human-input.js +57 -53
- package/dist/app/components/session/inspector.js +94 -90
- package/dist/app/components/session/inspector.js.map +1 -1
- package/dist/app/components/session/message-actions.js +4 -4
- package/dist/app/components/session/message-resource-attachments.js +20 -19
- package/dist/app/components/session/message-resource-attachments.js.map +1 -1
- package/dist/app/components/session/model-account-indicator.js +11 -11
- package/dist/app/components/session/model-context-inspector.js +2 -2
- package/dist/app/components/session/model-recovery-notice.js +3 -3
- package/dist/app/components/session/new-session-settings-menu.js +9 -9
- package/dist/app/components/session/sandbox-switcher.js +16 -16
- package/dist/app/components/session/sandbox-workspace.js +81 -77
- package/dist/app/components/session/search-markdown-highlight.js +9 -9
- package/dist/app/components/session/search-results-view.js +10 -10
- package/dist/app/components/session/session-admin-access.js +8 -8
- package/dist/app/components/session/session-admission-notice.js +6 -6
- package/dist/app/components/session/session-machine-access-notice.js +6 -6
- package/dist/app/components/session/session-retention.js +4 -4
- package/dist/app/components/session/session-search-dialog.js +11 -11
- package/dist/app/components/session/session-skill-reviews.js +1 -1
- package/dist/app/components/session/session-tenancy-control.d.ts +2 -0
- package/dist/app/components/session/session-tenancy-control.js +40 -25
- package/dist/app/components/session/session-tenancy-control.js.map +1 -1
- package/dist/app/components/session/session-usage-limit-section.js +11 -11
- package/dist/app/components/session/session-wait-status.js +9 -8
- package/dist/app/components/session/session-wait-status.js.map +1 -1
- package/dist/app/components/session/site-origin-link.d.ts +1 -0
- package/dist/app/components/session/site-origin-link.js +2 -2
- package/dist/app/components/session/subagents.js +16 -15
- 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 +8 -8
- package/dist/app/components/workspace-composer-plus.js +21 -21
- package/dist/app/embed/memory-navigation.js +2 -2
- package/dist/app/embed/session-app.js +256 -250
- package/dist/app/lib/actions/actions-provider.js +15 -15
- package/dist/app/lib/actions/held-modifier.d.ts +11 -0
- package/dist/app/lib/app-surfaces.js +2 -2
- package/dist/app/lib/codex-usage-query.js +6 -6
- package/dist/app/lib/composer-connectors.js +12 -12
- package/dist/app/lib/console-site.d.ts +6 -0
- package/dist/app/lib/console-site.js +14 -0
- package/dist/app/lib/console-text.js +2 -2
- package/dist/app/lib/events.js +17 -16
- 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/navigation.d.ts +5 -0
- package/dist/app/lib/navigation.js +1 -1
- package/dist/app/lib/routes.d.ts +17 -0
- package/dist/app/lib/routes.js +9 -3
- package/dist/app/lib/session-branch-cache.js +13 -12
- package/dist/app/lib/session-deep-link.js +2 -2
- package/dist/app/lib/session-failure-toasts.d.ts +8 -0
- package/dist/app/lib/session-group-pagination.js +13 -12
- package/dist/app/lib/session-hover-facts.js +14 -13
- package/dist/app/lib/session-model.js +3 -3
- package/dist/app/lib/session-rail.js +9 -8
- package/dist/app/lib/session-rename.js +3 -3
- package/dist/app/lib/session-ui-features.d.ts +6 -1
- package/dist/app/lib/session-ui-features.js +1 -1
- package/dist/app/lib/sessions-group.d.ts +43 -3
- package/dist/app/lib/sessions-group.js +21 -14
- package/dist/app/lib/shared-query.js +3 -3
- package/dist/app/lib/site-opened.d.ts +6 -0
- package/dist/app/lib/site-opened.js +10 -0
- package/dist/app/lib/turn-failure-analytics.js +4 -4
- package/dist/app/lib/use-duplicate-site.js +3 -3
- package/dist/app/lib/use-follow-up-repositories.js +4 -4
- package/dist/app/lib/use-session-list-hint-refresh.d.ts +20 -2
- package/dist/app/lib/use-session-list-hint-refresh.js +5 -1
- package/dist/app/lib/use-workspace-machines.js +6 -6
- package/dist/app/lib/use-workspace-model-catalog.js +7 -7
- package/dist/app/lib/use-workspace-rigs.js +8 -8
- package/dist/app/lib/workspace-navigation-preference.js +5 -5
- package/dist/app/lib/workspace-scope-context.js +4 -4
- package/dist/app/routes/artifacts.js +132 -149
- package/dist/app/routes/artifacts.js.map +1 -1
- package/dist/app/routes/retained-artifact.js +63 -62
- package/dist/app/routes/retained-artifact.js.map +1 -1
- package/dist/app/routes/session-unavailable.js +7 -5
- package/dist/app/routes/session.js +170 -166
- package/dist/app/routes/sessions-index.js +110 -108
- package/dist/app/routes/site-view.d.ts +11 -0
- package/dist/app/routes/site-view.js +597 -0
- package/dist/app/routes/site-view.js.map +1 -0
- package/dist/artifacts-document.js +4 -4
- package/dist/artifacts-presentation.js +4 -4
- package/dist/artifacts-spreadsheet.js +4 -4
- package/dist/artifacts.js +39 -39
- package/dist/{browser-viewer-RYYQSRTC.js → browser-viewer-QMCNV4RI.js} +9 -7
- package/dist/{chat-interactive-block-ABCRKXJ4.js → chat-interactive-block-PMIAUXSO.js} +6 -6
- package/dist/{chunk-TGVVEGZG.js → chunk-22FFOHPT.js} +9 -9
- package/dist/chunk-22GTC4MZ.js +15 -0
- package/dist/chunk-22GTC4MZ.js.map +1 -0
- package/dist/{chunk-Z5WMLJKI.js → chunk-22JFMNMF.js} +92 -4
- package/dist/chunk-22JFMNMF.js.map +1 -0
- package/dist/{chunk-UHFWF6ZU.js → chunk-2FPS5H2D.js} +2 -2
- package/dist/{chunk-NAWXARTY.js → chunk-2KO2G3RI.js} +72 -6
- package/dist/chunk-2KO2G3RI.js.map +1 -0
- package/dist/{chunk-5POTDNQT.js → chunk-2NC7NZCE.js} +6 -6
- package/dist/{chunk-ZKYYZH6L.js → chunk-2QBYDGWO.js} +9 -9
- package/dist/{chunk-TWXIFWBD.js → chunk-34EU25RL.js} +2 -2
- package/dist/{chunk-R63QEVPK.js → chunk-35BC2FU2.js} +16 -16
- package/dist/{chunk-PTGRFAMH.js → chunk-3ABPIUCK.js} +2 -2
- package/dist/{chunk-S4SC5SSV.js → chunk-3GU7AWG7.js} +18 -18
- package/dist/{chunk-722UO6YQ.js → chunk-3PEXVG4D.js} +2 -2
- package/dist/{chunk-63VGE4OH.js → chunk-3RMKPHBL.js} +3 -3
- package/dist/{chunk-6JKZILLF.js → chunk-3RQUWFZT.js} +67 -67
- package/dist/{chunk-6JKZILLF.js.map → chunk-3RQUWFZT.js.map} +1 -1
- package/dist/{chunk-RQDFYQHA.js → chunk-3STBLX4O.js} +9 -9
- package/dist/{chunk-S4EZ3JUB.js → chunk-3X5FKDYQ.js} +23 -23
- package/dist/{chunk-KTRKZRID.js → chunk-4GLLWX33.js} +11 -11
- package/dist/{chunk-ROQOVH4N.js → chunk-4HEXNAFI.js} +20 -20
- package/dist/chunk-4HEXNAFI.js.map +1 -0
- package/dist/{chunk-SD2K5ZN5.js → chunk-4LPA25NQ.js} +4 -4
- package/dist/{chunk-KWKGBGAF.js → chunk-4RMN4E2Y.js} +9 -9
- package/dist/{chunk-X7ASQHR6.js → chunk-4SAGYEVB.js} +2 -2
- package/dist/{chunk-HTT3FB7T.js → chunk-4VK2R5QC.js} +3 -3
- package/dist/{chunk-DDK4WFJ3.js → chunk-4XQC7VLT.js} +9 -9
- package/dist/{chunk-IVOA3DXA.js → chunk-4YXAQMTD.js} +12 -12
- package/dist/{chunk-HOJGAJAB.js → chunk-52WK2GGK.js} +8 -8
- package/dist/{chunk-NYZQ7LO7.js → chunk-552UYIQ7.js} +20 -20
- package/dist/{chunk-LEXPBQ56.js → chunk-5DSKMG2I.js} +4 -4
- package/dist/{chunk-WNG757ID.js → chunk-5FA455GR.js} +4 -4
- package/dist/{chunk-HWDGJFM4.js → chunk-5FEN3KYH.js} +11 -11
- package/dist/{chunk-OSVHU2WU.js → chunk-5JHRMUAZ.js} +12 -12
- package/dist/{chunk-PM3OSANE.js → chunk-5MJHH72T.js} +14 -3
- package/dist/chunk-5MJHH72T.js.map +1 -0
- package/dist/{chunk-RKB2Z457.js → chunk-5VGJXWQ2.js} +2 -2
- package/dist/{chunk-GFUUFM2O.js → chunk-5W6ZDKRR.js} +6 -6
- package/dist/{chunk-6PQNLL4E.js → chunk-5W7KJ5NQ.js} +37 -37
- package/dist/{chunk-Q35YZVDZ.js → chunk-5Y2FPLZE.js} +9 -9
- package/dist/{chunk-6W3LF3DB.js → chunk-5YFY4SFC.js} +2 -12
- package/dist/chunk-5YFY4SFC.js.map +1 -0
- package/dist/{chunk-F3NERYBQ.js → chunk-62VER7O4.js} +6 -6
- package/dist/{chunk-FBMU3VK5.js → chunk-6DCEDIF6.js} +2 -2
- package/dist/{chunk-LE2EDBXU.js → chunk-73WI7FL2.js} +18 -18
- package/dist/chunk-756MKA2J.js +45 -0
- package/dist/chunk-756MKA2J.js.map +1 -0
- package/dist/{chunk-ZRJCGBVV.js → chunk-7FJMRJDG.js} +2 -2
- package/dist/{chunk-7KGKDWWR.js → chunk-7HFLYNWN.js} +2 -2
- package/dist/{chunk-72J6C2AJ.js → chunk-7KIENXRE.js} +2 -2
- package/dist/{chunk-CBY5CXBD.js → chunk-7NPCEBZE.js} +5 -5
- package/dist/{chunk-46VBQG2D.js → chunk-7P4AQMGA.js} +13 -13
- package/dist/{chunk-X7L4H4VG.js → chunk-7TCT7KPQ.js} +742 -644
- package/dist/chunk-7TCT7KPQ.js.map +1 -0
- package/dist/{chunk-CVG4FILQ.js → chunk-7XO7YKPC.js} +280 -1035
- package/dist/chunk-7XO7YKPC.js.map +1 -0
- package/dist/{chunk-S7PVL7XH.js → chunk-A4BD4ZVB.js} +4 -4
- package/dist/{chunk-EF5SYXAY.js → chunk-ACL2V2KE.js} +30 -22
- package/dist/chunk-ACL2V2KE.js.map +1 -0
- package/dist/{chunk-73SOCVLS.js → chunk-AIEXYO2X.js} +3 -3
- package/dist/{chunk-U7TC2XJQ.js → chunk-AJPW3SV4.js} +3 -3
- package/dist/{chunk-HRJQAFKR.js → chunk-AX6YJA5U.js} +2 -2
- package/dist/{chunk-P5WABK2H.js → chunk-BCM7C3MJ.js} +9 -9
- package/dist/{chunk-DT7BORXG.js → chunk-BMJTNPWK.js} +2 -2
- package/dist/{chunk-HIHO2QE7.js → chunk-BT2MVGHT.js} +2 -2
- package/dist/{chunk-3XOISKZC.js → chunk-BXQYAAVE.js} +4 -4
- package/dist/{chunk-IBTXYLBW.js → chunk-CCFWY4GF.js} +2 -2
- package/dist/{chunk-ZOC3OP6F.js → chunk-CCR33J7L.js} +2 -2
- package/dist/{chunk-GTQ3SNEI.js → chunk-CD3MO3IC.js} +2 -2
- package/dist/{chunk-WSMYOLHG.js → chunk-CDEXRJB6.js} +5 -5
- package/dist/{chunk-3GLAPCVI.js → chunk-CFFNT2OY.js} +8 -8
- package/dist/{chunk-HO5Y2OOX.js → chunk-CMLJSF2F.js} +10 -10
- package/dist/{chunk-RA3FNMWF.js → chunk-CP7ZQHBW.js} +10 -10
- package/dist/{chunk-IOKSNX74.js → chunk-D5OWJZQR.js} +2 -2
- package/dist/{chunk-SQGXMHJO.js → chunk-DGLRZMXL.js} +3 -3
- package/dist/{chunk-GNEHAPKV.js → chunk-DJFTH2DI.js} +3 -3
- package/dist/{chunk-HQG4SLTE.js → chunk-DYJGYGPB.js} +2 -2
- package/dist/{chunk-4EAF3HSD.js → chunk-EJ7WARW7.js} +2 -2
- package/dist/{chunk-3AA6RNGE.js → chunk-ENS6E4RZ.js} +2 -2
- package/dist/{chunk-OOEO4MKY.js → chunk-EPWD4KRA.js} +2 -2
- package/dist/{chunk-PN66T6JA.js → chunk-EQE3MNQN.js} +5 -5
- package/dist/{chunk-TSBE4KOQ.js → chunk-EWL6NDOO.js} +3 -3
- package/dist/{chunk-OO2T63BY.js → chunk-EYS4ZOF5.js} +2 -2
- package/dist/{chunk-7CZTKBTI.js → chunk-FDAV72IX.js} +5 -5
- package/dist/{chunk-AG7VGUIW.js → chunk-FFNPUSVO.js} +7 -7
- package/dist/{chunk-P5T36BA3.js → chunk-FRP64DEK.js} +2 -2
- package/dist/{chunk-KBF3SE7G.js → chunk-FSP334UU.js} +2 -2
- package/dist/{chunk-BSX2R4CW.js → chunk-FTX5CNHA.js} +4 -4
- package/dist/{chunk-O756O2I7.js → chunk-FWOBNL2A.js} +1 -1
- package/dist/{chunk-6NIB2KGJ.js → chunk-FWYEZ3LE.js} +33 -33
- package/dist/{chunk-DLOYMWUQ.js → chunk-G4HQUBO4.js} +7 -7
- package/dist/{chunk-CSHBR2IZ.js → chunk-GDLDBR6B.js} +2 -2
- package/dist/chunk-GGV4NSG3.js +792 -0
- package/dist/chunk-GGV4NSG3.js.map +1 -0
- package/dist/{chunk-U36PO27Q.js → chunk-GHHM6WN4.js} +3 -3
- package/dist/{chunk-OANSIX34.js → chunk-GRSODLVO.js} +4 -4
- package/dist/{chunk-4R3JCVID.js → chunk-GT7JFQ4E.js} +410 -153
- package/dist/chunk-GT7JFQ4E.js.map +1 -0
- package/dist/{chunk-EU6XSQFM.js → chunk-GXW2I2M2.js} +2 -2
- package/dist/{chunk-5JEIDFPD.js → chunk-GZS37O3G.js} +1 -1
- package/dist/{chunk-XFNLU7EW.js → chunk-H5M33DAL.js} +15 -6
- package/dist/chunk-H5M33DAL.js.map +1 -0
- package/dist/{chunk-HNYJEAES.js → chunk-HQWVDQXW.js} +7 -7
- package/dist/{chunk-YXOKAG66.js → chunk-HU6JTNWF.js} +2 -2
- package/dist/{chunk-QRVNI5V6.js → chunk-I6KIQKU6.js} +3 -3
- package/dist/{chunk-APU42QDI.js → chunk-IBA5FMRE.js} +115 -111
- package/dist/chunk-IBA5FMRE.js.map +1 -0
- package/dist/{chunk-BNUPYHHZ.js → chunk-IDXTASGN.js} +4 -4
- package/dist/{chunk-KF3MF6FP.js → chunk-IECRGM6K.js} +3 -2
- package/dist/chunk-IECRGM6K.js.map +1 -0
- package/dist/chunk-IJYL5BZM.js +38 -0
- package/dist/chunk-IJYL5BZM.js.map +1 -0
- package/dist/{chunk-L6RXRRN3.js → chunk-ILDOW2IQ.js} +3 -3
- package/dist/{chunk-VUHPA3XQ.js → chunk-ITX2TB4K.js} +6 -6
- package/dist/{chunk-BXRIQZAH.js → chunk-J22HD2PB.js} +5 -5
- package/dist/{chunk-U47YDYLQ.js → chunk-J5MEDX7C.js} +8 -8
- package/dist/{chunk-F6LBGYS6.js → chunk-J7FBBLHF.js} +35 -35
- package/dist/{chunk-5JZYPZ72.js → chunk-JFK7NTEA.js} +4 -4
- package/dist/chunk-JFK7NTEA.js.map +1 -0
- package/dist/{chunk-QZRDCFHI.js → chunk-JM4HQPAI.js} +5 -5
- package/dist/{chunk-PIVGX42P.js → chunk-JNY5MT3I.js} +2 -2
- package/dist/{chunk-XWWXIZFP.js → chunk-JO6R5EXF.js} +7 -7
- package/dist/{chunk-NWZW2WHN.js → chunk-JQCGPTZ6.js} +9 -9
- package/dist/chunk-JRSNCSZN.js +37 -0
- package/dist/chunk-JRSNCSZN.js.map +1 -0
- package/dist/{chunk-OR37STQZ.js → chunk-KEXYBG7Q.js} +3 -3
- package/dist/{chunk-AZVANYMB.js → chunk-KUNFUSZ7.js} +2 -2
- package/dist/{chunk-DXZNDKQD.js → chunk-LEEJBZ5B.js} +2 -2
- package/dist/{chunk-STUCI6QA.js → chunk-LEKBNKLD.js} +1 -1
- package/dist/{chunk-STUCI6QA.js.map → chunk-LEKBNKLD.js.map} +1 -1
- package/dist/{chunk-AOLE4IRZ.js → chunk-LF5CBAOS.js} +5 -5
- package/dist/{chunk-BJIZ7PL7.js → chunk-LHLK7FUA.js} +145 -29
- package/dist/chunk-LHLK7FUA.js.map +1 -0
- package/dist/{chunk-RIMKJBCD.js → chunk-LMPTC4CX.js} +2 -2
- package/dist/{chunk-3KVWXKD6.js → chunk-LQ47YL6E.js} +2 -2
- package/dist/{chunk-RSNYGEVZ.js → chunk-LT4J7RHI.js} +13 -13
- package/dist/{chunk-U3HSFCON.js → chunk-MCTTONOW.js} +28 -28
- package/dist/{chunk-7DU35P5J.js → chunk-MIECLOQC.js} +9 -9
- package/dist/{chunk-FM4OUCC2.js → chunk-MOKYT3X3.js} +3 -3
- package/dist/{chunk-GZ64CASI.js → chunk-MVZYNZXE.js} +5 -4
- package/dist/chunk-MVZYNZXE.js.map +1 -0
- package/dist/{chunk-L7YURQI2.js → chunk-MXLKI7BI.js} +3 -3
- package/dist/{chunk-XRRSFQEV.js → chunk-NAZZLAWX.js} +2 -2
- package/dist/{chunk-UWJ5P5CU.js → chunk-NEK4WB5P.js} +3 -3
- package/dist/{chunk-6L7U46Y2.js → chunk-NKNVIO66.js} +2 -2
- package/dist/{chunk-JKUICTLM.js → chunk-NLAFNMPK.js} +2 -2
- package/dist/{chunk-4LKNIGHB.js → chunk-O2SBHS2N.js} +2 -2
- package/dist/{chunk-DWPOQ3S5.js → chunk-OTMWHZBY.js} +2 -2
- package/dist/{chunk-JTN3T4QN.js → chunk-PCFK7HKD.js} +14 -14
- package/dist/{chunk-VVCDB2T7.js → chunk-PCJLH45G.js} +3 -3
- package/dist/{chunk-PZ24CYDO.js → chunk-PFAUGEV5.js} +2 -2
- package/dist/{chunk-HGMWMK5K.js → chunk-PO3BH3KQ.js} +2 -2
- package/dist/{chunk-B74GSYR6.js → chunk-PUTS4DYW.js} +2 -2
- package/dist/{chunk-JSIDLTTG.js → chunk-PZ2V2XIK.js} +2 -2
- package/dist/{chunk-TMEQPODK.js → chunk-PZ37VDB5.js} +2 -2
- package/dist/{chunk-Q35DT6I6.js → chunk-QFMLAT7L.js} +234 -225
- package/dist/chunk-QFMLAT7L.js.map +1 -0
- package/dist/{chunk-LVONK3YQ.js → chunk-QRKTESVE.js} +2 -2
- package/dist/{chunk-HT5WSUC7.js → chunk-QXEDIDBZ.js} +3 -3
- package/dist/{chunk-WURSS6MP.js → chunk-R66YMYJU.js} +2 -2
- package/dist/{chunk-HDHK3SXK.js → chunk-RFLYID6H.js} +5 -5
- package/dist/{chunk-ADJJQSYC.js → chunk-RIYZFKIM.js} +39 -37
- package/dist/chunk-RIYZFKIM.js.map +1 -0
- package/dist/{chunk-JK7C5A4I.js → chunk-RQNZDTKT.js} +19 -19
- package/dist/{chunk-EHCUFCXM.js → chunk-RYSRFAHN.js} +32 -22
- package/dist/chunk-RYSRFAHN.js.map +1 -0
- package/dist/{chunk-I6VUUEXH.js → chunk-S2U4CDAC.js} +150 -150
- package/dist/chunk-S2U4CDAC.js.map +1 -0
- package/dist/{chunk-ST22GONV.js → chunk-S37GP7LX.js} +19 -19
- package/dist/{chunk-A2EWJQXX.js → chunk-SM5QX6UK.js} +4 -4
- package/dist/{chunk-FBE6AIIW.js → chunk-SOKNCW5U.js} +2 -2
- package/dist/{chunk-4W7VISE7.js → chunk-SSOO4GWN.js} +193 -194
- package/dist/chunk-SSOO4GWN.js.map +1 -0
- package/dist/{chunk-UP4BE32Y.js → chunk-SY2AAZNB.js} +5 -5
- package/dist/{chunk-33TPANCR.js → chunk-TFK4KFKA.js} +4 -4
- package/dist/{chunk-4432A3HQ.js → chunk-TIQPKOFW.js} +4 -4
- package/dist/{chunk-HPPKLBTJ.js → chunk-TJQDL3JH.js} +2 -2
- package/dist/chunk-TL7BOFFL.js +89 -0
- package/dist/chunk-TL7BOFFL.js.map +1 -0
- package/dist/{chunk-FD4Q5KFL.js → chunk-TLL22FFO.js} +2 -2
- package/dist/{chunk-QM5H4FPT.js → chunk-TV6BWONY.js} +3 -3
- package/dist/{chunk-4VKA5O7T.js → chunk-U6MPB3K6.js} +4 -4
- package/dist/{chunk-XOFUXMPP.js → chunk-ULJAOMJA.js} +2 -2
- package/dist/chunk-ULYQEFNH.js +529 -0
- package/dist/chunk-ULYQEFNH.js.map +1 -0
- package/dist/{chunk-H5EVWF6L.js → chunk-UNNJUJVD.js} +2 -2
- package/dist/{chunk-RGW24ZZM.js → chunk-UP7I3W6O.js} +51 -49
- package/dist/chunk-UP7I3W6O.js.map +1 -0
- package/dist/{chunk-5MZTJMZ3.js → chunk-UUGR3X5I.js} +17 -11
- package/dist/chunk-UUGR3X5I.js.map +1 -0
- package/dist/{chunk-Z6DKXQG7.js → chunk-UXXFMF4X.js} +2 -2
- package/dist/{chunk-OBQVTCTW.js → chunk-UYNCMZX5.js} +4 -4
- package/dist/{chunk-RGPYMHKI.js → chunk-V3K4RQO7.js} +9 -3
- package/dist/chunk-V3K4RQO7.js.map +1 -0
- package/dist/{chunk-KZHW27BV.js → chunk-V4QZ7UBK.js} +2 -2
- package/dist/{chunk-SUVEDKE2.js → chunk-VH5EGTH2.js} +3 -3
- package/dist/{chunk-MYNUBDU7.js → chunk-VYKW6TB2.js} +1 -1
- package/dist/chunk-VYKW6TB2.js.map +1 -0
- package/dist/{chunk-QEJTQTF5.js → chunk-W6T5HR3Z.js} +3 -3
- package/dist/{chunk-VP62LPLW.js → chunk-WCMG4HYI.js} +10 -10
- package/dist/{chunk-GZLLDA6P.js → chunk-WEFN327U.js} +2 -2
- package/dist/{chunk-7BST7BA6.js → chunk-WKHUZIOW.js} +1 -1
- package/dist/{chunk-ANHUMDJX.js → chunk-WNDTLK44.js} +2 -2
- package/dist/{chunk-2DS4UOYQ.js → chunk-WSZQNTVN.js} +2 -2
- package/dist/{chunk-GALB2G3W.js → chunk-X2AH4DRF.js} +2 -2
- package/dist/{chunk-Z2DAWUO3.js → chunk-XMNUZUUA.js} +6 -6
- package/dist/{chunk-GAIM5RNE.js → chunk-XN7NSPE6.js} +3 -3
- package/dist/chunk-XV6ZYRHK.js +59 -0
- package/dist/chunk-XV6ZYRHK.js.map +1 -0
- package/dist/{chunk-FLGUVRR7.js → chunk-Y5BSA3I7.js} +5 -5
- package/dist/{chunk-WRLWLGEF.js → chunk-Y5E3XQ2S.js} +25 -2
- package/dist/{chunk-WRLWLGEF.js.map → chunk-Y5E3XQ2S.js.map} +1 -1
- package/dist/{chunk-QCD5Y7K5.js → chunk-YEROLKOA.js} +16 -16
- package/dist/{chunk-NDF3SH3X.js → chunk-YJPKDRI2.js} +15 -15
- package/dist/{chunk-TQGJN5UZ.js → chunk-YV56F4UP.js} +318 -700
- package/dist/chunk-YV56F4UP.js.map +1 -0
- package/dist/{chunk-VAIESMPY.js → chunk-YVBHGMKC.js} +4 -4
- package/dist/{chunk-AD22P5X3.js → chunk-YXA2EKV3.js} +3 -3
- package/dist/{chunk-FDNJVZRE.js → chunk-YYCOSTUU.js} +17 -17
- package/dist/{chunk-NLMTNEWW.js → chunk-Z6E6TUAE.js} +2 -2
- package/dist/{chunk-BJW7G6EF.js → chunk-Z7IGO5EA.js} +3 -3
- package/dist/{chunk-NCX5SAQY.js → chunk-ZEIFJ6PX.js} +5 -5
- package/dist/{chunk-JRXHSVD5.js → chunk-ZS2UQ3DV.js} +65 -8
- package/dist/chunk-ZS2UQ3DV.js.map +1 -0
- package/dist/{chunk-4EONHNJU.js → chunk-ZVVT72MT.js} +2 -2
- package/dist/components/browser-viewer.d.ts +1 -1
- package/dist/composer.js +13 -13
- package/dist/{computer-viewer-KEDVLD42.js → computer-viewer-25AJIDYA.js} +9 -9
- package/dist/connect.js +10 -10
- package/dist/desktop.js +2 -2
- package/dist/editor.js +2 -2
- package/dist/{embedded-new-voice-LFHWWYD2.js → embedded-new-voice-RZZEJT6M.js} +7 -7
- package/dist/{embedded-voice-6QS4ANNX.js → embedded-voice-6OKSSPLW.js} +7 -7
- package/dist/{fleet-decision-row-QNSTP3VX.js → fleet-decision-row-NN2HXDX3.js} +2 -2
- package/dist/hooks/internal.d.ts +38 -0
- package/dist/hooks/use-client-config-flags.d.ts +12 -0
- package/dist/hooks/use-workspace-sessions.d.ts +10 -1
- package/dist/index.js +233 -227
- package/dist/interaction.js +11 -9
- package/dist/interaction.js.map +1 -1
- package/dist/{latest-question-AW3PPDUM.js → latest-question-2PFWQSSG.js} +4 -3
- package/dist/{latest-question-AW3PPDUM.js.map → latest-question-2PFWQSSG.js.map} +1 -1
- package/dist/machines.js +5 -5
- package/dist/messages/en.d.ts +3 -3
- package/dist/messages.js +1 -1
- package/dist/{model-policy-picker-menu-CURJ247L.js → model-policy-picker-menu-VVFGGAI6.js} +6 -6
- package/dist/native-previews.js +3 -3
- package/dist/{platform-activity-row-BMXXNZKX.js → platform-activity-row-ENQVIFTL.js} +2 -2
- package/dist/{queue-surface-implementation-2X5AXB6I.js → queue-surface-implementation-4SHOQPQQ.js} +10 -8
- package/dist/{queue-surface-implementation-2X5AXB6I.js.map → queue-surface-implementation-4SHOQPQQ.js.map} +1 -1
- package/dist/realtime.js +6 -6
- package/dist/{sandbox-files-4FBG3GS2.js → sandbox-files-CCOTGXXA.js} +11 -11
- package/dist/sandbox-files-CCOTGXXA.js.map +1 -0
- package/dist/session-app.js +258 -252
- package/dist/session-list-model.d.ts +1 -0
- package/dist/session-list-model.js +8 -2
- package/dist/{session-realtime-2XIB254N.js → session-realtime-JNKDSGH7.js} +3 -3
- package/dist/session-realtime-JNKDSGH7.js.map +1 -0
- package/dist/session-realtime.js +2 -2
- package/dist/session-ui.js +76 -71
- package/dist/session.js +24 -22
- package/dist/sites.js +2 -2
- package/dist/terminal.js +2 -2
- package/dist/this-computer.js +3 -3
- package/dist/timeline/invoked-tool.d.ts +5 -0
- package/dist/timeline/tool-display-name.d.ts +2 -2
- package/dist/timeline/tool-icon.d.ts +14 -0
- package/dist/timeline/tool-presentation.d.ts +8 -3
- package/dist/{timeline-annotation-markers-X4K2IEOO.js → timeline-annotation-markers-KHNYNY2J.js} +5 -5
- package/dist/{timeline-annotation-selection-MEHBW676.js → timeline-annotation-selection-AXEDJHBP.js} +7 -7
- package/dist/{timeline-annotations-dialog-U2FPQ3UY.js → timeline-annotations-dialog-AV4ZBXRC.js} +9 -9
- package/dist/timeline-model.js +25 -23
- 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/usage.js +3 -3
- package/dist/workbench.js +11 -11
- package/package.json +4 -4
- package/src/app/app-state.tsx +3 -1
- package/src/app/components/capabilities/session-machine-card.tsx +9 -2
- package/src/app/components/rail/session-list.tsx +254 -44
- package/src/app/components/rail/session-row-content.tsx +24 -2
- package/src/app/components/rail/session-shell.tsx +14 -9
- package/src/app/components/rail/site-session-group-heading.tsx +59 -20
- package/src/app/components/session/session-tenancy-control.tsx +18 -0
- package/src/app/components/session/site-origin-link.test.tsx +73 -0
- package/src/app/components/session/site-origin-link.tsx +4 -2
- package/src/app/embed/memory-navigation.tsx +1 -0
- package/src/app/lib/actions/held-modifier.test.ts +101 -0
- package/src/app/lib/actions/held-modifier.ts +108 -0
- package/src/app/lib/console-site.tsx +38 -0
- package/src/app/lib/navigation.tsx +4 -0
- package/src/app/lib/routes.tsx +42 -0
- package/src/app/lib/session-failure-toasts.ts +26 -0
- package/src/app/lib/session-ui-features.tsx +18 -4
- package/src/app/lib/sessions-group.tsx +219 -30
- package/src/app/lib/site-opened.tsx +48 -0
- package/src/app/lib/site-session-groups.test.ts +173 -6
- package/src/app/lib/site-view-routes.test.ts +55 -0
- package/src/app/lib/use-session-list-hint-refresh.tsx +44 -4
- package/src/app/routes/artifacts.tsx +2 -29
- package/src/app/routes/session-transient-failures.test.tsx +343 -0
- package/src/app/routes/session-unavailable.tsx +74 -3
- package/src/app/routes/session.tsx +4 -13
- package/src/app/routes/sessions-index.tsx +13 -9
- package/src/app/routes/site-view.test.tsx +476 -0
- package/src/app/routes/site-view.tsx +583 -0
- package/src/components/browser-viewer.tsx +16 -2
- package/src/hooks/internal.ts +129 -6
- package/src/hooks/use-client-config-flags.ts +8 -0
- package/src/hooks/use-session-events.ts +83 -9
- package/src/hooks/use-workspace-sessions.ts +21 -1
- package/src/messages/en.ts +3 -3
- package/src/session-list-model.ts +4 -0
- package/src/timeline/activity-rail.tsx +3 -2
- package/src/timeline/invoked-tool.ts +14 -4
- package/src/timeline/projection.ts +11 -6
- package/src/timeline/rolling-activity.tsx +6 -2
- package/src/timeline/tool-display-name.ts +2 -2
- package/src/timeline/tool-icon.tsx +165 -0
- package/src/timeline/tool-presentation.ts +207 -48
- package/src/timeline/tool-renderers.tsx +1 -70
- package/styles/compiled.css +38 -0
- package/dist/chunk-22ZBT6CN.js +0 -50
- package/dist/chunk-22ZBT6CN.js.map +0 -1
- package/dist/chunk-4R3JCVID.js.map +0 -1
- package/dist/chunk-4W7VISE7.js.map +0 -1
- package/dist/chunk-5JZYPZ72.js.map +0 -1
- package/dist/chunk-5MZTJMZ3.js.map +0 -1
- package/dist/chunk-6W3LF3DB.js.map +0 -1
- package/dist/chunk-ADJJQSYC.js.map +0 -1
- package/dist/chunk-APU42QDI.js.map +0 -1
- package/dist/chunk-BJIZ7PL7.js.map +0 -1
- package/dist/chunk-CVG4FILQ.js.map +0 -1
- package/dist/chunk-EF5SYXAY.js.map +0 -1
- package/dist/chunk-EHCUFCXM.js.map +0 -1
- package/dist/chunk-GZ64CASI.js.map +0 -1
- package/dist/chunk-I6VUUEXH.js.map +0 -1
- package/dist/chunk-JRXHSVD5.js.map +0 -1
- package/dist/chunk-KF3MF6FP.js.map +0 -1
- package/dist/chunk-MYNUBDU7.js.map +0 -1
- package/dist/chunk-NAWXARTY.js.map +0 -1
- package/dist/chunk-PM3OSANE.js.map +0 -1
- package/dist/chunk-Q35DT6I6.js.map +0 -1
- package/dist/chunk-R25ZKOZR.js +0 -24
- package/dist/chunk-R25ZKOZR.js.map +0 -1
- package/dist/chunk-RGPYMHKI.js.map +0 -1
- package/dist/chunk-RGW24ZZM.js.map +0 -1
- package/dist/chunk-ROQOVH4N.js.map +0 -1
- package/dist/chunk-TQGJN5UZ.js.map +0 -1
- package/dist/chunk-X7L4H4VG.js.map +0 -1
- package/dist/chunk-XFNLU7EW.js.map +0 -1
- package/dist/chunk-Z5WMLJKI.js.map +0 -1
- /package/dist/{browser-viewer-RYYQSRTC.js.map → app/lib/console-site.js.map} +0 -0
- /package/dist/{chat-interactive-block-ABCRKXJ4.js.map → app/lib/site-opened.js.map} +0 -0
- /package/dist/{computer-viewer-KEDVLD42.js.map → browser-viewer-QMCNV4RI.js.map} +0 -0
- /package/dist/{embedded-new-voice-LFHWWYD2.js.map → chat-interactive-block-PMIAUXSO.js.map} +0 -0
- /package/dist/{chunk-TGVVEGZG.js.map → chunk-22FFOHPT.js.map} +0 -0
- /package/dist/{chunk-UHFWF6ZU.js.map → chunk-2FPS5H2D.js.map} +0 -0
- /package/dist/{chunk-5POTDNQT.js.map → chunk-2NC7NZCE.js.map} +0 -0
- /package/dist/{chunk-ZKYYZH6L.js.map → chunk-2QBYDGWO.js.map} +0 -0
- /package/dist/{chunk-TWXIFWBD.js.map → chunk-34EU25RL.js.map} +0 -0
- /package/dist/{chunk-R63QEVPK.js.map → chunk-35BC2FU2.js.map} +0 -0
- /package/dist/{chunk-PTGRFAMH.js.map → chunk-3ABPIUCK.js.map} +0 -0
- /package/dist/{chunk-S4SC5SSV.js.map → chunk-3GU7AWG7.js.map} +0 -0
- /package/dist/{chunk-722UO6YQ.js.map → chunk-3PEXVG4D.js.map} +0 -0
- /package/dist/{chunk-63VGE4OH.js.map → chunk-3RMKPHBL.js.map} +0 -0
- /package/dist/{chunk-RQDFYQHA.js.map → chunk-3STBLX4O.js.map} +0 -0
- /package/dist/{chunk-S4EZ3JUB.js.map → chunk-3X5FKDYQ.js.map} +0 -0
- /package/dist/{chunk-KTRKZRID.js.map → chunk-4GLLWX33.js.map} +0 -0
- /package/dist/{chunk-SD2K5ZN5.js.map → chunk-4LPA25NQ.js.map} +0 -0
- /package/dist/{chunk-KWKGBGAF.js.map → chunk-4RMN4E2Y.js.map} +0 -0
- /package/dist/{chunk-X7ASQHR6.js.map → chunk-4SAGYEVB.js.map} +0 -0
- /package/dist/{chunk-HTT3FB7T.js.map → chunk-4VK2R5QC.js.map} +0 -0
- /package/dist/{chunk-DDK4WFJ3.js.map → chunk-4XQC7VLT.js.map} +0 -0
- /package/dist/{chunk-IVOA3DXA.js.map → chunk-4YXAQMTD.js.map} +0 -0
- /package/dist/{chunk-HOJGAJAB.js.map → chunk-52WK2GGK.js.map} +0 -0
- /package/dist/{chunk-NYZQ7LO7.js.map → chunk-552UYIQ7.js.map} +0 -0
- /package/dist/{chunk-LEXPBQ56.js.map → chunk-5DSKMG2I.js.map} +0 -0
- /package/dist/{chunk-WNG757ID.js.map → chunk-5FA455GR.js.map} +0 -0
- /package/dist/{chunk-HWDGJFM4.js.map → chunk-5FEN3KYH.js.map} +0 -0
- /package/dist/{chunk-OSVHU2WU.js.map → chunk-5JHRMUAZ.js.map} +0 -0
- /package/dist/{chunk-RKB2Z457.js.map → chunk-5VGJXWQ2.js.map} +0 -0
- /package/dist/{chunk-GFUUFM2O.js.map → chunk-5W6ZDKRR.js.map} +0 -0
- /package/dist/{chunk-6PQNLL4E.js.map → chunk-5W7KJ5NQ.js.map} +0 -0
- /package/dist/{chunk-Q35YZVDZ.js.map → chunk-5Y2FPLZE.js.map} +0 -0
- /package/dist/{chunk-F3NERYBQ.js.map → chunk-62VER7O4.js.map} +0 -0
- /package/dist/{chunk-FBMU3VK5.js.map → chunk-6DCEDIF6.js.map} +0 -0
- /package/dist/{chunk-LE2EDBXU.js.map → chunk-73WI7FL2.js.map} +0 -0
- /package/dist/{chunk-ZRJCGBVV.js.map → chunk-7FJMRJDG.js.map} +0 -0
- /package/dist/{chunk-7KGKDWWR.js.map → chunk-7HFLYNWN.js.map} +0 -0
- /package/dist/{chunk-72J6C2AJ.js.map → chunk-7KIENXRE.js.map} +0 -0
- /package/dist/{chunk-CBY5CXBD.js.map → chunk-7NPCEBZE.js.map} +0 -0
- /package/dist/{chunk-46VBQG2D.js.map → chunk-7P4AQMGA.js.map} +0 -0
- /package/dist/{chunk-S7PVL7XH.js.map → chunk-A4BD4ZVB.js.map} +0 -0
- /package/dist/{chunk-73SOCVLS.js.map → chunk-AIEXYO2X.js.map} +0 -0
- /package/dist/{chunk-U7TC2XJQ.js.map → chunk-AJPW3SV4.js.map} +0 -0
- /package/dist/{chunk-HRJQAFKR.js.map → chunk-AX6YJA5U.js.map} +0 -0
- /package/dist/{chunk-P5WABK2H.js.map → chunk-BCM7C3MJ.js.map} +0 -0
- /package/dist/{chunk-DT7BORXG.js.map → chunk-BMJTNPWK.js.map} +0 -0
- /package/dist/{chunk-HIHO2QE7.js.map → chunk-BT2MVGHT.js.map} +0 -0
- /package/dist/{chunk-3XOISKZC.js.map → chunk-BXQYAAVE.js.map} +0 -0
- /package/dist/{chunk-IBTXYLBW.js.map → chunk-CCFWY4GF.js.map} +0 -0
- /package/dist/{chunk-ZOC3OP6F.js.map → chunk-CCR33J7L.js.map} +0 -0
- /package/dist/{chunk-GTQ3SNEI.js.map → chunk-CD3MO3IC.js.map} +0 -0
- /package/dist/{chunk-WSMYOLHG.js.map → chunk-CDEXRJB6.js.map} +0 -0
- /package/dist/{chunk-3GLAPCVI.js.map → chunk-CFFNT2OY.js.map} +0 -0
- /package/dist/{chunk-HO5Y2OOX.js.map → chunk-CMLJSF2F.js.map} +0 -0
- /package/dist/{chunk-RA3FNMWF.js.map → chunk-CP7ZQHBW.js.map} +0 -0
- /package/dist/{chunk-IOKSNX74.js.map → chunk-D5OWJZQR.js.map} +0 -0
- /package/dist/{chunk-SQGXMHJO.js.map → chunk-DGLRZMXL.js.map} +0 -0
- /package/dist/{chunk-GNEHAPKV.js.map → chunk-DJFTH2DI.js.map} +0 -0
- /package/dist/{chunk-HQG4SLTE.js.map → chunk-DYJGYGPB.js.map} +0 -0
- /package/dist/{chunk-4EAF3HSD.js.map → chunk-EJ7WARW7.js.map} +0 -0
- /package/dist/{chunk-3AA6RNGE.js.map → chunk-ENS6E4RZ.js.map} +0 -0
- /package/dist/{chunk-OOEO4MKY.js.map → chunk-EPWD4KRA.js.map} +0 -0
- /package/dist/{chunk-PN66T6JA.js.map → chunk-EQE3MNQN.js.map} +0 -0
- /package/dist/{chunk-TSBE4KOQ.js.map → chunk-EWL6NDOO.js.map} +0 -0
- /package/dist/{chunk-OO2T63BY.js.map → chunk-EYS4ZOF5.js.map} +0 -0
- /package/dist/{chunk-7CZTKBTI.js.map → chunk-FDAV72IX.js.map} +0 -0
- /package/dist/{chunk-AG7VGUIW.js.map → chunk-FFNPUSVO.js.map} +0 -0
- /package/dist/{chunk-P5T36BA3.js.map → chunk-FRP64DEK.js.map} +0 -0
- /package/dist/{chunk-KBF3SE7G.js.map → chunk-FSP334UU.js.map} +0 -0
- /package/dist/{chunk-BSX2R4CW.js.map → chunk-FTX5CNHA.js.map} +0 -0
- /package/dist/{chunk-O756O2I7.js.map → chunk-FWOBNL2A.js.map} +0 -0
- /package/dist/{chunk-6NIB2KGJ.js.map → chunk-FWYEZ3LE.js.map} +0 -0
- /package/dist/{chunk-DLOYMWUQ.js.map → chunk-G4HQUBO4.js.map} +0 -0
- /package/dist/{chunk-CSHBR2IZ.js.map → chunk-GDLDBR6B.js.map} +0 -0
- /package/dist/{chunk-U36PO27Q.js.map → chunk-GHHM6WN4.js.map} +0 -0
- /package/dist/{chunk-OANSIX34.js.map → chunk-GRSODLVO.js.map} +0 -0
- /package/dist/{chunk-EU6XSQFM.js.map → chunk-GXW2I2M2.js.map} +0 -0
- /package/dist/{chunk-5JEIDFPD.js.map → chunk-GZS37O3G.js.map} +0 -0
- /package/dist/{chunk-HNYJEAES.js.map → chunk-HQWVDQXW.js.map} +0 -0
- /package/dist/{chunk-YXOKAG66.js.map → chunk-HU6JTNWF.js.map} +0 -0
- /package/dist/{chunk-QRVNI5V6.js.map → chunk-I6KIQKU6.js.map} +0 -0
- /package/dist/{chunk-BNUPYHHZ.js.map → chunk-IDXTASGN.js.map} +0 -0
- /package/dist/{chunk-L6RXRRN3.js.map → chunk-ILDOW2IQ.js.map} +0 -0
- /package/dist/{chunk-VUHPA3XQ.js.map → chunk-ITX2TB4K.js.map} +0 -0
- /package/dist/{chunk-BXRIQZAH.js.map → chunk-J22HD2PB.js.map} +0 -0
- /package/dist/{chunk-U47YDYLQ.js.map → chunk-J5MEDX7C.js.map} +0 -0
- /package/dist/{chunk-F6LBGYS6.js.map → chunk-J7FBBLHF.js.map} +0 -0
- /package/dist/{chunk-QZRDCFHI.js.map → chunk-JM4HQPAI.js.map} +0 -0
- /package/dist/{chunk-PIVGX42P.js.map → chunk-JNY5MT3I.js.map} +0 -0
- /package/dist/{chunk-XWWXIZFP.js.map → chunk-JO6R5EXF.js.map} +0 -0
- /package/dist/{chunk-NWZW2WHN.js.map → chunk-JQCGPTZ6.js.map} +0 -0
- /package/dist/{chunk-OR37STQZ.js.map → chunk-KEXYBG7Q.js.map} +0 -0
- /package/dist/{chunk-AZVANYMB.js.map → chunk-KUNFUSZ7.js.map} +0 -0
- /package/dist/{chunk-DXZNDKQD.js.map → chunk-LEEJBZ5B.js.map} +0 -0
- /package/dist/{chunk-AOLE4IRZ.js.map → chunk-LF5CBAOS.js.map} +0 -0
- /package/dist/{chunk-RIMKJBCD.js.map → chunk-LMPTC4CX.js.map} +0 -0
- /package/dist/{chunk-3KVWXKD6.js.map → chunk-LQ47YL6E.js.map} +0 -0
- /package/dist/{chunk-RSNYGEVZ.js.map → chunk-LT4J7RHI.js.map} +0 -0
- /package/dist/{chunk-U3HSFCON.js.map → chunk-MCTTONOW.js.map} +0 -0
- /package/dist/{chunk-7DU35P5J.js.map → chunk-MIECLOQC.js.map} +0 -0
- /package/dist/{chunk-FM4OUCC2.js.map → chunk-MOKYT3X3.js.map} +0 -0
- /package/dist/{chunk-L7YURQI2.js.map → chunk-MXLKI7BI.js.map} +0 -0
- /package/dist/{chunk-XRRSFQEV.js.map → chunk-NAZZLAWX.js.map} +0 -0
- /package/dist/{chunk-UWJ5P5CU.js.map → chunk-NEK4WB5P.js.map} +0 -0
- /package/dist/{chunk-6L7U46Y2.js.map → chunk-NKNVIO66.js.map} +0 -0
- /package/dist/{chunk-JKUICTLM.js.map → chunk-NLAFNMPK.js.map} +0 -0
- /package/dist/{chunk-4LKNIGHB.js.map → chunk-O2SBHS2N.js.map} +0 -0
- /package/dist/{chunk-DWPOQ3S5.js.map → chunk-OTMWHZBY.js.map} +0 -0
- /package/dist/{chunk-JTN3T4QN.js.map → chunk-PCFK7HKD.js.map} +0 -0
- /package/dist/{chunk-VVCDB2T7.js.map → chunk-PCJLH45G.js.map} +0 -0
- /package/dist/{chunk-PZ24CYDO.js.map → chunk-PFAUGEV5.js.map} +0 -0
- /package/dist/{chunk-HGMWMK5K.js.map → chunk-PO3BH3KQ.js.map} +0 -0
- /package/dist/{chunk-B74GSYR6.js.map → chunk-PUTS4DYW.js.map} +0 -0
- /package/dist/{chunk-JSIDLTTG.js.map → chunk-PZ2V2XIK.js.map} +0 -0
- /package/dist/{chunk-TMEQPODK.js.map → chunk-PZ37VDB5.js.map} +0 -0
- /package/dist/{chunk-LVONK3YQ.js.map → chunk-QRKTESVE.js.map} +0 -0
- /package/dist/{chunk-HT5WSUC7.js.map → chunk-QXEDIDBZ.js.map} +0 -0
- /package/dist/{chunk-WURSS6MP.js.map → chunk-R66YMYJU.js.map} +0 -0
- /package/dist/{chunk-HDHK3SXK.js.map → chunk-RFLYID6H.js.map} +0 -0
- /package/dist/{chunk-JK7C5A4I.js.map → chunk-RQNZDTKT.js.map} +0 -0
- /package/dist/{chunk-ST22GONV.js.map → chunk-S37GP7LX.js.map} +0 -0
- /package/dist/{chunk-A2EWJQXX.js.map → chunk-SM5QX6UK.js.map} +0 -0
- /package/dist/{chunk-FBE6AIIW.js.map → chunk-SOKNCW5U.js.map} +0 -0
- /package/dist/{chunk-UP4BE32Y.js.map → chunk-SY2AAZNB.js.map} +0 -0
- /package/dist/{chunk-33TPANCR.js.map → chunk-TFK4KFKA.js.map} +0 -0
- /package/dist/{chunk-4432A3HQ.js.map → chunk-TIQPKOFW.js.map} +0 -0
- /package/dist/{chunk-HPPKLBTJ.js.map → chunk-TJQDL3JH.js.map} +0 -0
- /package/dist/{chunk-FD4Q5KFL.js.map → chunk-TLL22FFO.js.map} +0 -0
- /package/dist/{chunk-QM5H4FPT.js.map → chunk-TV6BWONY.js.map} +0 -0
- /package/dist/{chunk-4VKA5O7T.js.map → chunk-U6MPB3K6.js.map} +0 -0
- /package/dist/{chunk-XOFUXMPP.js.map → chunk-ULJAOMJA.js.map} +0 -0
- /package/dist/{chunk-H5EVWF6L.js.map → chunk-UNNJUJVD.js.map} +0 -0
- /package/dist/{chunk-Z6DKXQG7.js.map → chunk-UXXFMF4X.js.map} +0 -0
- /package/dist/{chunk-OBQVTCTW.js.map → chunk-UYNCMZX5.js.map} +0 -0
- /package/dist/{chunk-KZHW27BV.js.map → chunk-V4QZ7UBK.js.map} +0 -0
- /package/dist/{chunk-SUVEDKE2.js.map → chunk-VH5EGTH2.js.map} +0 -0
- /package/dist/{chunk-QEJTQTF5.js.map → chunk-W6T5HR3Z.js.map} +0 -0
- /package/dist/{chunk-VP62LPLW.js.map → chunk-WCMG4HYI.js.map} +0 -0
- /package/dist/{chunk-GZLLDA6P.js.map → chunk-WEFN327U.js.map} +0 -0
- /package/dist/{chunk-7BST7BA6.js.map → chunk-WKHUZIOW.js.map} +0 -0
- /package/dist/{chunk-ANHUMDJX.js.map → chunk-WNDTLK44.js.map} +0 -0
- /package/dist/{chunk-2DS4UOYQ.js.map → chunk-WSZQNTVN.js.map} +0 -0
- /package/dist/{chunk-GALB2G3W.js.map → chunk-X2AH4DRF.js.map} +0 -0
- /package/dist/{chunk-Z2DAWUO3.js.map → chunk-XMNUZUUA.js.map} +0 -0
- /package/dist/{chunk-GAIM5RNE.js.map → chunk-XN7NSPE6.js.map} +0 -0
- /package/dist/{chunk-FLGUVRR7.js.map → chunk-Y5BSA3I7.js.map} +0 -0
- /package/dist/{chunk-QCD5Y7K5.js.map → chunk-YEROLKOA.js.map} +0 -0
- /package/dist/{chunk-NDF3SH3X.js.map → chunk-YJPKDRI2.js.map} +0 -0
- /package/dist/{chunk-VAIESMPY.js.map → chunk-YVBHGMKC.js.map} +0 -0
- /package/dist/{chunk-AD22P5X3.js.map → chunk-YXA2EKV3.js.map} +0 -0
- /package/dist/{chunk-FDNJVZRE.js.map → chunk-YYCOSTUU.js.map} +0 -0
- /package/dist/{chunk-NLMTNEWW.js.map → chunk-Z6E6TUAE.js.map} +0 -0
- /package/dist/{chunk-BJW7G6EF.js.map → chunk-Z7IGO5EA.js.map} +0 -0
- /package/dist/{chunk-NCX5SAQY.js.map → chunk-ZEIFJ6PX.js.map} +0 -0
- /package/dist/{chunk-4EONHNJU.js.map → chunk-ZVVT72MT.js.map} +0 -0
- /package/dist/{embedded-voice-6QS4ANNX.js.map → computer-viewer-25AJIDYA.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-CURJ247L.js.map → embedded-new-voice-RZZEJT6M.js.map} +0 -0
- /package/dist/{sandbox-files-4FBG3GS2.js.map → embedded-voice-6OKSSPLW.js.map} +0 -0
- /package/dist/{fleet-decision-row-QNSTP3VX.js.map → fleet-decision-row-NN2HXDX3.js.map} +0 -0
- /package/dist/{session-realtime-2XIB254N.js.map → model-policy-picker-menu-VVFGGAI6.js.map} +0 -0
- /package/dist/{platform-activity-row-BMXXNZKX.js.map → platform-activity-row-ENQVIFTL.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-X4K2IEOO.js.map → timeline-annotation-markers-KHNYNY2J.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-MEHBW676.js.map → timeline-annotation-selection-AXEDJHBP.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-U2FPQ3UY.js.map → timeline-annotations-dialog-AV4ZBXRC.js.map} +0 -0
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
import { SITE_ID_HEADER, SITE_VERSION_HEADER } from "@opengeni/contracts/site-session-http";
|
|
2
|
+
import type { Session, SessionListResponse } from "@opengeni/sdk";
|
|
3
|
+
import { OpenGeniApiError } from "@opengeni/sdk/browser";
|
|
4
|
+
import { InfoIcon, Maximize2Icon, MoreHorizontalIcon, PlusIcon } from "lucide-react";
|
|
5
|
+
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
6
|
+
import { SiteView } from "../../artifacts";
|
|
7
|
+
import { NewConversation } from "../../components/new-conversation";
|
|
8
|
+
import type {
|
|
9
|
+
CreatedConversation,
|
|
10
|
+
NewConversationCreateOptions,
|
|
11
|
+
} from "../../hooks/use-new-conversation";
|
|
12
|
+
import { SessionConversation } from "../../components/session-conversation";
|
|
13
|
+
import { Button } from "../../ui/button";
|
|
14
|
+
import {
|
|
15
|
+
DropdownMenu,
|
|
16
|
+
DropdownMenuContent,
|
|
17
|
+
DropdownMenuItem,
|
|
18
|
+
DropdownMenuTrigger,
|
|
19
|
+
} from "../../ui/dropdown-menu";
|
|
20
|
+
import { Skeleton } from "../../ui/skeleton";
|
|
21
|
+
import { useAppContext } from "../app-context";
|
|
22
|
+
import { useAppApi } from "../lib/app-api";
|
|
23
|
+
import { useConsoleSiteToolBridge, useConsoleSiteViewer } from "../lib/console-site";
|
|
24
|
+
import { t } from "../lib/console-text";
|
|
25
|
+
import { formatTimestamp } from "../lib/format";
|
|
26
|
+
import { Link, useNavigate } from "../lib/navigation";
|
|
27
|
+
import { hasWorkspacePermission } from "../lib/permissions";
|
|
28
|
+
import { sessionDisplayTitle } from "../lib/session-rename";
|
|
29
|
+
import { sessionStateLabel } from "../lib/session-rail";
|
|
30
|
+
import { sessionSiteOrigin } from "../lib/session-site-origin";
|
|
31
|
+
import { isRunningStatus, relativeTimeLabel } from "../lib/sessions-group";
|
|
32
|
+
import { useRecordSiteOpened } from "../lib/site-opened";
|
|
33
|
+
import { useSessionListHintRefresh } from "../lib/use-session-list-hint-refresh";
|
|
34
|
+
import { cn } from "../lib/utils";
|
|
35
|
+
|
|
36
|
+
const SITE_ROUTE = "/workspaces/$workspaceId/sites/$siteId";
|
|
37
|
+
|
|
38
|
+
type SiteState =
|
|
39
|
+
| { status: "loading" }
|
|
40
|
+
| { status: "error" }
|
|
41
|
+
| { status: "ready"; title: string; versionId: string | null; archived: boolean };
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A Site with its conversations beside it. The Site fills the page; the
|
|
45
|
+
* panel keeps one conversation open (the newest when the Site opens, unless
|
|
46
|
+
* one is chosen), lists the others to switch between, and starts a new one.
|
|
47
|
+
*/
|
|
48
|
+
export function SiteViewRoute({
|
|
49
|
+
workspaceId,
|
|
50
|
+
siteId,
|
|
51
|
+
conversation,
|
|
52
|
+
}: {
|
|
53
|
+
workspaceId: string;
|
|
54
|
+
siteId: string;
|
|
55
|
+
/** The conversation open in the panel; the newest when omitted. */
|
|
56
|
+
conversation?: string | undefined;
|
|
57
|
+
}) {
|
|
58
|
+
const { client } = useAppContext();
|
|
59
|
+
const viewer = useConsoleSiteViewer();
|
|
60
|
+
const toolBridge = useConsoleSiteToolBridge(workspaceId);
|
|
61
|
+
const [site, setSite] = useState<SiteState>({ status: "loading" });
|
|
62
|
+
const [siteAttempt, setSiteAttempt] = useState(0);
|
|
63
|
+
useRecordSiteOpened(client, workspaceId, siteId);
|
|
64
|
+
useEffect(() => {
|
|
65
|
+
const abort = new AbortController();
|
|
66
|
+
setSite({ status: "loading" });
|
|
67
|
+
client
|
|
68
|
+
.getWorkspaceArtifact(workspaceId, siteId, { signal: abort.signal })
|
|
69
|
+
.then(({ artifact }) => {
|
|
70
|
+
if (abort.signal.aborted) return;
|
|
71
|
+
setSite({
|
|
72
|
+
status: "ready",
|
|
73
|
+
title: artifact.title,
|
|
74
|
+
versionId: artifact.currentVersion?.id ?? null,
|
|
75
|
+
archived: artifact.status === "archived",
|
|
76
|
+
});
|
|
77
|
+
})
|
|
78
|
+
.catch(() => {
|
|
79
|
+
if (!abort.signal.aborted) setSite({ status: "error" });
|
|
80
|
+
});
|
|
81
|
+
return () => abort.abort();
|
|
82
|
+
}, [client, siteAttempt, siteId, workspaceId]);
|
|
83
|
+
return (
|
|
84
|
+
<div
|
|
85
|
+
className="flex min-h-0 min-w-0 flex-1 max-lg:flex-col"
|
|
86
|
+
data-workspace-scroll-owner="self-managed"
|
|
87
|
+
>
|
|
88
|
+
<div className="flex min-h-0 min-w-0 flex-1 flex-col">
|
|
89
|
+
<SiteView
|
|
90
|
+
client={client}
|
|
91
|
+
workspaceId={workspaceId}
|
|
92
|
+
siteId={siteId}
|
|
93
|
+
toolBridge={toolBridge}
|
|
94
|
+
viewer={viewer}
|
|
95
|
+
archivedMessage="This Site is archived. Restore it from Site details."
|
|
96
|
+
/>
|
|
97
|
+
</div>
|
|
98
|
+
<SiteConversationsColumn
|
|
99
|
+
key={`${workspaceId}:${siteId}`}
|
|
100
|
+
workspaceId={workspaceId}
|
|
101
|
+
siteId={siteId}
|
|
102
|
+
site={site}
|
|
103
|
+
retrySite={() => setSiteAttempt((attempt) => attempt + 1)}
|
|
104
|
+
conversation={conversation}
|
|
105
|
+
/>
|
|
106
|
+
</div>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
const PAGE_SIZE = 30;
|
|
111
|
+
/** The most a session list page returns. */
|
|
112
|
+
const MAX_PAGE_SIZE = 100;
|
|
113
|
+
|
|
114
|
+
/** The Site's own conversations for this viewer, newest activity first. */
|
|
115
|
+
function useSiteConversations(workspaceId: string, siteId: string) {
|
|
116
|
+
const { client } = useAppContext();
|
|
117
|
+
const [page, setPage] = useState<SessionListResponse | null>(null);
|
|
118
|
+
const [error, setError] = useState<Error | null>(null);
|
|
119
|
+
const [loadingMore, setLoadingMore] = useState(false);
|
|
120
|
+
const request = useRef<AbortController | null>(null);
|
|
121
|
+
const more = useRef<AbortController | null>(null);
|
|
122
|
+
// A refresh re-reads as many as are loaded, so "Show older" survives updates.
|
|
123
|
+
const loadedCount = useRef(0);
|
|
124
|
+
useEffect(() => {
|
|
125
|
+
loadedCount.current = page?.sessions.length ?? 0;
|
|
126
|
+
}, [page]);
|
|
127
|
+
const read = useCallback(
|
|
128
|
+
(signal: AbortSignal, cursor?: string, limit = PAGE_SIZE) =>
|
|
129
|
+
client.listSessionPage(workspaceId, {
|
|
130
|
+
originSiteId: siteId,
|
|
131
|
+
parentSessionId: null,
|
|
132
|
+
sortBy: "updatedAt",
|
|
133
|
+
limit,
|
|
134
|
+
signal,
|
|
135
|
+
...(cursor ? { cursor } : {}),
|
|
136
|
+
}),
|
|
137
|
+
[client, siteId, workspaceId],
|
|
138
|
+
);
|
|
139
|
+
const refresh = useCallback(async () => {
|
|
140
|
+
request.current?.abort();
|
|
141
|
+
const abort = new AbortController();
|
|
142
|
+
request.current = abort;
|
|
143
|
+
try {
|
|
144
|
+
const next = await read(
|
|
145
|
+
abort.signal,
|
|
146
|
+
undefined,
|
|
147
|
+
Math.min(MAX_PAGE_SIZE, Math.max(PAGE_SIZE, loadedCount.current)),
|
|
148
|
+
);
|
|
149
|
+
if (abort.signal.aborted) return;
|
|
150
|
+
setPage(next);
|
|
151
|
+
setError(null);
|
|
152
|
+
} catch (failure) {
|
|
153
|
+
if (!abort.signal.aborted)
|
|
154
|
+
setError(failure instanceof Error ? failure : new Error(String(failure)));
|
|
155
|
+
}
|
|
156
|
+
}, [read]);
|
|
157
|
+
useEffect(() => {
|
|
158
|
+
void refresh();
|
|
159
|
+
return () => {
|
|
160
|
+
request.current?.abort();
|
|
161
|
+
more.current?.abort();
|
|
162
|
+
};
|
|
163
|
+
}, [refresh]);
|
|
164
|
+
// This list shows only Site conversations, which ordinary hints never name.
|
|
165
|
+
useSessionListHintRefresh(refresh, error, { siteConversations: true });
|
|
166
|
+
const loadMore = useCallback(async () => {
|
|
167
|
+
const cursor = page?.nextCursor;
|
|
168
|
+
if (!cursor || loadingMore) return;
|
|
169
|
+
const abort = new AbortController();
|
|
170
|
+
more.current = abort;
|
|
171
|
+
setLoadingMore(true);
|
|
172
|
+
try {
|
|
173
|
+
const next = await read(abort.signal, cursor);
|
|
174
|
+
if (abort.signal.aborted) return;
|
|
175
|
+
setPage((current) =>
|
|
176
|
+
// Only extend the page this cursor came from; a refresh since replaced it.
|
|
177
|
+
current?.nextCursor === cursor
|
|
178
|
+
? {
|
|
179
|
+
...next,
|
|
180
|
+
sessions: [
|
|
181
|
+
...new Map(
|
|
182
|
+
[...current.sessions, ...next.sessions].map((session) => [session.id, session]),
|
|
183
|
+
).values(),
|
|
184
|
+
],
|
|
185
|
+
}
|
|
186
|
+
: current,
|
|
187
|
+
);
|
|
188
|
+
} catch {
|
|
189
|
+
// The button stays, so trying again is one click.
|
|
190
|
+
} finally {
|
|
191
|
+
if (more.current === abort) more.current = null;
|
|
192
|
+
setLoadingMore(false);
|
|
193
|
+
}
|
|
194
|
+
}, [loadingMore, page?.nextCursor, read]);
|
|
195
|
+
const sessions = useMemo(
|
|
196
|
+
() =>
|
|
197
|
+
page
|
|
198
|
+
? [...new Map([...page.pinned, ...page.sessions].map((session) => [session.id, session]))]
|
|
199
|
+
.map(([, session]) => session)
|
|
200
|
+
.filter((session) => !session.archived)
|
|
201
|
+
.sort((a, b) => Date.parse(b.updatedAt) - Date.parse(a.updatedAt))
|
|
202
|
+
: [],
|
|
203
|
+
[page],
|
|
204
|
+
);
|
|
205
|
+
return {
|
|
206
|
+
sessions,
|
|
207
|
+
loaded: page !== null,
|
|
208
|
+
error,
|
|
209
|
+
nextCursor: page?.nextCursor ?? null,
|
|
210
|
+
loadingMore,
|
|
211
|
+
refresh,
|
|
212
|
+
loadMore,
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function SiteConversationsColumn({
|
|
217
|
+
workspaceId,
|
|
218
|
+
siteId,
|
|
219
|
+
site,
|
|
220
|
+
retrySite,
|
|
221
|
+
conversation,
|
|
222
|
+
}: {
|
|
223
|
+
workspaceId: string;
|
|
224
|
+
siteId: string;
|
|
225
|
+
site: SiteState;
|
|
226
|
+
retrySite: () => void;
|
|
227
|
+
conversation?: string | undefined;
|
|
228
|
+
}) {
|
|
229
|
+
const context = useAppContext();
|
|
230
|
+
const api = useAppApi();
|
|
231
|
+
const navigate = useNavigate();
|
|
232
|
+
const headingId = useId();
|
|
233
|
+
const panel = useRef<HTMLElement>(null);
|
|
234
|
+
const list = useSiteConversations(workspaceId, siteId);
|
|
235
|
+
const [composing, setComposing] = useState(false);
|
|
236
|
+
const [handoff, setHandoff] = useState<CreatedConversation | null>(null);
|
|
237
|
+
const [focusRequest, setFocusRequest] = useState(0);
|
|
238
|
+
|
|
239
|
+
// The conversation open without a choice is fixed when the Site opens, so
|
|
240
|
+
// activity elsewhere never swaps it out from under the person reading it.
|
|
241
|
+
const [defaultId, setDefaultId] = useState<string | null | undefined>(undefined);
|
|
242
|
+
const newest = list.sessions[0]?.id ?? null;
|
|
243
|
+
const pinned =
|
|
244
|
+
defaultId === null ||
|
|
245
|
+
(defaultId !== undefined && list.sessions.some((session) => session.id === defaultId))
|
|
246
|
+
? defaultId
|
|
247
|
+
: newest;
|
|
248
|
+
useEffect(() => {
|
|
249
|
+
if (list.loaded && pinned !== defaultId) setDefaultId(pinned);
|
|
250
|
+
}, [defaultId, list.loaded, pinned]);
|
|
251
|
+
|
|
252
|
+
// Choosing a conversation anywhere (the rail, a link) ends composing.
|
|
253
|
+
// Returning to the Site itself, as its rail row does, opens its newest.
|
|
254
|
+
const previousConversation = useRef(conversation);
|
|
255
|
+
const startingNew = useRef(false);
|
|
256
|
+
useEffect(() => {
|
|
257
|
+
const previous = previousConversation.current;
|
|
258
|
+
previousConversation.current = conversation;
|
|
259
|
+
if (conversation) setComposing(false);
|
|
260
|
+
else if (previous && !startingNew.current) setDefaultId(undefined);
|
|
261
|
+
startingNew.current = false;
|
|
262
|
+
}, [conversation]);
|
|
263
|
+
|
|
264
|
+
const toSite = useCallback(
|
|
265
|
+
(search: { conversation?: string }, replace = false) =>
|
|
266
|
+
void navigate({
|
|
267
|
+
to: SITE_ROUTE,
|
|
268
|
+
params: { workspaceId, siteId },
|
|
269
|
+
search,
|
|
270
|
+
...(replace ? { replace: true } : {}),
|
|
271
|
+
}),
|
|
272
|
+
[navigate, siteId, workspaceId],
|
|
273
|
+
);
|
|
274
|
+
|
|
275
|
+
// A link may name a conversation that isn't this Site's, or one since
|
|
276
|
+
// archived or deleted; fall back to the Site's own.
|
|
277
|
+
const listed = !conversation || list.sessions.some((session) => session.id === conversation);
|
|
278
|
+
// Through a ref: a host's navigate may change identity on every render.
|
|
279
|
+
const fallBack = useRef(() => {});
|
|
280
|
+
useEffect(() => {
|
|
281
|
+
fallBack.current = () => toSite({}, true);
|
|
282
|
+
}, [toSite]);
|
|
283
|
+
useEffect(() => {
|
|
284
|
+
if (!conversation || !list.loaded || listed) return;
|
|
285
|
+
const abort = new AbortController();
|
|
286
|
+
context.client.getSession(workspaceId, conversation, { signal: abort.signal }).then(
|
|
287
|
+
(session) => {
|
|
288
|
+
if (abort.signal.aborted) return;
|
|
289
|
+
if (
|
|
290
|
+
sessionSiteOrigin(session)?.siteId !== siteId ||
|
|
291
|
+
session.parentSessionId !== null ||
|
|
292
|
+
session.archived
|
|
293
|
+
)
|
|
294
|
+
fallBack.current();
|
|
295
|
+
},
|
|
296
|
+
(failure: unknown) => {
|
|
297
|
+
if (
|
|
298
|
+
!abort.signal.aborted &&
|
|
299
|
+
failure instanceof OpenGeniApiError &&
|
|
300
|
+
[403, 404].includes(failure.status)
|
|
301
|
+
)
|
|
302
|
+
fallBack.current();
|
|
303
|
+
},
|
|
304
|
+
);
|
|
305
|
+
return () => abort.abort();
|
|
306
|
+
}, [context.client, conversation, list.loaded, listed, siteId, workspaceId]);
|
|
307
|
+
|
|
308
|
+
// Move focus to the composer New opened, or to the new conversation's.
|
|
309
|
+
useEffect(() => {
|
|
310
|
+
if (focusRequest === 0) return;
|
|
311
|
+
let frame = 0;
|
|
312
|
+
let tries = 0;
|
|
313
|
+
const attempt = () => {
|
|
314
|
+
const input = panel.current?.querySelector<HTMLTextAreaElement>("textarea:not([disabled])");
|
|
315
|
+
if (input) input.focus();
|
|
316
|
+
else if ((tries += 1) < 60) frame = requestAnimationFrame(attempt);
|
|
317
|
+
};
|
|
318
|
+
frame = requestAnimationFrame(attempt);
|
|
319
|
+
return () => cancelAnimationFrame(frame);
|
|
320
|
+
}, [focusRequest]);
|
|
321
|
+
|
|
322
|
+
const ready = site.status === "ready" ? site : null;
|
|
323
|
+
const canCreate =
|
|
324
|
+
hasWorkspacePermission(context.accessContext, workspaceId, "sessions:create") &&
|
|
325
|
+
ready !== null &&
|
|
326
|
+
ready.versionId !== null &&
|
|
327
|
+
!ready.archived;
|
|
328
|
+
const selectedId = composing ? null : (conversation ?? pinned);
|
|
329
|
+
const showComposer = composing || (list.loaded && selectedId === null);
|
|
330
|
+
const startNew = () => {
|
|
331
|
+
setComposing(true);
|
|
332
|
+
setFocusRequest((request) => request + 1);
|
|
333
|
+
// Nothing is selected while composing, so the rail marks the Site.
|
|
334
|
+
if (conversation) {
|
|
335
|
+
startingNew.current = true;
|
|
336
|
+
toSite({});
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
// Created like the Site's own chats: private to this person and listed
|
|
340
|
+
// under the Site. The API refuses anything else a Site may not set.
|
|
341
|
+
const versionId = ready?.versionId ?? null;
|
|
342
|
+
const createSession = useCallback(
|
|
343
|
+
async (
|
|
344
|
+
initialMessage: string,
|
|
345
|
+
idempotencyKey: string,
|
|
346
|
+
options: NewConversationCreateOptions,
|
|
347
|
+
): Promise<string> => {
|
|
348
|
+
if (!versionId) throw new Error("This Site has no published version yet.");
|
|
349
|
+
const created = await api.request<Pick<Session, "id">>(
|
|
350
|
+
`/v1/workspaces/${encodeURIComponent(workspaceId)}/sessions`,
|
|
351
|
+
{
|
|
352
|
+
method: "POST",
|
|
353
|
+
headers: { [SITE_ID_HEADER]: siteId, [SITE_VERSION_HEADER]: versionId },
|
|
354
|
+
body: JSON.stringify({
|
|
355
|
+
initialMessage,
|
|
356
|
+
idempotencyKey,
|
|
357
|
+
...(options.model ? { model: options.model } : {}),
|
|
358
|
+
...(options.reasoningEffort ? { reasoningEffort: options.reasoningEffort } : {}),
|
|
359
|
+
...(options.latencyMode ? { latencyMode: options.latencyMode } : {}),
|
|
360
|
+
}),
|
|
361
|
+
},
|
|
362
|
+
);
|
|
363
|
+
return created.id;
|
|
364
|
+
},
|
|
365
|
+
[api, siteId, versionId, workspaceId],
|
|
366
|
+
);
|
|
367
|
+
const conversations = list.sessions;
|
|
368
|
+
const handedOff = handoff !== null && handoff.sessionId === selectedId ? handoff : null;
|
|
369
|
+
// The handoff is for the conversation's first open only.
|
|
370
|
+
useEffect(() => {
|
|
371
|
+
if (handoff && selectedId !== null && selectedId !== handoff.sessionId) setHandoff(null);
|
|
372
|
+
}, [handoff, selectedId]);
|
|
373
|
+
// Focus follows a new conversation once it, not the composer, is mounted.
|
|
374
|
+
const handoffId = handoff?.sessionId ?? null;
|
|
375
|
+
useEffect(() => {
|
|
376
|
+
if (handoffId !== null && selectedId === handoffId) setFocusRequest((request) => request + 1);
|
|
377
|
+
}, [handoffId, selectedId]);
|
|
378
|
+
return (
|
|
379
|
+
<aside
|
|
380
|
+
ref={panel}
|
|
381
|
+
aria-labelledby={headingId}
|
|
382
|
+
className="flex min-h-0 w-[400px] shrink-0 flex-col border-l border-border bg-bg max-xl:w-[360px] max-lg:h-[55%] max-lg:w-full max-lg:border-t max-lg:border-l-0"
|
|
383
|
+
>
|
|
384
|
+
<div className="flex h-11 shrink-0 items-center gap-1 border-b border-border pr-2 pl-4">
|
|
385
|
+
<h2 id={headingId} className="min-w-0 flex-1 truncate text-sm font-medium text-fg">
|
|
386
|
+
Conversations
|
|
387
|
+
</h2>
|
|
388
|
+
{canCreate ? (
|
|
389
|
+
<Button
|
|
390
|
+
type="button"
|
|
391
|
+
variant={showComposer ? "secondary" : "ghost"}
|
|
392
|
+
size="sm"
|
|
393
|
+
className="pointer-coarse:h-11"
|
|
394
|
+
onClick={startNew}
|
|
395
|
+
>
|
|
396
|
+
<PlusIcon aria-hidden="true" className="size-3.5" />
|
|
397
|
+
New
|
|
398
|
+
</Button>
|
|
399
|
+
) : null}
|
|
400
|
+
<DropdownMenu>
|
|
401
|
+
<DropdownMenuTrigger asChild>
|
|
402
|
+
<Button
|
|
403
|
+
type="button"
|
|
404
|
+
variant="ghost"
|
|
405
|
+
size="icon-sm"
|
|
406
|
+
aria-label="More"
|
|
407
|
+
className="text-fg-muted hover:text-fg pointer-coarse:size-11"
|
|
408
|
+
>
|
|
409
|
+
<MoreHorizontalIcon aria-hidden="true" className="size-4" />
|
|
410
|
+
</Button>
|
|
411
|
+
</DropdownMenuTrigger>
|
|
412
|
+
<DropdownMenuContent align="end" className="w-48">
|
|
413
|
+
{selectedId ? (
|
|
414
|
+
<DropdownMenuItem asChild>
|
|
415
|
+
<Link
|
|
416
|
+
to="/workspaces/$workspaceId/sessions/$sessionId"
|
|
417
|
+
params={{ workspaceId, sessionId: selectedId }}
|
|
418
|
+
>
|
|
419
|
+
<Maximize2Icon aria-hidden="true" />
|
|
420
|
+
Open as a full chat
|
|
421
|
+
</Link>
|
|
422
|
+
</DropdownMenuItem>
|
|
423
|
+
) : null}
|
|
424
|
+
<DropdownMenuItem asChild>
|
|
425
|
+
<Link
|
|
426
|
+
to="/workspaces/$workspaceId/artifacts/$artifactId"
|
|
427
|
+
params={{ workspaceId, artifactId: siteId }}
|
|
428
|
+
>
|
|
429
|
+
<InfoIcon aria-hidden="true" />
|
|
430
|
+
Site details
|
|
431
|
+
</Link>
|
|
432
|
+
</DropdownMenuItem>
|
|
433
|
+
</DropdownMenuContent>
|
|
434
|
+
</DropdownMenu>
|
|
435
|
+
</div>
|
|
436
|
+
{conversations.length > (showComposer ? 0 : 1) ? (
|
|
437
|
+
<nav
|
|
438
|
+
aria-label={`Conversations in ${ready?.title ?? "this Site"}`}
|
|
439
|
+
className="max-h-[172px] shrink-0 overflow-y-auto border-b border-border p-1.5"
|
|
440
|
+
>
|
|
441
|
+
<ul className="flex flex-col gap-px">
|
|
442
|
+
{conversations.map((session) => (
|
|
443
|
+
<ConversationRow
|
|
444
|
+
key={session.id}
|
|
445
|
+
workspaceId={workspaceId}
|
|
446
|
+
siteId={siteId}
|
|
447
|
+
session={session}
|
|
448
|
+
selected={session.id === selectedId}
|
|
449
|
+
/>
|
|
450
|
+
))}
|
|
451
|
+
</ul>
|
|
452
|
+
{list.nextCursor ? (
|
|
453
|
+
<button
|
|
454
|
+
type="button"
|
|
455
|
+
disabled={list.loadingMore}
|
|
456
|
+
onClick={() => void list.loadMore()}
|
|
457
|
+
className="mt-px flex h-8 w-full items-center rounded-md px-2 text-left text-xs text-fg-muted hover:bg-hover hover:text-fg pointer-coarse:h-11"
|
|
458
|
+
>
|
|
459
|
+
{list.loadingMore ? "Loading…" : "Show older"}
|
|
460
|
+
</button>
|
|
461
|
+
) : null}
|
|
462
|
+
</nav>
|
|
463
|
+
) : null}
|
|
464
|
+
<div className="flex min-h-0 flex-1 flex-col">
|
|
465
|
+
{!list.loaded && !conversation ? (
|
|
466
|
+
list.error ? (
|
|
467
|
+
<Retry message="Couldn’t load conversations." onRetry={() => void list.refresh()} />
|
|
468
|
+
) : (
|
|
469
|
+
<PanelLoading label="Loading conversations" />
|
|
470
|
+
)
|
|
471
|
+
) : showComposer ? (
|
|
472
|
+
canCreate ? (
|
|
473
|
+
<NewConversation
|
|
474
|
+
key={`new:${siteId}`}
|
|
475
|
+
createSession={createSession}
|
|
476
|
+
attachments={false}
|
|
477
|
+
// Voice-first chats aren't offered from a Site.
|
|
478
|
+
realtimeVoice={false}
|
|
479
|
+
labels={{ title: ready ? `Ask about ${ready.title}` : "New conversation" }}
|
|
480
|
+
onCreated={(created) => {
|
|
481
|
+
setHandoff(created);
|
|
482
|
+
void list.refresh();
|
|
483
|
+
// Opening it ends composing, like any other choice.
|
|
484
|
+
toSite({ conversation: created.sessionId });
|
|
485
|
+
}}
|
|
486
|
+
className="min-h-0 flex-1"
|
|
487
|
+
/>
|
|
488
|
+
) : site.status === "loading" ? (
|
|
489
|
+
<PanelLoading label="Loading Site" />
|
|
490
|
+
) : site.status === "error" ? (
|
|
491
|
+
<Retry message="Couldn’t load this Site." onRetry={retrySite} />
|
|
492
|
+
) : (
|
|
493
|
+
<p className="p-4 text-sm text-fg-muted">
|
|
494
|
+
{ready?.archived
|
|
495
|
+
? "No conversations yet."
|
|
496
|
+
: "No conversations yet. Conversations started in this Site appear here."}
|
|
497
|
+
</p>
|
|
498
|
+
)
|
|
499
|
+
) : selectedId ? (
|
|
500
|
+
<SessionConversation
|
|
501
|
+
key={selectedId}
|
|
502
|
+
sessionId={selectedId}
|
|
503
|
+
// The first prompt and anything typed meanwhile carry over.
|
|
504
|
+
{...(handedOff?.initialMessage
|
|
505
|
+
? { pendingPrompt: { text: handedOff.initialMessage, sentAt: handedOff.sentAt } }
|
|
506
|
+
: {})}
|
|
507
|
+
{...(handedOff ? { composerOptions: { initialDraft: handedOff.draft } } : {})}
|
|
508
|
+
onOpenSession={(sessionId) =>
|
|
509
|
+
void navigate({
|
|
510
|
+
to: "/workspaces/$workspaceId/sessions/$sessionId",
|
|
511
|
+
params: { workspaceId, sessionId },
|
|
512
|
+
})
|
|
513
|
+
}
|
|
514
|
+
className="min-h-0 flex-1"
|
|
515
|
+
/>
|
|
516
|
+
) : null}
|
|
517
|
+
</div>
|
|
518
|
+
</aside>
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
function PanelLoading({ label }: { label: string }) {
|
|
523
|
+
return (
|
|
524
|
+
<div className="flex flex-col gap-3 p-4" aria-busy="true">
|
|
525
|
+
<Skeleton className="h-4 w-2/3" />
|
|
526
|
+
<Skeleton className="h-16 w-full rounded-lg" />
|
|
527
|
+
<span className="sr-only" role="status">
|
|
528
|
+
{label}
|
|
529
|
+
</span>
|
|
530
|
+
</div>
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
function Retry({ message, onRetry }: { message: string; onRetry: () => void }) {
|
|
535
|
+
return (
|
|
536
|
+
<p className="p-4 text-sm text-fg-muted">
|
|
537
|
+
{message}{" "}
|
|
538
|
+
<button type="button" className="text-fg underline underline-offset-2" onClick={onRetry}>
|
|
539
|
+
Try again
|
|
540
|
+
</button>
|
|
541
|
+
</p>
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
function ConversationRow({
|
|
546
|
+
workspaceId,
|
|
547
|
+
siteId,
|
|
548
|
+
session,
|
|
549
|
+
selected,
|
|
550
|
+
}: {
|
|
551
|
+
workspaceId: string;
|
|
552
|
+
siteId: string;
|
|
553
|
+
session: Session;
|
|
554
|
+
selected: boolean;
|
|
555
|
+
}) {
|
|
556
|
+
const title = sessionDisplayTitle(session);
|
|
557
|
+
const running = isRunningStatus(session.status);
|
|
558
|
+
return (
|
|
559
|
+
<li>
|
|
560
|
+
<Link
|
|
561
|
+
to={SITE_ROUTE}
|
|
562
|
+
params={{ workspaceId, siteId }}
|
|
563
|
+
search={{ conversation: session.id }}
|
|
564
|
+
aria-current={selected ? "page" : undefined}
|
|
565
|
+
aria-label={`${title}. ${sessionStateLabel(session)}. Updated ${formatTimestamp(session.updatedAt)}`}
|
|
566
|
+
className={cn(
|
|
567
|
+
"flex h-8 items-center gap-2 rounded-md border px-2 text-sm outline-hidden focus-visible:ring-2 focus-visible:ring-ring/40 pointer-coarse:h-11",
|
|
568
|
+
selected
|
|
569
|
+
? "border-brand/20 bg-selection text-fg"
|
|
570
|
+
: "border-transparent text-fg-label hover:bg-hover hover:text-fg",
|
|
571
|
+
)}
|
|
572
|
+
>
|
|
573
|
+
<span className="min-w-0 flex-1 truncate">{title}</span>
|
|
574
|
+
{running ? (
|
|
575
|
+
<span aria-hidden="true" className="size-1.5 shrink-0 rounded-full bg-status-running" />
|
|
576
|
+
) : null}
|
|
577
|
+
<span aria-hidden="true" className="shrink-0 text-xs tabular-nums text-fg-subtle">
|
|
578
|
+
{relativeTimeLabel(t, session.updatedAt)}
|
|
579
|
+
</span>
|
|
580
|
+
</Link>
|
|
581
|
+
</li>
|
|
582
|
+
);
|
|
583
|
+
}
|
|
@@ -76,7 +76,11 @@ import {
|
|
|
76
76
|
isInteractionControlUnavailable,
|
|
77
77
|
isSourcePlacementChangedError,
|
|
78
78
|
} from "../lib/interaction-errors";
|
|
79
|
-
import
|
|
79
|
+
import { useClientConfigFlags } from "../hooks/use-client-config-flags";
|
|
80
|
+
import {
|
|
81
|
+
type EmbeddedBrowserInteractionClientOverride,
|
|
82
|
+
useEmbeddedBrowserInteraction,
|
|
83
|
+
} from "../session-context";
|
|
80
84
|
import { browserKey, HUMAN_BROWSER_HOME_URL, normalizeBrowserAddress } from "./browser-input";
|
|
81
85
|
import { InteractionInterventionBanner } from "./interaction-intervention-banner";
|
|
82
86
|
import { BrowserSelectControl } from "./browser-select-control";
|
|
@@ -187,6 +191,9 @@ export function BrowserViewer({
|
|
|
187
191
|
const t = useOpenGeniText();
|
|
188
192
|
const registry = useBrowserSessions({ ...override, sessionId, enabled });
|
|
189
193
|
const attached = useAttachedBrowsers({ ...override, enabled });
|
|
194
|
+
const { client: configClient } = useEmbeddedBrowserInteraction(override);
|
|
195
|
+
// The deployment's own branded extension when it ships one.
|
|
196
|
+
const browserExtensionName = useClientConfigFlags(configClient as never).browserExtension?.name;
|
|
190
197
|
const onlineAttachedBridges = useMemo(
|
|
191
198
|
() => attached.bridges.filter((bridge) => bridge.state === "online"),
|
|
192
199
|
[attached.bridges],
|
|
@@ -857,6 +864,7 @@ export function BrowserViewer({
|
|
|
857
864
|
onCreate={createBrowser}
|
|
858
865
|
onRestore={(identity) => updateProfile(identity, { status: "active" })}
|
|
859
866
|
setupUrl={browserExtensionSetupUrl}
|
|
867
|
+
extensionName={browserExtensionName}
|
|
860
868
|
prominent
|
|
861
869
|
/>
|
|
862
870
|
{registry.error ? (
|
|
@@ -901,6 +909,7 @@ export function BrowserViewer({
|
|
|
901
909
|
}
|
|
902
910
|
onRefresh={() => void Promise.all([registry.refresh(), attached.refresh()])}
|
|
903
911
|
setupUrl={browserExtensionSetupUrl}
|
|
912
|
+
extensionName={browserExtensionName}
|
|
904
913
|
/>
|
|
905
914
|
<InteractionInterventionBanner
|
|
906
915
|
interventions={selectedInterventions}
|
|
@@ -1210,6 +1219,7 @@ function BrowserToolbar(props: {
|
|
|
1210
1219
|
onOpenProfileVersion: (identityId: string, baseRevisionId: string) => void;
|
|
1211
1220
|
onRefresh: () => void;
|
|
1212
1221
|
setupUrl?: string | undefined;
|
|
1222
|
+
extensionName?: string | undefined;
|
|
1213
1223
|
}) {
|
|
1214
1224
|
const t = useOpenGeniText();
|
|
1215
1225
|
const detailsRef = useViewerMenuDismiss();
|
|
@@ -1293,6 +1303,7 @@ function BrowserToolbar(props: {
|
|
|
1293
1303
|
onCreate={props.onCreate}
|
|
1294
1304
|
onRestore={(identity) => props.onUpdateProfile(identity, { status: "active" })}
|
|
1295
1305
|
setupUrl={props.setupUrl}
|
|
1306
|
+
extensionName={props.extensionName}
|
|
1296
1307
|
/>
|
|
1297
1308
|
</div>
|
|
1298
1309
|
);
|
|
@@ -1427,6 +1438,7 @@ function BrowserLaunchMenu(props: {
|
|
|
1427
1438
|
onCreate: (choice?: BrowserLaunchChoice) => void;
|
|
1428
1439
|
onRestore: (identity: BrowserIdentity) => Promise<boolean>;
|
|
1429
1440
|
setupUrl?: string | undefined;
|
|
1441
|
+
extensionName?: string | undefined;
|
|
1430
1442
|
prominent?: boolean;
|
|
1431
1443
|
}) {
|
|
1432
1444
|
const t = useOpenGeniText();
|
|
@@ -1526,7 +1538,9 @@ function BrowserLaunchMenu(props: {
|
|
|
1526
1538
|
{t("browserViewer.chromeConnectionReady")}
|
|
1527
1539
|
</span>
|
|
1528
1540
|
<span className="block text-og-xs leading-4 text-og-fg-subtle">
|
|
1529
|
-
{t("browserViewer.installTheOpengeniBrowserExtension"
|
|
1541
|
+
{t("browserViewer.installTheOpengeniBrowserExtension", {
|
|
1542
|
+
extensionName: props.extensionName ?? "Opengeni Browser",
|
|
1543
|
+
})}
|
|
1530
1544
|
</span>
|
|
1531
1545
|
</span>
|
|
1532
1546
|
</div>
|