@opengeni/react 6.37.3-canary.45212185968001 → 6.37.3
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 +28 -28
- package/dist/app/components/Composer.js +42 -42
- package/dist/app/components/add-card-dialog.js +1 -1
- package/dist/app/components/add-card.js +3 -3
- 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 +134 -134
- package/dist/app/components/agents/agent-page.js +117 -117
- package/dist/app/components/agents/agent-setup-sections.js +73 -73
- 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 +27 -27
- 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 +97 -97
- package/dist/app/components/agents/composer-agent-chip.js +55 -55
- package/dist/app/components/agents/session-agent-chip.js +52 -52
- package/dist/app/components/artifacts/app-package.js +11 -11
- 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 +68 -68
- package/dist/app/components/artifacts/chat-interactive-block.js +27 -27
- package/dist/app/components/artifacts/copy-artifact-link.js +2 -2
- package/dist/app/components/artifacts/file-reach-dialog.js +11 -11
- package/dist/app/components/artifacts/inline-chat-image.js +49 -49
- package/dist/app/components/artifacts/ready-made-apps.js +11 -11
- 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 +33 -33
- 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 +63 -63
- package/dist/app/components/artifacts/site-publishing.js +50 -50
- package/dist/app/components/artifacts/site-settings.js +62 -62
- package/dist/app/components/artifacts/site-version-menu.js +8 -8
- package/dist/app/components/billing-class-mark.js +6 -6
- package/dist/app/components/capabilities/capability-detail-sheet.js +14 -14
- package/dist/app/components/capabilities/capability-logo-source.js +25 -25
- 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 +28 -28
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +5 -5
- package/dist/app/components/capabilities/perform-capability-action.js +2 -2
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +28 -28
- package/dist/app/components/capabilities/session-capability-card.js +130 -130
- package/dist/app/components/capabilities/session-chrome-card.js +48 -48
- package/dist/app/components/capabilities/session-connect-inputs-card.js +31 -31
- package/dist/app/components/capabilities/session-custom-mcp-card.js +36 -36
- package/dist/app/components/capabilities/session-github-card.js +42 -42
- package/dist/app/components/capabilities/session-machine-card.js +49 -49
- package/dist/app/components/capabilities/session-personal-github-card.js +29 -29
- package/dist/app/components/capabilities/session-plugin-card.js +18 -18
- package/dist/app/components/capabilities/use-capabilities-catalog.js +1 -1
- package/dist/app/components/capabilities/use-connection-accounts.js +2 -2
- 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 +79 -79
- package/dist/app/components/command-menu/command-menu.js +102 -102
- package/dist/app/components/command-menu/shortcut-sheet.js +19 -19
- package/dist/app/components/composer-capabilities-menu-body.js +5 -5
- package/dist/app/components/composer-mobile-plus-panel.js +25 -25
- package/dist/app/components/composer-mobile-plus.js +3 -3
- package/dist/app/components/credit-required-gate.js +7 -7
- package/dist/app/components/credit-required-prompt.js +27 -27
- 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 +7 -7
- 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 +13 -13
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +3 -3
- 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 +24 -24
- package/dist/app/components/manual-repository-editor.js +3 -3
- package/dist/app/components/markdown.js +14 -14
- 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 +10 -10
- package/dist/app/components/rail/channel-create-dialog.js +5 -5
- package/dist/app/components/rail/project-glyph.js +48 -48
- package/dist/app/components/rail/project-profile.js +66 -66
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +149 -149
- package/dist/app/components/rail/session-header.js +117 -117
- package/dist/app/components/rail/session-list.js +147 -147
- 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 +185 -185
- package/dist/app/components/rail/site-session-group-heading.js +35 -35
- package/dist/app/components/repository-picker.js +13 -13
- package/dist/app/components/secrets/session-secrets-panel.js +4 -4
- package/dist/app/components/session/agent-configuration-panel.js +38 -38
- package/dist/app/components/session/artifact-session-page.js +7 -7
- package/dist/app/components/session/banners.js +19 -19
- package/dist/app/components/session/chat-avatar.js +48 -48
- package/dist/app/components/session/console-new-conversation.js +104 -104
- package/dist/app/components/session/descendant-requests.js +100 -100
- package/dist/app/components/session/editable-artifacts-workspace.js +58 -58
- package/dist/app/components/session/failed-session-banner.js +28 -28
- package/dist/app/components/session/human-input-delegation-record.js +2 -2
- package/dist/app/components/session/human-input.js +79 -79
- package/dist/app/components/session/inspector.js +131 -131
- 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 +25 -25
- package/dist/app/components/session/new-session-setup-strip.js +51 -51
- package/dist/app/components/session/pull-request-panel.js +23 -23
- package/dist/app/components/session/sandbox-switcher.js +21 -21
- package/dist/app/components/session/sandbox-workspace.js +111 -111
- package/dist/app/components/session/search-markdown-highlight.js +15 -15
- package/dist/app/components/session/search-results-view.js +16 -16
- 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 +55 -55
- package/dist/app/components/session/session-avatar.js +50 -50
- package/dist/app/components/session/session-machine-access-notice.js +10 -10
- package/dist/app/components/session/session-profile-dialog.js +63 -63
- package/dist/app/components/session/session-profile-editor.js +64 -64
- package/dist/app/components/session/session-retention.js +5 -5
- package/dist/app/components/session/session-search-dialog.js +19 -19
- package/dist/app/components/session/session-skill-reviews.js +5 -5
- package/dist/app/components/session/session-tenancy-control.js +28 -28
- 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 +22 -22
- 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 +23 -23
- package/dist/app/components/workspace-composer-plus.js +40 -40
- package/dist/app/components/workspace-reach.js +5 -5
- package/dist/app/embed/session-app.js +373 -373
- 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 +10 -10
- package/dist/app/lib/app-shared-key-dialog.js +5 -5
- package/dist/app/lib/app-surfaces.js +2 -2
- 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 +29 -29
- package/dist/app/lib/composer-send-blocking.js +2 -2
- package/dist/app/lib/console-site.js +3 -3
- package/dist/app/lib/events.js +25 -25
- 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 +1 -1
- 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 +5 -5
- package/dist/app/lib/use-artifact-catalog.js +2 -2
- package/dist/app/lib/use-duplicate-site.js +5 -5
- 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 +3 -3
- 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 +17 -17
- package/dist/app/routes/app-page.js +2 -2
- package/dist/app/routes/artifacts.js +146 -146
- package/dist/app/routes/retained-artifact.js +108 -108
- package/dist/app/routes/session-unavailable.js +6 -6
- package/dist/app/routes/session.js +231 -231
- package/dist/app/routes/sessions-index-hydration.js +1 -1
- package/dist/app/routes/sessions-index.js +194 -194
- package/dist/app/routes/site-view.js +188 -188
- 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-DWLNDPHZ.js → browser-viewer-J6O65JXH.js} +7 -7
- package/dist/{chat-interactive-block-KUDPTS4Z.js → chat-interactive-block-R5JEJYMR.js} +9 -9
- package/dist/{chunk-K2S32GRS.js → chunk-24S44WBL.js} +2 -2
- package/dist/{chunk-YQ25GY4V.js → chunk-27HN57HE.js} +8 -8
- package/dist/{chunk-Z26KIZF7.js → chunk-2SH6CLOR.js} +7 -7
- package/dist/{chunk-ZXASGAEP.js → chunk-2XZ3EUSP.js} +8 -8
- package/dist/{chunk-3IHXVJAT.js → chunk-2ZC62PY4.js} +2 -2
- package/dist/{chunk-JPGM5HMF.js → chunk-36YTBVYF.js} +2 -2
- package/dist/{chunk-JQW6MDUD.js → chunk-3775TQE5.js} +7582 -7582
- package/dist/chunk-3775TQE5.js.map +1 -0
- package/dist/{chunk-3AIXQ3BF.js → chunk-3CF2B2LD.js} +2 -2
- package/dist/{chunk-YIYH5WKY.js → chunk-3GENISSH.js} +4 -4
- package/dist/{chunk-VTMLWOFB.js → chunk-3IEVQMGO.js} +55 -36
- package/dist/chunk-3IEVQMGO.js.map +1 -0
- package/dist/{chunk-IDSB7ZVK.js → chunk-3VSKLEUE.js} +292 -287
- package/dist/{chunk-IDSB7ZVK.js.map → chunk-3VSKLEUE.js.map} +1 -1
- package/dist/{chunk-LMXPFXUT.js → chunk-3X4HTUUR.js} +18 -18
- package/dist/{chunk-VN2PJHNY.js → chunk-3XHPCZ6N.js} +24 -24
- package/dist/chunk-3XHPCZ6N.js.map +1 -0
- package/dist/{chunk-QOXEMEDH.js → chunk-4GFLP4OY.js} +10 -10
- package/dist/{chunk-6T3JRN4Z.js → chunk-4GUPD7CJ.js} +15 -15
- package/dist/{chunk-B6AH43UQ.js → chunk-4OGDD2EM.js} +9 -9
- package/dist/{chunk-SQWQOUJG.js → chunk-4T2RJ2HY.js} +3 -3
- package/dist/{chunk-4JZW6TIM.js → chunk-4XEPZARK.js} +4 -4
- package/dist/{chunk-Q7KHUZ3T.js → chunk-4YNWA5YG.js} +7 -7
- package/dist/{chunk-KF2TX3MG.js → chunk-54NTSBQO.js} +2 -2
- package/dist/{chunk-6X2C66OI.js → chunk-5CGZOJN7.js} +5 -5
- package/dist/{chunk-MVYQDBE6.js → chunk-5ERDSF2C.js} +4 -4
- package/dist/{chunk-ZNQNNKOD.js → chunk-5I6CWDA6.js} +13 -13
- package/dist/{chunk-JIBWPQYV.js → chunk-5JG277OH.js} +6 -6
- package/dist/{chunk-BUD2HCFN.js → chunk-5JOTMM3F.js} +196 -196
- package/dist/{chunk-BUD2HCFN.js.map → chunk-5JOTMM3F.js.map} +1 -1
- package/dist/{chunk-NLOJY45T.js → chunk-5ORXRVXV.js} +5 -5
- package/dist/{chunk-KKZKXQLQ.js → chunk-67BMBRTK.js} +4 -4
- package/dist/{chunk-XQ3OEFMZ.js → chunk-67JCL67N.js} +3 -3
- package/dist/{chunk-O664PL2U.js → chunk-6F34IWSA.js} +11 -11
- package/dist/chunk-6F34IWSA.js.map +1 -0
- package/dist/{chunk-JQ6VLCBQ.js → chunk-6GYRHQVL.js} +161 -161
- package/dist/{chunk-RWNC3IGU.js → chunk-6MSTIFAL.js} +8 -8
- package/dist/{chunk-7WLEOZ3M.js → chunk-6OMREP52.js} +8 -8
- package/dist/{chunk-DRILEPI2.js → chunk-6P3QOMPV.js} +2 -2
- package/dist/{chunk-XFMQBHDV.js → chunk-6SPEMI7K.js} +68 -68
- package/dist/chunk-6SPEMI7K.js.map +1 -0
- package/dist/{chunk-IPV2SYLD.js → chunk-6WGJB6GO.js} +3 -3
- package/dist/{chunk-N2U4BGS2.js → chunk-72PGXQDN.js} +2 -2
- package/dist/{chunk-3BI43BIS.js → chunk-7CIMPDGL.js} +2 -2
- package/dist/{chunk-IOFEA7OF.js → chunk-7J3TLTPI.js} +2 -2
- package/dist/{chunk-W53LBFT6.js → chunk-7ZQVRVNI.js} +4 -4
- package/dist/{chunk-ZIKLGN6B.js → chunk-A2QOUEU3.js} +5 -5
- package/dist/{chunk-OPYDKW53.js → chunk-A36WG3BT.js} +2 -2
- package/dist/{chunk-ORYCDC57.js → chunk-ADFUTR45.js} +7 -7
- package/dist/{chunk-5GAHDYDT.js → chunk-ADNH5GSP.js} +64 -64
- package/dist/{chunk-4UADNWV6.js → chunk-AGW5H6QV.js} +29 -29
- package/dist/{chunk-QVOTPOXK.js → chunk-AU2DT7O2.js} +1 -1
- package/dist/{chunk-AJ4ZC4HY.js → chunk-AX65L6QV.js} +5 -5
- package/dist/{chunk-U35WJ3OB.js → chunk-B57G2C45.js} +2 -2
- package/dist/{chunk-DIDHQFRR.js → chunk-BPCI4ZGR.js} +14 -14
- package/dist/{chunk-CIVFETJ6.js → chunk-BRJLN3ZL.js} +5 -5
- package/dist/{chunk-SRDHDIRQ.js → chunk-BY7AWWDB.js} +6 -6
- package/dist/{chunk-FTFUNEFJ.js → chunk-CBSBNUGV.js} +5 -5
- package/dist/{chunk-D3ZIXSAF.js → chunk-CHKHQHOO.js} +37 -37
- package/dist/{chunk-VPHVF6B2.js → chunk-CSGKUDNB.js} +30 -30
- package/dist/{chunk-6MVWD5XT.js → chunk-CZPN2HP3.js} +5 -5
- package/dist/{chunk-7Z7VIYIJ.js → chunk-D2VP4C5B.js} +15 -15
- package/dist/{chunk-F3LIUDXN.js → chunk-D32VVOBJ.js} +126 -126
- package/dist/chunk-D32VVOBJ.js.map +1 -0
- package/dist/{chunk-CROKAGNV.js → chunk-D4AF4SOJ.js} +4 -4
- package/dist/{chunk-5BPYSQXD.js → chunk-DECSYLBP.js} +10 -10
- package/dist/{chunk-OMDHLJMQ.js → chunk-DEKCTHXM.js} +46 -46
- package/dist/{chunk-QTOYKOH6.js → chunk-DGS62JWP.js} +7 -7
- package/dist/{chunk-NMFECSTW.js → chunk-DHXRMZPQ.js} +10 -10
- package/dist/{chunk-ZQX33EV5.js → chunk-DJ4X4U4A.js} +15 -15
- package/dist/{chunk-DPKQCFK2.js → chunk-DLMMQMKZ.js} +53 -53
- package/dist/{chunk-RYC732VO.js → chunk-DWPE3Y7M.js} +5 -5
- package/dist/{chunk-I2PIDEO6.js → chunk-EGSRY63C.js} +10 -10
- package/dist/{chunk-GH5II7CP.js → chunk-EJYHPNXD.js} +8 -8
- package/dist/{chunk-52HGZH7K.js → chunk-EVJ42E62.js} +2 -2
- package/dist/{chunk-DPYQ7UOQ.js → chunk-F47X7XPQ.js} +1 -1
- package/dist/{chunk-6UM4QPGH.js → chunk-F4ESDJTE.js} +2 -2
- package/dist/{chunk-YW4CA4GO.js → chunk-F7NV3EL5.js} +5 -5
- package/dist/{chunk-57KVMXSC.js → chunk-FFWVFU6S.js} +2 -2
- package/dist/{chunk-YYUIJQCD.js → chunk-FUJ6DWRZ.js} +9 -9
- package/dist/{chunk-OT33BB76.js → chunk-FX4HG4FR.js} +2 -2
- package/dist/{chunk-CVC4RO7D.js → chunk-FZOK37SC.js} +7 -7
- package/dist/{chunk-KWI66TJR.js → chunk-GBGJIR6F.js} +28 -28
- package/dist/{chunk-JBNQEW5E.js → chunk-GCURVP5U.js} +15 -15
- package/dist/{chunk-ODCM2LRA.js → chunk-GFMRMSFN.js} +5 -5
- package/dist/{chunk-XF2FMRK6.js → chunk-GH4VY3H5.js} +9 -9
- package/dist/{chunk-XQODHW6K.js → chunk-GJFTPSGN.js} +8 -8
- package/dist/{chunk-6HRRR5BF.js → chunk-GNTEF5TL.js} +8 -8
- package/dist/{chunk-R5ZK5A5I.js → chunk-GQF2HWQE.js} +9 -9
- package/dist/{chunk-QCDEBOHL.js → chunk-GXYS6BI3.js} +8 -8
- package/dist/{chunk-QA5UNVHD.js → chunk-H4NDK35I.js} +3 -3
- package/dist/{chunk-GLYOEWRG.js → chunk-H6DJIEO6.js} +3 -3
- package/dist/{chunk-GIHE7U3Y.js → chunk-HUKGLWAY.js} +4 -4
- package/dist/{chunk-NS2NMGJS.js → chunk-HUS2QEPV.js} +45 -45
- package/dist/{chunk-SYYFA7W7.js → chunk-HUTQJY3F.js} +4 -4
- package/dist/{chunk-62T2ZPD5.js → chunk-HWOYJOKK.js} +2 -2
- package/dist/{chunk-C5XZMAHL.js → chunk-I46F7LUI.js} +2 -2
- package/dist/{chunk-I3RHHR27.js → chunk-IEUZ4ASX.js} +9 -9
- package/dist/{chunk-FWFGK5WP.js → chunk-IHLF7R6Q.js} +15 -15
- package/dist/{chunk-LRJAXTLQ.js → chunk-J45WTHTL.js} +2 -2
- package/dist/{chunk-QNOWKKZ4.js → chunk-J4OOKDRV.js} +4 -4
- package/dist/{chunk-B6AXGNIL.js → chunk-J6YVN3W7.js} +7 -7
- package/dist/{chunk-5QJ7BTBF.js → chunk-JOZFVEBN.js} +7 -7
- package/dist/{chunk-RKO326MX.js → chunk-K7GGLL2U.js} +8 -8
- package/dist/{chunk-ZHRGOYEC.js → chunk-KDHWX7XH.js} +9 -9
- package/dist/{chunk-CQVXEZJT.js → chunk-KMLELG4O.js} +4 -4
- package/dist/{chunk-3BYVKJ7U.js → chunk-KQY4P4EO.js} +6 -6
- package/dist/{chunk-HBICYTNN.js → chunk-KW4OJ3RS.js} +6 -6
- package/dist/{chunk-EU3RGXCU.js → chunk-KWOYMJKM.js} +12 -12
- package/dist/{chunk-MFLU3466.js → chunk-KYDLVMKA.js} +4 -4
- package/dist/{chunk-KEOHT7JK.js → chunk-KZYQNVXE.js} +4 -4
- package/dist/{chunk-GCNOG3W3.js → chunk-L3GNEC6B.js} +7 -7
- package/dist/{chunk-55RKBOO7.js → chunk-LC5E7CVA.js} +8 -8
- package/dist/{chunk-BWZTWR2E.js → chunk-LFMTPBET.js} +6 -6
- package/dist/{chunk-PPQJIVGM.js → chunk-LFQI2C46.js} +4 -4
- package/dist/{chunk-OITKZ5CF.js → chunk-LJKZGQTI.js} +5 -5
- package/dist/{chunk-HTV7GCZO.js → chunk-M3WCB73E.js} +13 -13
- package/dist/{chunk-YTPQ4XZD.js → chunk-M47MKLW2.js} +3 -3
- package/dist/{chunk-MO3XJQN2.js → chunk-M5FX5KH5.js} +6 -6
- package/dist/{chunk-XHTJ4U2I.js → chunk-MHL727ZE.js} +8 -8
- package/dist/{chunk-Y7LFTLGQ.js → chunk-N3AAMSBH.js} +11 -11
- package/dist/{chunk-EDUUTFCL.js → chunk-N4TJ7A7I.js} +2 -2
- package/dist/{chunk-AQQDS5TA.js → chunk-NFZAMHSR.js} +10 -10
- package/dist/{chunk-L6WVCO6D.js → chunk-NRAVQJE2.js} +5 -5
- package/dist/{chunk-2MN4ECC6.js → chunk-NU4HYZ3C.js} +2 -2
- package/dist/{chunk-KU77XHWB.js → chunk-NUZNJSL5.js} +4 -4
- package/dist/{chunk-2SM3NPVF.js → chunk-NY5DX43C.js} +2 -2
- package/dist/{chunk-4PFXNHD3.js → chunk-O5JDQZGV.js} +4 -4
- package/dist/{chunk-HGDOBAHM.js → chunk-OMYT3X2Y.js} +1 -1
- package/dist/{chunk-5YHTSSIW.js → chunk-OSQ6YGZW.js} +12 -12
- package/dist/{chunk-A5GX3CAE.js → chunk-PBKG2OPJ.js} +23 -23
- package/dist/{chunk-SLINGGRD.js → chunk-PCP5GF77.js} +7 -7
- package/dist/{chunk-KTGKGHEA.js → chunk-PCSRHFRF.js} +4 -4
- package/dist/{chunk-HP3PL5EY.js → chunk-PHNHJKEL.js} +5 -5
- package/dist/{chunk-H2GRSK4I.js → chunk-PIPD74PT.js} +25 -25
- package/dist/{chunk-6CDBX3XG.js → chunk-PMBZMVKE.js} +2 -2
- package/dist/{chunk-PQPWLY47.js → chunk-PMVZYQ5W.js} +8 -8
- package/dist/{chunk-XCULPKCE.js → chunk-POUIWV6K.js} +133 -133
- package/dist/{chunk-HFROJDFQ.js → chunk-PTSRBKQC.js} +2 -2
- package/dist/{chunk-XKBUIJCB.js → chunk-Q5AQJQXU.js} +4 -4
- package/dist/{chunk-H26NFDN6.js → chunk-QAS2OFG5.js} +9 -9
- package/dist/{chunk-JMLK5YFU.js → chunk-QCJ6SNCP.js} +10 -10
- package/dist/{chunk-XHF2XNU5.js → chunk-QFMPAR74.js} +4 -4
- package/dist/{chunk-EIMK4OBO.js → chunk-QHF4B7R4.js} +7 -7
- package/dist/{chunk-6NAHUCXN.js → chunk-QHGWFKTK.js} +2 -2
- package/dist/{chunk-HCNRWXWG.js → chunk-QJ4YC4PM.js} +5 -5
- package/dist/{chunk-H3VYP5OR.js → chunk-QSG6FWOK.js} +6 -6
- package/dist/{chunk-6D3D2JWY.js → chunk-R6CFPY3F.js} +4 -4
- package/dist/{chunk-YAVW5OJ5.js → chunk-R6OBJ7LF.js} +4 -4
- package/dist/{chunk-CGZQEZLS.js → chunk-RAUWORZV.js} +4 -4
- package/dist/{chunk-MPKQAQPC.js → chunk-RG7PMYWW.js} +3 -3
- package/dist/{chunk-PCI7756C.js → chunk-RLS563ST.js} +13 -13
- package/dist/{chunk-CGWVYEYA.js → chunk-RQAE6DI7.js} +10 -10
- package/dist/{chunk-DALQXWAO.js → chunk-S6GFECVG.js} +4 -4
- package/dist/{chunk-YMWT5UZA.js → chunk-SBWVYYRA.js} +12 -12
- package/dist/{chunk-EEVZ52EB.js → chunk-SHW2QUOE.js} +8 -8
- package/dist/{chunk-4W6SOOFS.js → chunk-SQJQVTHA.js} +4 -4
- package/dist/{chunk-K6XPCJ4E.js → chunk-STTCF3OR.js} +4 -4
- package/dist/{chunk-V7UUHMDU.js → chunk-SVG5U7UN.js} +4 -4
- package/dist/{chunk-MCPKUVMQ.js → chunk-TGG3ODCS.js} +4 -4
- package/dist/{chunk-3EEUD7YO.js → chunk-TL6UOSMX.js} +4057 -4055
- package/dist/chunk-TL6UOSMX.js.map +1 -0
- package/dist/{chunk-P57OLDBC.js → chunk-TU6FW6IJ.js} +4 -4
- package/dist/{chunk-YXP62OER.js → chunk-TXSZR2SB.js} +2 -2
- package/dist/{chunk-U2ST5MFT.js → chunk-TYZ3WUKG.js} +27 -27
- package/dist/{chunk-MIE5HOBX.js → chunk-U4EMW7RP.js} +4 -4
- package/dist/{chunk-CYDC3R6H.js → chunk-UBSHJB6M.js} +2 -2
- package/dist/{chunk-PYMQM65Y.js → chunk-UFRXYZCJ.js} +4 -4
- package/dist/{chunk-BTJIU33Y.js → chunk-UJB54P4M.js} +9 -9
- package/dist/{chunk-E47FJJVS.js → chunk-UNOJ5PNN.js} +31 -31
- package/dist/{chunk-6I7GCTD4.js → chunk-UOBJFO25.js} +13 -13
- package/dist/{chunk-46ZC5VNC.js → chunk-UPRN4FBY.js} +4 -4
- package/dist/{chunk-ON2HXTZS.js → chunk-UQQUMT5P.js} +2 -2
- package/dist/{chunk-O37MMAYZ.js → chunk-UTFX46TK.js} +4 -4
- package/dist/{chunk-NPV7UTP5.js → chunk-VCWRMKTQ.js} +10 -10
- package/dist/{chunk-QD4T2J2I.js → chunk-VMJN6YQL.js} +2 -2
- package/dist/{chunk-ZD7QRVDC.js → chunk-VWEGG7JQ.js} +2 -2
- package/dist/{chunk-4NNNF3I2.js → chunk-VXGQVX53.js} +8 -8
- package/dist/{chunk-5MHUB47C.js → chunk-W7UFWXZ6.js} +4 -4
- package/dist/{chunk-2Y4LDCRD.js → chunk-WKBJNGYV.js} +3 -3
- package/dist/{chunk-KIS4FWC5.js → chunk-WZZV7DUU.js} +11 -11
- package/dist/{chunk-UQNOKKEE.js → chunk-XDWW2DLJ.js} +6 -6
- package/dist/{chunk-MS5ITMW6.js → chunk-XF55A7CC.js} +5 -5
- package/dist/{chunk-6BKV6G3M.js → chunk-XGUBIE35.js} +2 -2
- package/dist/{chunk-AOXSW6AQ.js → chunk-XKPVWLMM.js} +5 -5
- package/dist/{chunk-NCBDFV52.js → chunk-XSR6J5LY.js} +8 -8
- package/dist/{chunk-HFY7YQTM.js → chunk-Y2LD4FTV.js} +2 -2
- package/dist/{chunk-GO5VIAA7.js → chunk-Y6CNWBV3.js} +4 -4
- package/dist/{chunk-XEWQU35M.js → chunk-YIR4KVJO.js} +5 -5
- package/dist/{chunk-WRHH3S6V.js → chunk-YNIDJOGT.js} +1 -1
- package/dist/{chunk-HHFFPE67.js → chunk-YP4SNX4P.js} +4 -4
- package/dist/{chunk-TIGCQYSI.js → chunk-YPIOAMHD.js} +5 -5
- package/dist/{chunk-2E25T36N.js → chunk-YPM3T3UM.js} +24 -24
- package/dist/{chunk-YD3LROO2.js → chunk-ZAGLLXX5.js} +6 -6
- package/dist/{chunk-MIUJ3EH5.js → chunk-ZD67RM6G.js} +4 -4
- package/dist/{chunk-7B6RHDNQ.js → chunk-ZLY7M463.js} +2 -2
- package/dist/{chunk-J65NMU3P.js → chunk-ZNIG3CPB.js} +9 -9
- package/dist/{chunk-3VS6PNSI.js → chunk-ZU5WVSHV.js} +10 -10
- package/dist/{chunk-AQ7KXETX.js → chunk-ZWEVJPXC.js} +7 -7
- package/dist/{chunk-EICYIASC.js → chunk-ZWFLYN7T.js} +25 -25
- package/dist/components/markdown.d.ts +1 -1
- package/dist/composer.js +34 -34
- package/dist/{computer-viewer-PIYSJ2NG.js → computer-viewer-ZISZUM4L.js} +4 -4
- package/dist/connect.js +27 -27
- package/dist/{connection-step-up-I4FIKSTA.js → connection-step-up-UQHDCXFE.js} +29 -29
- package/dist/desktop-dictation.js +21 -21
- package/dist/{embedded-new-voice-6G7K4GHG.js → embedded-new-voice-UWSSA7AB.js} +12 -12
- package/dist/{embedded-voice-YKGPFUHJ.js → embedded-voice-T34K465A.js} +12 -12
- package/dist/in-chat-connect-model.js +4 -4
- package/dist/index.js +282 -282
- 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-G753RA3K.js → model-policy-picker-menu-2CTRKSDJ.js} +8 -8
- package/dist/{payment-page-card-JINQVM53.js → payment-page-card-OOOFGIMH.js} +5 -5
- package/dist/{platform-activity-row-5TC3EFFS.js → platform-activity-row-EZYTZPYR.js} +4 -4
- package/dist/{queue-surface-implementation-I7LCCROK.js → queue-surface-implementation-HDZ42LN7.js} +7 -7
- package/dist/realtime.js +15 -15
- package/dist/{sandbox-files-YEX3NTYN.js → sandbox-files-6JY7WVMO.js} +12 -12
- package/dist/session-app.js +373 -373
- package/dist/{session-connect-cards-Y7IZXBG3.js → session-connect-cards-VTSJODCX.js} +8 -8
- package/dist/session-ui.js +85 -85
- package/dist/session.js +41 -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 +5 -6
- package/src/app/routes/session.tsx +6 -1
- package/src/components/markdown.tsx +54 -33
- package/src/hooks/use-session-events.ts +11 -6
- package/dist/chunk-3EEUD7YO.js.map +0 -1
- package/dist/chunk-F3LIUDXN.js.map +0 -1
- package/dist/chunk-JQW6MDUD.js.map +0 -1
- package/dist/chunk-O664PL2U.js.map +0 -1
- package/dist/chunk-VN2PJHNY.js.map +0 -1
- package/dist/chunk-VTMLWOFB.js.map +0 -1
- package/dist/chunk-XFMQBHDV.js.map +0 -1
- /package/dist/{browser-viewer-DWLNDPHZ.js.map → browser-viewer-J6O65JXH.js.map} +0 -0
- /package/dist/{chat-interactive-block-KUDPTS4Z.js.map → chat-interactive-block-R5JEJYMR.js.map} +0 -0
- /package/dist/{chunk-K2S32GRS.js.map → chunk-24S44WBL.js.map} +0 -0
- /package/dist/{chunk-YQ25GY4V.js.map → chunk-27HN57HE.js.map} +0 -0
- /package/dist/{chunk-Z26KIZF7.js.map → chunk-2SH6CLOR.js.map} +0 -0
- /package/dist/{chunk-ZXASGAEP.js.map → chunk-2XZ3EUSP.js.map} +0 -0
- /package/dist/{chunk-3IHXVJAT.js.map → chunk-2ZC62PY4.js.map} +0 -0
- /package/dist/{chunk-JPGM5HMF.js.map → chunk-36YTBVYF.js.map} +0 -0
- /package/dist/{chunk-3AIXQ3BF.js.map → chunk-3CF2B2LD.js.map} +0 -0
- /package/dist/{chunk-YIYH5WKY.js.map → chunk-3GENISSH.js.map} +0 -0
- /package/dist/{chunk-LMXPFXUT.js.map → chunk-3X4HTUUR.js.map} +0 -0
- /package/dist/{chunk-QOXEMEDH.js.map → chunk-4GFLP4OY.js.map} +0 -0
- /package/dist/{chunk-6T3JRN4Z.js.map → chunk-4GUPD7CJ.js.map} +0 -0
- /package/dist/{chunk-B6AH43UQ.js.map → chunk-4OGDD2EM.js.map} +0 -0
- /package/dist/{chunk-SQWQOUJG.js.map → chunk-4T2RJ2HY.js.map} +0 -0
- /package/dist/{chunk-4JZW6TIM.js.map → chunk-4XEPZARK.js.map} +0 -0
- /package/dist/{chunk-Q7KHUZ3T.js.map → chunk-4YNWA5YG.js.map} +0 -0
- /package/dist/{chunk-KF2TX3MG.js.map → chunk-54NTSBQO.js.map} +0 -0
- /package/dist/{chunk-6X2C66OI.js.map → chunk-5CGZOJN7.js.map} +0 -0
- /package/dist/{chunk-MVYQDBE6.js.map → chunk-5ERDSF2C.js.map} +0 -0
- /package/dist/{chunk-ZNQNNKOD.js.map → chunk-5I6CWDA6.js.map} +0 -0
- /package/dist/{chunk-JIBWPQYV.js.map → chunk-5JG277OH.js.map} +0 -0
- /package/dist/{chunk-NLOJY45T.js.map → chunk-5ORXRVXV.js.map} +0 -0
- /package/dist/{chunk-KKZKXQLQ.js.map → chunk-67BMBRTK.js.map} +0 -0
- /package/dist/{chunk-XQ3OEFMZ.js.map → chunk-67JCL67N.js.map} +0 -0
- /package/dist/{chunk-JQ6VLCBQ.js.map → chunk-6GYRHQVL.js.map} +0 -0
- /package/dist/{chunk-RWNC3IGU.js.map → chunk-6MSTIFAL.js.map} +0 -0
- /package/dist/{chunk-7WLEOZ3M.js.map → chunk-6OMREP52.js.map} +0 -0
- /package/dist/{chunk-DRILEPI2.js.map → chunk-6P3QOMPV.js.map} +0 -0
- /package/dist/{chunk-IPV2SYLD.js.map → chunk-6WGJB6GO.js.map} +0 -0
- /package/dist/{chunk-N2U4BGS2.js.map → chunk-72PGXQDN.js.map} +0 -0
- /package/dist/{chunk-3BI43BIS.js.map → chunk-7CIMPDGL.js.map} +0 -0
- /package/dist/{chunk-IOFEA7OF.js.map → chunk-7J3TLTPI.js.map} +0 -0
- /package/dist/{chunk-W53LBFT6.js.map → chunk-7ZQVRVNI.js.map} +0 -0
- /package/dist/{chunk-ZIKLGN6B.js.map → chunk-A2QOUEU3.js.map} +0 -0
- /package/dist/{chunk-OPYDKW53.js.map → chunk-A36WG3BT.js.map} +0 -0
- /package/dist/{chunk-ORYCDC57.js.map → chunk-ADFUTR45.js.map} +0 -0
- /package/dist/{chunk-5GAHDYDT.js.map → chunk-ADNH5GSP.js.map} +0 -0
- /package/dist/{chunk-4UADNWV6.js.map → chunk-AGW5H6QV.js.map} +0 -0
- /package/dist/{chunk-QVOTPOXK.js.map → chunk-AU2DT7O2.js.map} +0 -0
- /package/dist/{chunk-AJ4ZC4HY.js.map → chunk-AX65L6QV.js.map} +0 -0
- /package/dist/{chunk-U35WJ3OB.js.map → chunk-B57G2C45.js.map} +0 -0
- /package/dist/{chunk-DIDHQFRR.js.map → chunk-BPCI4ZGR.js.map} +0 -0
- /package/dist/{chunk-CIVFETJ6.js.map → chunk-BRJLN3ZL.js.map} +0 -0
- /package/dist/{chunk-SRDHDIRQ.js.map → chunk-BY7AWWDB.js.map} +0 -0
- /package/dist/{chunk-FTFUNEFJ.js.map → chunk-CBSBNUGV.js.map} +0 -0
- /package/dist/{chunk-D3ZIXSAF.js.map → chunk-CHKHQHOO.js.map} +0 -0
- /package/dist/{chunk-VPHVF6B2.js.map → chunk-CSGKUDNB.js.map} +0 -0
- /package/dist/{chunk-6MVWD5XT.js.map → chunk-CZPN2HP3.js.map} +0 -0
- /package/dist/{chunk-7Z7VIYIJ.js.map → chunk-D2VP4C5B.js.map} +0 -0
- /package/dist/{chunk-CROKAGNV.js.map → chunk-D4AF4SOJ.js.map} +0 -0
- /package/dist/{chunk-5BPYSQXD.js.map → chunk-DECSYLBP.js.map} +0 -0
- /package/dist/{chunk-OMDHLJMQ.js.map → chunk-DEKCTHXM.js.map} +0 -0
- /package/dist/{chunk-QTOYKOH6.js.map → chunk-DGS62JWP.js.map} +0 -0
- /package/dist/{chunk-NMFECSTW.js.map → chunk-DHXRMZPQ.js.map} +0 -0
- /package/dist/{chunk-ZQX33EV5.js.map → chunk-DJ4X4U4A.js.map} +0 -0
- /package/dist/{chunk-DPKQCFK2.js.map → chunk-DLMMQMKZ.js.map} +0 -0
- /package/dist/{chunk-RYC732VO.js.map → chunk-DWPE3Y7M.js.map} +0 -0
- /package/dist/{chunk-I2PIDEO6.js.map → chunk-EGSRY63C.js.map} +0 -0
- /package/dist/{chunk-GH5II7CP.js.map → chunk-EJYHPNXD.js.map} +0 -0
- /package/dist/{chunk-52HGZH7K.js.map → chunk-EVJ42E62.js.map} +0 -0
- /package/dist/{chunk-DPYQ7UOQ.js.map → chunk-F47X7XPQ.js.map} +0 -0
- /package/dist/{chunk-6UM4QPGH.js.map → chunk-F4ESDJTE.js.map} +0 -0
- /package/dist/{chunk-YW4CA4GO.js.map → chunk-F7NV3EL5.js.map} +0 -0
- /package/dist/{chunk-57KVMXSC.js.map → chunk-FFWVFU6S.js.map} +0 -0
- /package/dist/{chunk-YYUIJQCD.js.map → chunk-FUJ6DWRZ.js.map} +0 -0
- /package/dist/{chunk-OT33BB76.js.map → chunk-FX4HG4FR.js.map} +0 -0
- /package/dist/{chunk-CVC4RO7D.js.map → chunk-FZOK37SC.js.map} +0 -0
- /package/dist/{chunk-KWI66TJR.js.map → chunk-GBGJIR6F.js.map} +0 -0
- /package/dist/{chunk-JBNQEW5E.js.map → chunk-GCURVP5U.js.map} +0 -0
- /package/dist/{chunk-ODCM2LRA.js.map → chunk-GFMRMSFN.js.map} +0 -0
- /package/dist/{chunk-XF2FMRK6.js.map → chunk-GH4VY3H5.js.map} +0 -0
- /package/dist/{chunk-XQODHW6K.js.map → chunk-GJFTPSGN.js.map} +0 -0
- /package/dist/{chunk-6HRRR5BF.js.map → chunk-GNTEF5TL.js.map} +0 -0
- /package/dist/{chunk-R5ZK5A5I.js.map → chunk-GQF2HWQE.js.map} +0 -0
- /package/dist/{chunk-QCDEBOHL.js.map → chunk-GXYS6BI3.js.map} +0 -0
- /package/dist/{chunk-QA5UNVHD.js.map → chunk-H4NDK35I.js.map} +0 -0
- /package/dist/{chunk-GLYOEWRG.js.map → chunk-H6DJIEO6.js.map} +0 -0
- /package/dist/{chunk-GIHE7U3Y.js.map → chunk-HUKGLWAY.js.map} +0 -0
- /package/dist/{chunk-NS2NMGJS.js.map → chunk-HUS2QEPV.js.map} +0 -0
- /package/dist/{chunk-SYYFA7W7.js.map → chunk-HUTQJY3F.js.map} +0 -0
- /package/dist/{chunk-62T2ZPD5.js.map → chunk-HWOYJOKK.js.map} +0 -0
- /package/dist/{chunk-C5XZMAHL.js.map → chunk-I46F7LUI.js.map} +0 -0
- /package/dist/{chunk-I3RHHR27.js.map → chunk-IEUZ4ASX.js.map} +0 -0
- /package/dist/{chunk-FWFGK5WP.js.map → chunk-IHLF7R6Q.js.map} +0 -0
- /package/dist/{chunk-LRJAXTLQ.js.map → chunk-J45WTHTL.js.map} +0 -0
- /package/dist/{chunk-QNOWKKZ4.js.map → chunk-J4OOKDRV.js.map} +0 -0
- /package/dist/{chunk-B6AXGNIL.js.map → chunk-J6YVN3W7.js.map} +0 -0
- /package/dist/{chunk-5QJ7BTBF.js.map → chunk-JOZFVEBN.js.map} +0 -0
- /package/dist/{chunk-RKO326MX.js.map → chunk-K7GGLL2U.js.map} +0 -0
- /package/dist/{chunk-ZHRGOYEC.js.map → chunk-KDHWX7XH.js.map} +0 -0
- /package/dist/{chunk-CQVXEZJT.js.map → chunk-KMLELG4O.js.map} +0 -0
- /package/dist/{chunk-3BYVKJ7U.js.map → chunk-KQY4P4EO.js.map} +0 -0
- /package/dist/{chunk-HBICYTNN.js.map → chunk-KW4OJ3RS.js.map} +0 -0
- /package/dist/{chunk-EU3RGXCU.js.map → chunk-KWOYMJKM.js.map} +0 -0
- /package/dist/{chunk-MFLU3466.js.map → chunk-KYDLVMKA.js.map} +0 -0
- /package/dist/{chunk-KEOHT7JK.js.map → chunk-KZYQNVXE.js.map} +0 -0
- /package/dist/{chunk-GCNOG3W3.js.map → chunk-L3GNEC6B.js.map} +0 -0
- /package/dist/{chunk-55RKBOO7.js.map → chunk-LC5E7CVA.js.map} +0 -0
- /package/dist/{chunk-BWZTWR2E.js.map → chunk-LFMTPBET.js.map} +0 -0
- /package/dist/{chunk-PPQJIVGM.js.map → chunk-LFQI2C46.js.map} +0 -0
- /package/dist/{chunk-OITKZ5CF.js.map → chunk-LJKZGQTI.js.map} +0 -0
- /package/dist/{chunk-HTV7GCZO.js.map → chunk-M3WCB73E.js.map} +0 -0
- /package/dist/{chunk-YTPQ4XZD.js.map → chunk-M47MKLW2.js.map} +0 -0
- /package/dist/{chunk-MO3XJQN2.js.map → chunk-M5FX5KH5.js.map} +0 -0
- /package/dist/{chunk-XHTJ4U2I.js.map → chunk-MHL727ZE.js.map} +0 -0
- /package/dist/{chunk-Y7LFTLGQ.js.map → chunk-N3AAMSBH.js.map} +0 -0
- /package/dist/{chunk-EDUUTFCL.js.map → chunk-N4TJ7A7I.js.map} +0 -0
- /package/dist/{chunk-AQQDS5TA.js.map → chunk-NFZAMHSR.js.map} +0 -0
- /package/dist/{chunk-L6WVCO6D.js.map → chunk-NRAVQJE2.js.map} +0 -0
- /package/dist/{chunk-2MN4ECC6.js.map → chunk-NU4HYZ3C.js.map} +0 -0
- /package/dist/{chunk-KU77XHWB.js.map → chunk-NUZNJSL5.js.map} +0 -0
- /package/dist/{chunk-2SM3NPVF.js.map → chunk-NY5DX43C.js.map} +0 -0
- /package/dist/{chunk-4PFXNHD3.js.map → chunk-O5JDQZGV.js.map} +0 -0
- /package/dist/{chunk-HGDOBAHM.js.map → chunk-OMYT3X2Y.js.map} +0 -0
- /package/dist/{chunk-5YHTSSIW.js.map → chunk-OSQ6YGZW.js.map} +0 -0
- /package/dist/{chunk-A5GX3CAE.js.map → chunk-PBKG2OPJ.js.map} +0 -0
- /package/dist/{chunk-SLINGGRD.js.map → chunk-PCP5GF77.js.map} +0 -0
- /package/dist/{chunk-KTGKGHEA.js.map → chunk-PCSRHFRF.js.map} +0 -0
- /package/dist/{chunk-HP3PL5EY.js.map → chunk-PHNHJKEL.js.map} +0 -0
- /package/dist/{chunk-H2GRSK4I.js.map → chunk-PIPD74PT.js.map} +0 -0
- /package/dist/{chunk-6CDBX3XG.js.map → chunk-PMBZMVKE.js.map} +0 -0
- /package/dist/{chunk-PQPWLY47.js.map → chunk-PMVZYQ5W.js.map} +0 -0
- /package/dist/{chunk-XCULPKCE.js.map → chunk-POUIWV6K.js.map} +0 -0
- /package/dist/{chunk-HFROJDFQ.js.map → chunk-PTSRBKQC.js.map} +0 -0
- /package/dist/{chunk-XKBUIJCB.js.map → chunk-Q5AQJQXU.js.map} +0 -0
- /package/dist/{chunk-H26NFDN6.js.map → chunk-QAS2OFG5.js.map} +0 -0
- /package/dist/{chunk-JMLK5YFU.js.map → chunk-QCJ6SNCP.js.map} +0 -0
- /package/dist/{chunk-XHF2XNU5.js.map → chunk-QFMPAR74.js.map} +0 -0
- /package/dist/{chunk-EIMK4OBO.js.map → chunk-QHF4B7R4.js.map} +0 -0
- /package/dist/{chunk-6NAHUCXN.js.map → chunk-QHGWFKTK.js.map} +0 -0
- /package/dist/{chunk-HCNRWXWG.js.map → chunk-QJ4YC4PM.js.map} +0 -0
- /package/dist/{chunk-H3VYP5OR.js.map → chunk-QSG6FWOK.js.map} +0 -0
- /package/dist/{chunk-6D3D2JWY.js.map → chunk-R6CFPY3F.js.map} +0 -0
- /package/dist/{chunk-YAVW5OJ5.js.map → chunk-R6OBJ7LF.js.map} +0 -0
- /package/dist/{chunk-CGZQEZLS.js.map → chunk-RAUWORZV.js.map} +0 -0
- /package/dist/{chunk-MPKQAQPC.js.map → chunk-RG7PMYWW.js.map} +0 -0
- /package/dist/{chunk-PCI7756C.js.map → chunk-RLS563ST.js.map} +0 -0
- /package/dist/{chunk-CGWVYEYA.js.map → chunk-RQAE6DI7.js.map} +0 -0
- /package/dist/{chunk-DALQXWAO.js.map → chunk-S6GFECVG.js.map} +0 -0
- /package/dist/{chunk-YMWT5UZA.js.map → chunk-SBWVYYRA.js.map} +0 -0
- /package/dist/{chunk-EEVZ52EB.js.map → chunk-SHW2QUOE.js.map} +0 -0
- /package/dist/{chunk-4W6SOOFS.js.map → chunk-SQJQVTHA.js.map} +0 -0
- /package/dist/{chunk-K6XPCJ4E.js.map → chunk-STTCF3OR.js.map} +0 -0
- /package/dist/{chunk-V7UUHMDU.js.map → chunk-SVG5U7UN.js.map} +0 -0
- /package/dist/{chunk-MCPKUVMQ.js.map → chunk-TGG3ODCS.js.map} +0 -0
- /package/dist/{chunk-P57OLDBC.js.map → chunk-TU6FW6IJ.js.map} +0 -0
- /package/dist/{chunk-YXP62OER.js.map → chunk-TXSZR2SB.js.map} +0 -0
- /package/dist/{chunk-U2ST5MFT.js.map → chunk-TYZ3WUKG.js.map} +0 -0
- /package/dist/{chunk-MIE5HOBX.js.map → chunk-U4EMW7RP.js.map} +0 -0
- /package/dist/{chunk-CYDC3R6H.js.map → chunk-UBSHJB6M.js.map} +0 -0
- /package/dist/{chunk-PYMQM65Y.js.map → chunk-UFRXYZCJ.js.map} +0 -0
- /package/dist/{chunk-BTJIU33Y.js.map → chunk-UJB54P4M.js.map} +0 -0
- /package/dist/{chunk-E47FJJVS.js.map → chunk-UNOJ5PNN.js.map} +0 -0
- /package/dist/{chunk-6I7GCTD4.js.map → chunk-UOBJFO25.js.map} +0 -0
- /package/dist/{chunk-46ZC5VNC.js.map → chunk-UPRN4FBY.js.map} +0 -0
- /package/dist/{chunk-ON2HXTZS.js.map → chunk-UQQUMT5P.js.map} +0 -0
- /package/dist/{chunk-O37MMAYZ.js.map → chunk-UTFX46TK.js.map} +0 -0
- /package/dist/{chunk-NPV7UTP5.js.map → chunk-VCWRMKTQ.js.map} +0 -0
- /package/dist/{chunk-QD4T2J2I.js.map → chunk-VMJN6YQL.js.map} +0 -0
- /package/dist/{chunk-ZD7QRVDC.js.map → chunk-VWEGG7JQ.js.map} +0 -0
- /package/dist/{chunk-4NNNF3I2.js.map → chunk-VXGQVX53.js.map} +0 -0
- /package/dist/{chunk-5MHUB47C.js.map → chunk-W7UFWXZ6.js.map} +0 -0
- /package/dist/{chunk-2Y4LDCRD.js.map → chunk-WKBJNGYV.js.map} +0 -0
- /package/dist/{chunk-KIS4FWC5.js.map → chunk-WZZV7DUU.js.map} +0 -0
- /package/dist/{chunk-UQNOKKEE.js.map → chunk-XDWW2DLJ.js.map} +0 -0
- /package/dist/{chunk-MS5ITMW6.js.map → chunk-XF55A7CC.js.map} +0 -0
- /package/dist/{chunk-6BKV6G3M.js.map → chunk-XGUBIE35.js.map} +0 -0
- /package/dist/{chunk-AOXSW6AQ.js.map → chunk-XKPVWLMM.js.map} +0 -0
- /package/dist/{chunk-NCBDFV52.js.map → chunk-XSR6J5LY.js.map} +0 -0
- /package/dist/{chunk-HFY7YQTM.js.map → chunk-Y2LD4FTV.js.map} +0 -0
- /package/dist/{chunk-GO5VIAA7.js.map → chunk-Y6CNWBV3.js.map} +0 -0
- /package/dist/{chunk-XEWQU35M.js.map → chunk-YIR4KVJO.js.map} +0 -0
- /package/dist/{chunk-WRHH3S6V.js.map → chunk-YNIDJOGT.js.map} +0 -0
- /package/dist/{chunk-HHFFPE67.js.map → chunk-YP4SNX4P.js.map} +0 -0
- /package/dist/{chunk-TIGCQYSI.js.map → chunk-YPIOAMHD.js.map} +0 -0
- /package/dist/{chunk-2E25T36N.js.map → chunk-YPM3T3UM.js.map} +0 -0
- /package/dist/{chunk-YD3LROO2.js.map → chunk-ZAGLLXX5.js.map} +0 -0
- /package/dist/{chunk-MIUJ3EH5.js.map → chunk-ZD67RM6G.js.map} +0 -0
- /package/dist/{chunk-7B6RHDNQ.js.map → chunk-ZLY7M463.js.map} +0 -0
- /package/dist/{chunk-J65NMU3P.js.map → chunk-ZNIG3CPB.js.map} +0 -0
- /package/dist/{chunk-3VS6PNSI.js.map → chunk-ZU5WVSHV.js.map} +0 -0
- /package/dist/{chunk-AQ7KXETX.js.map → chunk-ZWEVJPXC.js.map} +0 -0
- /package/dist/{chunk-EICYIASC.js.map → chunk-ZWFLYN7T.js.map} +0 -0
- /package/dist/{computer-viewer-PIYSJ2NG.js.map → computer-viewer-ZISZUM4L.js.map} +0 -0
- /package/dist/{connection-step-up-I4FIKSTA.js.map → connection-step-up-UQHDCXFE.js.map} +0 -0
- /package/dist/{embedded-new-voice-6G7K4GHG.js.map → embedded-new-voice-UWSSA7AB.js.map} +0 -0
- /package/dist/{embedded-voice-YKGPFUHJ.js.map → embedded-voice-T34K465A.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-G753RA3K.js.map → model-policy-picker-menu-2CTRKSDJ.js.map} +0 -0
- /package/dist/{payment-page-card-JINQVM53.js.map → payment-page-card-OOOFGIMH.js.map} +0 -0
- /package/dist/{platform-activity-row-5TC3EFFS.js.map → platform-activity-row-EZYTZPYR.js.map} +0 -0
- /package/dist/{queue-surface-implementation-I7LCCROK.js.map → queue-surface-implementation-HDZ42LN7.js.map} +0 -0
- /package/dist/{sandbox-files-YEX3NTYN.js.map → sandbox-files-6JY7WVMO.js.map} +0 -0
- /package/dist/{session-connect-cards-Y7IZXBG3.js.map → session-connect-cards-VTSJODCX.js.map} +0 -0
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
useAgentIdentity,
|
|
34
34
|
webSearchPresentation,
|
|
35
35
|
writeStdinPresentation
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4OGDD2EM.js";
|
|
37
37
|
import {
|
|
38
38
|
createTurnSummaryContext,
|
|
39
39
|
formatElapsed,
|
|
@@ -42,6 +42,19 @@ 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";
|
|
45
58
|
import {
|
|
46
59
|
PatchApplyCommand,
|
|
47
60
|
useRetainedImageObjectUrl
|
|
@@ -52,14 +65,20 @@ import {
|
|
|
52
65
|
paymentPageOf
|
|
53
66
|
} from "./chunk-HXYSZKCC.js";
|
|
54
67
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
68
|
+
generatedImageReceipt,
|
|
69
|
+
mediaPreviewFact,
|
|
70
|
+
parseToolArgs,
|
|
71
|
+
retainedScreenshotMetadata,
|
|
72
|
+
retainedToolResultImages,
|
|
73
|
+
screenshotDataUrl,
|
|
74
|
+
unwrapMcpOutput
|
|
75
|
+
} from "./chunk-E4BLXMIZ.js";
|
|
57
76
|
import {
|
|
58
77
|
CopyButton,
|
|
59
78
|
LazyPart,
|
|
60
79
|
MOTION_INSPECT_SCALE,
|
|
61
80
|
Markdown
|
|
62
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-3IEVQMGO.js";
|
|
63
82
|
import {
|
|
64
83
|
ActivityDisclosure,
|
|
65
84
|
BodyNote,
|
|
@@ -75,7 +94,7 @@ import {
|
|
|
75
94
|
ToolOutputPreviewProvider,
|
|
76
95
|
useForcedDefaultOpen,
|
|
77
96
|
useTimelineSearchReveal
|
|
78
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-DGS62JWP.js";
|
|
79
98
|
import {
|
|
80
99
|
DecisionActions,
|
|
81
100
|
DecisionButton,
|
|
@@ -95,43 +114,29 @@ import {
|
|
|
95
114
|
redactToolCall,
|
|
96
115
|
signedValuesDeep
|
|
97
116
|
} from "./chunk-YM45PLD6.js";
|
|
98
|
-
import {
|
|
99
|
-
ShimmerText
|
|
100
|
-
} from "./chunk-HZPCSRSB.js";
|
|
101
117
|
import {
|
|
102
118
|
useOpenGeniLinkResolver
|
|
103
119
|
} from "./chunk-W4QUDV6Y.js";
|
|
104
120
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
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";
|
|
121
|
+
reviewFacts
|
|
122
|
+
} from "./chunk-YMQVVFXI.js";
|
|
126
123
|
import {
|
|
127
124
|
mcpToolLeaf,
|
|
128
125
|
toolActionTitle,
|
|
129
126
|
toolDisplayName,
|
|
130
127
|
wordedToolActionReview
|
|
131
128
|
} 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";
|
|
135
140
|
import {
|
|
136
141
|
clickDownloadLink,
|
|
137
142
|
saveBlob
|
|
@@ -142,11 +147,94 @@ import {
|
|
|
142
147
|
import {
|
|
143
148
|
useOpenGeniText
|
|
144
149
|
} from "./chunk-4ZRGFCSP.js";
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
+
|
|
151
|
+
// src/timeline/retained-loaders.ts
|
|
152
|
+
function createWorkspaceRetainedArtifactLoader(client, workspaceId) {
|
|
153
|
+
return async (artifact, signal, options) => {
|
|
154
|
+
if (artifact.kind === "file" && options?.prefer !== "url") {
|
|
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
|
+
}
|
|
150
238
|
|
|
151
239
|
// src/components/tool-action-review.tsx
|
|
152
240
|
import {
|
|
@@ -159,13 +247,13 @@ import {
|
|
|
159
247
|
ShieldCheckIcon
|
|
160
248
|
} from "lucide-react";
|
|
161
249
|
import {
|
|
162
|
-
useEffect,
|
|
250
|
+
useEffect as useEffect2,
|
|
163
251
|
useId,
|
|
164
|
-
useMemo,
|
|
252
|
+
useMemo as useMemo2,
|
|
165
253
|
useRef,
|
|
166
|
-
useState
|
|
254
|
+
useState as useState2
|
|
167
255
|
} from "react";
|
|
168
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
256
|
+
import { Fragment, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
169
257
|
var statusText = (t) => ({
|
|
170
258
|
pending: t("toolActionReview.approvalNeeded"),
|
|
171
259
|
approved: t("toolActionReview.approved"),
|
|
@@ -220,12 +308,12 @@ var ACCOUNT_OWNER_TEXT = (t, name) => name ? t("toolActionReview.onlyNameCanAppr
|
|
|
220
308
|
function StatusIcon({ status, busy }) {
|
|
221
309
|
const className = "size-4";
|
|
222
310
|
if (busy || status === "executing" || status === "approved")
|
|
223
|
-
return /* @__PURE__ */
|
|
224
|
-
if (status === "pending") return /* @__PURE__ */
|
|
225
|
-
if (status === "completed") return /* @__PURE__ */
|
|
311
|
+
return /* @__PURE__ */ jsx2(LoaderCircleIcon, { "aria-hidden": "true", className: cn(className, "animate-spin") });
|
|
312
|
+
if (status === "pending") return /* @__PURE__ */ jsx2(ShieldCheckIcon, { "aria-hidden": "true", className });
|
|
313
|
+
if (status === "completed") return /* @__PURE__ */ jsx2(CheckIcon, { "aria-hidden": "true", className });
|
|
226
314
|
if (statusTone[status] === "failed")
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
return /* @__PURE__ */
|
|
315
|
+
return /* @__PURE__ */ jsx2(CircleAlertIcon, { "aria-hidden": "true", className });
|
|
316
|
+
return /* @__PURE__ */ jsx2(CircleSlashIcon, { "aria-hidden": "true", className });
|
|
229
317
|
}
|
|
230
318
|
function ToolReviewFrame({
|
|
231
319
|
tone,
|
|
@@ -259,9 +347,9 @@ function ToolReviewFrame({
|
|
|
259
347
|
bare ? "pb-1" : cn(decisionCardPad, "pt-4", !children && !footer && "pb-4")
|
|
260
348
|
),
|
|
261
349
|
children: [
|
|
262
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ jsx2(DecisionMark, { tone: tone === "failed" ? "danger" : "neutral", children: icon }),
|
|
263
351
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1 pt-px", children: [
|
|
264
|
-
/* @__PURE__ */
|
|
352
|
+
/* @__PURE__ */ jsx2(
|
|
265
353
|
"h3",
|
|
266
354
|
{
|
|
267
355
|
tabIndex: -1,
|
|
@@ -270,15 +358,15 @@ function ToolReviewFrame({
|
|
|
270
358
|
children: title
|
|
271
359
|
}
|
|
272
360
|
),
|
|
273
|
-
/* @__PURE__ */
|
|
274
|
-
/* @__PURE__ */
|
|
361
|
+
/* @__PURE__ */ jsx2("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: [
|
|
362
|
+
/* @__PURE__ */ jsx2("span", { className: headerPart, children: /* @__PURE__ */ jsxs(
|
|
275
363
|
"span",
|
|
276
364
|
{
|
|
277
365
|
className: cn("inline-flex items-center gap-1.5", toneText[tone]),
|
|
278
366
|
role: "status",
|
|
279
367
|
"aria-live": "polite",
|
|
280
368
|
children: [
|
|
281
|
-
waiting ? /* @__PURE__ */
|
|
369
|
+
waiting ? /* @__PURE__ */ jsx2(
|
|
282
370
|
"span",
|
|
283
371
|
{
|
|
284
372
|
"aria-hidden": "true",
|
|
@@ -289,20 +377,20 @@ function ToolReviewFrame({
|
|
|
289
377
|
]
|
|
290
378
|
}
|
|
291
379
|
) }),
|
|
292
|
-
subtitle ? /* @__PURE__ */
|
|
380
|
+
subtitle ? /* @__PURE__ */ jsx2("span", { className: cn(headerPart, "min-w-0 break-words [overflow-wrap:anywhere]"), children: subtitle }) : null
|
|
293
381
|
] }) })
|
|
294
382
|
] })
|
|
295
383
|
]
|
|
296
384
|
}
|
|
297
385
|
),
|
|
298
|
-
children ? /* @__PURE__ */
|
|
386
|
+
children ? /* @__PURE__ */ jsx2(
|
|
299
387
|
"div",
|
|
300
388
|
{
|
|
301
389
|
className: cn("min-w-0", bare ? "pt-2" : cn(decisionCardPad, "pt-3", !footer && "pb-4")),
|
|
302
390
|
children
|
|
303
391
|
}
|
|
304
392
|
) : null,
|
|
305
|
-
footer ? /* @__PURE__ */
|
|
393
|
+
footer ? /* @__PURE__ */ jsx2("footer", { className: cn("min-w-0", bare ? "pt-3" : cn(decisionCardPad, "pb-4 pt-4")), children: footer }) : null
|
|
306
394
|
]
|
|
307
395
|
}
|
|
308
396
|
);
|
|
@@ -325,24 +413,24 @@ function ReviewFacts({
|
|
|
325
413
|
const hasContent = note || effects.length || selection || shown.length || hiddenFields > 0 || samples.length;
|
|
326
414
|
if (!hasContent) return null;
|
|
327
415
|
return /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-3 text-og-sm", children: [
|
|
328
|
-
note ? /* @__PURE__ */
|
|
329
|
-
effects.length > 0 ? /* @__PURE__ */
|
|
330
|
-
/* @__PURE__ */
|
|
416
|
+
note ? /* @__PURE__ */ jsx2("p", { className: "m-0 leading-relaxed text-og-fg-muted", children: note }) : null,
|
|
417
|
+
effects.length > 0 ? /* @__PURE__ */ jsx2("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: [
|
|
418
|
+
/* @__PURE__ */ jsx2(
|
|
331
419
|
"span",
|
|
332
420
|
{
|
|
333
421
|
"aria-hidden": "true",
|
|
334
422
|
className: "mt-[0.55em] size-1 shrink-0 rounded-full bg-og-fg-muted"
|
|
335
423
|
}
|
|
336
424
|
),
|
|
337
|
-
/* @__PURE__ */
|
|
425
|
+
/* @__PURE__ */ jsx2("span", { className: "min-w-0 break-words", children: effect })
|
|
338
426
|
] }, effect)) }) : null,
|
|
339
427
|
selection ? /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
340
428
|
samples.length > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
341
|
-
/* @__PURE__ */
|
|
429
|
+
/* @__PURE__ */ jsx2("p", { className: "m-0 mb-1 text-og-xs text-og-fg-muted", children: t("toolActionReview.includes") }),
|
|
342
430
|
/* @__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: [
|
|
343
431
|
samples.map((sample) => /* @__PURE__ */ jsxs("li", { className: "min-w-0 px-3 py-2", children: [
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
sample.subtitle ? /* @__PURE__ */
|
|
432
|
+
/* @__PURE__ */ jsx2("p", { className: "m-0 truncate text-og-sm text-og-fg", children: sample.title }),
|
|
433
|
+
sample.subtitle ? /* @__PURE__ */ jsx2("p", { className: "m-0 mt-0.5 truncate text-og-xs text-og-fg-muted", children: sample.subtitle }) : null
|
|
346
434
|
] }, sample.id)),
|
|
347
435
|
count > samples.length ? /* @__PURE__ */ jsxs("li", { className: "px-3 py-2 text-og-xs text-og-fg-muted", children: [
|
|
348
436
|
t("toolActionReview.and"),
|
|
@@ -365,18 +453,18 @@ function ReviewFacts({
|
|
|
365
453
|
localeString: count.toLocaleString(t.locale),
|
|
366
454
|
noun
|
|
367
455
|
}),
|
|
368
|
-
/* @__PURE__ */
|
|
456
|
+
/* @__PURE__ */ jsx2(ChevronRightIcon, { className: "size-3.5 shrink-0", "aria-hidden": "true" })
|
|
369
457
|
]
|
|
370
458
|
}
|
|
371
459
|
) : null
|
|
372
460
|
] }) : null,
|
|
373
|
-
shown.length > 0 ? /* @__PURE__ */
|
|
461
|
+
shown.length > 0 ? /* @__PURE__ */ jsx2("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(
|
|
374
462
|
"div",
|
|
375
463
|
{
|
|
376
464
|
className: "grid min-w-0 gap-x-4 gap-y-0.5 @[30rem]/decision:grid-cols-[minmax(0,7.5rem)_minmax(0,1fr)]",
|
|
377
465
|
children: [
|
|
378
|
-
/* @__PURE__ */
|
|
379
|
-
/* @__PURE__ */
|
|
466
|
+
/* @__PURE__ */ jsx2("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 }),
|
|
467
|
+
/* @__PURE__ */ jsx2("dd", { className: "m-0 min-w-0 whitespace-pre-wrap break-words text-og-fg [overflow-wrap:anywhere]", children: field.protected ? /* @__PURE__ */ jsx2("span", { className: "text-og-fg-muted", children: t("toolActionReview.hidden") }) : field.truncated && canOpen ? /* @__PURE__ */ jsxs(
|
|
380
468
|
"button",
|
|
381
469
|
{
|
|
382
470
|
type: "button",
|
|
@@ -388,11 +476,11 @@ function ReviewFacts({
|
|
|
388
476
|
onClick: () => onViewDetails(field.path),
|
|
389
477
|
className: cn(linkButton, "max-w-full"),
|
|
390
478
|
children: [
|
|
391
|
-
/* @__PURE__ */
|
|
392
|
-
/* @__PURE__ */
|
|
479
|
+
/* @__PURE__ */ jsx2("span", { className: "line-clamp-4 min-w-0 break-words [overflow-wrap:anywhere]", children: /* @__PURE__ */ jsx2(SecretRefText, { text: field.preview, linkable: false }) }),
|
|
480
|
+
/* @__PURE__ */ jsx2(ChevronRightIcon, { className: "size-3.5 shrink-0", "aria-hidden": "true" })
|
|
393
481
|
]
|
|
394
482
|
}
|
|
395
|
-
) : /* @__PURE__ */
|
|
483
|
+
) : /* @__PURE__ */ jsx2(SecretRefText, { text: field.preview }) })
|
|
396
484
|
]
|
|
397
485
|
},
|
|
398
486
|
field.path
|
|
@@ -411,7 +499,7 @@ function DeclineButton({
|
|
|
411
499
|
onClick
|
|
412
500
|
}) {
|
|
413
501
|
const t = useOpenGeniText();
|
|
414
|
-
return /* @__PURE__ */
|
|
502
|
+
return /* @__PURE__ */ jsx2(DecisionButton, { kind: "secondary", disabled: busy, busy: submitting, onClick, children: submitting ? t("toolActionReview.declining") : label ?? t("toolActionReview.decline") });
|
|
415
503
|
}
|
|
416
504
|
function ToolActionReviewCard({
|
|
417
505
|
review: savedReview,
|
|
@@ -428,7 +516,7 @@ function ToolActionReviewCard({
|
|
|
428
516
|
interruptible
|
|
429
517
|
}) {
|
|
430
518
|
const t = useOpenGeniText();
|
|
431
|
-
const review =
|
|
519
|
+
const review = useMemo2(() => wordedToolActionReview(savedReview, t), [savedReview, t]);
|
|
432
520
|
const titleId = useId();
|
|
433
521
|
const canApprove = review.availableActions.includes("approve") && !!onApprove;
|
|
434
522
|
const canReject = review.availableActions.includes("reject") && !!onReject;
|
|
@@ -436,7 +524,7 @@ function ToolActionReviewCard({
|
|
|
436
524
|
const busy = Boolean(disabled || submitting && !interruptible);
|
|
437
525
|
const tone = statusTone[review.status];
|
|
438
526
|
const eyebrow = submitting ? submitting === "approve" ? t("toolActionReview.approving") : t("toolActionReview.declining") : review.status === "pending" ? pendingLabel ?? statusText(t).pending : statusText(t)[review.status];
|
|
439
|
-
const detailsLink = review.detailsAvailable && onViewDetails ? /* @__PURE__ */
|
|
527
|
+
const detailsLink = review.detailsAvailable && onViewDetails ? /* @__PURE__ */ jsx2(
|
|
440
528
|
"button",
|
|
441
529
|
{
|
|
442
530
|
type: "button",
|
|
@@ -451,7 +539,7 @@ function ToolActionReviewCard({
|
|
|
451
539
|
ToolReviewFrame,
|
|
452
540
|
{
|
|
453
541
|
tone,
|
|
454
|
-
icon: /* @__PURE__ */
|
|
542
|
+
icon: /* @__PURE__ */ jsx2(StatusIcon, { status: review.status, busy: Boolean(submitting) }),
|
|
455
543
|
eyebrow,
|
|
456
544
|
title: review.title,
|
|
457
545
|
titleId,
|
|
@@ -465,10 +553,10 @@ function ToolActionReviewCard({
|
|
|
465
553
|
{
|
|
466
554
|
lead: detailsLink || reason ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
467
555
|
detailsLink,
|
|
468
|
-
reason ? /* @__PURE__ */
|
|
556
|
+
reason ? /* @__PURE__ */ jsx2("span", { className: "min-w-0 text-og-xs leading-relaxed text-og-fg-subtle", children: reason }) : null
|
|
469
557
|
] }) : null,
|
|
470
558
|
children: [
|
|
471
|
-
canReject ? /* @__PURE__ */
|
|
559
|
+
canReject ? /* @__PURE__ */ jsx2(
|
|
472
560
|
DeclineButton,
|
|
473
561
|
{
|
|
474
562
|
busy,
|
|
@@ -477,7 +565,7 @@ function ToolActionReviewCard({
|
|
|
477
565
|
onClick: onReject
|
|
478
566
|
}
|
|
479
567
|
) : null,
|
|
480
|
-
canApprove ? /* @__PURE__ */
|
|
568
|
+
canApprove ? /* @__PURE__ */ jsx2(
|
|
481
569
|
DecisionButton,
|
|
482
570
|
{
|
|
483
571
|
kind: "primary",
|
|
@@ -491,9 +579,9 @@ function ToolActionReviewCard({
|
|
|
491
579
|
}
|
|
492
580
|
) : void 0,
|
|
493
581
|
children: [
|
|
494
|
-
actionable && !canApprove ? /* @__PURE__ */
|
|
495
|
-
actionable && canApprove && review.approvedBy === "you" ? /* @__PURE__ */
|
|
496
|
-
/* @__PURE__ */
|
|
582
|
+
actionable && !canApprove ? /* @__PURE__ */ jsx2("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,
|
|
583
|
+
actionable && canApprove && review.approvedBy === "you" ? /* @__PURE__ */ jsx2("p", { className: "m-0 mb-3 text-og-sm leading-relaxed text-og-fg", children: t("toolActionReview.onlyYouCanApprove") }) : null,
|
|
584
|
+
/* @__PURE__ */ jsx2(
|
|
497
585
|
ReviewFacts,
|
|
498
586
|
{
|
|
499
587
|
review,
|
|
@@ -501,7 +589,7 @@ function ToolActionReviewCard({
|
|
|
501
589
|
showStatusDetail: review.status !== "pending"
|
|
502
590
|
}
|
|
503
591
|
),
|
|
504
|
-
actionable && notice ? /* @__PURE__ */
|
|
592
|
+
actionable && notice ? /* @__PURE__ */ jsx2(
|
|
505
593
|
"p",
|
|
506
594
|
{
|
|
507
595
|
className: "m-0 mt-2 text-og-xs leading-relaxed text-og-fg-subtle",
|
|
@@ -509,7 +597,7 @@ function ToolActionReviewCard({
|
|
|
509
597
|
children: notice
|
|
510
598
|
}
|
|
511
599
|
) : null,
|
|
512
|
-
!actionable && detailsLink ? /* @__PURE__ */
|
|
600
|
+
!actionable && detailsLink ? /* @__PURE__ */ jsx2("div", { className: "mt-2", children: detailsLink }) : null
|
|
513
601
|
]
|
|
514
602
|
}
|
|
515
603
|
);
|
|
@@ -522,22 +610,22 @@ function ToolActionReviewDetails({
|
|
|
522
610
|
manageFocus = true
|
|
523
611
|
}) {
|
|
524
612
|
const t = useOpenGeniText();
|
|
525
|
-
const [path, setPath] =
|
|
526
|
-
const [trail, setTrail] =
|
|
527
|
-
const [offset, setOffset] =
|
|
528
|
-
const [page, setPage] =
|
|
529
|
-
const [error, setError] =
|
|
530
|
-
const [retry, setRetry] =
|
|
613
|
+
const [path, setPath] = useState2(initialPath);
|
|
614
|
+
const [trail, setTrail] = useState2([]);
|
|
615
|
+
const [offset, setOffset] = useState2(0);
|
|
616
|
+
const [page, setPage] = useState2(null);
|
|
617
|
+
const [error, setError] = useState2(false);
|
|
618
|
+
const [retry, setRetry] = useState2(0);
|
|
531
619
|
const heading = useRef(null);
|
|
532
620
|
const focusedOnce = useRef(false);
|
|
533
|
-
|
|
621
|
+
useEffect2(() => {
|
|
534
622
|
if (page && manageFocus && !focusedOnce.current) {
|
|
535
623
|
focusedOnce.current = true;
|
|
536
624
|
heading.current?.focus({ preventScroll: true });
|
|
537
625
|
heading.current?.scrollIntoView({ block: "start" });
|
|
538
626
|
}
|
|
539
627
|
}, [page, manageFocus]);
|
|
540
|
-
|
|
628
|
+
useEffect2(() => {
|
|
541
629
|
let active = true;
|
|
542
630
|
setPage(null);
|
|
543
631
|
setError(false);
|
|
@@ -582,12 +670,12 @@ function ToolActionReviewDetails({
|
|
|
582
670
|
onClick: onBack,
|
|
583
671
|
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",
|
|
584
672
|
children: [
|
|
585
|
-
/* @__PURE__ */
|
|
673
|
+
/* @__PURE__ */ jsx2(ArrowLeftIcon, { className: "size-4", "aria-hidden": "true" }),
|
|
586
674
|
t("toolActionReview.backToReview")
|
|
587
675
|
]
|
|
588
676
|
}
|
|
589
677
|
),
|
|
590
|
-
/* @__PURE__ */
|
|
678
|
+
/* @__PURE__ */ jsx2(
|
|
591
679
|
"h2",
|
|
592
680
|
{
|
|
593
681
|
ref: heading,
|
|
@@ -596,8 +684,8 @@ function ToolActionReviewDetails({
|
|
|
596
684
|
children: toolActionTitle(t, review.toolName) ?? review.title
|
|
597
685
|
}
|
|
598
686
|
),
|
|
599
|
-
review.accountLabel ? /* @__PURE__ */
|
|
600
|
-
/* @__PURE__ */
|
|
687
|
+
review.accountLabel ? /* @__PURE__ */ jsx2("p", { className: "m-0 mt-1 text-og-sm text-og-fg-muted", children: review.accountLabel }) : null,
|
|
688
|
+
/* @__PURE__ */ jsx2("p", { className: "m-0 mt-2 text-og-xs text-og-fg-subtle", children: t("toolActionReview.theExactValuesSavedFor") }),
|
|
601
689
|
trail.length > 0 ? /* @__PURE__ */ jsxs(
|
|
602
690
|
"button",
|
|
603
691
|
{
|
|
@@ -605,7 +693,7 @@ function ToolActionReviewDetails({
|
|
|
605
693
|
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",
|
|
606
694
|
onClick: up,
|
|
607
695
|
children: [
|
|
608
|
-
/* @__PURE__ */
|
|
696
|
+
/* @__PURE__ */ jsx2(ArrowLeftIcon, { className: "size-3.5", "aria-hidden": "true" }),
|
|
609
697
|
t("toolActionReview.backTo"),
|
|
610
698
|
" ",
|
|
611
699
|
trail.at(-1)?.label ?? t("toolActionReview.allValues")
|
|
@@ -615,7 +703,7 @@ function ToolActionReviewDetails({
|
|
|
615
703
|
error ? /* @__PURE__ */ jsxs("div", { role: "alert", className: "mt-4 py-4 text-og-sm", children: [
|
|
616
704
|
t("toolActionReview.couldnTLoadTheseDetails"),
|
|
617
705
|
" ",
|
|
618
|
-
/* @__PURE__ */
|
|
706
|
+
/* @__PURE__ */ jsx2(
|
|
619
707
|
"button",
|
|
620
708
|
{
|
|
621
709
|
type: "button",
|
|
@@ -624,9 +712,9 @@ function ToolActionReviewDetails({
|
|
|
624
712
|
children: t("toolActionReview.tryAgain")
|
|
625
713
|
}
|
|
626
714
|
)
|
|
627
|
-
] }) : !page ? /* @__PURE__ */
|
|
628
|
-
/* @__PURE__ */
|
|
629
|
-
/* @__PURE__ */
|
|
715
|
+
] }) : !page ? /* @__PURE__ */ jsx2("p", { role: "status", className: "mt-4 py-4 text-og-sm text-og-fg-muted", children: t("toolActionReview.loadingDetails") }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
716
|
+
/* @__PURE__ */ jsx2("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: [
|
|
717
|
+
/* @__PURE__ */ jsx2("dt", { className: "m-0 text-og-xs text-og-fg-muted", children: item.label }),
|
|
630
718
|
/* @__PURE__ */ jsxs("dd", { className: "m-0 mt-1 whitespace-pre-wrap break-words text-og-sm leading-relaxed [overflow-wrap:anywhere]", children: [
|
|
631
719
|
item.truncated && item.path ? /* @__PURE__ */ jsxs(
|
|
632
720
|
"button",
|
|
@@ -636,12 +724,12 @@ function ToolActionReviewDetails({
|
|
|
636
724
|
className: cn(linkButton, "max-w-full"),
|
|
637
725
|
onClick: () => open(item.path, item.label),
|
|
638
726
|
children: [
|
|
639
|
-
/* @__PURE__ */
|
|
640
|
-
/* @__PURE__ */
|
|
727
|
+
/* @__PURE__ */ jsx2("span", { className: "min-w-0 break-words focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-og-accent/40", children: /* @__PURE__ */ jsx2(SecretRefText, { text: item.value, linkable: false }) }),
|
|
728
|
+
/* @__PURE__ */ jsx2(ChevronRightIcon, { className: "size-3.5 shrink-0", "aria-hidden": "true" })
|
|
641
729
|
]
|
|
642
730
|
}
|
|
643
|
-
) : /* @__PURE__ */
|
|
644
|
-
item.detail ? /* @__PURE__ */
|
|
731
|
+
) : /* @__PURE__ */ jsx2(SecretRefText, { text: item.value }),
|
|
732
|
+
item.detail ? /* @__PURE__ */ jsx2("span", { className: "mt-0.5 block text-og-xs text-og-fg-muted", children: /* @__PURE__ */ jsx2(SecretRefText, { text: item.detail, linkable: false }) }) : null
|
|
645
733
|
] })
|
|
646
734
|
] }, `${page.path}:${item.label}`)) }),
|
|
647
735
|
page.total > page.items.length || offset > 0 ? /* @__PURE__ */ jsxs(
|
|
@@ -650,7 +738,7 @@ function ToolActionReviewDetails({
|
|
|
650
738
|
"aria-label": t("toolActionReview.detailPages"),
|
|
651
739
|
className: "mt-4 flex flex-wrap items-center justify-between gap-3 text-og-sm",
|
|
652
740
|
children: [
|
|
653
|
-
/* @__PURE__ */
|
|
741
|
+
/* @__PURE__ */ jsx2(
|
|
654
742
|
"button",
|
|
655
743
|
{
|
|
656
744
|
type: "button",
|
|
@@ -660,8 +748,8 @@ function ToolActionReviewDetails({
|
|
|
660
748
|
children: t("toolActionReview.previous")
|
|
661
749
|
}
|
|
662
750
|
),
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
751
|
+
/* @__PURE__ */ jsx2("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)}` }),
|
|
752
|
+
/* @__PURE__ */ jsx2(
|
|
665
753
|
"button",
|
|
666
754
|
{
|
|
667
755
|
type: "button",
|
|
@@ -680,94 +768,6 @@ function ToolActionReviewDetails({
|
|
|
680
768
|
);
|
|
681
769
|
}
|
|
682
770
|
|
|
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-OOOFGIMH.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-REAWMEHI.js"));
|
|
3089
|
-
var LazyPlatformActivityRow = lazy2(() => import("./platform-activity-row-
|
|
3089
|
+
var LazyPlatformActivityRow = lazy2(() => import("./platform-activity-row-EZYTZPYR.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,
|
|
3962
3966
|
UNRECOVERABLE_TEXT,
|
|
3963
3967
|
ToolReviewFrame,
|
|
3964
3968
|
DeclineButton,
|
|
3965
3969
|
ToolActionReviewCard,
|
|
3966
3970
|
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-5JOTMM3F.js.map
|