@yuriai/web 0.3.6 → 0.3.7-beta.2
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/assets/{AgentAvatar-BOvjZ-DI.js → AgentAvatar-tB1klLEu.js} +1 -1
- package/dist/assets/{AgentSelector-Dl_zIOMk.js → AgentSelector-DOJcQ1fS.js} +1 -1
- package/dist/assets/{ArchivedSessionsDialog-Cr9Ji-RY.js → ArchivedSessionsDialog-Be-G3Bor.js} +1 -1
- package/dist/assets/{AssistantConversationSurface-CLdjNFeJ.js → AssistantConversationSurface-CDQRtRm1.js} +3 -3
- package/dist/assets/{AssistantSessionCard-BufyrOfo.js → AssistantSessionCard-LeXloPe_.js} +2 -2
- package/dist/assets/{AssistantUnreadBadge-Dn9HAEDr.js → AssistantUnreadBadge-Dz9e_tQ-.js} +1 -1
- package/dist/assets/{AssistantView-Cg0wPomu.js → AssistantView-CD8Lw7Wt.js} +1 -1
- package/dist/assets/{AssistantWorkingAvatar-1KNjr2A2.js → AssistantWorkingAvatar-BcP47cyC.js} +1 -1
- package/dist/assets/{AssistantsSettingsPage-DeYfZAYH.js → AssistantsSettingsPage-Bm6OLLVR.js} +1 -1
- package/dist/assets/{BinaryFileFallback-DfD02fS_.js → BinaryFileFallback-I9K6_JrA.js} +1 -1
- package/dist/assets/{BtwPanel-B_2w8P0X.js → BtwPanel-8x7EBxyV.js} +1 -1
- package/dist/assets/{BusyDots-CAv4ygIO.js → BusyDots-D9XbBhQY.js} +1 -1
- package/dist/assets/{ChatContainer-Dgv075jT.js → ChatContainer-CwOWGlfa.js} +4 -4
- package/dist/assets/{ChatView-Cr71C0ZB.js → ChatView-CQF1Urvr.js} +1 -1
- package/dist/assets/{DiagramView-CTnpBsWU.js → DiagramView-DZES1YrW.js} +1 -1
- package/dist/assets/{DiffView-j_yWF1Mz.js → DiffView-BR6PnKaA.js} +1 -1
- package/dist/assets/{DiffViewToggle-CYusbmY5.js → DiffViewToggle-JgwYT5PH.js} +1 -1
- package/dist/assets/{ErrorBoundary-yr_JeVdx.js → ErrorBoundary-u6b8to7M.js} +1 -1
- package/dist/assets/{FadeInOnReveal-C56koblQ.js → FadeInOnReveal-_PrKnAzJ.js} +1 -1
- package/dist/assets/{GuiPluginMount-CBJiLdzR.js → GuiPluginMount-Ic0Wnga-.js} +1 -1
- package/dist/assets/{GuiPluginPage-DJa8gFLk.js → GuiPluginPage-D7ipzH33.js} +1 -1
- package/dist/assets/{GuiPluginSurface-Cc7q80jp.js → GuiPluginSurface-Cf-PJ5U8.js} +1 -1
- package/dist/assets/{GuiPluginTitlebarItems-rbK3leaL.js → GuiPluginTitlebarItems-D5coGxD7.js} +1 -1
- package/dist/assets/{GuiPluginWindow-Cpg2HYWe.js → GuiPluginWindow-BLiRWtv9.js} +1 -1
- package/dist/assets/{Icon-C1rjS64C.js → Icon-C8DOeE74.js} +1 -1
- package/dist/assets/{ImageLoadingPlaceholder-2hMqBtYh.js → ImageLoadingPlaceholder-xQsmHffh.js} +1 -1
- package/dist/assets/{LoadingImage-Bs-621ZL.js → LoadingImage-Cq1mdmes.js} +1 -1
- package/dist/assets/MarkdownRenderer-D0wOr1FD.js +2 -0
- package/dist/assets/{MarkdownRendererImpl-DiCCNjDr.js → MarkdownRendererImpl-BcZ2pmTj.js} +1 -1
- package/dist/assets/{MarkstreamRendererImpl-Bzz3OZlX.js → MarkstreamRendererImpl-DXz-3qS5.js} +1 -1
- package/dist/assets/{MobileAssistantSettingsPage-pBhJR2t6.js → MobileAssistantSettingsPage-Df5pjQKf.js} +1 -1
- package/dist/assets/{MobileAssistantTab-Ceo442NF.js → MobileAssistantTab-DCi8TWF8.js} +1 -1
- package/dist/assets/{MobileBtwPage-DPPmDMA6.js → MobileBtwPage-BVKkyYgo.js} +1 -1
- package/dist/assets/{MobileChangesSurface-DfDoSkTS.js → MobileChangesSurface-xglyMNk-.js} +1 -1
- package/dist/assets/{MobileChatScreen-DHTbrnAr.js → MobileChatScreen-DpGvSBih.js} +1 -1
- package/dist/assets/{MobileDetailNavigation-e1u1y59T.js → MobileDetailNavigation-DuNpv9x5.js} +1 -1
- package/dist/assets/{MobileFilesSurface-CJoqR3By.js → MobileFilesSurface-ic4RHVBu.js} +2 -2
- package/dist/assets/{MobileHtmlNetworkBoundary-GBhYVYvu.js → MobileHtmlNetworkBoundary-CBdR_liA.js} +2 -2
- package/dist/assets/{MobileOverlayPanel-DzKTKeZX.js → MobileOverlayPanel-DBFioo71.js} +1 -1
- package/dist/assets/{MobileResizableSheet-CkA7qhco.js → MobileResizableSheet-D2RhJ_Dw.js} +1 -1
- package/dist/assets/{MobileSettingsTab-Bv0HsXFH.js → MobileSettingsTab-KFT5FInQ.js} +1 -1
- package/dist/assets/{MobileShareBridge-B-co2UPE.js → MobileShareBridge-oP8m4ROY.js} +1 -1
- package/dist/assets/{MobileSurface-D63k27t5.js → MobileSurface-Dd-HX7PU.js} +1 -1
- package/dist/assets/{MobileTabPageHeader-FmtbGhwq.js → MobileTabPageHeader-CwlbPMRT.js} +1 -1
- package/dist/assets/{ModelLogo-CMnp5fyy.js → ModelLogo-BM0-YvYg.js} +1 -1
- package/dist/assets/{ModelSelector-BF4wYwaz.js → ModelSelector-DH3YY4MO.js} +1 -1
- package/dist/assets/{MultiRunWindow-D0OU63re.js → MultiRunWindow-DLx-ykri.js} +1 -1
- package/dist/assets/{OnboardingScreen-CDHtDQ0k.js → OnboardingScreen-DPq88MNB.js} +1 -1
- package/dist/assets/{OverlayScrollbar-m1EAqRES.js → OverlayScrollbar-DghfdyOj.js} +1 -1
- package/dist/assets/{PierreDiffViewer-CZk1tZ3K.js → PierreDiffViewer-CMWji23q.js} +1 -1
- package/dist/assets/{ProviderLogo-BqQTME35.js → ProviderLogo-DLQgT50F.js} +1 -1
- package/dist/assets/{RemoteAssistantSessionCard-CrbCVhqD.js → RemoteAssistantSessionCard-Cn8iC0bf.js} +1 -1
- package/dist/assets/{RemoteDesktopPanel-BzLmzmjb.js → RemoteDesktopPanel-nVm5cZi5.js} +1 -1
- package/dist/assets/{ScheduledTasksDialog-DmtcDZHc.js → ScheduledTasksDialog-aOojFJck.js} +1 -1
- package/dist/assets/{ScrollableOverlay-CEglrXfm.js → ScrollableOverlay-nib07nAV.js} +1 -1
- package/dist/assets/SettingsGroup-BZjaoNB3.js +1 -0
- package/dist/assets/{SettingsView-CYEjDYWC.js → SettingsView-BKb62Xf4.js} +5 -5
- package/dist/assets/{SettingsWindow-CvJsxUyu.js → SettingsWindow-BaQ-r52i.js} +1 -1
- package/dist/assets/{SetupTourDialog-DWaVtkY0.js → SetupTourDialog-DgP0ftT4.js} +1 -1
- package/dist/assets/{SyncActions-C0gph0P8.js → SyncActions-Bnr6hmC3.js} +1 -1
- package/dist/assets/{TerminalView-Cm8Ts51w.js → TerminalView-DBedAEwq.js} +1 -1
- package/dist/assets/{TextSelectionMenu-Dcv_PdES.js → TextSelectionMenu-DSjG0v4v.js} +1 -1
- package/dist/assets/{ToolOutputDialog-QJpQjmqK.js → ToolOutputDialog-WAgIy70O.js} +1 -1
- package/dist/assets/{YuriLogo-BbS_Wj4g.js → YuriLogo-1yVZFnVN.js} +1 -1
- package/dist/assets/{assistantMessagePreview-wmP-d_oa.js → assistantMessagePreview-Bsfy_0tR.js} +1 -1
- package/dist/assets/{assistantQueries-Dpxq78yP.js → assistantQueries-BrysCPho.js} +1 -1
- package/dist/assets/{auto-read-context-aRn5yhDb.js → auto-read-context-CqyV7-Il.js} +1 -1
- package/dist/assets/{capgoAdapter-BSnmtwX8.js → capgoAdapter-CE2tG1-G.js} +1 -1
- package/dist/assets/{card-aoveY4I3.js → card-DVsK1bg4.js} +1 -1
- package/dist/assets/{chatUpwardIntent-WxxmOppY.js → chatUpwardIntent-0bZdNDP3.js} +1 -1
- package/dist/assets/{checkbox-CljLXON1.js → checkbox-p14OGtt6.js} +1 -1
- package/dist/assets/{collapsible-DkeWKEAb.js → collapsible-YyH7spLA.js} +1 -1
- package/dist/assets/{connection-hint-DsKyICgn.js → connection-hint-DjLiXeds.js} +1 -1
- package/dist/assets/{context-menu-XuMa5TsA.js → context-menu-CaquuQPG.js} +1 -1
- package/dist/assets/{diagram-DFv7Lh0h.js → diagram-CK9c-FX4.js} +1 -1
- package/dist/assets/{dialog-Cx20I73q.js → dialog-DHjQmYCZ.js} +1 -1
- package/dist/assets/{dropdown-menu-XdfySbu2.js → dropdown-menu-wHGfotqg.js} +1 -1
- package/dist/assets/{es-CLAEdHpc.js → es-C1spVk4O.js} +1 -1
- package/dist/assets/{fileMentionTouchSelection-pXNTKHAc.js → fileMentionTouchSelection-BmSRExKi.js} +1 -1
- package/dist/assets/{fr-BOB0gfdQ.js → fr-yyP7Hlty.js} +1 -1
- package/dist/assets/{gitApi-LXGRaDt8.js → gitApi-BrV9unI3.js} +1 -1
- package/dist/assets/{i18n-iu4pzqPi.js → i18n-Sh2Qk9nD.js} +1 -1
- package/dist/assets/{icons-BWijARKS.js → icons-54PVn3Nr.js} +1 -1
- package/dist/assets/{input-BMYgp87Q.js → input-C2I_T3cU.js} +1 -1
- package/dist/assets/{insertionBoundaries-bmxIeFzH.js → insertionBoundaries-Bk3zjnUJ.js} +1 -1
- package/dist/assets/{ja-CfM9jZ6u.js → ja-ChftrfCh.js} +1 -1
- package/dist/assets/{kbd-6RW-BxuR.js → kbd-BvxwoK5B.js} +1 -1
- package/dist/assets/{ko-DZOSVPHB.js → ko-BrLgX_6B.js} +1 -1
- package/dist/assets/{main-BLBAaohb.js → main-BuqJ3O2H.js} +2 -2
- package/dist/assets/{main-B-Wdp6An.js → main-Ded4HLay.js} +4 -4
- package/dist/assets/{markdownHeightCache-ojT5txMS.js → markdownHeightCache-DOk_2vb2.js} +1 -1
- package/dist/assets/{mcpQueries-BRuytwhB.js → mcpQueries-CRMVNbiD.js} +1 -1
- package/dist/assets/{miniChat-BsrHy2rU.js → miniChat-C_keuh7x.js} +2 -2
- package/dist/assets/{mobile-B8SHiXyq.js → mobile-C-Xb-xCI.js} +2 -2
- package/dist/assets/{mobileBackNavigation-CVrR_jtn.js → mobileBackNavigation-DNAhdcTU.js} +1 -1
- package/dist/assets/{mobileConnections-iSUwFNqu.js → mobileConnections-B20qC6CR.js} +2 -2
- package/dist/assets/{multirun-Y3K5yS-8.js → multirun-BXD-vbh9.js} +1 -1
- package/dist/assets/{native-config-tvqKHwCC.js → native-config-sbQqtLZx.js} +1 -1
- package/dist/assets/{nativeComposerCover-5rYz1E3W.js → nativeComposerCover-Js1b6_JZ.js} +1 -1
- package/dist/assets/{navigation-DFmCAq2g.js → navigation-C3z94oXZ.js} +1 -1
- package/dist/assets/{openRemoteProjectSession-CeSahDtQ.js → openRemoteProjectSession-Do_U0Wjg.js} +1 -1
- package/dist/assets/{openSessionFromDeepLink-DsZnNy4W.js → openSessionFromDeepLink-9v_-3Wec.js} +2 -2
- package/dist/assets/{pl-CaT81Sz8.js → pl-DlKDQDhl.js} +1 -1
- package/dist/assets/{pluginPresentation-rls1AMJN.js → pluginPresentation-CoA2suJt.js} +1 -1
- package/dist/assets/{pt-BR-9p1IKCEF.js → pt-BR-BldJPFQ5.js} +1 -1
- package/dist/assets/{pwa-BrLPfcLk.js → pwa-bZZTVtSz.js} +1 -1
- package/dist/assets/{queue-abort-optimistic-CXKdQu_T.js → queue-abort-optimistic-CRtH_pdQ.js} +1 -1
- package/dist/assets/{quota-BhdKv_Wc.js → quota-jMPnmJTS.js} +1 -1
- package/dist/assets/{reference-history-Bzn-aPYg.js → reference-history-BXab-rhp.js} +1 -1
- package/dist/assets/{remoteSessionReference-DORvqUYQ.js → remoteSessionReference-BxtqP_LB.js} +1 -1
- package/dist/assets/{renderElectronMiniChatApp-DXKgwBat.js → renderElectronMiniChatApp-BID4sjRN.js} +2 -2
- package/dist/assets/{renderMobileApp-CKN6rWxR.js → renderMobileApp-DIfIlnMb.js} +4 -4
- package/dist/assets/{runtimeConfig-BqUZF6Wt.js → runtimeConfig-Cgj64Llx.js} +1 -1
- package/dist/assets/{runtimeEndpointReset-Bu02gAs3.js → runtimeEndpointReset-C_jJz__z.js} +2 -2
- package/dist/assets/{select-BPIsJWhM.js → select-4PL3Ynr3.js} +1 -1
- package/dist/assets/{sessionLookup-DZhrkKRI.js → sessionLookup-BYsOsr9J.js} +1 -1
- package/dist/assets/{sessionOwnership-LoUNVeuJ.js → sessionOwnership-h393kE5w.js} +1 -1
- package/dist/assets/{shortcuts-DMupfl7l.js → shortcuts-wDaVtfuQ.js} +1 -1
- package/dist/assets/{sortable-tabs-strip-1bKw81VO.js → sortable-tabs-strip-_B4FGd1y.js} +1 -1
- package/dist/assets/{speechSettingsQueries-C3JgzCqy.js → speechSettingsQueries-CuGvtDnZ.js} +1 -1
- package/dist/assets/src-B7qham90.css +2 -0
- package/dist/assets/{store-BgsgBTwJ.js → store-BGuutgkJ.js} +3 -3
- package/dist/assets/{switch-B4-v9kvg.js → switch-Hzwmw5nt.js} +1 -1
- package/dist/assets/{textarea-DExmj0ZR.js → textarea-BqD15FDV.js} +1 -1
- package/dist/assets/{timeFormat-BlSO2-ws.js → timeFormat-BaiPCZgf.js} +1 -1
- package/dist/assets/{tooltip-Di-WRJUZ.js → tooltip-C4aKqJvN.js} +1 -1
- package/dist/assets/{truncated-path-nKzykV5p.js → truncated-path-BT64k7CU.js} +1 -1
- package/dist/assets/types-B8AS1Brf.js +2 -0
- package/dist/assets/{ui-BCYkB585.js → ui-By-75f8l.js} +6 -6
- package/dist/assets/{uk-BUSl_Y_1.js → uk-Cw2L_unr.js} +1 -1
- package/dist/assets/{useAppFontEffects-BCJPQstm.js → useAppFontEffects-QkfQ00lp.js} +2 -2
- package/dist/assets/{useDesktopWindowControlsLayout-BtpyMlOS.js → useDesktopWindowControlsLayout-DrBkTYrX.js} +1 -1
- package/dist/assets/{useDictation-4HBMkISY.js → useDictation-83-qDgkn.js} +1 -1
- package/dist/assets/{useEffectiveDirectory-BYswRwIv.js → useEffectiveDirectory-CrsINMiX.js} +1 -1
- package/dist/assets/{useGitStore-DqBPgmf-.js → useGitStore-Dx9gq2Eh.js} +1 -1
- package/dist/assets/{useInlineCommentDraftStore-CGJ6dM8d.js → useInlineCommentDraftStore-De-6mDMI.js} +1 -1
- package/dist/assets/{useMcpConfigStore-DEcxFuzW.js → useMcpConfigStore-gKHepAcH.js} +1 -1
- package/dist/assets/{useMobileSwipeActions-DqlR4X-T.js → useMobileSwipeActions-GD9WaonR.js} +1 -1
- package/dist/assets/{useMobileTranscriptSyncHint-BDKcqtq_.js → useMobileTranscriptSyncHint-hJZIsqRQ.js} +1 -1
- package/dist/assets/{useModelLists-DsFTBlMr.js → useModelLists-DJPjgwUx.js} +1 -1
- package/dist/assets/{useOpenCodeReadiness-CHybAoBh.js → useOpenCodeReadiness-Cn4yc2Bm.js} +1 -1
- package/dist/assets/{usePluginsStore-BIBHPK4A.js → usePluginsStore-Dg2vCCgh.js} +1 -1
- package/dist/assets/{useProjectGitActions-DeFcqi_O.js → useProjectGitActions-Ul9GEWII.js} +1 -1
- package/dist/assets/{useProjectGitStore-JGZk-NCk.js → useProjectGitStore-votrXA4y.js} +1 -1
- package/dist/assets/{useProjectRuntimeAPIs-BMBBtJB-.js → useProjectRuntimeAPIs-IIGjzxCs.js} +1 -1
- package/dist/assets/{useQuotaStore-C3qJTiD7.js → useQuotaStore-CHxR2ZkD.js} +1 -1
- package/dist/assets/{useSessionBtwStore-D7P-pknd.js → useSessionBtwStore-CQb-pbBw.js} +1 -1
- package/dist/assets/{useStreamingTextThrottle-CjWAE0oQ.js → useStreamingTextThrottle-DsYHMrpn.js} +1 -1
- package/dist/assets/{worktreeManager-pRvX5dQT.js → worktreeManager-Svy4mfp-.js} +1 -1
- package/dist/assets/{worktreeSourceBranchPreference-B7d3RYcc.js → worktreeSourceBranchPreference-Bt_e3_MW.js} +1 -1
- package/dist/assets/{zh-CN-BGKgQtWd.js → zh-CN-BQXjCmNe.js} +1 -1
- package/dist/assets/{zh-TW-jM5lIKfe.js → zh-TW-Y0lErpEY.js} +1 -1
- package/dist/index.html +6 -6
- package/dist/mini-chat.html +6 -6
- package/dist/mobile.html +2 -2
- package/package.json +1 -1
- package/server/lib/relay/DOCUMENTATION.md +1 -1
- package/server/lib/relay/relay-server.e2e.test.ts +12 -0
- package/server/lib/ui-auth/DOCUMENTATION.md +1 -1
- package/server/lib/ui-auth/ui-auth.js +2 -0
- package/server/lib/ui-auth/ui-auth.test.js +20 -1
- package/dist/assets/MarkdownRenderer-BZl_T1ng.js +0 -2
- package/dist/assets/SettingsGroup-Bm-l3IIs.js +0 -1
- package/dist/assets/src-BacdFOCS.css +0 -2
- package/dist/assets/types-4xeqxklF.js +0 -2
package/dist/index.html
CHANGED
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
opacity: 0.72;
|
|
572
572
|
}
|
|
573
573
|
</style>
|
|
574
|
-
<script type="module" crossorigin src="/assets/main-
|
|
574
|
+
<script type="module" crossorigin src="/assets/main-BuqJ3O2H.js"></script>
|
|
575
575
|
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-P2Xu9kJm.js">
|
|
576
576
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
577
577
|
<link rel="modulepreload" crossorigin href="/assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js">
|
|
@@ -610,13 +610,13 @@
|
|
|
610
610
|
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-ZjM4HkSo.js">
|
|
611
611
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-wdwb9MVG.js">
|
|
612
612
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-CaeLqIEY.js">
|
|
613
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
614
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
615
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
613
|
+
<link rel="modulepreload" crossorigin href="/assets/types-B8AS1Brf.js">
|
|
614
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-CE2tG1-G.js">
|
|
615
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-sbQqtLZx.js">
|
|
616
616
|
<link rel="modulepreload" crossorigin href="/assets/runtime-ead7P81A.js">
|
|
617
617
|
<link rel="modulepreload" crossorigin href="/assets/bootstrap-eLlfzqAI.js">
|
|
618
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
619
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
618
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-Cgj64Llx.js">
|
|
619
|
+
<link rel="stylesheet" crossorigin href="/assets/src-B7qham90.css">
|
|
620
620
|
</head>
|
|
621
621
|
<body class="h-full bg-background text-foreground">
|
|
622
622
|
<!-- Keep the startup layer outside #root. React replaces every child of
|
package/dist/mini-chat.html
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
.dark #initial-loading img { filter: invert(1); }
|
|
78
78
|
</style>
|
|
79
79
|
|
|
80
|
-
<script type="module" crossorigin src="/assets/miniChat-
|
|
80
|
+
<script type="module" crossorigin src="/assets/miniChat-C_keuh7x.js"></script>
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-P2Xu9kJm.js">
|
|
82
82
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
83
83
|
<link rel="modulepreload" crossorigin href="/assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js">
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-ZjM4HkSo.js">
|
|
117
117
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-wdwb9MVG.js">
|
|
118
118
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-CaeLqIEY.js">
|
|
119
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
120
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
121
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
119
|
+
<link rel="modulepreload" crossorigin href="/assets/types-B8AS1Brf.js">
|
|
120
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-CE2tG1-G.js">
|
|
121
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-sbQqtLZx.js">
|
|
122
122
|
<link rel="modulepreload" crossorigin href="/assets/runtime-ead7P81A.js">
|
|
123
123
|
<link rel="modulepreload" crossorigin href="/assets/bootstrap-eLlfzqAI.js">
|
|
124
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
125
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
124
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-Cgj64Llx.js">
|
|
125
|
+
<link rel="stylesheet" crossorigin href="/assets/src-B7qham90.css">
|
|
126
126
|
</head>
|
|
127
127
|
<body class="h-full bg-background text-foreground">
|
|
128
128
|
<div id="root" class="h-full">
|
package/dist/mobile.html
CHANGED
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
</script>
|
|
65
65
|
|
|
66
66
|
<style>.dark #mobile-startup-logo img { filter: invert(1); }</style>
|
|
67
|
-
<script type="module" crossorigin src="/assets/mobile-
|
|
67
|
+
<script type="module" crossorigin src="/assets/mobile-C-Xb-xCI.js"></script>
|
|
68
68
|
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-P2Xu9kJm.js">
|
|
69
69
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
70
70
|
<link rel="modulepreload" crossorigin href="/assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js">
|
|
71
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
71
|
+
<link rel="stylesheet" crossorigin href="/assets/src-B7qham90.css">
|
|
72
72
|
</head>
|
|
73
73
|
<body class="h-full bg-background text-foreground">
|
|
74
74
|
<div id="root" class="h-full">
|
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ See also `packages/web/server/lib/opencode/DOCUMENTATION.md` (“Catalog / Yuri-
|
|
|
80
80
|
|
|
81
81
|
## Authentication model
|
|
82
82
|
|
|
83
|
-
- The tunnel forwards HTTP/SSE and WebSocket opens only after Host-owned `authorizeRelayRequest` confirms a current Relay-enabled pairing credential. Missing authorization wiring fails closed. SSH/password credentials, owner cookies and direct-only pairings
|
|
83
|
+
- The tunnel forwards authenticated HTTP/SSE and WebSocket opens only after Host-owned `authorizeRelayRequest` confirms a current Relay-enabled pairing credential. Missing authorization wiring fails closed. SSH/password credentials, owner cookies and direct-only pairings cannot access protected loopback routes/sockets; URL tokens are checked against their issuing client's current pairing grant, revocation and expiry. The local server still performs its ordinary route authentication. Before a client credential exists, public `GET /health` (no WebSocket upgrade) supports the mobile 0.2.31 pre-pairing reachability probe, and `POST /api/client-auth/pairing/redeem` validates the one-time secret and Relay-enabled pairing scope. Health never grants authenticated access.
|
|
84
84
|
- A paired **desktop** client is a device-fleet operator: through the tunnel it can create pairing links using existing or custom Relay endpoints, list every paired device, and revoke other devices (parity with the SSH attach flow). Pairing with a new endpoint appends it without replacing existing endpoints. Wholesale endpoint-list replacement/removal remains an owner-UI / local-desktop-shell action. Mobile (and any other) paired clients stay scoped to their own record.
|
|
85
85
|
- Clients carry their normal credential. HTTP and SSE requests authenticate with the client's bearer token (a header). **WebSocket upgrades cannot send headers**, so they authenticate with a short-lived URL-scoped token minted beforehand and passed as a query parameter. This asymmetry is important when adding new WebSocket features (see the skill).
|
|
86
86
|
- Desktop switch preflight calls `/auth/session` with the saved bearer over a pinned tunnel before adopting it. `/health` and cached reachability badges provide transport information only. Failed or timed-out probes close their temporary tunnel and preserve the active runtime; successful switch probes transfer ownership of the authenticated tunnel to the runtime.
|
|
@@ -239,6 +239,10 @@ const startOrigin = async (options: { recoveryEvents?: boolean } = {}) => {
|
|
|
239
239
|
void (async () => {
|
|
240
240
|
const res = addResponseAdapter(rawRes);
|
|
241
241
|
const pathname = new URL(req.url ?? '/', 'http://origin').pathname;
|
|
242
|
+
if (pathname === '/health' && req.method === 'GET') {
|
|
243
|
+
res.json({ status: 'ok' });
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
242
246
|
if (pathname === '/fixture-event') {
|
|
243
247
|
res.writeHead(200, { 'content-type': 'text/event-stream' });
|
|
244
248
|
if (options.recoveryEvents) {
|
|
@@ -753,6 +757,14 @@ describe('private relay compiled-process boundary', () => {
|
|
|
753
757
|
});
|
|
754
758
|
|
|
755
759
|
await eventually(() => host!.getStatus().state === 'connected' && client!.getStatus().state === 'connected', 'host and TypeScript client did not connect');
|
|
760
|
+
// 0.2.31 mobile checks health without a bearer before redeeming its pairing.
|
|
761
|
+
const health = await client.fetch('/health');
|
|
762
|
+
expect(health.status).toBe(200);
|
|
763
|
+
expect(await health.json()).toEqual({ status: 'ok' });
|
|
764
|
+
expect(health.headers.get('set-cookie')).toBeNull();
|
|
765
|
+
for (const route of ['/auth/session', '/api/e2e/initialization']) {
|
|
766
|
+
expect((await client.fetch(route)).status).toBe(403);
|
|
767
|
+
}
|
|
756
768
|
const directSsh = await fetch(`http://127.0.0.1:${origin.port}/auth/url-token`, {
|
|
757
769
|
method: 'POST', headers: { authorization: 'Bearer ssh-token' },
|
|
758
770
|
});
|
|
@@ -18,7 +18,7 @@ gate. Clients must recheck `/auth/session` before interpreting a feature API's
|
|
|
18
18
|
401/403 as a UI logout; Relay pairing admission failure and Relay socket routing
|
|
19
19
|
authentication failure are distinct from UI password expiry.
|
|
20
20
|
|
|
21
|
-
Relay admission additionally requires an active client record with `usesRelay: true`, `authMethod: 'pairing'`, and a pairing ID. `authorizeRelayRequest` enforces this before the tunnel forwards
|
|
21
|
+
Relay admission additionally requires an active client record with `usesRelay: true`, `authMethod: 'pairing'`, and a pairing ID. `authorizeRelayRequest` enforces this before the tunnel forwards authenticated HTTP/SSE requests or WebSocket upgrades, including when the Host has no UI password. SSH/password/passkey credentials, owner cookies, and direct-only pairings do not grant Relay access. URL tokens resolve back to their issuing client and recheck current revocation/expiry and Relay permission. Before a credential exists, only the public `GET /health` (without a WebSocket upgrade) and `POST /api/client-auth/pairing/redeem` are admitted. Mobile 0.2.31 probes health before redemption; this reachability response grants no session or business API access. Redemption's one-time secret validation also requires a Relay-enabled pairing when arriving through Relay. Direct authentication behavior is unchanged.
|
|
22
22
|
|
|
23
23
|
Pairing v2 is implemented by `packages/web/server/lib/client-auth/pairing.js`. It stores short-lived one-time pairing sessions with hashed secrets, exposes create/cancel/redeem routes under `/api/client-auth/pairing/*`, and redeems a valid pairing secret into the same remote client token used by password/passkey trusted-device flows.
|
|
24
24
|
|
|
@@ -533,6 +533,8 @@ export const createUiAuth = ({
|
|
|
533
533
|
|
|
534
534
|
const authorizeRelayRequest = async (req) => {
|
|
535
535
|
const pathname = new URL(req.url, 'http://127.0.0.1').pathname;
|
|
536
|
+
// 0.2.31 mobile probes this public route before redeeming a pairing secret.
|
|
537
|
+
if (req.method === 'GET' && pathname === '/health' && !req.headers?.upgrade) return true;
|
|
536
538
|
// Pairing redeems its one-time secret before a client credential exists.
|
|
537
539
|
if (req.method === 'POST' && pathname === '/api/client-auth/pairing/redeem') return true;
|
|
538
540
|
try {
|
|
@@ -130,7 +130,7 @@ describe('ui auth client credential seam', () => {
|
|
|
130
130
|
expect(await auth.authorizeRelayRequest(wsReq)).toBe(false);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
expect(await auth.authorizeRelayRequest({ method: 'GET', url: '/health', headers: {} })).toBe(
|
|
133
|
+
expect(await auth.authorizeRelayRequest({ method: 'GET', url: '/health', headers: {} })).toBe(true);
|
|
134
134
|
expect(await auth.authorizeRelayRequest({ method: 'POST', url: '/auth/session', headers: { cookie: 'yuri_ui_session=owner' } })).toBe(false);
|
|
135
135
|
expect(await auth.authorizeRelayRequest({ method: 'POST', url: '/api/client-auth/pairing/redeem', headers: {} })).toBe(true);
|
|
136
136
|
expect(await auth.authorizeRelayRequest({ method: 'GET', url: '/api/client-auth/pairing/redeem', headers: {} })).toBe(false);
|
|
@@ -138,6 +138,25 @@ describe('ui auth client credential seam', () => {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
it('admits only the legacy mobile public health probe before pairing', async () => {
|
|
142
|
+
const createUiAuth = await loadCreateUiAuth();
|
|
143
|
+
const auth = createUiAuth({ requireClientAuth: true });
|
|
144
|
+
try {
|
|
145
|
+
expect(await auth.authorizeRelayRequest({ method: 'GET', url: '/health', headers: {} })).toBe(true);
|
|
146
|
+
for (const [method, url, headers] of [
|
|
147
|
+
['POST', '/health', {}],
|
|
148
|
+
['HEAD', '/health', {}],
|
|
149
|
+
['GET', '/health/extra', {}],
|
|
150
|
+
['GET', '/auth/session', {}],
|
|
151
|
+
['GET', '/api/version', {}],
|
|
152
|
+
['GET', '/api/session', {}],
|
|
153
|
+
['GET', '/health', { upgrade: 'websocket' }],
|
|
154
|
+
]) {
|
|
155
|
+
expect(await auth.authorizeRelayRequest({ method, url, headers })).toBe(false);
|
|
156
|
+
}
|
|
157
|
+
} finally { auth.dispose(); }
|
|
158
|
+
});
|
|
159
|
+
|
|
141
160
|
it('accepts bearer client credentials when UI password auth is enabled', async () => {
|
|
142
161
|
const createUiAuth = await loadCreateUiAuth();
|
|
143
162
|
const auth = createUiAuth({
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MarkstreamRendererImpl-Bzz3OZlX.js","assets/rolldown-runtime-hePW80VL.js","assets/platform-B2ylz14u.js","assets/runtime-auth-DA-qfGHk.js","assets/runtime-switch-DEPKHgdL.js","assets/runtimeAPIRegistry-C2VogTny.js","assets/pathNormalization-ewtPqJWn.js","assets/vendor-pathe-vBmvQE8f.js","assets/vendor-base-ui-wXsskyKm.js","assets/vendor-react-BkccXcWz.js","assets/runtime-file-resource-BGZ4tGr5.js","assets/runtime-fetch-V-iMWR8t.js","assets/reasoning-projection-client-BEhVknv9.js","assets/vendor-tanstack-query-core-BSjXNgF_.js","assets/vendor-tanstack-react-query-DIb_ItL-.js","assets/path-utils-jGozTg9d.js","assets/vendor-reactuses-core-DjKFMfz7.js","assets/vendor-lodash-es-BS45jPoZ.js","assets/vendor-js-cookie-hSOiFTtX.js","assets/summaries-BQMyJaaw.js","assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js","assets/runtime-file-store-BVRgEtI-.js","assets/brand-storage-migration-Bhz6UOBJ.js","assets/useUIStore-68ZPpgYA.js","assets/vendor-zustand-CTekDqaS.js","assets/brand-storage-bootstrap-D4BW3w-M.js","assets/safeStorage-DTOhKN0V.js","assets/useMobileHtmlPreviewStore-BYunNOBo.js","assets/vendor-markstream-react-BqCCtUAV.js","assets/vendor-markstream-core-Cm34iPLL.js","assets/vendor-floating-ui-dom-BHhLtF5l.js","assets/vendor-floating-ui-core-Co1I1lFV.js","assets/ui-BCYkB585.js","assets/gitApiHttp-ZjM4HkSo.js","assets/client-CmtAKi5B.js","assets/vendor-opencode-client-BM2r1f0o.js","assets/vendor-effect-X1Hqc7ba.js","assets/prompt-attachment-upload-BzYqZdzd.js","assets/uuid-D-SDZijH.js","assets/vendor-sonner-DX3nfJx4.js","assets/vendor-class-variance-authority-BLUaYARZ.js","assets/vendor-tailwind-merge-BicNWLTg.js","assets/remoteProjectQueries-BQzoY_Y9.js","assets/i18n-iu4pzqPi.js","assets/runtime-ead7P81A.js","assets/bootstrap-eLlfzqAI.js","assets/store-BgsgBTwJ.js","assets/tour-CMXP3Kif.js","assets/vendor-zod-DZzbCm1s.js","assets/vendor-opencode-schema-DWT45VBX.js","assets/input-store-CzG_3qFv.js","assets/toolHelpers-iEHVHQ9p.js","assets/useAssistantUIStore-BUWPTwNV.js","assets/vendor-framer-motion-D5NyyC73.js","assets/tooltip-Di-WRJUZ.js","assets/useThemeSystem-BIXghnHj.js","assets/useEffectiveDirectory-BYswRwIv.js","assets/LoadingImage-Bs-621ZL.js","assets/ImageLoadingPlaceholder-2hMqBtYh.js","assets/image-loading-DA9JEHD8.css","assets/markdownHeightCache-ojT5txMS.js","assets/dualLimitLru-D8Sphgua.js","assets/imageSource-qzgDdfT4.js","assets/FadeInOnReveal-C56koblQ.js","assets/useStreamingTextThrottle-CjWAE0oQ.js","assets/MarkdownRendererImpl-DiCCNjDr.js","assets/vendor-katex-DNVSTX6g.js","assets/themes-BgDJcxRc.js","assets/inlineMessageLinks-DC78iKO5.js","assets/vendor-marked-S3gCOYp1.js","assets/markdownTheme-D84XyNiT.js","assets/vendor-pierre-diffs-B0OmIhMO.js","assets/vendor-hast-util-to-html-Bw_SgZ1t.js","assets/vendor-character-entities-legacy-Wut6vMuj.js","assets/vendor-character-entities-html4-DlN_yAFd.js","assets/vendor-ccount-CyGsA0u7.js","assets/vendor-comma-separated-tokens-B9ouxNNS.js","assets/vendor-oniguruma-to-es-CrHzjjSU.js","assets/vendor-oniguruma-parser-D2DIvhSP.js","assets/vendor-diff-Dq7CZNim.js","assets/vendor-lru_map-BMOrLc9L.js","assets/markdown-worker-oBGEB9Eg.js","assets/vendor-morphdom-BbKiNDAu.js","assets/vendor-dompurify-CeJNOzik.js","assets/vendor-pele-C1WTNWUm.js","assets/vendor-remend-C3cXc-tf.js","assets/fileReferenceActions-wN7mWY3w.js","assets/fileReferenceParser-1HHDBUum.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{a as t}from"./vendor-zustand-CTekDqaS.js";import{ot as n,st as r}from"./vendor-base-ui-wXsskyKm.js";import"./brand-storage-bootstrap-D4BW3w-M.js";import{n as i}from"./vendor-react-BkccXcWz.js";import{o as a}from"./vendor-aparajita-capacitor-secure-storage-xol_6BsB.js";import{io as o}from"./ui-BCYkB585.js";import{t as s}from"./useEffectiveDirectory-BYswRwIv.js";import{i as c,n as l,t as u}from"./markdownHeightCache-ojT5txMS.js";var d=i(),f=e(r(),1),p=`yuri:chunk-import-reload`,m=250,h=3e4,g=[/Importing a module script failed/i,/Failed to fetch dynamically imported module/i,/error loading dynamically imported module/i,/Loading chunk \S+ failed/i,/ChunkLoadError/i];function _(e){if(e instanceof Error)return`${e.name}\n${e.message}\n${e.stack??``}`;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function v(e){let t=_(e);return g.some(e=>e.test(t))}function y(e){return`0.3.6:${_(e).slice(0,500)}`}function b(e){if(typeof window>`u`)return;let t=Date.now(),n=y(e),r=null;try{let e=window.sessionStorage.getItem(p);if(e)try{r=JSON.parse(e)}catch{r=null}}catch{return}let i=typeof r?.timestamp==`number`?r.timestamp:0;if(!(r?.signature===n&&t-i<h)){try{window.sessionStorage.setItem(p,JSON.stringify({signature:n,timestamp:t}))}catch{return}console.error(`[refresh-debug] chunk-import-reload`,{error:_(e).slice(0,1e3)}),window.setTimeout(()=>{window.location.reload()},0)}}async function x(e,t={}){let n=t.retries??1,r;for(let t=0;t<=n;t+=1)try{return await e()}catch(e){if(r=e,!v(e)||t>=n)break;await new Promise(e=>setTimeout(e,m*(t+1)))}throw v(r)&&b(r),r}var S=e=>(0,f.lazy)(()=>x(e)),C=(e,t)=>{try{let n=t??(typeof localStorage>`u`?null:localStorage);return!n||n.getItem(e)!==`0`}catch{return!0}},w=(e,t)=>{try{typeof localStorage<`u`&&localStorage.setItem(e,t?`1`:`0`)}catch{}},T=`yuri:markstream-react`,E=e=>C(T,e),D=t(e=>({markstreamReactEnabled:E(),setMarkstreamReactEnabled:t=>{w(T,t),e({markstreamReactEnabled:t})}})),O=null,k=()=>(O??=a(()=>import(`./MarkstreamRendererImpl-Bzz3OZlX.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87])).catch(e=>{throw O=null,e}),O),A=()=>{k().catch(()=>void 0)},j=null,M=()=>(j??=a(()=>import(`./MarkdownRendererImpl-DiCCNjDr.js`).then(e=>e.n),__vite__mapDeps([65,1,4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,66,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,67,56,60,61,62,68,69,70,71,72,73,74,75,76,77,78,79,80,81,63,82,83,84,85,86,87,59])).catch(e=>{throw j=null,e}),j),N=()=>{E()?A():M().catch(()=>void 0)},P=class extends f.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){console.warn(`[markstream-react] falling back to the current Markdown renderer`,e)}render(){return this.state.hasError?this.props.fallback:this.props.children}},F=f.createContext(!0),I=()=>f.useContext(F),L=(e,t)=>!!t?.toLowerCase().startsWith(`video/`)||/^data:video\//i.test(e)||/\.(?:mp4|m4v|webm|mov|ogv|ogg)(?:[?#]|$)/i.test(e),R=n(),z=S(()=>M().then(e=>({default:e.MarkdownRenderer}))),B=S(()=>k().then(e=>({default:e.MarkstreamRenderer}))),V=S(()=>M().then(e=>({default:e.SimpleMarkdownRenderer}))),H=e=>e===`tool`?`markdown-content markdown-tool`:e===`reasoning`?`markdown-content markdown-reasoning`:`markdown-content leading-relaxed`,U=e=>{let t=(0,d.c)(15),n=D(K),r=typeof e.content==`string`?e.content:``,i=typeof e.variant==`string`?e.variant:`assistant`,a;t[0]!==r||t[1]!==n||t[2]!==e.reserveMeasuredHeight||t[3]!==i?(a=e.reserveMeasuredHeight?l(u(r,n?`markstream:${i}`:i)):void 0,t[0]=r,t[1]=n,t[2]=e.reserveMeasuredHeight,t[3]=i,t[4]=a):a=t[4];let s=a,f;t[5]!==e.className||t[6]!==e.variant?(f=o(`relative break-words w-full min-w-0`,H(e.variant),typeof e.className==`string`?e.className:void 0),t[5]=e.className,t[6]=e.variant,t[7]=f):f=t[7];let p;t[8]!==r||t[9]!==e.animated||t[10]!==s?(p=(0,R.jsx)(c,{animated:e.animated,content:r,reservedHeight:s}),t[8]=r,t[9]=e.animated,t[10]=s,t[11]=p):p=t[11];let m;return t[12]!==f||t[13]!==p?(m=(0,R.jsx)(`div`,{className:f,"aria-busy":`true`,"data-markdown-hydration":`deferred`,"data-markdown-ready":`false`,children:p}),t[12]=f,t[13]=p,t[14]=m):m=t[14],m},W=e=>{let t=(0,d.c)(13),n=I(),r=D(q);if(!n&&e.isStreaming!==!0){let n;return t[0]===e?n=t[1]:(n=(0,R.jsx)(U,{...e,animated:!1,reserveMeasuredHeight:!0}),t[0]=e,t[1]=n),n}let i;t[2]===e?i=t[3]:(i=(0,R.jsx)(f.Suspense,{fallback:(0,R.jsx)(U,{...e,reserveMeasuredHeight:!0}),children:(0,R.jsx)(z,{...e})}),t[2]=e,t[3]=i);let a=i,o;t[4]!==a||t[5]!==r||t[6]!==e?(o=r?(0,R.jsx)(P,{fallback:a,children:(0,R.jsx)(f.Suspense,{fallback:(0,R.jsx)(U,{...e,reserveMeasuredHeight:!0}),children:(0,R.jsx)(B,{...e})})}):a,t[4]=a,t[5]=r,t[6]=e,t[7]=o):o=t[7];let c=o,l;t[8]===e?l=t[9]:(l=t=>{if(!e.onShowPopup||t.button!==0||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;let n=t.target instanceof Element?t.target.closest(`a[href]`):null,r=n?.getAttribute(`href`);if(!r||!L(r))return;t.preventDefault(),t.stopPropagation();let i=n?.textContent?.trim()||r.split(/[/?#]/).filter(Boolean).pop()||r;e.onShowPopup({open:!0,title:i,content:``,video:{url:r,filename:i,directory:s()??``}})},t[8]=e,t[9]=l);let u;return t[10]!==c||t[11]!==l?(u=(0,R.jsx)(`div`,{className:`contents`,onClickCapture:l,children:c}),t[10]=c,t[11]=l,t[12]=u):u=t[12],u},G=e=>{let t=(0,d.c)(4);if(!I()){let n;return t[0]===e?n=t[1]:(n=(0,R.jsx)(U,{...e,animated:!1}),t[0]=e,t[1]=n),n}let n;return t[2]===e?n=t[3]:(n=(0,R.jsx)(f.Suspense,{fallback:(0,R.jsx)(U,{...e}),children:(0,R.jsx)(V,{...e})}),t[2]=e,t[3]=n),n};function K(e){return e.markstreamReactEnabled}function q(e){return e.markstreamReactEnabled}export{N as a,F as i,G as n,S as o,L as r,W as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,ot as t,t as n}from"./vendor-base-ui-wXsskyKm.js";import{n as r}from"./vendor-react-BkccXcWz.js";import{Xn as i,io as a}from"./ui-BCYkB585.js";import{t as o}from"./i18n-iu4pzqPi.js";var s=r(),c=t();function l(t){let r=(0,s.c)(17),{checked:l,onChange:f,disabled:p,ariaLabel:m,className:h}=t,g=p!==void 0&&p,{t:_}=o(),v;r[0]!==l||r[1]!==g||r[2]!==f?(v=e=>{!g&&e!==l&&f(e)},r[0]=l,r[1]=g,r[2]=f,r[3]=v):v=r[3];let y;r[4]===h?y=r[5]:(y=a(`yuri-settings-switch`,h),r[4]=h,r[5]=y);let b;r[6]===Symbol.for(`react.memo_cache_sentinel`)?(b=[!1,!0],r[6]=b):b=r[6];let x;r[7]!==l||r[8]!==_?(x=b.map(t=>(0,c.jsxs)(e,{value:t,nativeButton:!0,render:(0,c.jsx)(i,{variant:`ghost`,size:`xs`}),className:`yuri-settings-switch-option`,children:[l===t&&(0,c.jsx)(`span`,{"aria-hidden":!0,className:`yuri-segmented-selected-pill yuri-settings-switch-pill`}),(0,c.jsx)(`span`,{className:`relative`,children:_(t?`settings.switch.on`:`settings.switch.off`)})]},String(t))),r[7]=l,r[8]=_,r[9]=x):x=r[9];let S;return r[10]!==m||r[11]!==l||r[12]!==g||r[13]!==v||r[14]!==y||r[15]!==x?(S=(0,c.jsx)(n,{value:l,onValueChange:v,disabled:g,"aria-label":m,"aria-orientation":`horizontal`,"data-slot":`settings-switch`,className:y,onClick:d,onKeyDown:u,children:x}),r[10]=m,r[11]=l,r[12]=g,r[13]=v,r[14]=y,r[15]=x,r[16]=S):S=r[16],S}function u(e){return e.stopPropagation()}function d(e){return e.stopPropagation()}function f(e){let t=(0,s.c)(10),{children:n,actions:r,className:i}=e,o;t[0]===i?o=t[1]:(o=a(`flex shrink-0 items-center justify-between gap-3 py-3`,i),t[0]=i,t[1]=o);let l;t[2]===n?l=t[3]:(l=(0,c.jsx)(`div`,{className:`min-w-0 flex-1`,children:n}),t[2]=n,t[3]=l);let u;t[4]===r?u=t[5]:(u=(0,c.jsx)(`div`,{className:`flex max-w-[70%] shrink-0 flex-wrap items-center justify-end gap-2 [&_button]:max-w-full [&_button]:whitespace-normal`,children:r}),t[4]=r,t[5]=u);let d;return t[6]!==o||t[7]!==l||t[8]!==u?(d=(0,c.jsxs)(`header`,{"data-settings-action-header":``,className:o,children:[l,u]}),t[6]=o,t[7]=l,t[8]=u,t[9]=d):d=t[9],d}function p(e){let t=(0,s.c)(21),{label:n,actions:r,children:i,description:o,itemId:l,ariaLabel:u,className:d,cardClassName:p,cardId:m}=e,h=typeof n==`string`&&/^[\p{Script=Latin}\p{Number}\p{Punctuation}\p{Separator}]+$/u.test(n)?`latin`:void 0,g;t[0]===d?g=t[1]:(g=a(`yuri-settings-group`,d),t[0]=d,t[1]=g);let _;t[2]!==r||t[3]!==n||t[4]!==h?(_=r?(0,c.jsx)(f,{className:`py-0`,actions:r,children:n?(0,c.jsx)(`div`,{className:`yuri-settings-group-label`,"data-settings-label-script":h,children:n}):null}):n?(0,c.jsx)(`div`,{className:`yuri-settings-group-label`,"data-settings-label-script":h,children:n}):null,t[2]=r,t[3]=n,t[4]=h,t[5]=_):_=t[5];let v;t[6]===p?v=t[7]:(v=a(`yuri-settings-group-card`,p),t[6]=p,t[7]=v);let y;t[8]!==m||t[9]!==i||t[10]!==l||t[11]!==v?(y=(0,c.jsx)(`div`,{id:m,"data-settings-item":l,className:v,children:i}),t[8]=m,t[9]=i,t[10]=l,t[11]=v,t[12]=y):y=t[12];let b;t[13]===o?b=t[14]:(b=o?(0,c.jsx)(`p`,{className:`yuri-settings-group-description text-muted-foreground`,children:o}):null,t[13]=o,t[14]=b);let x;return t[15]!==u||t[16]!==g||t[17]!==_||t[18]!==y||t[19]!==b?(x=(0,c.jsxs)(`section`,{className:g,"aria-label":u,children:[_,y,b]}),t[15]=u,t[16]=g,t[17]=_,t[18]=y,t[19]=b,t[20]=x):x=t[20],x}function m(e){let t=(0,s.c)(20),n,r,i,a,o,l,u,d;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],l=t[6],u=t[7],d=t[8]):({label:l,description:a,descriptionPlacement:d,ariaLabel:n,groupClassName:o,cardClassName:r,children:i,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=l,t[7]=u,t[8]=d);let f=d===void 0?`inside`:d,m=f===`outside`?a:void 0,g=f===`inside`?a:void 0,_;t[9]!==i||t[10]!==l||t[11]!==u||t[12]!==g?(_=(0,c.jsx)(h,{label:l,description:g,...u,children:i}),t[9]=i,t[10]=l,t[11]=u,t[12]=g,t[13]=_):_=t[13];let v;return t[14]!==n||t[15]!==r||t[16]!==o||t[17]!==m||t[18]!==_?(v=(0,c.jsx)(p,{ariaLabel:n,className:o,cardClassName:r,description:m,children:_}),t[14]=n,t[15]=r,t[16]=o,t[17]=m,t[18]=_,t[19]=v):v=t[19],v}function h(e){let t=(0,s.c)(25),{label:n,children:r,description:i,footer:o,itemId:l,className:u,copyClassName:d,controlClassName:f}=e,p;t[0]===u?p=t[1]:(p=a(`yuri-settings-group-row yuri-settings-split-row`,u),t[0]=u,t[1]=p);let m;t[2]===d?m=t[3]:(m=a(`yuri-settings-split-row-copy`,d),t[2]=d,t[3]=m);let h;t[4]===n?h=t[5]:(h=n?(0,c.jsx)(`div`,{className:`typography-ui-label text-foreground`,children:n}):null,t[4]=n,t[5]=h);let g;t[6]===i?g=t[7]:(g=i?(0,c.jsx)(`span`,{className:`typography-meta text-muted-foreground`,children:i}):null,t[6]=i,t[7]=g);let _;t[8]!==m||t[9]!==h||t[10]!==g?(_=(0,c.jsxs)(`div`,{className:m,children:[h,g]}),t[8]=m,t[9]=h,t[10]=g,t[11]=_):_=t[11];let v;t[12]===f?v=t[13]:(v=a(`yuri-settings-split-row-control`,f),t[12]=f,t[13]=v);let y;t[14]!==r||t[15]!==v?(y=(0,c.jsx)(`div`,{"data-settings-value":``,className:v,children:r}),t[14]=r,t[15]=v,t[16]=y):y=t[16];let b;t[17]===o?b=t[18]:(b=o?(0,c.jsx)(`div`,{"data-slot":`settings-row-footer`,className:`col-span-full min-w-0`,children:o}):null,t[17]=o,t[18]=b);let x;return t[19]!==l||t[20]!==p||t[21]!==_||t[22]!==y||t[23]!==b?(x=(0,c.jsxs)(`div`,{"data-settings-item":l,className:p,children:[_,y,b]}),t[19]=l,t[20]=p,t[21]=_,t[22]=y,t[23]=b,t[24]=x):x=t[24],x}function g(e){let t=(0,s.c)(32),{checked:n,onChange:r,label:i,ariaLabel:o,description:u,itemId:d,disabled:f,className:p}=e,m=f!==void 0&&f,h;t[0]!==n||t[1]!==m||t[2]!==r?(h=()=>{m||r(!n)},t[0]=n,t[1]=m,t[2]=r,t[3]=h):h=t[3];let g=h,v=_,y=m?`cursor-not-allowed`:`cursor-pointer`,b;t[4]!==p||t[5]!==y?(b=a(`yuri-settings-group-row yuri-settings-split-row group`,y,p),t[4]=p,t[5]=y,t[6]=b):b=t[6];let x=m?-1:0,S=m||void 0,C,w;t[7]===g?(C=t[8],w=t[9]):(C=e=>{v(e.target)||g()},w=e=>{v(e.target)||(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),g())},t[7]=g,t[8]=C,t[9]=w);let T;t[10]===i?T=t[11]:(T=(0,c.jsx)(`span`,{className:`typography-ui-label text-foreground`,children:i}),t[10]=i,t[11]=T);let E;t[12]===u?E=t[13]:(E=u?(0,c.jsx)(`span`,{className:`typography-meta text-muted-foreground`,children:u}):null,t[12]=u,t[13]=E);let D;t[14]!==E||t[15]!==T?(D=(0,c.jsxs)(`div`,{className:`yuri-settings-split-row-copy`,children:[T,E]}),t[14]=E,t[15]=T,t[16]=D):D=t[16];let O;t[17]!==o||t[18]!==n||t[19]!==m||t[20]!==r?(O=(0,c.jsx)(`div`,{"data-settings-value":``,className:`yuri-settings-split-row-control`,children:(0,c.jsx)(l,{checked:n,onChange:r,disabled:m,ariaLabel:o})}),t[17]=o,t[18]=n,t[19]=m,t[20]=r,t[21]=O):O=t[21];let k;return t[22]!==n||t[23]!==d||t[24]!==D||t[25]!==O||t[26]!==b||t[27]!==x||t[28]!==S||t[29]!==C||t[30]!==w?(k=(0,c.jsxs)(`div`,{"data-settings-item":d,className:b,role:`button`,tabIndex:x,"aria-pressed":n,"aria-disabled":S,onClick:C,onKeyDown:w,children:[D,O]}),t[22]=n,t[23]=d,t[24]=D,t[25]=O,t[26]=b,t[27]=x,t[28]=S,t[29]=C,t[30]=w,t[31]=k):k=t[31],k}function _(e){return e instanceof HTMLElement&&e.closest(`button, a, input, select, textarea`)!==null}export{f as a,g as i,p as n,l as o,h as r,m as t};
|