@opengeni/react 6.37.0 → 6.37.1-canary.45151322135001
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/README.md +5 -4
- package/dist/app/app-state.js +29 -29
- package/dist/app/components/Composer.js +44 -44
- package/dist/app/components/add-card-dialog.js +1 -1
- package/dist/app/components/add-card.js +2 -2
- package/dist/app/components/agent/agent-capability-picker.js +6 -6
- package/dist/app/components/agents/agent-can-use.js +45 -45
- package/dist/app/components/agents/agent-form-page.js +135 -135
- package/dist/app/components/agents/agent-page.js +116 -116
- package/dist/app/components/agents/agent-setup-sections.js +71 -71
- package/dist/app/components/agents/agent-skills.js +11 -11
- package/dist/app/components/agents/agent-trigger-chat-field.js +2 -2
- package/dist/app/components/agents/agent-trigger-dialog.js +26 -26
- package/dist/app/components/agents/agent-trigger-picker.js +6 -6
- package/dist/app/components/agents/agent-trigger-repositories.js +8 -8
- package/dist/app/components/agents/agents-page.js +93 -93
- package/dist/app/components/agents/composer-agent-chip.js +57 -57
- package/dist/app/components/agents/session-agent-chip.js +53 -53
- package/dist/app/components/artifacts/app-package.js +10 -10
- package/dist/app/components/artifacts/artifact-browse-controls.js +3 -3
- package/dist/app/components/artifacts/artifact-library.js +27 -27
- package/dist/app/components/artifacts/artifact-page-chrome.js +1 -1
- package/dist/app/components/artifacts/artifact-viewer.js +66 -66
- package/dist/app/components/artifacts/chat-interactive-block.js +27 -27
- package/dist/app/components/artifacts/copy-artifact-link.js +1 -1
- package/dist/app/components/artifacts/file-reach-dialog.js +11 -11
- package/dist/app/components/artifacts/inline-chat-image.js +50 -50
- package/dist/app/components/artifacts/ready-made-apps.js +9 -9
- package/dist/app/components/artifacts/retained-file-preview.js +56 -56
- package/dist/app/components/artifacts/retained-text-preview.js +7 -7
- package/dist/app/components/artifacts/site-actions.js +12 -12
- package/dist/app/components/artifacts/site-audience.js +5 -5
- package/dist/app/components/artifacts/site-conversations.js +32 -32
- package/dist/app/components/artifacts/site-data.js +25 -25
- package/dist/app/components/artifacts/site-public-link.js +3 -3
- package/dist/app/components/artifacts/site-publishing-page.js +65 -65
- package/dist/app/components/artifacts/site-publishing.js +50 -50
- package/dist/app/components/artifacts/site-settings.js +64 -64
- package/dist/app/components/artifacts/site-version-menu.js +7 -7
- package/dist/app/components/billing-class-mark.js +6 -6
- package/dist/app/components/capabilities/capability-detail-sheet.js +16 -16
- package/dist/app/components/capabilities/capability-logo-source.js +26 -26
- package/dist/app/components/capabilities/capability-logo.js +1 -1
- package/dist/app/components/capabilities/connection-account-picker.js +2 -2
- package/dist/app/components/capabilities/connector-tool-permissions.js +5 -5
- package/dist/app/components/capabilities/native-connect-setup.js +29 -29
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +5 -5
- package/dist/app/components/capabilities/perform-capability-action.js +4 -4
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +29 -29
- package/dist/app/components/capabilities/session-capability-card.js +135 -135
- package/dist/app/components/capabilities/session-chrome-card.js +47 -47
- package/dist/app/components/capabilities/session-connect-inputs-card.js +32 -32
- package/dist/app/components/capabilities/session-custom-mcp-card.js +37 -37
- package/dist/app/components/capabilities/session-github-card.js +42 -42
- package/dist/app/components/capabilities/session-machine-card.js +48 -48
- package/dist/app/components/capabilities/session-personal-github-card.js +30 -30
- package/dist/app/components/capabilities/session-plugin-card.js +19 -19
- package/dist/app/components/capabilities/use-capabilities-catalog.js +1 -1
- package/dist/app/components/capabilities/use-connection-accounts.js +3 -3
- package/dist/app/components/chat-payment-pages.js +2 -2
- package/dist/app/components/command-menu/chat-status.js +23 -23
- package/dist/app/components/command-menu/chat-switcher.js +81 -81
- package/dist/app/components/command-menu/command-menu.js +105 -105
- package/dist/app/components/command-menu/shortcut-sheet.js +22 -22
- package/dist/app/components/composer-capabilities-menu-body.js +5 -5
- package/dist/app/components/composer-mobile-plus-panel.js +26 -26
- package/dist/app/components/composer-mobile-plus.js +3 -3
- package/dist/app/components/credit-required-gate.js +6 -6
- package/dist/app/components/credit-required-prompt.js +20 -20
- package/dist/app/components/credits/checkout-credits-celebration.js +1 -1
- package/dist/app/components/credits/checkout-return.js +1 -1
- package/dist/app/components/credits/coupon-redeem.js +1 -1
- package/dist/app/components/credits/credit-refusal-notice.js +8 -8
- package/dist/app/components/credits/own-subscription-plan-notice.js +3 -3
- package/dist/app/components/desktop/app-shots.js +8 -8
- package/dist/app/components/desktop/app-update.js +3 -3
- package/dist/app/components/desktop/computer-use.js +2 -2
- package/dist/app/components/desktop/this-computer.js +5 -5
- package/dist/app/components/feedback.js +9 -9
- package/dist/app/components/follow-up-repository-menu-body.js +14 -14
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +2 -2
- package/dist/app/components/in-app-help-link.js +3 -3
- package/dist/app/components/knowledge/agent-learning-settings.js +3 -3
- package/dist/app/components/machines/connect-machine-dialog.js +23 -23
- package/dist/app/components/manual-repository-editor.js +3 -3
- package/dist/app/components/markdown.js +15 -15
- package/dist/app/components/model-identity.js +3 -3
- package/dist/app/components/models/models-ui.js +16 -16
- package/dist/app/components/models/provider-mark.js +3 -3
- package/dist/app/components/my-things.js +14 -14
- package/dist/app/components/own-where-it-works.js +9 -9
- package/dist/app/components/pickers.js +11 -11
- package/dist/app/components/rail/channel-create-dialog.js +5 -5
- package/dist/app/components/rail/project-glyph.js +50 -50
- package/dist/app/components/rail/project-profile.js +68 -68
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +153 -153
- package/dist/app/components/rail/session-header.js +120 -120
- package/dist/app/components/rail/session-list.js +149 -149
- package/dist/app/components/rail/session-row-content.js +4 -4
- package/dist/app/components/rail/session-row-hover-details.js +35 -35
- package/dist/app/components/rail/session-shell.js +192 -192
- package/dist/app/components/rail/site-session-group-heading.js +35 -35
- package/dist/app/components/repository-picker.js +14 -14
- package/dist/app/components/secrets/session-secrets-panel.js +4 -4
- package/dist/app/components/session/agent-configuration-panel.js +45 -45
- package/dist/app/components/session/artifact-session-page.js +7 -7
- package/dist/app/components/session/banners.js +20 -20
- package/dist/app/components/session/chat-avatar.js +50 -50
- package/dist/app/components/session/console-new-conversation.js +109 -109
- package/dist/app/components/session/descendant-requests.js +103 -103
- package/dist/app/components/session/editable-artifacts-workspace.js +58 -58
- package/dist/app/components/session/failed-session-banner.js +24 -24
- package/dist/app/components/session/human-input-delegation-record.js +2 -2
- package/dist/app/components/session/human-input.js +82 -82
- package/dist/app/components/session/inspector.js +140 -140
- package/dist/app/components/session/message-actions.js +9 -9
- package/dist/app/components/session/model-recovery-notice.js +3 -3
- package/dist/app/components/session/new-session-settings-menu.js +26 -26
- package/dist/app/components/session/new-session-setup-strip.js +53 -53
- package/dist/app/components/session/pull-request-panel.js +24 -24
- package/dist/app/components/session/sandbox-switcher.js +22 -22
- package/dist/app/components/session/sandbox-workspace.js +113 -113
- package/dist/app/components/session/search-markdown-highlight.js +16 -16
- package/dist/app/components/session/search-results-view.js +17 -17
- package/dist/app/components/session/session-admin-access.js +12 -12
- package/dist/app/components/session/session-admission-notice.js +10 -10
- package/dist/app/components/session/session-avatar-picker.js +57 -57
- package/dist/app/components/session/session-avatar.js +52 -52
- package/dist/app/components/session/session-machine-access-notice.js +10 -10
- package/dist/app/components/session/session-profile-dialog.js +65 -65
- package/dist/app/components/session/session-profile-editor.js +66 -66
- package/dist/app/components/session/session-retention.js +5 -5
- package/dist/app/components/session/session-search-dialog.js +20 -20
- package/dist/app/components/session/session-skill-reviews.js +5 -5
- package/dist/app/components/session/session-tenancy-control.js +24 -24
- package/dist/app/components/session/session-unattended-setting.js +1 -1
- package/dist/app/components/session/session-usage-limit-section.js +10 -10
- package/dist/app/components/session/share-chat-dialog.js +8 -8
- package/dist/app/components/session/subagents.js +21 -21
- package/dist/app/components/session/subscription-account-indicator.js +21 -21
- package/dist/app/components/session/subscription-account-menu.js +2 -2
- package/dist/app/components/session-connectors-menu-body.js +10 -10
- package/dist/app/components/settings/row-select.js +3 -3
- package/dist/app/components/toaster.js +2 -2
- package/dist/app/components/transcription-settings.js +5 -5
- package/dist/app/components/ui/destructive-confirm.js +9 -9
- package/dist/app/components/usage/usage-entry.js +7 -7
- package/dist/app/components/window-bar.js +22 -22
- package/dist/app/components/workspace-composer-plus.js +41 -41
- package/dist/app/components/workspace-reach.js +5 -5
- package/dist/app/embed/session-app.js +396 -396
- package/dist/app/lib/actions/actions-provider.js +16 -16
- package/dist/app/lib/agent-capabilities.js +1 -1
- package/dist/app/lib/app-connect-card.js +11 -11
- package/dist/app/lib/app-shared-key-dialog.js +5 -5
- package/dist/app/lib/app-surfaces.js +1 -1
- package/dist/app/lib/app-sync-opt-in.js +1 -1
- package/dist/app/lib/codex-usage-query.js +2 -2
- package/dist/app/lib/composer-agent.js +2 -2
- package/dist/app/lib/composer-connectors.js +30 -30
- package/dist/app/lib/composer-send-blocking.js +2 -2
- package/dist/app/lib/console-site.js +4 -4
- package/dist/app/lib/events.js +27 -27
- package/dist/app/lib/failed-session-copy.js +3 -3
- package/dist/app/lib/feedback-capture.js +2 -2
- package/dist/app/lib/model-access-onboarding.js +1 -1
- package/dist/app/lib/move-chat-to-machine.js +2 -2
- package/dist/app/lib/personal-resource-attachments.js +1 -1
- package/dist/app/lib/session-branch-cache.js +16 -16
- package/dist/app/lib/session-create.js +2 -2
- package/dist/app/lib/session-group-pagination.js +16 -16
- package/dist/app/lib/session-hover-facts.js +24 -24
- package/dist/app/lib/session-list-dirty-scopes.js +17 -17
- package/dist/app/lib/session-rail.js +14 -14
- package/dist/app/lib/sessions-group.js +19 -19
- package/dist/app/lib/site-tool-consent-dialog.js +20 -20
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +4 -4
- package/dist/app/lib/use-artifact-catalog.js +2 -2
- package/dist/app/lib/use-duplicate-site.js +4 -4
- package/dist/app/lib/use-follow-up-repositories.js +2 -2
- package/dist/app/lib/use-personal-resource-attachment.js +2 -2
- package/dist/app/lib/use-workspace-machines.js +8 -8
- package/dist/app/lib/use-workspace-model-catalog.js +4 -4
- package/dist/app/lib/use-workspace-rigs.js +5 -5
- package/dist/app/lib/workspace-navigation-preference.js +1 -1
- package/dist/app/lib/workspace-scope-context.js +1 -1
- package/dist/app/routes/app-page-view.js +18 -18
- package/dist/app/routes/app-page.js +2 -2
- package/dist/app/routes/artifacts.js +145 -145
- package/dist/app/routes/retained-artifact.js +108 -108
- package/dist/app/routes/session-unavailable.js +5 -5
- package/dist/app/routes/session.js +243 -243
- package/dist/app/routes/sessions-index-hydration.js +2 -2
- package/dist/app/routes/sessions-index.js +201 -201
- package/dist/app/routes/site-view.js +195 -195
- package/dist/artifacts-presentation.js +5 -5
- package/dist/artifacts.js +47 -47
- package/dist/automation-model.js +1 -1
- package/dist/automations.js +61 -61
- package/dist/{browser-viewer-5JGSKIXX.js → browser-viewer-EPGAK2W6.js} +7 -7
- package/dist/{chat-interactive-block-NEDFTOGE.js → chat-interactive-block-65YU6TMO.js} +9 -9
- package/dist/{chunk-E7FNLQXM.js → chunk-266ZPUMH.js} +2 -2
- package/dist/{chunk-SN2QZSJU.js → chunk-2A7SB7UR.js} +10 -10
- package/dist/{chunk-VVLUVHF5.js → chunk-2F7VSGRS.js} +4 -4
- package/dist/{chunk-PJ66EIWE.js → chunk-2LIDFNPL.js} +3 -3
- package/dist/{chunk-PKH6MYAK.js → chunk-2WGJQ4XK.js} +8 -8
- package/dist/{chunk-XZRMTHHW.js → chunk-2XSF44TY.js} +2 -2
- package/dist/{chunk-T2N6JC5H.js → chunk-352G4KMU.js} +2 -2
- package/dist/{chunk-L2Q4HMVJ.js → chunk-3NFBAJVP.js} +4 -4
- package/dist/{chunk-KPTKQULD.js → chunk-3SDESU6U.js} +5 -5
- package/dist/{chunk-J5D5OCQF.js → chunk-3UJKCVZ3.js} +9 -9
- package/dist/{chunk-M4ZYHLFU.js → chunk-3VXZFBP6.js} +9 -9
- package/dist/{chunk-YL2NFFXW.js → chunk-3WDNCSVU.js} +2 -2
- package/dist/{chunk-YR7U2KDA.js → chunk-3YE4C3VF.js} +10 -10
- package/dist/{chunk-HYNTTDG6.js → chunk-3ZNOKD3S.js} +7 -7
- package/dist/{chunk-VIKXHP44.js → chunk-45SB4UK3.js} +5 -5
- package/dist/{chunk-UPRN4FBY.js → chunk-46ZC5VNC.js} +4 -4
- package/dist/{chunk-Z7UBLC6V.js → chunk-47BETTVA.js} +2 -2
- package/dist/{chunk-PJ42LTJE.js → chunk-4JQRWJVR.js} +4 -4
- package/dist/{chunk-XCEHQ3SO.js → chunk-4NGIKV2W.js} +5 -5
- package/dist/{chunk-F23TR625.js → chunk-4WEPVL7X.js} +3 -3
- package/dist/{chunk-YJYKB6ZT.js → chunk-55UOLOEE.js} +5 -5
- package/dist/{chunk-BVFOLLMQ.js → chunk-5HFITPHH.js} +2 -2
- package/dist/{chunk-UBM3IM6K.js → chunk-5PVXFVIT.js} +2 -2
- package/dist/{chunk-DNRVXHUW.js → chunk-5WFGW7B7.js} +8 -8
- package/dist/{chunk-2PTBF6GM.js → chunk-5YMSLKJP.js} +3 -3
- package/dist/{chunk-HZ5DTSAG.js → chunk-62EXH6FY.js} +2 -2
- package/dist/{chunk-HWOYJOKK.js → chunk-62T2ZPD5.js} +2 -2
- package/dist/{chunk-6ZJU2B3Z.js → chunk-634Q4QOS.js} +2 -2
- package/dist/{chunk-PMBZMVKE.js → chunk-6CDBX3XG.js} +2 -2
- package/dist/{chunk-R6CFPY3F.js → chunk-6D3D2JWY.js} +4 -4
- package/dist/{chunk-OEOLXODE.js → chunk-6ENO634Y.js} +6 -6
- package/dist/{chunk-IHX5BADQ.js → chunk-6LQ5KEMP.js} +2 -2
- package/dist/{chunk-JXIBVYRA.js → chunk-6RESVGHF.js} +11 -11
- package/dist/{chunk-EFBPHDPP.js → chunk-6WEDWD4N.js} +8 -8
- package/dist/{chunk-HYFNKXHR.js → chunk-76VXLTQF.js} +7 -7
- package/dist/{chunk-4RGFBD4M.js → chunk-7DLBLNFA.js} +284 -284
- package/dist/{chunk-Y3ME7IF6.js → chunk-7MF6MFHS.js} +8 -8
- package/dist/{chunk-T2IFOASN.js → chunk-7T7TPJL2.js} +1754 -1717
- package/dist/chunk-7T7TPJL2.js.map +1 -0
- package/dist/{chunk-5CEQ356Z.js → chunk-7VAILBP6.js} +5 -5
- package/dist/{chunk-DKM3JBGJ.js → chunk-7YKUIKGH.js} +8 -8
- package/dist/{chunk-GGIPEZLL.js → chunk-A5GX3CAE.js} +26 -26
- package/dist/{chunk-E45JRR3J.js → chunk-A7DS77WC.js} +7 -7
- package/dist/{chunk-EXBIL5BF.js → chunk-APGUIORF.js} +3 -3
- package/dist/{chunk-FT3AUAXE.js → chunk-ASCVQJB4.js} +15 -15
- package/dist/{chunk-4OGDD2EM.js → chunk-B6AH43UQ.js} +9 -9
- package/dist/{chunk-QD4J7AHU.js → chunk-BHKRV3ZB.js} +29 -29
- package/dist/{chunk-5ZTVBNMS.js → chunk-BRZCHOKU.js} +5 -5
- package/dist/{chunk-V6ZJKHVS.js → chunk-BUI7SHH6.js} +23 -23
- package/dist/{chunk-4NXQWXQY.js → chunk-BVWJEZXG.js} +3 -3
- package/dist/{chunk-BKJXUACP.js → chunk-BZ47G3VP.js} +7 -7
- package/dist/{chunk-22SXRKET.js → chunk-C6KI5P3H.js} +4 -4
- package/dist/{chunk-34LWIEIZ.js → chunk-CED3EPAV.js} +2 -2
- package/dist/{chunk-CC2IVNVR.js → chunk-CNRFFCAE.js} +10 -10
- package/dist/{chunk-WJ2STMQD.js → chunk-CPC6CYVW.js} +2 -2
- package/dist/{chunk-KZQDP2JM.js → chunk-CVC4RO7D.js} +7 -7
- package/dist/{chunk-754NH7T2.js → chunk-D4ADNM45.js} +5 -5
- package/dist/{chunk-RJZALNT5.js → chunk-DJQ6TKIP.js} +4 -4
- package/dist/{chunk-JY2UEPJP.js → chunk-DK2CDAMR.js} +2 -2
- package/dist/{chunk-IBHUF5BN.js → chunk-DPOB6MUS.js} +8 -8
- package/dist/{chunk-5H3SJHDT.js → chunk-DSO7S6PZ.js} +2 -2
- package/dist/{chunk-3F45ELUO.js → chunk-DW2IQRMB.js} +4 -4
- package/dist/{chunk-VHYDZMGS.js → chunk-DXMKECFR.js} +13 -13
- package/dist/{chunk-44MYJQ72.js → chunk-DZLWO73N.js} +8 -8
- package/dist/{chunk-J2GIGAVJ.js → chunk-E2GNUL64.js} +6 -6
- package/dist/{chunk-QD6A4G7Y.js → chunk-E5TVYXJJ.js} +6 -6
- package/dist/{chunk-OZGECHF5.js → chunk-EM2HA2SH.js} +2 -2
- package/dist/{chunk-N37BLJOI.js → chunk-EQQS6V5A.js} +18 -18
- package/dist/{chunk-KI2TGJVH.js → chunk-EWHQ3DFM.js} +2 -2
- package/dist/{chunk-4ST37B5I.js → chunk-F2T4J7CK.js} +14 -14
- package/dist/{chunk-D32VVOBJ.js → chunk-F3LIUDXN.js} +126 -126
- package/dist/chunk-F3LIUDXN.js.map +1 -0
- package/dist/{chunk-2NABGWXC.js → chunk-F5NFGBIN.js} +2 -2
- package/dist/{chunk-UBR3CGJC.js → chunk-FIKMVWFE.js} +142 -142
- package/dist/{chunk-5AHIKB3O.js → chunk-FXFOKD7A.js} +4 -4
- package/dist/{chunk-HUKGLWAY.js → chunk-GIHE7U3Y.js} +4 -4
- package/dist/{chunk-TGAKM3WX.js → chunk-GKWFQEO3.js} +2 -2
- package/dist/{chunk-Y6CNWBV3.js → chunk-GO5VIAA7.js} +4 -4
- package/dist/{chunk-E5EICKKB.js → chunk-GQJAMANY.js} +5 -5
- package/dist/{chunk-3PTEMOSW.js → chunk-GQYC5UKV.js} +4 -4
- package/dist/{chunk-UJNDUO7D.js → chunk-H7F4ANJQ.js} +13 -13
- package/dist/{chunk-I2WTJMQF.js → chunk-HEPFJ3XQ.js} +9 -9
- package/dist/{chunk-PTSRBKQC.js → chunk-HFROJDFQ.js} +2 -2
- package/dist/{chunk-YP4SNX4P.js → chunk-HHFFPE67.js} +4 -4
- package/dist/{chunk-TWSO5S3E.js → chunk-HLRAQITA.js} +15 -15
- package/dist/{chunk-THWN4STY.js → chunk-HSPNU52D.js} +68 -68
- package/dist/chunk-HSPNU52D.js.map +1 -0
- package/dist/{chunk-FARCOS2S.js → chunk-I6NVPBMB.js} +7 -7
- package/dist/{chunk-QEXHABRN.js → chunk-I7M5BYJU.js} +6 -6
- package/dist/{chunk-IPFSFSIK.js → chunk-ISFO6OYL.js} +47 -47
- package/dist/{chunk-F45CPW3Y.js → chunk-IWPPGXUZ.js} +33 -33
- package/dist/{chunk-X7YUQ4WO.js → chunk-IZVXSAOJ.js} +203 -203
- package/dist/{chunk-X7YUQ4WO.js.map → chunk-IZVXSAOJ.js.map} +1 -1
- package/dist/{chunk-GHXIVKQH.js → chunk-JHSZSLVU.js} +5 -5
- package/dist/{chunk-5AXIZJX4.js → chunk-JNPCRNPA.js} +3 -3
- package/dist/{chunk-4R74CAIF.js → chunk-JPLHCRA7.js} +12 -12
- package/dist/{chunk-DRVT6TRP.js → chunk-K5XFZKK5.js} +4 -4
- package/dist/{chunk-QPA7ATJH.js → chunk-KA4PZU3Q.js} +6 -6
- package/dist/{chunk-3UA2SOK2.js → chunk-KGZ35ESO.js} +2 -2
- package/dist/{chunk-I7HYF6MQ.js → chunk-KNMM6WFD.js} +12 -12
- package/dist/{chunk-NL7VJGFZ.js → chunk-KRM4PW5N.js} +17 -17
- package/dist/{chunk-PCSRHFRF.js → chunk-KTGKGHEA.js} +4 -4
- package/dist/{chunk-NUZNJSL5.js → chunk-KU77XHWB.js} +4 -4
- package/dist/{chunk-XKJCFK2G.js → chunk-KYRHCY3I.js} +7 -7
- package/dist/{chunk-VLDKWGHD.js → chunk-L6WVCO6D.js} +2 -2
- package/dist/{chunk-F5C5T2PF.js → chunk-LLX4S6BI.js} +10 -10
- package/dist/{chunk-TGG3ODCS.js → chunk-MCPKUVMQ.js} +4 -4
- package/dist/{chunk-KYDLVMKA.js → chunk-MFLU3466.js} +4 -4
- package/dist/{chunk-ZLKHNJCQ.js → chunk-MGWVWPFC.js} +11 -11
- package/dist/{chunk-ZD67RM6G.js → chunk-MIUJ3EH5.js} +4 -4
- package/dist/{chunk-M5FX5KH5.js → chunk-MO3XJQN2.js} +6 -6
- package/dist/{chunk-XKLXYIIT.js → chunk-MRKY2GL5.js} +2 -2
- package/dist/{chunk-4UAHTM3Q.js → chunk-MVE26JNL.js} +1 -1
- package/dist/{chunk-2JR7LEST.js → chunk-MVGU7BET.js} +2 -2
- package/dist/{chunk-5ERDSF2C.js → chunk-MVYQDBE6.js} +4 -4
- package/dist/{chunk-GP7MYBSX.js → chunk-NFV76UYK.js} +1 -1
- package/dist/{chunk-TMZ6RP3K.js → chunk-NGQCWCD6.js} +8 -8
- package/dist/{chunk-AML5X74C.js → chunk-NKXMIOYN.js} +18 -18
- package/dist/{chunk-VT5XHR5J.js → chunk-NMVRFFCR.js} +5 -5
- package/dist/{chunk-6IIJ4H4O.js → chunk-NNTDIKJP.js} +6 -6
- package/dist/{chunk-MM4NP5QA.js → chunk-NQXCPP4G.js} +9 -9
- package/dist/{chunk-7MH4TTVE.js → chunk-NYGS6FNV.js} +2 -2
- package/dist/{chunk-COCLT77F.js → chunk-O5HRZ2KG.js} +7 -7
- package/dist/{chunk-6F34IWSA.js → chunk-O664PL2U.js} +11 -11
- package/dist/chunk-O664PL2U.js.map +1 -0
- package/dist/{chunk-XMTBNLD2.js → chunk-O6QFY34B.js} +21 -21
- package/dist/{chunk-LCRYAD3X.js → chunk-OBKDRV2H.js} +10 -10
- package/dist/{chunk-F5RP42TL.js → chunk-OO7N6APA.js} +23 -23
- package/dist/{chunk-WSQ3TCOX.js → chunk-ORRACKLB.js} +4 -4
- package/dist/{chunk-BT5EOSQF.js → chunk-P3ODPHQW.js} +3 -3
- package/dist/{chunk-2X7I6LXY.js → chunk-PAFSIDM2.js} +5 -5
- package/dist/{chunk-ZGBMDDFR.js → chunk-PGSXT5OY.js} +9 -9
- package/dist/{chunk-LFQI2C46.js → chunk-PPQJIVGM.js} +4 -4
- package/dist/{chunk-UFRXYZCJ.js → chunk-PYMQM65Y.js} +4 -4
- package/dist/{chunk-PGMXITPB.js → chunk-QA5UNVHD.js} +3 -3
- package/dist/{chunk-NLJEDAKV.js → chunk-QDMGUTOU.js} +7 -7
- package/dist/{chunk-7456QZAA.js → chunk-QJ72YUT4.js} +1 -1
- package/dist/{chunk-J4OOKDRV.js → chunk-QNOWKKZ4.js} +4 -4
- package/dist/{chunk-QMRHY45R.js → chunk-QO3ZGK4X.js} +8 -8
- package/dist/{chunk-PEAJRZU3.js → chunk-QRQGMYGU.js} +2 -2
- package/dist/{chunk-WBNSC6RJ.js → chunk-QUFCZMHG.js} +4 -4
- package/dist/{chunk-R2T4IUNB.js → chunk-QVOTPOXK.js} +1 -1
- package/dist/{chunk-S2525GSA.js → chunk-QXQASDKT.js} +13 -13
- package/dist/{chunk-VRS6VNHP.js → chunk-QZE3KD34.js} +5 -5
- package/dist/{chunk-COIXX62I.js → chunk-RDLS6IZY.js} +11 -11
- package/dist/{chunk-MSHWYGCH.js → chunk-RKPETJDJ.js} +6 -6
- package/dist/{chunk-GLBILBET.js → chunk-RMFNSJQI.js} +7 -7
- package/dist/{chunk-RJWTAS4V.js → chunk-RR6DQN4X.js} +5 -5
- package/dist/{chunk-TNE7ZYGN.js → chunk-RRH6ZX3F.js} +61 -61
- package/dist/{chunk-7X443ZTQ.js → chunk-RVY5EZNU.js} +4 -4
- package/dist/{chunk-MCXTYDFG.js → chunk-S7EO77EE.js} +4 -4
- package/dist/{chunk-S3BLYPOG.js → chunk-SA4HJENC.js} +2 -2
- package/dist/{chunk-MIMSPOV4.js → chunk-SGLQ7ZZ7.js} +28 -28
- package/dist/{chunk-ZJICGGPI.js → chunk-SMNBTDDD.js} +2 -2
- package/dist/{chunk-SNACGK3Z.js → chunk-SRDHDIRQ.js} +8 -8
- package/dist/{chunk-HUTQJY3F.js → chunk-SYYFA7W7.js} +4 -4
- package/dist/{chunk-MAR5UYX4.js → chunk-T5BYEE66.js} +8 -8
- package/dist/{chunk-VJJKN675.js → chunk-THNAEUJV.js} +7561 -7552
- package/dist/chunk-THNAEUJV.js.map +1 -0
- package/dist/{chunk-HGS5JWZR.js → chunk-TLWH4E3P.js} +6 -6
- package/dist/{chunk-7XZO4W76.js → chunk-TNHGSWG3.js} +8 -8
- package/dist/{chunk-QHYLEJP7.js → chunk-U26OWALV.js} +8 -8
- package/dist/{chunk-U2TOOZIY.js → chunk-U2CEPRDH.js} +4 -4
- package/dist/{chunk-4PSB2CK7.js → chunk-UHRGUMLJ.js} +12 -12
- package/dist/{chunk-CGVMECYX.js → chunk-UNDSD6UA.js} +10 -10
- package/dist/{chunk-O4ZXJ52Z.js → chunk-UR25OGGM.js} +26 -26
- package/dist/{chunk-SUXGKBCW.js → chunk-USU2SS4V.js} +4 -4
- package/dist/{chunk-MXRCKJOQ.js → chunk-V6LYW2ZN.js} +154 -154
- package/dist/{chunk-RA3NTKSW.js → chunk-V7YGDHX2.js} +66 -66
- package/dist/{chunk-FGHWU4LX.js → chunk-VALESBNH.js} +5 -5
- package/dist/{chunk-XZLNVFB4.js → chunk-VMSMVWCJ.js} +15 -15
- package/dist/{chunk-HRFAQYOA.js → chunk-VXPY2GF3.js} +1 -1
- package/dist/{chunk-JTSLGUVP.js → chunk-W5CNXRSF.js} +5 -5
- package/dist/{chunk-46UZ5ZYU.js → chunk-WEGZPK4I.js} +10 -10
- package/dist/{chunk-WT37FEG3.js → chunk-WFTPSXUK.js} +8 -8
- package/dist/{chunk-IL5ME4MQ.js → chunk-WPKY3BGG.js} +24 -24
- package/dist/chunk-WPKY3BGG.js.map +1 -0
- package/dist/{chunk-GYHL6IRO.js → chunk-WTSF6HSN.js} +26 -26
- package/dist/{chunk-WEPL76AR.js → chunk-X4OGMBY6.js} +2 -2
- package/dist/{chunk-SXXWPTL7.js → chunk-X7HPRJM6.js} +3 -3
- package/dist/{chunk-R6WQLIFX.js → chunk-XHF2XNU5.js} +1 -1
- package/dist/{chunk-5ZUARMG2.js → chunk-XV4ZFOOG.js} +16 -16
- package/dist/{chunk-3J6ENWZF.js → chunk-XVFRKZ3H.js} +3 -3
- package/dist/{chunk-FWIV2FTX.js → chunk-Y2QYPJDN.js} +2 -2
- package/dist/{chunk-R6OBJ7LF.js → chunk-YAVW5OJ5.js} +4 -4
- package/dist/{chunk-WUKLEDKK.js → chunk-YDMV2NJZ.js} +48 -48
- package/dist/{chunk-7IR7EOTR.js → chunk-YMKKZFKH.js} +37 -37
- package/dist/{chunk-F6D6X5ZU.js → chunk-YQ6FP33X.js} +7 -7
- package/dist/{chunk-N556VQMT.js → chunk-YUA42N5A.js} +4 -4
- package/dist/{chunk-IL6PCX7K.js → chunk-YXFNW64N.js} +2 -2
- package/dist/{chunk-4SNYMZBC.js → chunk-Z76RJPZF.js} +5 -5
- package/dist/{chunk-YS6BQNHF.js → chunk-ZE4RD7U5.js} +8 -8
- package/dist/{chunk-EJ6IIEZX.js → chunk-ZLBGIMKD.js} +19 -7
- package/dist/chunk-ZLBGIMKD.js.map +1 -0
- package/dist/{chunk-FHNBUDXL.js → chunk-ZOUCHIUE.js} +9 -9
- package/dist/{chunk-F6LVPEBK.js → chunk-ZRNK6FK6.js} +2 -2
- package/dist/{chunk-DP4MGOBG.js → chunk-ZSIKF2R3.js} +8 -8
- package/dist/{chunk-MXSZQ6DP.js → chunk-ZVAIKQMC.js} +10 -10
- package/dist/{chunk-AVIOWKKJ.js → chunk-ZZ3KNGTJ.js} +5 -5
- package/dist/components/model-level-picker.d.ts +7 -7
- package/dist/composer.js +35 -35
- package/dist/{computer-viewer-FHCBTSZH.js → computer-viewer-M5N3GWBR.js} +4 -4
- package/dist/connect.js +27 -27
- package/dist/{connection-step-up-JLORUM6D.js → connection-step-up-5ZUYASTH.js} +30 -30
- package/dist/desktop-dictation.js +21 -21
- package/dist/{embedded-new-voice-BFTQZPJK.js → embedded-new-voice-QZJG5DZ3.js} +12 -12
- package/dist/{embedded-voice-CQE2GO6Y.js → embedded-voice-7KOQNGKU.js} +12 -12
- package/dist/hooks/use-new-conversation.d.ts +5 -0
- package/dist/in-chat-connect-model.js +4 -4
- package/dist/index.js +308 -308
- package/dist/interaction.js +7 -7
- package/dist/latest-question-F3VPDR7U.js +1 -1
- package/dist/machine-request-model.js +1 -1
- package/dist/machines.js +7 -7
- package/dist/meetings.js +113 -113
- package/dist/{model-policy-picker-menu-PVBT2OZO.js → model-policy-picker-menu-UNI5B6N6.js} +8 -8
- package/dist/{payment-page-card-YPCRVFHE.js → payment-page-card-Q4BEOZVN.js} +6 -6
- package/dist/{platform-activity-row-ZWACJPNQ.js → platform-activity-row-NPEGG2VE.js} +4 -4
- package/dist/{queue-surface-implementation-C7ESPZW7.js → queue-surface-implementation-RTCTPF5T.js} +7 -7
- package/dist/realtime.js +15 -15
- package/dist/{sandbox-files-6L2GRNOG.js → sandbox-files-BJKCREOU.js} +12 -12
- package/dist/session-app.js +396 -396
- package/dist/{session-connect-cards-2TRJ5IWB.js → session-connect-cards-DK3UJZRY.js} +8 -8
- package/dist/session-ui.js +91 -91
- package/dist/session.js +42 -41
- package/dist/sites.js +2 -2
- package/dist/terminal.js +1 -1
- package/dist/timeline-model.js +58 -58
- package/dist/ui/access-list.js +22 -22
- package/dist/ui/cadence-picker.js +2 -2
- package/dist/ui/choice-cards.js +2 -2
- package/dist/ui/detail-page.js +4 -4
- package/dist/ui/detail-sheet.js +4 -4
- package/dist/ui/diff-view.js +3 -3
- package/dist/ui/disclosure.js +5 -5
- package/dist/ui/flush-form-page.js +6 -6
- package/dist/ui/form-dialog.js +5 -5
- package/dist/ui/list-row.js +5 -5
- package/dist/ui/load-failure.js +3 -3
- package/dist/ui/revision-history.js +10 -10
- package/dist/ui/role-select.js +9 -9
- package/dist/ui/select-menu.js +2 -2
- package/dist/ui/settings-nav.js +6 -6
- package/dist/ui/sheet.js +2 -2
- package/dist/usage.js +2 -2
- package/dist/workbench.js +10 -10
- package/package.json +6 -5
- package/src/components/model-level-picker.tsx +19 -9
- package/src/components/new-conversation.tsx +18 -4
- package/src/hooks/use-new-conversation.ts +62 -17
- package/dist/chunk-6F34IWSA.js.map +0 -1
- package/dist/chunk-D32VVOBJ.js.map +0 -1
- package/dist/chunk-EJ6IIEZX.js.map +0 -1
- package/dist/chunk-IL5ME4MQ.js.map +0 -1
- package/dist/chunk-T2IFOASN.js.map +0 -1
- package/dist/chunk-THWN4STY.js.map +0 -1
- package/dist/chunk-VJJKN675.js.map +0 -1
- /package/dist/{browser-viewer-5JGSKIXX.js.map → browser-viewer-EPGAK2W6.js.map} +0 -0
- /package/dist/{chat-interactive-block-NEDFTOGE.js.map → chat-interactive-block-65YU6TMO.js.map} +0 -0
- /package/dist/{chunk-E7FNLQXM.js.map → chunk-266ZPUMH.js.map} +0 -0
- /package/dist/{chunk-SN2QZSJU.js.map → chunk-2A7SB7UR.js.map} +0 -0
- /package/dist/{chunk-VVLUVHF5.js.map → chunk-2F7VSGRS.js.map} +0 -0
- /package/dist/{chunk-PJ66EIWE.js.map → chunk-2LIDFNPL.js.map} +0 -0
- /package/dist/{chunk-PKH6MYAK.js.map → chunk-2WGJQ4XK.js.map} +0 -0
- /package/dist/{chunk-XZRMTHHW.js.map → chunk-2XSF44TY.js.map} +0 -0
- /package/dist/{chunk-T2N6JC5H.js.map → chunk-352G4KMU.js.map} +0 -0
- /package/dist/{chunk-L2Q4HMVJ.js.map → chunk-3NFBAJVP.js.map} +0 -0
- /package/dist/{chunk-KPTKQULD.js.map → chunk-3SDESU6U.js.map} +0 -0
- /package/dist/{chunk-J5D5OCQF.js.map → chunk-3UJKCVZ3.js.map} +0 -0
- /package/dist/{chunk-M4ZYHLFU.js.map → chunk-3VXZFBP6.js.map} +0 -0
- /package/dist/{chunk-YL2NFFXW.js.map → chunk-3WDNCSVU.js.map} +0 -0
- /package/dist/{chunk-YR7U2KDA.js.map → chunk-3YE4C3VF.js.map} +0 -0
- /package/dist/{chunk-HYNTTDG6.js.map → chunk-3ZNOKD3S.js.map} +0 -0
- /package/dist/{chunk-VIKXHP44.js.map → chunk-45SB4UK3.js.map} +0 -0
- /package/dist/{chunk-UPRN4FBY.js.map → chunk-46ZC5VNC.js.map} +0 -0
- /package/dist/{chunk-Z7UBLC6V.js.map → chunk-47BETTVA.js.map} +0 -0
- /package/dist/{chunk-PJ42LTJE.js.map → chunk-4JQRWJVR.js.map} +0 -0
- /package/dist/{chunk-XCEHQ3SO.js.map → chunk-4NGIKV2W.js.map} +0 -0
- /package/dist/{chunk-F23TR625.js.map → chunk-4WEPVL7X.js.map} +0 -0
- /package/dist/{chunk-YJYKB6ZT.js.map → chunk-55UOLOEE.js.map} +0 -0
- /package/dist/{chunk-BVFOLLMQ.js.map → chunk-5HFITPHH.js.map} +0 -0
- /package/dist/{chunk-UBM3IM6K.js.map → chunk-5PVXFVIT.js.map} +0 -0
- /package/dist/{chunk-DNRVXHUW.js.map → chunk-5WFGW7B7.js.map} +0 -0
- /package/dist/{chunk-2PTBF6GM.js.map → chunk-5YMSLKJP.js.map} +0 -0
- /package/dist/{chunk-HZ5DTSAG.js.map → chunk-62EXH6FY.js.map} +0 -0
- /package/dist/{chunk-HWOYJOKK.js.map → chunk-62T2ZPD5.js.map} +0 -0
- /package/dist/{chunk-6ZJU2B3Z.js.map → chunk-634Q4QOS.js.map} +0 -0
- /package/dist/{chunk-PMBZMVKE.js.map → chunk-6CDBX3XG.js.map} +0 -0
- /package/dist/{chunk-R6CFPY3F.js.map → chunk-6D3D2JWY.js.map} +0 -0
- /package/dist/{chunk-OEOLXODE.js.map → chunk-6ENO634Y.js.map} +0 -0
- /package/dist/{chunk-IHX5BADQ.js.map → chunk-6LQ5KEMP.js.map} +0 -0
- /package/dist/{chunk-JXIBVYRA.js.map → chunk-6RESVGHF.js.map} +0 -0
- /package/dist/{chunk-EFBPHDPP.js.map → chunk-6WEDWD4N.js.map} +0 -0
- /package/dist/{chunk-HYFNKXHR.js.map → chunk-76VXLTQF.js.map} +0 -0
- /package/dist/{chunk-4RGFBD4M.js.map → chunk-7DLBLNFA.js.map} +0 -0
- /package/dist/{chunk-Y3ME7IF6.js.map → chunk-7MF6MFHS.js.map} +0 -0
- /package/dist/{chunk-5CEQ356Z.js.map → chunk-7VAILBP6.js.map} +0 -0
- /package/dist/{chunk-DKM3JBGJ.js.map → chunk-7YKUIKGH.js.map} +0 -0
- /package/dist/{chunk-GGIPEZLL.js.map → chunk-A5GX3CAE.js.map} +0 -0
- /package/dist/{chunk-E45JRR3J.js.map → chunk-A7DS77WC.js.map} +0 -0
- /package/dist/{chunk-EXBIL5BF.js.map → chunk-APGUIORF.js.map} +0 -0
- /package/dist/{chunk-FT3AUAXE.js.map → chunk-ASCVQJB4.js.map} +0 -0
- /package/dist/{chunk-4OGDD2EM.js.map → chunk-B6AH43UQ.js.map} +0 -0
- /package/dist/{chunk-QD4J7AHU.js.map → chunk-BHKRV3ZB.js.map} +0 -0
- /package/dist/{chunk-5ZTVBNMS.js.map → chunk-BRZCHOKU.js.map} +0 -0
- /package/dist/{chunk-V6ZJKHVS.js.map → chunk-BUI7SHH6.js.map} +0 -0
- /package/dist/{chunk-4NXQWXQY.js.map → chunk-BVWJEZXG.js.map} +0 -0
- /package/dist/{chunk-BKJXUACP.js.map → chunk-BZ47G3VP.js.map} +0 -0
- /package/dist/{chunk-22SXRKET.js.map → chunk-C6KI5P3H.js.map} +0 -0
- /package/dist/{chunk-34LWIEIZ.js.map → chunk-CED3EPAV.js.map} +0 -0
- /package/dist/{chunk-CC2IVNVR.js.map → chunk-CNRFFCAE.js.map} +0 -0
- /package/dist/{chunk-WJ2STMQD.js.map → chunk-CPC6CYVW.js.map} +0 -0
- /package/dist/{chunk-KZQDP2JM.js.map → chunk-CVC4RO7D.js.map} +0 -0
- /package/dist/{chunk-754NH7T2.js.map → chunk-D4ADNM45.js.map} +0 -0
- /package/dist/{chunk-RJZALNT5.js.map → chunk-DJQ6TKIP.js.map} +0 -0
- /package/dist/{chunk-JY2UEPJP.js.map → chunk-DK2CDAMR.js.map} +0 -0
- /package/dist/{chunk-IBHUF5BN.js.map → chunk-DPOB6MUS.js.map} +0 -0
- /package/dist/{chunk-5H3SJHDT.js.map → chunk-DSO7S6PZ.js.map} +0 -0
- /package/dist/{chunk-3F45ELUO.js.map → chunk-DW2IQRMB.js.map} +0 -0
- /package/dist/{chunk-VHYDZMGS.js.map → chunk-DXMKECFR.js.map} +0 -0
- /package/dist/{chunk-44MYJQ72.js.map → chunk-DZLWO73N.js.map} +0 -0
- /package/dist/{chunk-J2GIGAVJ.js.map → chunk-E2GNUL64.js.map} +0 -0
- /package/dist/{chunk-QD6A4G7Y.js.map → chunk-E5TVYXJJ.js.map} +0 -0
- /package/dist/{chunk-OZGECHF5.js.map → chunk-EM2HA2SH.js.map} +0 -0
- /package/dist/{chunk-N37BLJOI.js.map → chunk-EQQS6V5A.js.map} +0 -0
- /package/dist/{chunk-KI2TGJVH.js.map → chunk-EWHQ3DFM.js.map} +0 -0
- /package/dist/{chunk-4ST37B5I.js.map → chunk-F2T4J7CK.js.map} +0 -0
- /package/dist/{chunk-2NABGWXC.js.map → chunk-F5NFGBIN.js.map} +0 -0
- /package/dist/{chunk-UBR3CGJC.js.map → chunk-FIKMVWFE.js.map} +0 -0
- /package/dist/{chunk-5AHIKB3O.js.map → chunk-FXFOKD7A.js.map} +0 -0
- /package/dist/{chunk-HUKGLWAY.js.map → chunk-GIHE7U3Y.js.map} +0 -0
- /package/dist/{chunk-TGAKM3WX.js.map → chunk-GKWFQEO3.js.map} +0 -0
- /package/dist/{chunk-Y6CNWBV3.js.map → chunk-GO5VIAA7.js.map} +0 -0
- /package/dist/{chunk-E5EICKKB.js.map → chunk-GQJAMANY.js.map} +0 -0
- /package/dist/{chunk-3PTEMOSW.js.map → chunk-GQYC5UKV.js.map} +0 -0
- /package/dist/{chunk-UJNDUO7D.js.map → chunk-H7F4ANJQ.js.map} +0 -0
- /package/dist/{chunk-I2WTJMQF.js.map → chunk-HEPFJ3XQ.js.map} +0 -0
- /package/dist/{chunk-PTSRBKQC.js.map → chunk-HFROJDFQ.js.map} +0 -0
- /package/dist/{chunk-YP4SNX4P.js.map → chunk-HHFFPE67.js.map} +0 -0
- /package/dist/{chunk-TWSO5S3E.js.map → chunk-HLRAQITA.js.map} +0 -0
- /package/dist/{chunk-FARCOS2S.js.map → chunk-I6NVPBMB.js.map} +0 -0
- /package/dist/{chunk-QEXHABRN.js.map → chunk-I7M5BYJU.js.map} +0 -0
- /package/dist/{chunk-IPFSFSIK.js.map → chunk-ISFO6OYL.js.map} +0 -0
- /package/dist/{chunk-F45CPW3Y.js.map → chunk-IWPPGXUZ.js.map} +0 -0
- /package/dist/{chunk-GHXIVKQH.js.map → chunk-JHSZSLVU.js.map} +0 -0
- /package/dist/{chunk-5AXIZJX4.js.map → chunk-JNPCRNPA.js.map} +0 -0
- /package/dist/{chunk-4R74CAIF.js.map → chunk-JPLHCRA7.js.map} +0 -0
- /package/dist/{chunk-DRVT6TRP.js.map → chunk-K5XFZKK5.js.map} +0 -0
- /package/dist/{chunk-QPA7ATJH.js.map → chunk-KA4PZU3Q.js.map} +0 -0
- /package/dist/{chunk-3UA2SOK2.js.map → chunk-KGZ35ESO.js.map} +0 -0
- /package/dist/{chunk-I7HYF6MQ.js.map → chunk-KNMM6WFD.js.map} +0 -0
- /package/dist/{chunk-NL7VJGFZ.js.map → chunk-KRM4PW5N.js.map} +0 -0
- /package/dist/{chunk-PCSRHFRF.js.map → chunk-KTGKGHEA.js.map} +0 -0
- /package/dist/{chunk-NUZNJSL5.js.map → chunk-KU77XHWB.js.map} +0 -0
- /package/dist/{chunk-XKJCFK2G.js.map → chunk-KYRHCY3I.js.map} +0 -0
- /package/dist/{chunk-VLDKWGHD.js.map → chunk-L6WVCO6D.js.map} +0 -0
- /package/dist/{chunk-F5C5T2PF.js.map → chunk-LLX4S6BI.js.map} +0 -0
- /package/dist/{chunk-TGG3ODCS.js.map → chunk-MCPKUVMQ.js.map} +0 -0
- /package/dist/{chunk-KYDLVMKA.js.map → chunk-MFLU3466.js.map} +0 -0
- /package/dist/{chunk-ZLKHNJCQ.js.map → chunk-MGWVWPFC.js.map} +0 -0
- /package/dist/{chunk-ZD67RM6G.js.map → chunk-MIUJ3EH5.js.map} +0 -0
- /package/dist/{chunk-M5FX5KH5.js.map → chunk-MO3XJQN2.js.map} +0 -0
- /package/dist/{chunk-XKLXYIIT.js.map → chunk-MRKY2GL5.js.map} +0 -0
- /package/dist/{chunk-4UAHTM3Q.js.map → chunk-MVE26JNL.js.map} +0 -0
- /package/dist/{chunk-2JR7LEST.js.map → chunk-MVGU7BET.js.map} +0 -0
- /package/dist/{chunk-5ERDSF2C.js.map → chunk-MVYQDBE6.js.map} +0 -0
- /package/dist/{chunk-GP7MYBSX.js.map → chunk-NFV76UYK.js.map} +0 -0
- /package/dist/{chunk-TMZ6RP3K.js.map → chunk-NGQCWCD6.js.map} +0 -0
- /package/dist/{chunk-AML5X74C.js.map → chunk-NKXMIOYN.js.map} +0 -0
- /package/dist/{chunk-VT5XHR5J.js.map → chunk-NMVRFFCR.js.map} +0 -0
- /package/dist/{chunk-6IIJ4H4O.js.map → chunk-NNTDIKJP.js.map} +0 -0
- /package/dist/{chunk-MM4NP5QA.js.map → chunk-NQXCPP4G.js.map} +0 -0
- /package/dist/{chunk-7MH4TTVE.js.map → chunk-NYGS6FNV.js.map} +0 -0
- /package/dist/{chunk-COCLT77F.js.map → chunk-O5HRZ2KG.js.map} +0 -0
- /package/dist/{chunk-XMTBNLD2.js.map → chunk-O6QFY34B.js.map} +0 -0
- /package/dist/{chunk-LCRYAD3X.js.map → chunk-OBKDRV2H.js.map} +0 -0
- /package/dist/{chunk-F5RP42TL.js.map → chunk-OO7N6APA.js.map} +0 -0
- /package/dist/{chunk-WSQ3TCOX.js.map → chunk-ORRACKLB.js.map} +0 -0
- /package/dist/{chunk-BT5EOSQF.js.map → chunk-P3ODPHQW.js.map} +0 -0
- /package/dist/{chunk-2X7I6LXY.js.map → chunk-PAFSIDM2.js.map} +0 -0
- /package/dist/{chunk-ZGBMDDFR.js.map → chunk-PGSXT5OY.js.map} +0 -0
- /package/dist/{chunk-LFQI2C46.js.map → chunk-PPQJIVGM.js.map} +0 -0
- /package/dist/{chunk-UFRXYZCJ.js.map → chunk-PYMQM65Y.js.map} +0 -0
- /package/dist/{chunk-PGMXITPB.js.map → chunk-QA5UNVHD.js.map} +0 -0
- /package/dist/{chunk-NLJEDAKV.js.map → chunk-QDMGUTOU.js.map} +0 -0
- /package/dist/{chunk-7456QZAA.js.map → chunk-QJ72YUT4.js.map} +0 -0
- /package/dist/{chunk-J4OOKDRV.js.map → chunk-QNOWKKZ4.js.map} +0 -0
- /package/dist/{chunk-QMRHY45R.js.map → chunk-QO3ZGK4X.js.map} +0 -0
- /package/dist/{chunk-PEAJRZU3.js.map → chunk-QRQGMYGU.js.map} +0 -0
- /package/dist/{chunk-WBNSC6RJ.js.map → chunk-QUFCZMHG.js.map} +0 -0
- /package/dist/{chunk-R2T4IUNB.js.map → chunk-QVOTPOXK.js.map} +0 -0
- /package/dist/{chunk-S2525GSA.js.map → chunk-QXQASDKT.js.map} +0 -0
- /package/dist/{chunk-VRS6VNHP.js.map → chunk-QZE3KD34.js.map} +0 -0
- /package/dist/{chunk-COIXX62I.js.map → chunk-RDLS6IZY.js.map} +0 -0
- /package/dist/{chunk-MSHWYGCH.js.map → chunk-RKPETJDJ.js.map} +0 -0
- /package/dist/{chunk-GLBILBET.js.map → chunk-RMFNSJQI.js.map} +0 -0
- /package/dist/{chunk-RJWTAS4V.js.map → chunk-RR6DQN4X.js.map} +0 -0
- /package/dist/{chunk-TNE7ZYGN.js.map → chunk-RRH6ZX3F.js.map} +0 -0
- /package/dist/{chunk-7X443ZTQ.js.map → chunk-RVY5EZNU.js.map} +0 -0
- /package/dist/{chunk-MCXTYDFG.js.map → chunk-S7EO77EE.js.map} +0 -0
- /package/dist/{chunk-S3BLYPOG.js.map → chunk-SA4HJENC.js.map} +0 -0
- /package/dist/{chunk-MIMSPOV4.js.map → chunk-SGLQ7ZZ7.js.map} +0 -0
- /package/dist/{chunk-ZJICGGPI.js.map → chunk-SMNBTDDD.js.map} +0 -0
- /package/dist/{chunk-SNACGK3Z.js.map → chunk-SRDHDIRQ.js.map} +0 -0
- /package/dist/{chunk-HUTQJY3F.js.map → chunk-SYYFA7W7.js.map} +0 -0
- /package/dist/{chunk-MAR5UYX4.js.map → chunk-T5BYEE66.js.map} +0 -0
- /package/dist/{chunk-HGS5JWZR.js.map → chunk-TLWH4E3P.js.map} +0 -0
- /package/dist/{chunk-7XZO4W76.js.map → chunk-TNHGSWG3.js.map} +0 -0
- /package/dist/{chunk-QHYLEJP7.js.map → chunk-U26OWALV.js.map} +0 -0
- /package/dist/{chunk-U2TOOZIY.js.map → chunk-U2CEPRDH.js.map} +0 -0
- /package/dist/{chunk-4PSB2CK7.js.map → chunk-UHRGUMLJ.js.map} +0 -0
- /package/dist/{chunk-CGVMECYX.js.map → chunk-UNDSD6UA.js.map} +0 -0
- /package/dist/{chunk-O4ZXJ52Z.js.map → chunk-UR25OGGM.js.map} +0 -0
- /package/dist/{chunk-SUXGKBCW.js.map → chunk-USU2SS4V.js.map} +0 -0
- /package/dist/{chunk-MXRCKJOQ.js.map → chunk-V6LYW2ZN.js.map} +0 -0
- /package/dist/{chunk-RA3NTKSW.js.map → chunk-V7YGDHX2.js.map} +0 -0
- /package/dist/{chunk-FGHWU4LX.js.map → chunk-VALESBNH.js.map} +0 -0
- /package/dist/{chunk-XZLNVFB4.js.map → chunk-VMSMVWCJ.js.map} +0 -0
- /package/dist/{chunk-HRFAQYOA.js.map → chunk-VXPY2GF3.js.map} +0 -0
- /package/dist/{chunk-JTSLGUVP.js.map → chunk-W5CNXRSF.js.map} +0 -0
- /package/dist/{chunk-46UZ5ZYU.js.map → chunk-WEGZPK4I.js.map} +0 -0
- /package/dist/{chunk-WT37FEG3.js.map → chunk-WFTPSXUK.js.map} +0 -0
- /package/dist/{chunk-GYHL6IRO.js.map → chunk-WTSF6HSN.js.map} +0 -0
- /package/dist/{chunk-WEPL76AR.js.map → chunk-X4OGMBY6.js.map} +0 -0
- /package/dist/{chunk-SXXWPTL7.js.map → chunk-X7HPRJM6.js.map} +0 -0
- /package/dist/{chunk-R6WQLIFX.js.map → chunk-XHF2XNU5.js.map} +0 -0
- /package/dist/{chunk-5ZUARMG2.js.map → chunk-XV4ZFOOG.js.map} +0 -0
- /package/dist/{chunk-3J6ENWZF.js.map → chunk-XVFRKZ3H.js.map} +0 -0
- /package/dist/{chunk-FWIV2FTX.js.map → chunk-Y2QYPJDN.js.map} +0 -0
- /package/dist/{chunk-R6OBJ7LF.js.map → chunk-YAVW5OJ5.js.map} +0 -0
- /package/dist/{chunk-WUKLEDKK.js.map → chunk-YDMV2NJZ.js.map} +0 -0
- /package/dist/{chunk-7IR7EOTR.js.map → chunk-YMKKZFKH.js.map} +0 -0
- /package/dist/{chunk-F6D6X5ZU.js.map → chunk-YQ6FP33X.js.map} +0 -0
- /package/dist/{chunk-N556VQMT.js.map → chunk-YUA42N5A.js.map} +0 -0
- /package/dist/{chunk-IL6PCX7K.js.map → chunk-YXFNW64N.js.map} +0 -0
- /package/dist/{chunk-4SNYMZBC.js.map → chunk-Z76RJPZF.js.map} +0 -0
- /package/dist/{chunk-YS6BQNHF.js.map → chunk-ZE4RD7U5.js.map} +0 -0
- /package/dist/{chunk-FHNBUDXL.js.map → chunk-ZOUCHIUE.js.map} +0 -0
- /package/dist/{chunk-F6LVPEBK.js.map → chunk-ZRNK6FK6.js.map} +0 -0
- /package/dist/{chunk-DP4MGOBG.js.map → chunk-ZSIKF2R3.js.map} +0 -0
- /package/dist/{chunk-MXSZQ6DP.js.map → chunk-ZVAIKQMC.js.map} +0 -0
- /package/dist/{chunk-AVIOWKKJ.js.map → chunk-ZZ3KNGTJ.js.map} +0 -0
- /package/dist/{computer-viewer-FHCBTSZH.js.map → computer-viewer-M5N3GWBR.js.map} +0 -0
- /package/dist/{connection-step-up-JLORUM6D.js.map → connection-step-up-5ZUYASTH.js.map} +0 -0
- /package/dist/{embedded-new-voice-BFTQZPJK.js.map → embedded-new-voice-QZJG5DZ3.js.map} +0 -0
- /package/dist/{embedded-voice-CQE2GO6Y.js.map → embedded-voice-7KOQNGKU.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-PVBT2OZO.js.map → model-policy-picker-menu-UNI5B6N6.js.map} +0 -0
- /package/dist/{payment-page-card-YPCRVFHE.js.map → payment-page-card-Q4BEOZVN.js.map} +0 -0
- /package/dist/{platform-activity-row-ZWACJPNQ.js.map → platform-activity-row-NPEGG2VE.js.map} +0 -0
- /package/dist/{queue-surface-implementation-C7ESPZW7.js.map → queue-surface-implementation-RTCTPF5T.js.map} +0 -0
- /package/dist/{sandbox-files-6L2GRNOG.js.map → sandbox-files-BJKCREOU.js.map} +0 -0
- /package/dist/{session-connect-cards-2TRJ5IWB.js.map → session-connect-cards-DK3UJZRY.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
useEntranceAnimation,
|
|
4
|
-
useEntranceAnimationLive
|
|
5
|
-
} from "./chunk-EAG6A27Q.js";
|
|
6
2
|
import {
|
|
7
3
|
PierreDiff
|
|
8
4
|
} from "./chunk-RVPH6BB7.js";
|
|
9
5
|
import {
|
|
10
6
|
useThemeType
|
|
11
7
|
} from "./chunk-B27E3V37.js";
|
|
8
|
+
import {
|
|
9
|
+
useEntranceAnimation,
|
|
10
|
+
useEntranceAnimationLive
|
|
11
|
+
} from "./chunk-EAG6A27Q.js";
|
|
12
12
|
import {
|
|
13
13
|
GENIE_PREPARING_PHRASES,
|
|
14
14
|
GENIE_WAITING_PHRASES,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
useAgentIdentity,
|
|
34
34
|
webSearchPresentation,
|
|
35
35
|
writeStdinPresentation
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-B6AH43UQ.js";
|
|
37
37
|
import {
|
|
38
38
|
createTurnSummaryContext,
|
|
39
39
|
formatElapsed,
|
|
@@ -42,19 +42,6 @@ import {
|
|
|
42
42
|
turnSummaryFallbackLabel,
|
|
43
43
|
turnSummaryLiveMarkState
|
|
44
44
|
} from "./chunk-FPSWN6GU.js";
|
|
45
|
-
import {
|
|
46
|
-
approvalsFromRequiresAction
|
|
47
|
-
} from "./chunk-GFUDB3SA.js";
|
|
48
|
-
import {
|
|
49
|
-
invokedToolCall,
|
|
50
|
-
learningRefusalBody,
|
|
51
|
-
learningRefusalPlace,
|
|
52
|
-
learningRefusalPlaceLabel,
|
|
53
|
-
learningRefusalTitle
|
|
54
|
-
} from "./chunk-DEDEA3WS.js";
|
|
55
|
-
import {
|
|
56
|
-
workerRowTitleParts
|
|
57
|
-
} from "./chunk-V5CHHBGS.js";
|
|
58
45
|
import {
|
|
59
46
|
PatchApplyCommand,
|
|
60
47
|
useRetainedImageObjectUrl
|
|
@@ -65,20 +52,14 @@ import {
|
|
|
65
52
|
paymentPageOf
|
|
66
53
|
} from "./chunk-HXYSZKCC.js";
|
|
67
54
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
parseToolArgs,
|
|
71
|
-
retainedScreenshotMetadata,
|
|
72
|
-
retainedToolResultImages,
|
|
73
|
-
screenshotDataUrl,
|
|
74
|
-
unwrapMcpOutput
|
|
75
|
-
} from "./chunk-E4BLXMIZ.js";
|
|
55
|
+
reviewFacts
|
|
56
|
+
} from "./chunk-YMQVVFXI.js";
|
|
76
57
|
import {
|
|
77
58
|
CopyButton,
|
|
78
59
|
LazyPart,
|
|
79
60
|
MOTION_INSPECT_SCALE,
|
|
80
61
|
Markdown
|
|
81
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-EQQS6V5A.js";
|
|
82
63
|
import {
|
|
83
64
|
ActivityDisclosure,
|
|
84
65
|
BodyNote,
|
|
@@ -94,7 +75,7 @@ import {
|
|
|
94
75
|
ToolOutputPreviewProvider,
|
|
95
76
|
useForcedDefaultOpen,
|
|
96
77
|
useTimelineSearchReveal
|
|
97
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-3YE4C3VF.js";
|
|
98
79
|
import {
|
|
99
80
|
DecisionActions,
|
|
100
81
|
DecisionButton,
|
|
@@ -102,41 +83,55 @@ import {
|
|
|
102
83
|
decisionCardClass,
|
|
103
84
|
decisionCardPad
|
|
104
85
|
} from "./chunk-2FASQ2SZ.js";
|
|
86
|
+
import {
|
|
87
|
+
useToolDetails
|
|
88
|
+
} from "./chunk-RZLBICR5.js";
|
|
105
89
|
import {
|
|
106
90
|
LoadFailureNotice,
|
|
107
91
|
isChunkLoadError
|
|
108
92
|
} from "./chunk-IH3J7VWW.js";
|
|
109
|
-
import {
|
|
110
|
-
useToolDetails
|
|
111
|
-
} from "./chunk-RZLBICR5.js";
|
|
112
93
|
import {
|
|
113
94
|
redactDeep,
|
|
114
95
|
redactToolCall,
|
|
115
96
|
signedValuesDeep
|
|
116
97
|
} from "./chunk-YM45PLD6.js";
|
|
98
|
+
import {
|
|
99
|
+
ShimmerText
|
|
100
|
+
} from "./chunk-HZPCSRSB.js";
|
|
117
101
|
import {
|
|
118
102
|
useOpenGeniLinkResolver
|
|
119
103
|
} from "./chunk-W4QUDV6Y.js";
|
|
120
104
|
import {
|
|
121
|
-
|
|
122
|
-
} from "./chunk-
|
|
105
|
+
approvalsFromRequiresAction
|
|
106
|
+
} from "./chunk-GFUDB3SA.js";
|
|
107
|
+
import {
|
|
108
|
+
invokedToolCall,
|
|
109
|
+
learningRefusalBody,
|
|
110
|
+
learningRefusalPlace,
|
|
111
|
+
learningRefusalPlaceLabel,
|
|
112
|
+
learningRefusalTitle
|
|
113
|
+
} from "./chunk-DEDEA3WS.js";
|
|
114
|
+
import {
|
|
115
|
+
workerRowTitleParts
|
|
116
|
+
} from "./chunk-V5CHHBGS.js";
|
|
117
|
+
import {
|
|
118
|
+
generatedImageReceipt,
|
|
119
|
+
mediaPreviewFact,
|
|
120
|
+
parseToolArgs,
|
|
121
|
+
retainedScreenshotMetadata,
|
|
122
|
+
retainedToolResultImages,
|
|
123
|
+
screenshotDataUrl,
|
|
124
|
+
unwrapMcpOutput
|
|
125
|
+
} from "./chunk-E4BLXMIZ.js";
|
|
123
126
|
import {
|
|
124
127
|
mcpToolLeaf,
|
|
125
128
|
toolActionTitle,
|
|
126
129
|
toolDisplayName,
|
|
127
130
|
wordedToolActionReview
|
|
128
131
|
} from "./chunk-KSNKF6FE.js";
|
|
129
|
-
import {
|
|
130
|
-
ShimmerText
|
|
131
|
-
} from "./chunk-HZPCSRSB.js";
|
|
132
132
|
import {
|
|
133
133
|
displayImageSrc
|
|
134
134
|
} from "./chunk-S5ORWTCJ.js";
|
|
135
|
-
import {
|
|
136
|
-
formatBytes,
|
|
137
|
-
truncate,
|
|
138
|
-
tryParseJson
|
|
139
|
-
} from "./chunk-UIK52VL4.js";
|
|
140
135
|
import {
|
|
141
136
|
clickDownloadLink,
|
|
142
137
|
saveBlob
|
|
@@ -147,94 +142,11 @@ import {
|
|
|
147
142
|
import {
|
|
148
143
|
useOpenGeniText
|
|
149
144
|
} from "./chunk-2L6B6766.js";
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
const download2 = await client.downloadRetainedArtifact(workspaceId, artifact, { signal });
|
|
156
|
-
return download2.bytes;
|
|
157
|
-
}
|
|
158
|
-
const download = await client.createRetainedArtifactDownloadUrl(workspaceId, artifact, {
|
|
159
|
-
signal
|
|
160
|
-
});
|
|
161
|
-
return { url: download.url, expiresAt: download.expiresAt };
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
function createSessionRetainedScreenshotLoader(client, workspaceId, sessionId) {
|
|
165
|
-
return async (artifact, signal) => {
|
|
166
|
-
const download = await client.downloadRetainedScreenshot(
|
|
167
|
-
workspaceId,
|
|
168
|
-
sessionId,
|
|
169
|
-
artifact.artifactId,
|
|
170
|
-
{ signal }
|
|
171
|
-
);
|
|
172
|
-
if (!download.metadata.available || !download.bytes) return null;
|
|
173
|
-
if (download.metadata.artifactId !== artifact.artifactId || download.metadata.kind !== artifact.kind || download.metadata.contentType !== artifact.contentType || download.metadata.originalBytes !== artifact.originalBytes || download.metadata.sha256 !== artifact.sha256 || download.metadata.dimensions?.width !== artifact.dimensions?.width || download.metadata.dimensions?.height !== artifact.dimensions?.height) {
|
|
174
|
-
throw new Error("Retained screenshot receipt verification failed");
|
|
175
|
-
}
|
|
176
|
-
return download.bytes;
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
function createWorkspaceRetainedVideoLoader(client, workspaceId) {
|
|
180
|
-
return async (artifactId, signal) => await client.createVideoArtifactPlaybackSource(workspaceId, artifactId, { signal });
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// src/components/tool-review-history.tsx
|
|
184
|
-
import { createContext, useContext, useEffect, useMemo, useState } from "react";
|
|
185
|
-
import { jsx } from "react/jsx-runtime";
|
|
186
|
-
var History = createContext(null);
|
|
187
|
-
function ToolReviewHistoryProvider({
|
|
188
|
-
events,
|
|
189
|
-
load,
|
|
190
|
-
onViewDetails,
|
|
191
|
-
children
|
|
192
|
-
}) {
|
|
193
|
-
const value = useMemo(
|
|
194
|
-
() => ({
|
|
195
|
-
approvalIds: new Set(
|
|
196
|
-
events.flatMap(
|
|
197
|
-
(event) => event.type === "session.requiresAction" ? approvalsFromRequiresAction(event.payload).map((approval) => approval.id) : []
|
|
198
|
-
)
|
|
199
|
-
),
|
|
200
|
-
revision: [...events].reverse().find(
|
|
201
|
-
(event) => event.type === "session.requiresAction" || event.type === "agent.toolCall.output" || event.type.startsWith("turn.") || event.type === "user.approvalDecision" || event.type.startsWith("session.control.")
|
|
202
|
-
)?.sequence ?? 0,
|
|
203
|
-
load,
|
|
204
|
-
onViewDetails
|
|
205
|
-
}),
|
|
206
|
-
[events, load, onViewDetails]
|
|
207
|
-
);
|
|
208
|
-
return /* @__PURE__ */ jsx(History.Provider, { value, children });
|
|
209
|
-
}
|
|
210
|
-
function useHasToolReview(approvalId) {
|
|
211
|
-
const history = useContext(History);
|
|
212
|
-
return Boolean(approvalId && history?.approvalIds.has(approvalId));
|
|
213
|
-
}
|
|
214
|
-
function useRecordedToolReview(approvalId) {
|
|
215
|
-
const history = useContext(History);
|
|
216
|
-
const [review, setReview] = useState(null);
|
|
217
|
-
const load = history?.load;
|
|
218
|
-
const revision = history?.revision;
|
|
219
|
-
useEffect(() => {
|
|
220
|
-
if (!load || !approvalId) return;
|
|
221
|
-
let active = true;
|
|
222
|
-
void load(approvalId).then(
|
|
223
|
-
(value) => {
|
|
224
|
-
if (active && value.id === approvalId) setReview(value);
|
|
225
|
-
},
|
|
226
|
-
() => void 0
|
|
227
|
-
);
|
|
228
|
-
return () => {
|
|
229
|
-
active = false;
|
|
230
|
-
};
|
|
231
|
-
}, [approvalId, load, revision]);
|
|
232
|
-
const onViewDetails = history?.onViewDetails;
|
|
233
|
-
return {
|
|
234
|
-
review: review && review.id === approvalId ? review : null,
|
|
235
|
-
onViewDetails: review && onViewDetails ? (path) => onViewDetails(review, path) : void 0
|
|
236
|
-
};
|
|
237
|
-
}
|
|
145
|
+
import {
|
|
146
|
+
formatBytes,
|
|
147
|
+
truncate,
|
|
148
|
+
tryParseJson
|
|
149
|
+
} from "./chunk-UIK52VL4.js";
|
|
238
150
|
|
|
239
151
|
// src/components/tool-action-review.tsx
|
|
240
152
|
import {
|
|
@@ -247,13 +159,13 @@ import {
|
|
|
247
159
|
ShieldCheckIcon
|
|
248
160
|
} from "lucide-react";
|
|
249
161
|
import {
|
|
250
|
-
useEffect
|
|
162
|
+
useEffect,
|
|
251
163
|
useId,
|
|
252
|
-
useMemo
|
|
164
|
+
useMemo,
|
|
253
165
|
useRef,
|
|
254
|
-
useState
|
|
166
|
+
useState
|
|
255
167
|
} from "react";
|
|
256
|
-
import { Fragment, jsx
|
|
168
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
257
169
|
var statusText = (t) => ({
|
|
258
170
|
pending: t("toolActionReview.approvalNeeded"),
|
|
259
171
|
approved: t("toolActionReview.approved"),
|
|
@@ -308,12 +220,12 @@ var ACCOUNT_OWNER_TEXT = (t, name) => name ? t("toolActionReview.onlyNameCanAppr
|
|
|
308
220
|
function StatusIcon({ status, busy }) {
|
|
309
221
|
const className = "size-4";
|
|
310
222
|
if (busy || status === "executing" || status === "approved")
|
|
311
|
-
return /* @__PURE__ */
|
|
312
|
-
if (status === "pending") return /* @__PURE__ */
|
|
313
|
-
if (status === "completed") return /* @__PURE__ */
|
|
223
|
+
return /* @__PURE__ */ jsx(LoaderCircleIcon, { "aria-hidden": "true", className: cn(className, "animate-spin") });
|
|
224
|
+
if (status === "pending") return /* @__PURE__ */ jsx(ShieldCheckIcon, { "aria-hidden": "true", className });
|
|
225
|
+
if (status === "completed") return /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className });
|
|
314
226
|
if (statusTone[status] === "failed")
|
|
315
|
-
return /* @__PURE__ */
|
|
316
|
-
return /* @__PURE__ */
|
|
227
|
+
return /* @__PURE__ */ jsx(CircleAlertIcon, { "aria-hidden": "true", className });
|
|
228
|
+
return /* @__PURE__ */ jsx(CircleSlashIcon, { "aria-hidden": "true", className });
|
|
317
229
|
}
|
|
318
230
|
function ToolReviewFrame({
|
|
319
231
|
tone,
|
|
@@ -347,9 +259,9 @@ function ToolReviewFrame({
|
|
|
347
259
|
bare ? "pb-1" : cn(decisionCardPad, "pt-4", !children && !footer && "pb-4")
|
|
348
260
|
),
|
|
349
261
|
children: [
|
|
350
|
-
/* @__PURE__ */
|
|
262
|
+
/* @__PURE__ */ jsx(DecisionMark, { tone: tone === "failed" ? "danger" : "neutral", children: icon }),
|
|
351
263
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 pt-px", children: [
|
|
352
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ jsx(
|
|
353
265
|
"h3",
|
|
354
266
|
{
|
|
355
267
|
tabIndex: -1,
|
|
@@ -358,15 +270,15 @@ function ToolReviewFrame({
|
|
|
358
270
|
children: title
|
|
359
271
|
}
|
|
360
272
|
),
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ jsx("p", { className: "m-0 mt-0.5 min-w-0 overflow-hidden text-og-xs leading-5 text-og-fg-muted", children: /* @__PURE__ */ jsxs("span", { className: "-ml-3 flex min-w-0 flex-wrap items-center", children: [
|
|
274
|
+
/* @__PURE__ */ jsx("span", { className: headerPart, children: /* @__PURE__ */ jsxs(
|
|
363
275
|
"span",
|
|
364
276
|
{
|
|
365
277
|
className: cn("inline-flex items-center gap-1.5", toneText[tone]),
|
|
366
278
|
role: "status",
|
|
367
279
|
"aria-live": "polite",
|
|
368
280
|
children: [
|
|
369
|
-
waiting ? /* @__PURE__ */
|
|
281
|
+
waiting ? /* @__PURE__ */ jsx(
|
|
370
282
|
"span",
|
|
371
283
|
{
|
|
372
284
|
"aria-hidden": "true",
|
|
@@ -377,20 +289,20 @@ function ToolReviewFrame({
|
|
|
377
289
|
]
|
|
378
290
|
}
|
|
379
291
|
) }),
|
|
380
|
-
subtitle ? /* @__PURE__ */
|
|
292
|
+
subtitle ? /* @__PURE__ */ jsx("span", { className: cn(headerPart, "min-w-0 break-words [overflow-wrap:anywhere]"), children: subtitle }) : null
|
|
381
293
|
] }) })
|
|
382
294
|
] })
|
|
383
295
|
]
|
|
384
296
|
}
|
|
385
297
|
),
|
|
386
|
-
children ? /* @__PURE__ */
|
|
298
|
+
children ? /* @__PURE__ */ jsx(
|
|
387
299
|
"div",
|
|
388
300
|
{
|
|
389
301
|
className: cn("min-w-0", bare ? "pt-2" : cn(decisionCardPad, "pt-3", !footer && "pb-4")),
|
|
390
302
|
children
|
|
391
303
|
}
|
|
392
304
|
) : null,
|
|
393
|
-
footer ? /* @__PURE__ */
|
|
305
|
+
footer ? /* @__PURE__ */ jsx("footer", { className: cn("min-w-0", bare ? "pt-3" : cn(decisionCardPad, "pb-4 pt-4")), children: footer }) : null
|
|
394
306
|
]
|
|
395
307
|
}
|
|
396
308
|
);
|
|
@@ -413,24 +325,24 @@ function ReviewFacts({
|
|
|
413
325
|
const hasContent = note || effects.length || selection || shown.length || hiddenFields > 0 || samples.length;
|
|
414
326
|
if (!hasContent) return null;
|
|
415
327
|
return /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-3 text-og-sm", children: [
|
|
416
|
-
note ? /* @__PURE__ */
|
|
417
|
-
effects.length > 0 ? /* @__PURE__ */
|
|
418
|
-
/* @__PURE__ */
|
|
328
|
+
note ? /* @__PURE__ */ jsx("p", { className: "m-0 leading-relaxed text-og-fg-muted", children: note }) : null,
|
|
329
|
+
effects.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "m-0 list-none space-y-1 p-0", "aria-label": t("toolActionReview.alsoChanges"), children: effects.map((effect) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2 text-og-fg", children: [
|
|
330
|
+
/* @__PURE__ */ jsx(
|
|
419
331
|
"span",
|
|
420
332
|
{
|
|
421
333
|
"aria-hidden": "true",
|
|
422
334
|
className: "mt-[0.55em] size-1 shrink-0 rounded-full bg-og-fg-muted"
|
|
423
335
|
}
|
|
424
336
|
),
|
|
425
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 break-words", children: effect })
|
|
426
338
|
] }, effect)) }) : null,
|
|
427
339
|
selection ? /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
428
340
|
samples.length > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
429
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ jsx("p", { className: "m-0 mb-1 text-og-xs text-og-fg-muted", children: t("toolActionReview.includes") }),
|
|
430
342
|
/* @__PURE__ */ jsxs("ul", { className: "m-0 list-none divide-y divide-og-border rounded-og-md border border-og-border bg-og-surface-1 p-0", children: [
|
|
431
343
|
samples.map((sample) => /* @__PURE__ */ jsxs("li", { className: "min-w-0 px-3 py-2", children: [
|
|
432
|
-
/* @__PURE__ */
|
|
433
|
-
sample.subtitle ? /* @__PURE__ */
|
|
344
|
+
/* @__PURE__ */ jsx("p", { className: "m-0 truncate text-og-sm text-og-fg", children: sample.title }),
|
|
345
|
+
sample.subtitle ? /* @__PURE__ */ jsx("p", { className: "m-0 mt-0.5 truncate text-og-xs text-og-fg-muted", children: sample.subtitle }) : null
|
|
434
346
|
] }, sample.id)),
|
|
435
347
|
count > samples.length ? /* @__PURE__ */ jsxs("li", { className: "px-3 py-2 text-og-xs text-og-fg-muted", children: [
|
|
436
348
|
t("toolActionReview.and"),
|
|
@@ -453,18 +365,18 @@ function ReviewFacts({
|
|
|
453
365
|
localeString: count.toLocaleString(t.locale),
|
|
454
366
|
noun
|
|
455
367
|
}),
|
|
456
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "size-3.5 shrink-0", "aria-hidden": "true" })
|
|
457
369
|
]
|
|
458
370
|
}
|
|
459
371
|
) : null
|
|
460
372
|
] }) : null,
|
|
461
|
-
shown.length > 0 ? /* @__PURE__ */
|
|
373
|
+
shown.length > 0 ? /* @__PURE__ */ jsx("dl", { className: "m-0 min-w-0 space-y-2.5 rounded-og-md bg-og-fg/[0.035] px-3.5 py-3", children: shown.map((field) => /* @__PURE__ */ jsxs(
|
|
462
374
|
"div",
|
|
463
375
|
{
|
|
464
376
|
className: "grid min-w-0 gap-x-4 gap-y-0.5 @[30rem]/decision:grid-cols-[minmax(0,7.5rem)_minmax(0,1fr)]",
|
|
465
377
|
children: [
|
|
466
|
-
/* @__PURE__ */
|
|
467
|
-
/* @__PURE__ */
|
|
378
|
+
/* @__PURE__ */ jsx("dt", { className: "m-0 break-words text-og-xs text-og-fg-muted @[30rem]/decision:pt-px @[30rem]/decision:text-og-sm", children: field.label }),
|
|
379
|
+
/* @__PURE__ */ jsx("dd", { className: "m-0 min-w-0 whitespace-pre-wrap break-words text-og-fg [overflow-wrap:anywhere]", children: field.protected ? /* @__PURE__ */ jsx("span", { className: "text-og-fg-muted", children: t("toolActionReview.hidden") }) : field.truncated && canOpen ? /* @__PURE__ */ jsxs(
|
|
468
380
|
"button",
|
|
469
381
|
{
|
|
470
382
|
type: "button",
|
|
@@ -476,11 +388,11 @@ function ReviewFacts({
|
|
|
476
388
|
onClick: () => onViewDetails(field.path),
|
|
477
389
|
className: cn(linkButton, "max-w-full"),
|
|
478
390
|
children: [
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
/* @__PURE__ */
|
|
391
|
+
/* @__PURE__ */ jsx("span", { className: "line-clamp-4 min-w-0 break-words [overflow-wrap:anywhere]", children: /* @__PURE__ */ jsx(SecretRefText, { text: field.preview, linkable: false }) }),
|
|
392
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "size-3.5 shrink-0", "aria-hidden": "true" })
|
|
481
393
|
]
|
|
482
394
|
}
|
|
483
|
-
) : /* @__PURE__ */
|
|
395
|
+
) : /* @__PURE__ */ jsx(SecretRefText, { text: field.preview }) })
|
|
484
396
|
]
|
|
485
397
|
},
|
|
486
398
|
field.path
|
|
@@ -499,7 +411,7 @@ function DeclineButton({
|
|
|
499
411
|
onClick
|
|
500
412
|
}) {
|
|
501
413
|
const t = useOpenGeniText();
|
|
502
|
-
return /* @__PURE__ */
|
|
414
|
+
return /* @__PURE__ */ jsx(DecisionButton, { kind: "secondary", disabled: busy, busy: submitting, onClick, children: submitting ? t("toolActionReview.declining") : label ?? t("toolActionReview.decline") });
|
|
503
415
|
}
|
|
504
416
|
function ToolActionReviewCard({
|
|
505
417
|
review: savedReview,
|
|
@@ -516,7 +428,7 @@ function ToolActionReviewCard({
|
|
|
516
428
|
interruptible
|
|
517
429
|
}) {
|
|
518
430
|
const t = useOpenGeniText();
|
|
519
|
-
const review =
|
|
431
|
+
const review = useMemo(() => wordedToolActionReview(savedReview, t), [savedReview, t]);
|
|
520
432
|
const titleId = useId();
|
|
521
433
|
const canApprove = review.availableActions.includes("approve") && !!onApprove;
|
|
522
434
|
const canReject = review.availableActions.includes("reject") && !!onReject;
|
|
@@ -524,7 +436,7 @@ function ToolActionReviewCard({
|
|
|
524
436
|
const busy = Boolean(disabled || submitting && !interruptible);
|
|
525
437
|
const tone = statusTone[review.status];
|
|
526
438
|
const eyebrow = submitting ? submitting === "approve" ? t("toolActionReview.approving") : t("toolActionReview.declining") : review.status === "pending" ? pendingLabel ?? statusText(t).pending : statusText(t)[review.status];
|
|
527
|
-
const detailsLink = review.detailsAvailable && onViewDetails ? /* @__PURE__ */
|
|
439
|
+
const detailsLink = review.detailsAvailable && onViewDetails ? /* @__PURE__ */ jsx(
|
|
528
440
|
"button",
|
|
529
441
|
{
|
|
530
442
|
type: "button",
|
|
@@ -539,7 +451,7 @@ function ToolActionReviewCard({
|
|
|
539
451
|
ToolReviewFrame,
|
|
540
452
|
{
|
|
541
453
|
tone,
|
|
542
|
-
icon: /* @__PURE__ */
|
|
454
|
+
icon: /* @__PURE__ */ jsx(StatusIcon, { status: review.status, busy: Boolean(submitting) }),
|
|
543
455
|
eyebrow,
|
|
544
456
|
title: review.title,
|
|
545
457
|
titleId,
|
|
@@ -553,10 +465,10 @@ function ToolActionReviewCard({
|
|
|
553
465
|
{
|
|
554
466
|
lead: detailsLink || reason ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
555
467
|
detailsLink,
|
|
556
|
-
reason ? /* @__PURE__ */
|
|
468
|
+
reason ? /* @__PURE__ */ jsx("span", { className: "min-w-0 text-og-xs leading-relaxed text-og-fg-subtle", children: reason }) : null
|
|
557
469
|
] }) : null,
|
|
558
470
|
children: [
|
|
559
|
-
canReject ? /* @__PURE__ */
|
|
471
|
+
canReject ? /* @__PURE__ */ jsx(
|
|
560
472
|
DeclineButton,
|
|
561
473
|
{
|
|
562
474
|
busy,
|
|
@@ -565,7 +477,7 @@ function ToolActionReviewCard({
|
|
|
565
477
|
onClick: onReject
|
|
566
478
|
}
|
|
567
479
|
) : null,
|
|
568
|
-
canApprove ? /* @__PURE__ */
|
|
480
|
+
canApprove ? /* @__PURE__ */ jsx(
|
|
569
481
|
DecisionButton,
|
|
570
482
|
{
|
|
571
483
|
kind: "primary",
|
|
@@ -579,9 +491,9 @@ function ToolActionReviewCard({
|
|
|
579
491
|
}
|
|
580
492
|
) : void 0,
|
|
581
493
|
children: [
|
|
582
|
-
actionable && !canApprove ? /* @__PURE__ */
|
|
583
|
-
actionable && canApprove && review.approvedBy === "you" ? /* @__PURE__ */
|
|
584
|
-
/* @__PURE__ */
|
|
494
|
+
actionable && !canApprove ? /* @__PURE__ */ jsx("p", { className: "m-0 mb-3 text-og-sm leading-relaxed text-og-fg", children: review.approvedBy === "account_owner" ? ACCOUNT_OWNER_TEXT(t, review.accountOwnerLabel) : UNRECOVERABLE_TEXT(t) }) : null,
|
|
495
|
+
actionable && canApprove && review.approvedBy === "you" ? /* @__PURE__ */ jsx("p", { className: "m-0 mb-3 text-og-sm leading-relaxed text-og-fg", children: t("toolActionReview.onlyYouCanApprove") }) : null,
|
|
496
|
+
/* @__PURE__ */ jsx(
|
|
585
497
|
ReviewFacts,
|
|
586
498
|
{
|
|
587
499
|
review,
|
|
@@ -589,7 +501,7 @@ function ToolActionReviewCard({
|
|
|
589
501
|
showStatusDetail: review.status !== "pending"
|
|
590
502
|
}
|
|
591
503
|
),
|
|
592
|
-
actionable && notice ? /* @__PURE__ */
|
|
504
|
+
actionable && notice ? /* @__PURE__ */ jsx(
|
|
593
505
|
"p",
|
|
594
506
|
{
|
|
595
507
|
className: "m-0 mt-2 text-og-xs leading-relaxed text-og-fg-subtle",
|
|
@@ -597,7 +509,7 @@ function ToolActionReviewCard({
|
|
|
597
509
|
children: notice
|
|
598
510
|
}
|
|
599
511
|
) : null,
|
|
600
|
-
!actionable && detailsLink ? /* @__PURE__ */
|
|
512
|
+
!actionable && detailsLink ? /* @__PURE__ */ jsx("div", { className: "mt-2", children: detailsLink }) : null
|
|
601
513
|
]
|
|
602
514
|
}
|
|
603
515
|
);
|
|
@@ -610,22 +522,22 @@ function ToolActionReviewDetails({
|
|
|
610
522
|
manageFocus = true
|
|
611
523
|
}) {
|
|
612
524
|
const t = useOpenGeniText();
|
|
613
|
-
const [path, setPath] =
|
|
614
|
-
const [trail, setTrail] =
|
|
615
|
-
const [offset, setOffset] =
|
|
616
|
-
const [page, setPage] =
|
|
617
|
-
const [error, setError] =
|
|
618
|
-
const [retry, setRetry] =
|
|
525
|
+
const [path, setPath] = useState(initialPath);
|
|
526
|
+
const [trail, setTrail] = useState([]);
|
|
527
|
+
const [offset, setOffset] = useState(0);
|
|
528
|
+
const [page, setPage] = useState(null);
|
|
529
|
+
const [error, setError] = useState(false);
|
|
530
|
+
const [retry, setRetry] = useState(0);
|
|
619
531
|
const heading = useRef(null);
|
|
620
532
|
const focusedOnce = useRef(false);
|
|
621
|
-
|
|
533
|
+
useEffect(() => {
|
|
622
534
|
if (page && manageFocus && !focusedOnce.current) {
|
|
623
535
|
focusedOnce.current = true;
|
|
624
536
|
heading.current?.focus({ preventScroll: true });
|
|
625
537
|
heading.current?.scrollIntoView({ block: "start" });
|
|
626
538
|
}
|
|
627
539
|
}, [page, manageFocus]);
|
|
628
|
-
|
|
540
|
+
useEffect(() => {
|
|
629
541
|
let active = true;
|
|
630
542
|
setPage(null);
|
|
631
543
|
setError(false);
|
|
@@ -670,12 +582,12 @@ function ToolActionReviewDetails({
|
|
|
670
582
|
onClick: onBack,
|
|
671
583
|
className: "mb-4 inline-flex min-h-11 items-center gap-2 rounded-og-md pr-2 text-og-sm text-og-fg-muted hover:text-og-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent/40",
|
|
672
584
|
children: [
|
|
673
|
-
/* @__PURE__ */
|
|
585
|
+
/* @__PURE__ */ jsx(ArrowLeftIcon, { className: "size-4", "aria-hidden": "true" }),
|
|
674
586
|
t("toolActionReview.backToReview")
|
|
675
587
|
]
|
|
676
588
|
}
|
|
677
589
|
),
|
|
678
|
-
/* @__PURE__ */
|
|
590
|
+
/* @__PURE__ */ jsx(
|
|
679
591
|
"h2",
|
|
680
592
|
{
|
|
681
593
|
ref: heading,
|
|
@@ -684,8 +596,8 @@ function ToolActionReviewDetails({
|
|
|
684
596
|
children: toolActionTitle(t, review.toolName) ?? review.title
|
|
685
597
|
}
|
|
686
598
|
),
|
|
687
|
-
review.accountLabel ? /* @__PURE__ */
|
|
688
|
-
/* @__PURE__ */
|
|
599
|
+
review.accountLabel ? /* @__PURE__ */ jsx("p", { className: "m-0 mt-1 text-og-sm text-og-fg-muted", children: review.accountLabel }) : null,
|
|
600
|
+
/* @__PURE__ */ jsx("p", { className: "m-0 mt-2 text-og-xs text-og-fg-subtle", children: t("toolActionReview.theExactValuesSavedFor") }),
|
|
689
601
|
trail.length > 0 ? /* @__PURE__ */ jsxs(
|
|
690
602
|
"button",
|
|
691
603
|
{
|
|
@@ -693,7 +605,7 @@ function ToolActionReviewDetails({
|
|
|
693
605
|
className: "mt-3 inline-flex min-h-11 items-center gap-1.5 text-og-sm text-og-fg-muted underline underline-offset-4 hover:text-og-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent/40",
|
|
694
606
|
onClick: up,
|
|
695
607
|
children: [
|
|
696
|
-
/* @__PURE__ */
|
|
608
|
+
/* @__PURE__ */ jsx(ArrowLeftIcon, { className: "size-3.5", "aria-hidden": "true" }),
|
|
697
609
|
t("toolActionReview.backTo"),
|
|
698
610
|
" ",
|
|
699
611
|
trail.at(-1)?.label ?? t("toolActionReview.allValues")
|
|
@@ -703,7 +615,7 @@ function ToolActionReviewDetails({
|
|
|
703
615
|
error ? /* @__PURE__ */ jsxs("div", { role: "alert", className: "mt-4 py-4 text-og-sm", children: [
|
|
704
616
|
t("toolActionReview.couldnTLoadTheseDetails"),
|
|
705
617
|
" ",
|
|
706
|
-
/* @__PURE__ */
|
|
618
|
+
/* @__PURE__ */ jsx(
|
|
707
619
|
"button",
|
|
708
620
|
{
|
|
709
621
|
type: "button",
|
|
@@ -712,9 +624,9 @@ function ToolActionReviewDetails({
|
|
|
712
624
|
children: t("toolActionReview.tryAgain")
|
|
713
625
|
}
|
|
714
626
|
)
|
|
715
|
-
] }) : !page ? /* @__PURE__ */
|
|
716
|
-
/* @__PURE__ */
|
|
717
|
-
/* @__PURE__ */
|
|
627
|
+
] }) : !page ? /* @__PURE__ */ jsx("p", { role: "status", className: "mt-4 py-4 text-og-sm text-og-fg-muted", children: t("toolActionReview.loadingDetails") }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
628
|
+
/* @__PURE__ */ jsx("dl", { className: "m-0 mt-4 divide-y divide-og-border border-y border-og-border", children: page.items.map((item) => /* @__PURE__ */ jsxs("div", { className: "py-3", children: [
|
|
629
|
+
/* @__PURE__ */ jsx("dt", { className: "m-0 text-og-xs text-og-fg-muted", children: item.label }),
|
|
718
630
|
/* @__PURE__ */ jsxs("dd", { className: "m-0 mt-1 whitespace-pre-wrap break-words text-og-sm leading-relaxed [overflow-wrap:anywhere]", children: [
|
|
719
631
|
item.truncated && item.path ? /* @__PURE__ */ jsxs(
|
|
720
632
|
"button",
|
|
@@ -724,12 +636,12 @@ function ToolActionReviewDetails({
|
|
|
724
636
|
className: cn(linkButton, "max-w-full"),
|
|
725
637
|
onClick: () => open(item.path, item.label),
|
|
726
638
|
children: [
|
|
727
|
-
/* @__PURE__ */
|
|
728
|
-
/* @__PURE__ */
|
|
639
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 break-words focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent/40", children: /* @__PURE__ */ jsx(SecretRefText, { text: item.value, linkable: false }) }),
|
|
640
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "size-3.5 shrink-0", "aria-hidden": "true" })
|
|
729
641
|
]
|
|
730
642
|
}
|
|
731
|
-
) : /* @__PURE__ */
|
|
732
|
-
item.detail ? /* @__PURE__ */
|
|
643
|
+
) : /* @__PURE__ */ jsx(SecretRefText, { text: item.value }),
|
|
644
|
+
item.detail ? /* @__PURE__ */ jsx("span", { className: "mt-0.5 block text-og-xs text-og-fg-muted", children: /* @__PURE__ */ jsx(SecretRefText, { text: item.detail, linkable: false }) }) : null
|
|
733
645
|
] })
|
|
734
646
|
] }, `${page.path}:${item.label}`)) }),
|
|
735
647
|
page.total > page.items.length || offset > 0 ? /* @__PURE__ */ jsxs(
|
|
@@ -738,7 +650,7 @@ function ToolActionReviewDetails({
|
|
|
738
650
|
"aria-label": t("toolActionReview.detailPages"),
|
|
739
651
|
className: "mt-4 flex flex-wrap items-center justify-between gap-3 text-og-sm",
|
|
740
652
|
children: [
|
|
741
|
-
/* @__PURE__ */
|
|
653
|
+
/* @__PURE__ */ jsx(
|
|
742
654
|
"button",
|
|
743
655
|
{
|
|
744
656
|
type: "button",
|
|
@@ -748,8 +660,8 @@ function ToolActionReviewDetails({
|
|
|
748
660
|
children: t("toolActionReview.previous")
|
|
749
661
|
}
|
|
750
662
|
),
|
|
751
|
-
/* @__PURE__ */
|
|
752
|
-
/* @__PURE__ */
|
|
663
|
+
/* @__PURE__ */ jsx("span", { className: "text-og-fg-muted tabular-nums", children: page.total === 0 ? t("toolActionReview.noItems") : `${(offset + 1).toLocaleString(t.locale)}\u2013${(offset + page.items.length).toLocaleString(t.locale)} of ${page.total.toLocaleString(t.locale)}` }),
|
|
664
|
+
/* @__PURE__ */ jsx(
|
|
753
665
|
"button",
|
|
754
666
|
{
|
|
755
667
|
type: "button",
|
|
@@ -768,6 +680,94 @@ function ToolActionReviewDetails({
|
|
|
768
680
|
);
|
|
769
681
|
}
|
|
770
682
|
|
|
683
|
+
// src/timeline/retained-loaders.ts
|
|
684
|
+
function createWorkspaceRetainedArtifactLoader(client, workspaceId) {
|
|
685
|
+
return async (artifact, signal, options) => {
|
|
686
|
+
if (artifact.kind === "file" && options?.prefer !== "url") {
|
|
687
|
+
const download2 = await client.downloadRetainedArtifact(workspaceId, artifact, { signal });
|
|
688
|
+
return download2.bytes;
|
|
689
|
+
}
|
|
690
|
+
const download = await client.createRetainedArtifactDownloadUrl(workspaceId, artifact, {
|
|
691
|
+
signal
|
|
692
|
+
});
|
|
693
|
+
return { url: download.url, expiresAt: download.expiresAt };
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
function createSessionRetainedScreenshotLoader(client, workspaceId, sessionId) {
|
|
697
|
+
return async (artifact, signal) => {
|
|
698
|
+
const download = await client.downloadRetainedScreenshot(
|
|
699
|
+
workspaceId,
|
|
700
|
+
sessionId,
|
|
701
|
+
artifact.artifactId,
|
|
702
|
+
{ signal }
|
|
703
|
+
);
|
|
704
|
+
if (!download.metadata.available || !download.bytes) return null;
|
|
705
|
+
if (download.metadata.artifactId !== artifact.artifactId || download.metadata.kind !== artifact.kind || download.metadata.contentType !== artifact.contentType || download.metadata.originalBytes !== artifact.originalBytes || download.metadata.sha256 !== artifact.sha256 || download.metadata.dimensions?.width !== artifact.dimensions?.width || download.metadata.dimensions?.height !== artifact.dimensions?.height) {
|
|
706
|
+
throw new Error("Retained screenshot receipt verification failed");
|
|
707
|
+
}
|
|
708
|
+
return download.bytes;
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
function createWorkspaceRetainedVideoLoader(client, workspaceId) {
|
|
712
|
+
return async (artifactId, signal) => await client.createVideoArtifactPlaybackSource(workspaceId, artifactId, { signal });
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
// src/components/tool-review-history.tsx
|
|
716
|
+
import { createContext, useContext, useEffect as useEffect2, useMemo as useMemo2, useState as useState2 } from "react";
|
|
717
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
718
|
+
var History = createContext(null);
|
|
719
|
+
function ToolReviewHistoryProvider({
|
|
720
|
+
events,
|
|
721
|
+
load,
|
|
722
|
+
onViewDetails,
|
|
723
|
+
children
|
|
724
|
+
}) {
|
|
725
|
+
const value = useMemo2(
|
|
726
|
+
() => ({
|
|
727
|
+
approvalIds: new Set(
|
|
728
|
+
events.flatMap(
|
|
729
|
+
(event) => event.type === "session.requiresAction" ? approvalsFromRequiresAction(event.payload).map((approval) => approval.id) : []
|
|
730
|
+
)
|
|
731
|
+
),
|
|
732
|
+
revision: [...events].reverse().find(
|
|
733
|
+
(event) => event.type === "session.requiresAction" || event.type === "agent.toolCall.output" || event.type.startsWith("turn.") || event.type === "user.approvalDecision" || event.type.startsWith("session.control.")
|
|
734
|
+
)?.sequence ?? 0,
|
|
735
|
+
load,
|
|
736
|
+
onViewDetails
|
|
737
|
+
}),
|
|
738
|
+
[events, load, onViewDetails]
|
|
739
|
+
);
|
|
740
|
+
return /* @__PURE__ */ jsx2(History.Provider, { value, children });
|
|
741
|
+
}
|
|
742
|
+
function useHasToolReview(approvalId) {
|
|
743
|
+
const history = useContext(History);
|
|
744
|
+
return Boolean(approvalId && history?.approvalIds.has(approvalId));
|
|
745
|
+
}
|
|
746
|
+
function useRecordedToolReview(approvalId) {
|
|
747
|
+
const history = useContext(History);
|
|
748
|
+
const [review, setReview] = useState2(null);
|
|
749
|
+
const load = history?.load;
|
|
750
|
+
const revision = history?.revision;
|
|
751
|
+
useEffect2(() => {
|
|
752
|
+
if (!load || !approvalId) return;
|
|
753
|
+
let active = true;
|
|
754
|
+
void load(approvalId).then(
|
|
755
|
+
(value) => {
|
|
756
|
+
if (active && value.id === approvalId) setReview(value);
|
|
757
|
+
},
|
|
758
|
+
() => void 0
|
|
759
|
+
);
|
|
760
|
+
return () => {
|
|
761
|
+
active = false;
|
|
762
|
+
};
|
|
763
|
+
}, [approvalId, load, revision]);
|
|
764
|
+
const onViewDetails = history?.onViewDetails;
|
|
765
|
+
return {
|
|
766
|
+
review: review && review.id === approvalId ? review : null,
|
|
767
|
+
onViewDetails: review && onViewDetails ? (path) => onViewDetails(review, path) : void 0
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
771
|
// src/timeline/knowledge-receipt.tsx
|
|
772
772
|
import { createContext as createContext2, useContext as useContext2, useState as useState3 } from "react";
|
|
773
773
|
import { BrainCircuitIcon } from "lucide-react";
|
|
@@ -2581,7 +2581,7 @@ function ReviewedGenericRenderer(props) {
|
|
|
2581
2581
|
);
|
|
2582
2582
|
}
|
|
2583
2583
|
var LazyPaymentPageCard = lazy(
|
|
2584
|
-
() => import("./payment-page-card-
|
|
2584
|
+
() => import("./payment-page-card-Q4BEOZVN.js").then((module) => ({ default: module.PaymentPageCard }))
|
|
2585
2585
|
);
|
|
2586
2586
|
function AppActionCallRenderer(props) {
|
|
2587
2587
|
const page = paymentPageOf(props.item);
|
|
@@ -3086,7 +3086,7 @@ function useSeenActivityIds() {
|
|
|
3086
3086
|
// src/timeline/activity-rail.tsx
|
|
3087
3087
|
import { Fragment as Fragment5, jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3088
3088
|
var LazyFleetDecisionRow = lazy2(() => import("./fleet-decision-row-FJPAWNOQ.js"));
|
|
3089
|
-
var LazyPlatformActivityRow = lazy2(() => import("./platform-activity-row-
|
|
3089
|
+
var LazyPlatformActivityRow = lazy2(() => import("./platform-activity-row-NPEGG2VE.js"));
|
|
3090
3090
|
function familyOf(item) {
|
|
3091
3091
|
if (item.kind === "tool-call") {
|
|
3092
3092
|
return item.name === "exec_command" || item.name === "write_stdin" ? "terminal" : item.name;
|
|
@@ -3959,15 +3959,15 @@ function LearningRefusalRow({ refusal }) {
|
|
|
3959
3959
|
}
|
|
3960
3960
|
|
|
3961
3961
|
export {
|
|
3962
|
-
createWorkspaceRetainedArtifactLoader,
|
|
3963
|
-
createSessionRetainedScreenshotLoader,
|
|
3964
|
-
createWorkspaceRetainedVideoLoader,
|
|
3965
|
-
ToolReviewHistoryProvider,
|
|
3966
3962
|
UNRECOVERABLE_TEXT,
|
|
3967
3963
|
ToolReviewFrame,
|
|
3968
3964
|
DeclineButton,
|
|
3969
3965
|
ToolActionReviewCard,
|
|
3970
3966
|
ToolActionReviewDetails,
|
|
3967
|
+
createWorkspaceRetainedArtifactLoader,
|
|
3968
|
+
createSessionRetainedScreenshotLoader,
|
|
3969
|
+
createWorkspaceRetainedVideoLoader,
|
|
3970
|
+
ToolReviewHistoryProvider,
|
|
3971
3971
|
KnowledgeActivityProvider,
|
|
3972
3972
|
TimelineComputeLabelProvider,
|
|
3973
3973
|
ProviderLogoProvider,
|
|
@@ -3993,4 +3993,4 @@ export {
|
|
|
3993
3993
|
LearningRefusalActionsProvider,
|
|
3994
3994
|
LearningRefusalRow
|
|
3995
3995
|
};
|
|
3996
|
-
//# sourceMappingURL=chunk-
|
|
3996
|
+
//# sourceMappingURL=chunk-IZVXSAOJ.js.map
|