@yuriai/web 0.3.5 → 0.3.6-beta.6
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-CNOu_vy0.js → AgentAvatar-Bum-xW6O.js} +1 -1
- package/dist/assets/{AgentSelector-K5JSbXv3.js → AgentSelector-B9Zga0u6.js} +1 -1
- package/dist/assets/{ArchivedSessionsDialog-CU9RXl8K.js → ArchivedSessionsDialog-DCEC4I0y.js} +1 -1
- package/dist/assets/{AssistantConversationSurface-u3ndSmZP.js → AssistantConversationSurface-vkVeLvop.js} +3 -3
- package/dist/assets/AssistantSessionCard-J2esHfj1.js +2 -0
- package/dist/assets/{AssistantUnreadBadge-opyLZlZd.js → AssistantUnreadBadge-BZ6L1cG6.js} +1 -1
- package/dist/assets/{AssistantView-CDPTtrUZ.js → AssistantView-CS5-jm7K.js} +1 -1
- package/dist/assets/{AssistantWorkingAvatar-Vghb8xlt.js → AssistantWorkingAvatar-CtzuYnl7.js} +1 -1
- package/dist/assets/{AssistantsSettingsPage-Dt4OP3J-.js → AssistantsSettingsPage-CkCY3j9O.js} +1 -1
- package/dist/assets/{BinaryFileFallback-CJqnlBzh.js → BinaryFileFallback-2KhGwjpa.js} +1 -1
- package/dist/assets/{BtwPanel-DnMW6R43.js → BtwPanel-CXY_0XsO.js} +3 -3
- package/dist/assets/{BusyDots-FXSlMe2F.js → BusyDots-CD4ZvJSX.js} +3 -3
- package/dist/assets/ChatContainer-DQXNCnON.js +65 -0
- package/dist/assets/{ChatView-AFUNEBdD.js → ChatView-acUOtklp.js} +3 -3
- package/dist/assets/{DiagramView-j7aFp44v.js → DiagramView-DYvLnWQL.js} +1 -1
- package/dist/assets/{DiffView-DZ_gKyTO.js → DiffView-DeWNyNgj.js} +1 -1
- package/dist/assets/{DiffViewToggle-DkxhEUhV.js → DiffViewToggle-Dj2DhA-4.js} +1 -1
- package/dist/assets/{ErrorBoundary-CCH4LiRY.js → ErrorBoundary-BX-OBb4M.js} +1 -1
- package/dist/assets/{FadeInOnReveal-DO9PZrJL.js → FadeInOnReveal-CVpx10UG.js} +1 -1
- package/dist/assets/{GuiPluginMount-BCqt2pmM.js → GuiPluginMount-ObpO9wep.js} +1 -1
- package/dist/assets/{GuiPluginPage-BSjWEmIu.js → GuiPluginPage-CBnSbJjH.js} +1 -1
- package/dist/assets/{GuiPluginSurface-B8QjacMd.js → GuiPluginSurface-C-XvgWSF.js} +1 -1
- package/dist/assets/{GuiPluginTitlebarItems-DfHugxsx.js → GuiPluginTitlebarItems-BlWSbCLN.js} +1 -1
- package/dist/assets/{GuiPluginWindow-CDycMqzT.js → GuiPluginWindow-DrPQHRml.js} +1 -1
- package/dist/assets/{Icon-B-w2YKpn.js → Icon-DqzPCJr3.js} +1 -1
- package/dist/assets/{ImageLoadingPlaceholder-DsgRtfYG.js → ImageLoadingPlaceholder-DXTOQsFT.js} +1 -1
- package/dist/assets/{LoadingImage-B3IL7hnv.js → LoadingImage-DKW_EFqZ.js} +1 -1
- package/dist/assets/MarkdownRenderer-BPkgfzGX.js +2 -0
- package/dist/assets/{MarkdownRendererImpl-CPgpkd9b.js → MarkdownRendererImpl-BhoZ-tH-.js} +1 -1
- package/dist/assets/{MarkstreamRendererImpl-BzK1BO80.js → MarkstreamRendererImpl-DjktxTE3.js} +1 -1
- package/dist/assets/{MobileAssistantSettingsPage-DVpE3b24.js → MobileAssistantSettingsPage-C_vs3fmd.js} +1 -1
- package/dist/assets/{MobileAssistantTab-BbccE67x.js → MobileAssistantTab-UYxLV4iM.js} +1 -1
- package/dist/assets/{MobileBtwPage-BRN1gAmR.js → MobileBtwPage-CKu_Pu-1.js} +1 -1
- package/dist/assets/{MobileChangesSurface-BwmSTxeh.js → MobileChangesSurface-B-VaLv5u.js} +1 -1
- package/dist/assets/{MobileChatScreen-Bf42GrQ8.js → MobileChatScreen-BDmUXLGP.js} +1 -1
- package/dist/assets/{MobileDetailNavigation-DKWnQoSh.js → MobileDetailNavigation-B9OyYPvv.js} +1 -1
- package/dist/assets/MobileFilesSurface-CytwXDmJ.js +2 -0
- package/dist/assets/{MobileHtmlNetworkBoundary-BKSYPR9N.js → MobileHtmlNetworkBoundary-CpaAGgbb.js} +2 -2
- package/dist/assets/{MobileOverlayPanel-DcRWQlmf.js → MobileOverlayPanel-Dl2pIYSw.js} +1 -1
- package/dist/assets/{MobileResizableSheet-CF3Pbot4.js → MobileResizableSheet-02xvEBic.js} +1 -1
- package/dist/assets/{MobileSettingsTab-of6zpTsr.js → MobileSettingsTab-CcZaL1t7.js} +1 -1
- package/dist/assets/{MobileShareBridge-CRq9F1rn.js → MobileShareBridge-BWtSkRu8.js} +1 -1
- package/dist/assets/{MobileSurface-DGNomvlu.js → MobileSurface-uhKclxNm.js} +1 -1
- package/dist/assets/{MobileTabPageHeader-0aJFe3_x.js → MobileTabPageHeader-CvDxMHBT.js} +1 -1
- package/dist/assets/{ModelLogo-D27dq-si.js → ModelLogo-Lvd4AuAS.js} +1 -1
- package/dist/assets/{ModelSelector-Dg__8QLh.js → ModelSelector-CHfDNevv.js} +1 -1
- package/dist/assets/{MultiRunWindow-COqSg1Nk.js → MultiRunWindow-DvVjYPLd.js} +1 -1
- package/dist/assets/{OnboardingScreen-DUNyDwc6.js → OnboardingScreen-JSz-rr84.js} +1 -1
- package/dist/assets/{OverlayScrollbar-DS6XJ1HA.js → OverlayScrollbar-SfQf8OZP.js} +1 -1
- package/dist/assets/{PierreDiffViewer-BHwj_6j8.js → PierreDiffViewer-DyLQb4PS.js} +1 -1
- package/dist/assets/{ProviderLogo-Cm9RNV_U.js → ProviderLogo-DZBRUtcG.js} +1 -1
- package/dist/assets/{RemoteAssistantSessionCard-DAjHRUrC.js → RemoteAssistantSessionCard-CizQgy_n.js} +1 -1
- package/dist/assets/{RemoteDesktopPanel-Bays6pHh.js → RemoteDesktopPanel-RYJmIQh3.js} +1 -1
- package/dist/assets/{ScheduledTasksDialog-DnwBC7cj.js → ScheduledTasksDialog-bACf76Tf.js} +1 -1
- package/dist/assets/{ScrollableOverlay-CkX-buJm.js → ScrollableOverlay-DSbSVZg9.js} +1 -1
- package/dist/assets/{SettingsGroup-kZ_faXwL.js → SettingsGroup-DgaY4U0n.js} +1 -1
- package/dist/assets/{SettingsView-C62JngPE.js → SettingsView-BUMS9_Hq.js} +7 -7
- package/dist/assets/{SettingsWindow-Cm8apHAR.js → SettingsWindow-BT1YDYdX.js} +1 -1
- package/dist/assets/{SetupTourDialog-W_UeWH-i.js → SetupTourDialog-bsMRlubt.js} +1 -1
- package/dist/assets/{SyncActions-Blnq08ks.js → SyncActions-DhnAfnaX.js} +1 -1
- package/dist/assets/{TerminalView-CMugifkh.js → TerminalView-CCrhbls9.js} +1 -1
- package/dist/assets/{TextSelectionMenu-B2fIBlD3.js → TextSelectionMenu-B7H6lDVM.js} +1 -1
- package/dist/assets/{ToolOutputDialog-DdSUE2kP.js → ToolOutputDialog-Cvrz8NQg.js} +1 -1
- package/dist/assets/{YuriLogo-Ceon25sC.js → YuriLogo-D__yuhxb.js} +1 -1
- package/dist/assets/{YuriWordmark-CW53XKgV.js → YuriWordmark-CFNVVLiB.js} +1 -1
- package/dist/assets/{assistant-attachment-cache-eNT2QtmP.js → assistant-attachment-cache-BfJmm0RR.js} +1 -1
- package/dist/assets/{assistantMessagePreview-C7YAFen1.js → assistantMessagePreview-BN6hGa7u.js} +1 -1
- package/dist/assets/{assistantQueries-DxvTFlpL.js → assistantQueries-CprcsYI6.js} +1 -1
- package/dist/assets/{auto-read-context-Ce0o43YI.js → auto-read-context-C-i9LK0p.js} +1 -1
- package/dist/assets/{capgoAdapter-DQwUA-Nt.js → capgoAdapter-DOdLoRAO.js} +1 -1
- package/dist/assets/{card-D44sTpdY.js → card-w5raQV1D.js} +1 -1
- package/dist/assets/{chatUpwardIntent-CnS7WWRL.js → chatUpwardIntent-BUGiQveD.js} +1 -1
- package/dist/assets/{checkbox-DaKe0Tlq.js → checkbox-_7RbogJP.js} +1 -1
- package/dist/assets/{client-ITylDDCS.js → client-BNBLp-TP.js} +3 -3
- package/dist/assets/{collapsible-CL3SPnOf.js → collapsible-g7uUkAXi.js} +1 -1
- package/dist/assets/{connection-hint-SMNZFDAe.js → connection-hint-D0oXnbT2.js} +1 -1
- package/dist/assets/{context-menu-DZunhC8o.js → context-menu-ZflmwQdh.js} +1 -1
- package/dist/assets/{desktopHosts-BsTrBVja.js → desktopHosts-f2baL_xR.js} +1 -1
- package/dist/assets/{desktopRelayRestore-BxbRKak_.js → desktopRelayRestore-v28izlUf.js} +1 -1
- package/dist/assets/{device-EIfSfSWk.js → device-CWomdsE7.js} +1 -1
- package/dist/assets/{diagram-DFXqN638.js → diagram-DWjh1vyU.js} +1 -1
- package/dist/assets/{dialog-CmjXOKMz.js → dialog-BN6kCa-_.js} +1 -1
- package/dist/assets/{dropdown-menu-BT_66BFT.js → dropdown-menu-DBarQzEj.js} +1 -1
- package/dist/assets/{es-DqYZgeC6.js → es-BuXtFKUW.js} +2 -2
- package/dist/assets/{fileMentionTouchSelection-B_62hIQI.js → fileMentionTouchSelection-CWLbylio.js} +1 -1
- package/dist/assets/{fileReferenceActions-TmbrIHBI.js → fileReferenceActions-Cso24xcm.js} +1 -1
- package/dist/assets/{fr-BHaun7Zq.js → fr-BaZeffY9.js} +2 -2
- package/dist/assets/{gitApi-CBfYFgtd.js → gitApi-Dv43wBP8.js} +1 -1
- package/dist/assets/gitApiHttp-BCUn15ro.js +3 -0
- package/dist/assets/{githubAuthQueries-C5RxUNL2.js → githubAuthQueries-DjHUTtMP.js} +1 -1
- package/dist/assets/{historyImportQueries-CZsECryv.js → historyImportQueries-DzK4Znck.js} +1 -1
- package/dist/assets/host-CesLGsT6.js +1 -0
- package/dist/assets/{i18n-Dojvs57M.js → i18n-5cDQDVOf.js} +1 -1
- package/dist/assets/{icons-D_vRtitD.js → icons-C-2yoZOg.js} +1 -1
- package/dist/assets/{imageSource-Cq_p4gAe.js → imageSource-BFZPZldy.js} +1 -1
- package/dist/assets/{input-BllFKOjo.js → input-BIk3HIwD.js} +1 -1
- package/dist/assets/{input-store-dLjM4aiu.js → input-store-CJziVczN.js} +1 -1
- package/dist/assets/{insertionBoundaries-Br0Bdl9R.js → insertionBoundaries-BPu6XWjZ.js} +1 -1
- package/dist/assets/{ja-BGNugvrx.js → ja-CGVx5A8U.js} +2 -2
- package/dist/assets/{kbd-CwkasrzN.js → kbd-D2YX1zHb.js} +1 -1
- package/dist/assets/{ko-CGbNBfDe.js → ko-C663nzbf.js} +2 -2
- package/dist/assets/main-DEvjKKLA.js +2 -0
- package/dist/assets/main-psg8ji-2.js +169 -0
- package/dist/assets/{markdownHeightCache-RX04MAqu.js → markdownHeightCache-B78ju12X.js} +1 -1
- package/dist/assets/{mcpQueries-qRW-HQMx.js → mcpQueries-ClZOzij7.js} +1 -1
- package/dist/assets/miniChat-DUpTKDGa.js +2 -0
- package/dist/assets/mobile-BWn6QkaD.js +2 -0
- package/dist/assets/{mobileBackNavigation-DsDUTnFY.js → mobileBackNavigation-CkPZ62-V.js} +1 -1
- package/dist/assets/mobileConnections-CIYG1Plg.js +2 -0
- package/dist/assets/{multirun-C2RRF2Q3.js → multirun-DxJV3I3M.js} +1 -1
- package/dist/assets/{native-config-Czc142JT.js → native-config-2pHZQeU7.js} +1 -1
- package/dist/assets/{nativeComposerCover-DzEGSyOO.js → nativeComposerCover-BlX7TtR8.js} +1 -1
- package/dist/assets/navigation-NL42ix4C.js +2 -0
- package/dist/assets/{openRemoteProjectSession-C5z2Juv7.js → openRemoteProjectSession-0PN8YQQV.js} +1 -1
- package/dist/assets/openSessionFromDeepLink-BiGSREvs.js +2 -0
- package/dist/assets/pathNormalization-ewtPqJWn.js +1 -0
- package/dist/assets/{pl-k8-4URiE.js → pl-CeBOMwg9.js} +2 -2
- package/dist/assets/platform-DbR5F6Vm.js +1 -0
- package/dist/assets/{pluginPresentation-p_0sXPMT.js → pluginPresentation-BDSmwf6B.js} +1 -1
- package/dist/assets/{project-preview-BcLPKzwg.js → project-preview-CYETzJZe.js} +1 -1
- package/dist/assets/{projectActions-BPmI9_mW.js → projectActions-Cd7WGZWC.js} +1 -1
- package/dist/assets/{prompt-attachment-upload-BGppTOgV.js → prompt-attachment-upload-BltVQvQ0.js} +1 -1
- package/dist/assets/{pt-BR-DdwCzXBH.js → pt-BR-r8268Pk6.js} +2 -2
- package/dist/assets/pwa-DwAXWlBC.js +2 -0
- package/dist/assets/queue-abort-optimistic-BAIlvaHr.js +1 -0
- package/dist/assets/{quota-2PwXAoIg.js → quota-DcAFX5u-.js} +1 -1
- package/dist/assets/{reference-history-BwtzPAmA.js → reference-history-BJE_RiI2.js} +1 -1
- package/dist/assets/{remote-input-store-DdjKfpxS.js → remote-input-store-BZEYXBgh.js} +1 -1
- package/dist/assets/remoteProjectQueries-A4mba1L1.js +1 -0
- package/dist/assets/remoteSessionReference-pn6xnEN8.js +1 -0
- package/dist/assets/{renderElectronMiniChatApp-BekZAu-s.js → renderElectronMiniChatApp-CIJo1j8s.js} +2 -2
- package/dist/assets/{renderMobileApp-C5U2cyeq.js → renderMobileApp-iXYVJAnU.js} +5 -5
- package/dist/assets/{runtime-file-download-1s2Al1t3.js → runtime-file-download-B4gjMkQj.js} +1 -1
- package/dist/assets/runtime-file-resource-B0yDjkk2.js +6 -0
- package/dist/assets/{runtimeConfig-DzYIc49M.js → runtimeConfig-DitORnV_.js} +1 -1
- package/dist/assets/runtimeEndpointReset-D01NK6o1.js +4 -0
- package/dist/assets/{scheduledTaskNavigation-VVTOq9n2.js → scheduledTaskNavigation-C-pzJzMY.js} +1 -1
- package/dist/assets/{select-BOtGs1FV.js → select-BmqBGFx7.js} +1 -1
- package/dist/assets/sessionChangeSummary-BCF9VwAA.js +1 -0
- package/dist/assets/sessionLookup-DcKP4fmz.js +1 -0
- package/dist/assets/sessionOwnership-D3zgaAKz.js +2 -0
- package/dist/assets/{shortcuts-Cu4ioDvH.js → shortcuts-DIaqWe1f.js} +1 -1
- package/dist/assets/{sortable-tabs-strip-DACGW9sB.js → sortable-tabs-strip-EetHRIX6.js} +1 -1
- package/dist/assets/{speechSettingsQueries-BU-4Axb5.js → speechSettingsQueries-Bm8acMUB.js} +1 -1
- package/dist/assets/src-DYCPWwUH.css +2 -0
- package/dist/assets/{store-DRUKTpV5.js → store-BRt8bo0A.js} +3 -3
- package/dist/assets/summaries-BQMyJaaw.js +1 -0
- package/dist/assets/{switch-DaUn0G3u.js → switch-DA-ralpy.js} +1 -1
- package/dist/assets/{terminalApi-ClNhXBA8.js → terminalApi-CjhPNDFD.js} +1 -1
- package/dist/assets/{textarea-IhQHekYx.js → textarea-DAq6EK4w.js} +1 -1
- package/dist/assets/{timeFormat-BsuUDWLs.js → timeFormat-D7_gtTO6.js} +1 -1
- package/dist/assets/{tooltip-Dw3DApa-.js → tooltip-BYCy1Cfz.js} +1 -1
- package/dist/assets/{truncated-path-KHrfQ66P.js → truncated-path-MXEmYf5S.js} +1 -1
- package/dist/assets/types-CilosbsN.js +2 -0
- package/dist/assets/ui-CWbFzUJf.js +13 -0
- package/dist/assets/{uk-DU-7fAP4.js → uk-CeQ1XJ99.js} +2 -2
- package/dist/assets/{useAppFontEffects-Dw6o6XbA.js → useAppFontEffects-BoRvZ8lz.js} +5 -5
- package/dist/assets/{useAssistantUIStore-CpJZ4Rqs.js → useAssistantUIStore-BJDq52fm.js} +1 -1
- package/dist/assets/useDesktopWindowControlsLayout-B9GYUG1c.js +1 -0
- package/dist/assets/{useDictation-sdgDfATy.js → useDictation-CgQ0a0Y9.js} +1 -1
- package/dist/assets/{useEffectiveDirectory-DZqC-2HE.js → useEffectiveDirectory-wnOwweNy.js} +1 -1
- package/dist/assets/{useFontPreferences-Bb-bxdL8.js → useFontPreferences-DqJCcld1.js} +1 -1
- package/dist/assets/{useGitStore-Bbmai549.js → useGitStore-dcwPhFO0.js} +1 -1
- package/dist/assets/{useInlineCommentDraftStore-DrC99u6A.js → useInlineCommentDraftStore-B0kVirb-.js} +1 -1
- package/dist/assets/{useMcpConfigStore-ZsZxSrCt.js → useMcpConfigStore-DeDUHkJz.js} +1 -1
- package/dist/assets/{useMobileSwipeActions-fUp7Bkbn.js → useMobileSwipeActions-yg95WXmV.js} +1 -1
- package/dist/assets/{useMobileTranscriptSyncHint-B4izCfqe.js → useMobileTranscriptSyncHint-PsaAa7gY.js} +2 -2
- package/dist/assets/{useModelLists-B0qSYDby.js → useModelLists-DGpesqEz.js} +1 -1
- package/dist/assets/{useOpenCodeReadiness-B9d-wLZB.js → useOpenCodeReadiness-DslQPffO.js} +1 -1
- package/dist/assets/{usePluginsStore-BLncdNj-.js → usePluginsStore-URyOiOP1.js} +1 -1
- package/dist/assets/{useProjectGitActions-CHMe1ku4.js → useProjectGitActions-DUW8pMoI.js} +1 -1
- package/dist/assets/{useProjectGitStore-Lz9AV32V.js → useProjectGitStore-Dbhq6u5W.js} +1 -1
- package/dist/assets/{useProjectRuntimeAPIs-D51dVo-V.js → useProjectRuntimeAPIs-ByW8LhH7.js} +1 -1
- package/dist/assets/{useQuotaStore-mZs9LTwx.js → useQuotaStore-BvacpO81.js} +1 -1
- package/dist/assets/{useSessionBtwStore-CYaTDkvT.js → useSessionBtwStore-BXfNAopW.js} +2 -2
- package/dist/assets/{useStreamingTextThrottle-ul6e3dUd.js → useStreamingTextThrottle-C3rgPfDZ.js} +1 -1
- package/dist/assets/{useUIStore-C3ewjGgP.js → useUIStore-BPe3dRMB.js} +1 -1
- package/dist/assets/{worktreeManager-V6hoSVxH.js → worktreeManager-Ciba_bQW.js} +1 -1
- package/dist/assets/{worktreeSourceBranchPreference-MQFPkOZy.js → worktreeSourceBranchPreference-CfVmY3R2.js} +1 -1
- package/dist/assets/{zh-CN-DOHH7nht.js → zh-CN-Bv854olO.js} +2 -2
- package/dist/assets/{zh-TW-t1qlXGOg.js → zh-TW-gx8cO-Cx.js} +2 -2
- package/dist/index.html +18 -16
- package/dist/mini-chat.html +18 -16
- package/dist/mobile.html +2 -2
- package/package.json +1 -1
- package/server/lib/assistants/builtin-skills.js +1 -1
- package/server/lib/gui-customization/DOCUMENTATION.md +6 -0
- package/server/lib/gui-customization/session-skill.js +2 -2
- package/server/lib/gui-customization/session-skill.test.js +3 -1
- package/server/lib/gui-customization/skill/SKILL.md +3 -1
- package/server/lib/gui-customization/skill/references/deep-links.md +39 -0
- package/server/lib/opencode/settings-helpers.js +4 -0
- package/dist/assets/AssistantSessionCard-MYBAni6A.js +0 -2
- package/dist/assets/ChatContainer-Dg9uDBjk.js +0 -65
- package/dist/assets/MarkdownRenderer-CsEylQVj.js +0 -2
- package/dist/assets/MobileFilesSurface-qkfC06Oh.js +0 -2
- package/dist/assets/gitApiHttp-Bswf6gnl.js +0 -3
- package/dist/assets/host-C7jHgymK.js +0 -1
- package/dist/assets/main-B7wAfq9F.js +0 -2
- package/dist/assets/main-DVmi0I-y.js +0 -169
- package/dist/assets/miniChat-D7-JQ1hw.js +0 -2
- package/dist/assets/mobile-BFQBDlo9.js +0 -2
- package/dist/assets/mobileConnections-PVy2SsQ_.js +0 -2
- package/dist/assets/navigation-C1v9hIAT.js +0 -2
- package/dist/assets/platform-CiUKDeXd.js +0 -1
- package/dist/assets/pwa-Br2HZksc.js +0 -2
- package/dist/assets/queue-abort-optimistic-DciJN9X1.js +0 -1
- package/dist/assets/remoteProjectQueries-BXrXdLjN.js +0 -1
- package/dist/assets/remoteSessionReference-XfJOxItc.js +0 -1
- package/dist/assets/runtime-file-resource-C5kmYlLv.js +0 -6
- package/dist/assets/runtimeEndpointReset-BKLVdNhJ.js +0 -4
- package/dist/assets/sessionLookup-BTQ_AtWh.js +0 -1
- package/dist/assets/sessionOwnership-BPfk1qCS.js +0 -2
- package/dist/assets/src-Dj147H4m.css +0 -2
- package/dist/assets/types-BBBwzIOU.js +0 -2
- package/dist/assets/ui-CHdferA1.js +0 -13
- package/dist/assets/useDesktopWindowControlsLayout-DAkTdcAP.js +0 -1
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-DEvjKKLA.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">
|
|
@@ -581,9 +581,10 @@
|
|
|
581
581
|
<link rel="modulepreload" crossorigin href="/assets/runtime-fetch-V-iMWR8t.js">
|
|
582
582
|
<link rel="modulepreload" crossorigin href="/assets/runtimeAPIRegistry-C2VogTny.js">
|
|
583
583
|
<link rel="modulepreload" crossorigin href="/assets/vendor-pathe-vBmvQE8f.js">
|
|
584
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
585
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
586
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
584
|
+
<link rel="modulepreload" crossorigin href="/assets/pathNormalization-ewtPqJWn.js">
|
|
585
|
+
<link rel="modulepreload" crossorigin href="/assets/platform-DbR5F6Vm.js">
|
|
586
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-f2baL_xR.js">
|
|
587
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-v28izlUf.js">
|
|
587
588
|
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-wXsskyKm.js">
|
|
588
589
|
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-CTekDqaS.js">
|
|
589
590
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-migration-Bhz6UOBJ.js">
|
|
@@ -598,23 +599,24 @@
|
|
|
598
599
|
<link rel="modulepreload" crossorigin href="/assets/vendor-lodash-es-BS45jPoZ.js">
|
|
599
600
|
<link rel="modulepreload" crossorigin href="/assets/vendor-js-cookie-hSOiFTtX.js">
|
|
600
601
|
<link rel="modulepreload" crossorigin href="/assets/vendor-reactuses-core-DjKFMfz7.js">
|
|
602
|
+
<link rel="modulepreload" crossorigin href="/assets/summaries-BQMyJaaw.js">
|
|
601
603
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-store-BVRgEtI-.js">
|
|
602
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-
|
|
603
|
-
<link rel="modulepreload" crossorigin href="/assets/prompt-attachment-upload-
|
|
604
|
-
<link rel="modulepreload" crossorigin href="/assets/client-
|
|
604
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-B0yDjkk2.js">
|
|
605
|
+
<link rel="modulepreload" crossorigin href="/assets/prompt-attachment-upload-BltVQvQ0.js">
|
|
606
|
+
<link rel="modulepreload" crossorigin href="/assets/client-BNBLp-TP.js">
|
|
605
607
|
<link rel="modulepreload" crossorigin href="/assets/useMobileHtmlPreviewStore-BYunNOBo.js">
|
|
606
|
-
<link rel="modulepreload" crossorigin href="/assets/useUIStore-
|
|
608
|
+
<link rel="modulepreload" crossorigin href="/assets/useUIStore-BPe3dRMB.js">
|
|
607
609
|
<link rel="modulepreload" crossorigin href="/assets/uuid-D-SDZijH.js">
|
|
608
|
-
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-
|
|
609
|
-
<link rel="modulepreload" crossorigin href="/assets/terminalApi-
|
|
610
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-
|
|
611
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
612
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
613
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
610
|
+
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-BCUn15ro.js">
|
|
611
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CjhPNDFD.js">
|
|
612
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-B4gjMkQj.js">
|
|
613
|
+
<link rel="modulepreload" crossorigin href="/assets/types-CilosbsN.js">
|
|
614
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-DOdLoRAO.js">
|
|
615
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-2pHZQeU7.js">
|
|
614
616
|
<link rel="modulepreload" crossorigin href="/assets/runtime-ead7P81A.js">
|
|
615
617
|
<link rel="modulepreload" crossorigin href="/assets/bootstrap-eLlfzqAI.js">
|
|
616
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
617
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
618
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-DitORnV_.js">
|
|
619
|
+
<link rel="stylesheet" crossorigin href="/assets/src-DYCPWwUH.css">
|
|
618
620
|
</head>
|
|
619
621
|
<body class="h-full bg-background text-foreground">
|
|
620
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-DUpTKDGa.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">
|
|
@@ -87,9 +87,10 @@
|
|
|
87
87
|
<link rel="modulepreload" crossorigin href="/assets/runtime-fetch-V-iMWR8t.js">
|
|
88
88
|
<link rel="modulepreload" crossorigin href="/assets/runtimeAPIRegistry-C2VogTny.js">
|
|
89
89
|
<link rel="modulepreload" crossorigin href="/assets/vendor-pathe-vBmvQE8f.js">
|
|
90
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
91
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
92
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
90
|
+
<link rel="modulepreload" crossorigin href="/assets/pathNormalization-ewtPqJWn.js">
|
|
91
|
+
<link rel="modulepreload" crossorigin href="/assets/platform-DbR5F6Vm.js">
|
|
92
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-f2baL_xR.js">
|
|
93
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-v28izlUf.js">
|
|
93
94
|
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-wXsskyKm.js">
|
|
94
95
|
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-CTekDqaS.js">
|
|
95
96
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-migration-Bhz6UOBJ.js">
|
|
@@ -104,23 +105,24 @@
|
|
|
104
105
|
<link rel="modulepreload" crossorigin href="/assets/vendor-lodash-es-BS45jPoZ.js">
|
|
105
106
|
<link rel="modulepreload" crossorigin href="/assets/vendor-js-cookie-hSOiFTtX.js">
|
|
106
107
|
<link rel="modulepreload" crossorigin href="/assets/vendor-reactuses-core-DjKFMfz7.js">
|
|
108
|
+
<link rel="modulepreload" crossorigin href="/assets/summaries-BQMyJaaw.js">
|
|
107
109
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-store-BVRgEtI-.js">
|
|
108
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-
|
|
109
|
-
<link rel="modulepreload" crossorigin href="/assets/prompt-attachment-upload-
|
|
110
|
-
<link rel="modulepreload" crossorigin href="/assets/client-
|
|
110
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-B0yDjkk2.js">
|
|
111
|
+
<link rel="modulepreload" crossorigin href="/assets/prompt-attachment-upload-BltVQvQ0.js">
|
|
112
|
+
<link rel="modulepreload" crossorigin href="/assets/client-BNBLp-TP.js">
|
|
111
113
|
<link rel="modulepreload" crossorigin href="/assets/useMobileHtmlPreviewStore-BYunNOBo.js">
|
|
112
|
-
<link rel="modulepreload" crossorigin href="/assets/useUIStore-
|
|
114
|
+
<link rel="modulepreload" crossorigin href="/assets/useUIStore-BPe3dRMB.js">
|
|
113
115
|
<link rel="modulepreload" crossorigin href="/assets/uuid-D-SDZijH.js">
|
|
114
|
-
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-
|
|
115
|
-
<link rel="modulepreload" crossorigin href="/assets/terminalApi-
|
|
116
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-
|
|
117
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
118
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
119
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
116
|
+
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-BCUn15ro.js">
|
|
117
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CjhPNDFD.js">
|
|
118
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-B4gjMkQj.js">
|
|
119
|
+
<link rel="modulepreload" crossorigin href="/assets/types-CilosbsN.js">
|
|
120
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-DOdLoRAO.js">
|
|
121
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-2pHZQeU7.js">
|
|
120
122
|
<link rel="modulepreload" crossorigin href="/assets/runtime-ead7P81A.js">
|
|
121
123
|
<link rel="modulepreload" crossorigin href="/assets/bootstrap-eLlfzqAI.js">
|
|
122
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
123
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
124
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-DitORnV_.js">
|
|
125
|
+
<link rel="stylesheet" crossorigin href="/assets/src-DYCPWwUH.css">
|
|
124
126
|
</head>
|
|
125
127
|
<body class="h-full bg-background text-foreground">
|
|
126
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-BWn6QkaD.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-DYCPWwUH.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
|
@@ -10,7 +10,7 @@ export function formatAssistantBuiltinSkillsPrompt(tools) {
|
|
|
10
10
|
skills.push('- opencode: For OpenCode itself: configuration, agents, skills, tools, permissions, MCP, providers, plugins, CLI, SDK/API and troubleshooting. Load load_tools({"domain":"opencode.catalog"}), then read_opencode_skill({"id":"opencode"}); continue with nextOffset when partial. Use the current connected catalog, not a copied skill body or a virtual built-in file path.');
|
|
11
11
|
}
|
|
12
12
|
if (names.has('read')) {
|
|
13
|
-
skills.push(`- yuri-customization: For adding a directory as a project in Yuri, appearance, themes/CSS/layout, logos/Dock, GUI plugins, pages/tabs, widgets, file previews/exports, panels and settings, or SSH/config-sync/Relay capability boundaries. Load with read({"path":${JSON.stringify(customizationSkillPath)}}), then read only the matching references relative to ${JSON.stringify(path.dirname(customizationSkillPath))}. Project registration uses granted yuri.projects tools, not a session-bound helper. This contact has no bound local desktop helper for SSH, configuration sync or Relay pairing; those operations are unavailable here. Reading the skill does not create that authorization.`);
|
|
13
|
+
skills.push(`- yuri-customization: For adding a directory as a project in Yuri, yuri:// deep links that open a conversation/project/new session, appearance, themes/CSS/layout, logos/Dock, GUI plugins, pages/tabs, widgets, file previews/exports, panels and settings, or SSH/config-sync/Relay capability boundaries. Load with read({"path":${JSON.stringify(customizationSkillPath)}}), then read only the matching references relative to ${JSON.stringify(path.dirname(customizationSkillPath))}. Project registration uses granted yuri.projects tools, not a session-bound helper. This contact has no bound local desktop helper for SSH, configuration sync or Relay pairing; those operations are unavailable here. Reading the skill does not create that authorization.`);
|
|
14
14
|
}
|
|
15
15
|
return skills.length > 0 ? [
|
|
16
16
|
'Built-in skills (progressive instructions): load the matching skill before following its workflow. Reading instructions does not mount tools or grant permissions; use the actual contact tools, or assign substantive implementation to a worker with the relevant context.',
|
|
@@ -7,6 +7,12 @@ short discovery pointer enters `session.instructions.entry` under
|
|
|
7
7
|
no global OpenCode config, installed user skills, project files or old sessions
|
|
8
8
|
are modified.
|
|
9
9
|
|
|
10
|
+
`skill/references/deep-links.md` is the on-demand reference for `yuri://` links
|
|
11
|
+
(session, new-session, open-project, host, settings). It mirrors the vocabulary in
|
|
12
|
+
`packages/ui/src/apps/deepLinks.ts` and the desktop session-link resolution in
|
|
13
|
+
`packages/ui/src/sync/DOCUMENTATION.md`; update it when either changes. It is
|
|
14
|
+
navigation guidance only and adds no helper or authorization.
|
|
15
|
+
|
|
10
16
|
Interactive Yuri contacts reuse this same shipped entry and references through
|
|
11
17
|
the assistant-only pointer in `../assistants/builtin-skills.js`. Their pi tools
|
|
12
18
|
run on the Host, so the pointer names the package-local resource directly rather
|
|
@@ -5,7 +5,7 @@ import { remoteConnectionsCommand } from './remote-connections-client.mjs';
|
|
|
5
5
|
import { sessionSkillCommand } from './session-skill-command.mjs';
|
|
6
6
|
|
|
7
7
|
const scripts = { 'remote-connections.mjs': './remote-connections-client.mjs', 'projects.mjs': './projects-client.mjs', 'session-skill-command.mjs': './session-skill-command.mjs' };
|
|
8
|
-
const files = ['SKILL.md', 'references/projects.md', 'references/appearance.md', 'references/ui-surfaces.md', 'references/plugin-styles.md', 'references/gui-api.md', 'references/workflow.md', 'references/global-pages.md', 'references/work-status.md', 'references/icons.md', 'references/file-previews.md', 'references/preview-exports.md', 'references/remote-connections.md', ...Object.keys(scripts)];
|
|
8
|
+
const files = ['SKILL.md', 'references/projects.md', 'references/appearance.md', 'references/ui-surfaces.md', 'references/plugin-styles.md', 'references/gui-api.md', 'references/workflow.md', 'references/global-pages.md', 'references/work-status.md', 'references/icons.md', 'references/file-previews.md', 'references/preview-exports.md', 'references/remote-connections.md', 'references/deep-links.md', ...Object.keys(scripts)];
|
|
9
9
|
|
|
10
10
|
/** Stage immutable, shipped instructions; never edit the user's global skills/config. */
|
|
11
11
|
export function createCustomizationSkillInstaller({ yuriDataDir }) {
|
|
@@ -34,7 +34,7 @@ export function createCustomizationSkillInstaller({ yuriDataDir }) {
|
|
|
34
34
|
const projects = projectBinding ? ` For local/remote project registration, task/session archive and restore, discovering authorized remote machines, or reading/creating/continuing remote sessions, read references/projects.md and run the bound project API helper.\nBound project helper: ${sessionSkillCommand(process.execPath, path.join(path.dirname(file), 'projects.mjs'), Buffer.from(JSON.stringify({ ...projectBinding, sessionID })).toString('base64url'), 'describe')}\n` : ' No bound project helper is provided; project registration, task/session archive and remote project/session access are unavailable through this session skill.';
|
|
35
35
|
const remote = remoteBinding ? ` For SSH setup/config sync or Relay pairing, use only this bound helper after reading references/remote-connections.md. Bound local desktop helper: ${remoteConnectionsCommand(process.execPath, path.join(path.dirname(file), 'remote-connections.mjs'), Buffer.from(JSON.stringify({ ...remoteBinding, sessionID })).toString('base64url'), 'describe')}` : ' No bound SSH/Relay command is provided: these operations are unavailable in this session. Report that limit and stop this branch; use native Settings or a new supported local desktop session. A script or another capability\'s binding does not enable it. There is no credential/filesystem fallback for this capability.';
|
|
36
36
|
await client.session.instructions.entry.put({ sessionID, key: 'yuri.customization',
|
|
37
|
-
value: `Yuri customization: for adding a directory as a project in Yuri (local or remote), task/session archive or restore (归档/恢复), remote sessions, SSH connections, configuration sync, Relay pairing, appearance (themes, CSS/layout, Logo, macOS Dock), work-status widgets, global pages/tabs, custom file parsing/previews, preview exports, or GUI panels/commands/settings, read ${JSON.stringify(file)} first. Use the matching reference and apply changes only when requested.${projects}${remote}`,
|
|
37
|
+
value: `Yuri customization: for adding a directory as a project in Yuri (local or remote), task/session archive or restore (归档/恢复), remote sessions, yuri:// deep links that open a conversation/project/new session, SSH connections, configuration sync, Relay pairing, appearance (themes, CSS/layout, Logo, macOS Dock), work-status widgets, global pages/tabs, custom file parsing/previews, preview exports, or GUI panels/commands/settings, read ${JSON.stringify(file)} first. Use the matching reference and apply changes only when requested.${projects}${remote}`,
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -23,10 +23,12 @@ describe('built-in customization instructions', () => {
|
|
|
23
23
|
expect(entry.value.length).toBeLessThan(1500);
|
|
24
24
|
const file = JSON.parse(entry.value.match(/read (".*?") first/)[1]);
|
|
25
25
|
expect(await fs.readFile(file, 'utf8')).toContain('name: yuri-customization');
|
|
26
|
-
for (const name of ['projects', 'appearance', 'ui-surfaces', 'plugin-styles', 'gui-api', 'workflow', 'global-pages', 'work-status', 'icons', 'file-previews', 'preview-exports', 'remote-connections']) expect((await fs.readFile(path.join(path.dirname(file), 'references', `${name}.md`), 'utf8')).length).toBeGreaterThan(500);
|
|
26
|
+
for (const name of ['projects', 'appearance', 'ui-surfaces', 'plugin-styles', 'gui-api', 'workflow', 'global-pages', 'work-status', 'icons', 'file-previews', 'preview-exports', 'remote-connections', 'deep-links']) expect((await fs.readFile(path.join(path.dirname(file), 'references', `${name}.md`), 'utf8')).length).toBeGreaterThan(500);
|
|
27
27
|
expect(entry.value).toContain('adding a directory as a project in Yuri');
|
|
28
28
|
expect(entry.value).toContain('task/session archive or restore (归档/恢复)');
|
|
29
29
|
expect(await fs.readFile(file, 'utf8')).toContain('(references/projects.md)');
|
|
30
|
+
expect(entry.value).toContain('yuri:// deep links');
|
|
31
|
+
expect(await fs.readFile(file, 'utf8')).toContain('(references/deep-links.md)');
|
|
30
32
|
const projects = await fs.readFile(path.join(path.dirname(file), 'references', 'projects.md'), 'utf8');
|
|
31
33
|
expect(projects).toContain('POST /api/yuri/session-skills/projects');
|
|
32
34
|
expect(projects).toContain('commands.add');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yuri-customization
|
|
3
|
-
description: Register local or remote Yuri projects, archive conversations (task-view 归档 or session archive), discover authorized remote machines and read/create/continue remote sessions, configure SSH connections, configuration sync and Relay pairing, or customize its GUI through plugins for appearance, pages, widgets, previews, panels and settings.
|
|
3
|
+
description: Register local or remote Yuri projects, archive conversations (task-view 归档 or session archive), discover authorized remote machines and read/create/continue remote sessions, build `yuri://` deep links that open a conversation, project or new session, configure SSH connections, configuration sync and Relay pairing, or customize its GUI through plugins for appearance, pages, widgets, previews, panels and settings.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Yuri customization
|
|
@@ -11,6 +11,8 @@ For archiving conversations ("归档", moving tasks to the archived shelf, or se
|
|
|
11
11
|
|
|
12
12
|
For adding a remote project on an authorized machine or working with its sessions, use the same bound project helper and the [remote project workflow](references/projects.md#connected-remote-projects-and-sessions). This grants no SSH setup or new connection permission.
|
|
13
13
|
|
|
14
|
+
For a clickable `yuri://` link that opens a conversation, project or new session (for sharing in IM or from scheduled jobs), follow [deep links](references/deep-links.md). Links are navigation only and grant no access.
|
|
15
|
+
|
|
14
16
|
For SSH setup, configuration sync or Relay pairing, first check this session's pointer for its exact bound local desktop helper command. Without that command, report unavailable and stop this branch: a script file or another capability's binding does not enable it. With the command, follow [remote connections](references/remote-connections.md). For UI changes, use the plugin workflow below. Its GUI contracts describe Yuri's supported subset of the experimental OpenCode GUI SDK 2.2.0, not every capability in the newest upstream Desktop.
|
|
15
17
|
|
|
16
18
|
## Workflow
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Yuri deep links
|
|
2
|
+
|
|
3
|
+
Use this reference when the user wants a clickable `yuri://` link that opens Yuri on a conversation, project or new session, for example to paste into an IM message, a note, or the output of a scheduled job. A deep link is navigation only. It carries no authorization, so it never replaces the bound project helper for archiving, registering projects or reading remote sessions.
|
|
4
|
+
|
|
5
|
+
## Link shapes
|
|
6
|
+
|
|
7
|
+
Build the URL with `encodeURIComponent` for every id and path. Put paths in the `directory` query key; `dir` and `path` are accepted aliases, but emit `directory`.
|
|
8
|
+
|
|
9
|
+
| Goal | Link | Desktop | Mobile |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| Open a conversation | `yuri://session/<sessionID>?directory=<path>` | yes | yes |
|
|
12
|
+
| Start a new conversation | `yuri://new-session?directory=<path>&prompt=<text>` | yes | yes |
|
|
13
|
+
| Open a project | `yuri://open-project?directory=<path>` | yes | yes |
|
|
14
|
+
| Switch to a configured Host | `yuri://host/<hostId>` | yes | no |
|
|
15
|
+
| Open Settings at a section | `yuri://settings/<section>` | no | yes |
|
|
16
|
+
|
|
17
|
+
`new-session` also accepts `project`, `agent` and `model`; omit them unless the user named them. Unknown routes are ignored without an error.
|
|
18
|
+
|
|
19
|
+
Never generate `yuri://connect?...` links yourself. They carry pairing credentials and trigger a user confirmation to import a connection. Do not put tokens, passwords or secrets in any deep link.
|
|
20
|
+
|
|
21
|
+
## Opening a conversation
|
|
22
|
+
|
|
23
|
+
`sessionID` is the OpenCode session id (`ses_...`). `directory` is the absolute path of the project on the machine where the session runs. Always include it when you know it.
|
|
24
|
+
|
|
25
|
+
Yuri resolves the link on the machine where the link is clicked:
|
|
26
|
+
|
|
27
|
+
1. If the session id is in that Yuri's own session index, it opens it.
|
|
28
|
+
2. Otherwise `directory` must belong to exactly one Remote Project already connected in that Yuri; Yuri then opens the session through that project.
|
|
29
|
+
3. In every other case Yuri shows a "conversation not found" notice and opens nothing. It never guesses a machine, and never connects one automatically.
|
|
30
|
+
|
|
31
|
+
So a link written on a remote machine only works for people whose Yuri already has that machine's project connected, and the path must be the machine's own path. If two connected machines share the same path, the link is ambiguous and will not open. Say this limit when the user plans to share the link; do not promise the recipient can open it. Desktop support for the remote branch is part of the desktop app; mobile opens only sessions in its own index.
|
|
32
|
+
|
|
33
|
+
## Where the current session id comes from
|
|
34
|
+
|
|
35
|
+
Use ids from this session's context or from the bound project helper's `task-sessions` and `remote-projects` results. Do not invent an id, and do not derive it from a title. If the id or directory is unknown, say so instead of emitting a link that cannot resolve.
|
|
36
|
+
|
|
37
|
+
## Verification
|
|
38
|
+
|
|
39
|
+
Report the link text, which branch should resolve it (local index or connected Remote Project), and the known limits above. Do not run `open "yuri://..."` to verify unless the user asks, because that moves their running Yuri window.
|
|
@@ -676,6 +676,10 @@ export const createSettingsHelpers = (dependencies) => {
|
|
|
676
676
|
result.collapsedModelProviders = normalizeStringArray(candidate.collapsedModelProviders);
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
+
if (Array.isArray(candidate.providerOrder)) {
|
|
680
|
+
result.providerOrder = normalizeStringArray(candidate.providerOrder);
|
|
681
|
+
}
|
|
682
|
+
|
|
679
683
|
if (Array.isArray(candidate.recentAgents)) {
|
|
680
684
|
result.recentAgents = normalizeStringArray(candidate.recentAgents);
|
|
681
685
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RemoteAssistantSessionCard-DAjHRUrC.js","assets/vendor-base-ui-wXsskyKm.js","assets/rolldown-runtime-hePW80VL.js","assets/vendor-react-BkccXcWz.js","assets/vendor-tanstack-react-query-DIb_ItL-.js","assets/vendor-tanstack-query-core-BSjXNgF_.js","assets/ui-CHdferA1.js","assets/runtime-auth-DA-qfGHk.js","assets/reasoning-projection-client-BEhVknv9.js","assets/runtime-switch-DEPKHgdL.js","assets/runtime-fetch-V-iMWR8t.js","assets/platform-CiUKDeXd.js","assets/runtimeAPIRegistry-C2VogTny.js","assets/vendor-pathe-vBmvQE8f.js","assets/vendor-zustand-CTekDqaS.js","assets/gitApiHttp-Bswf6gnl.js","assets/brand-storage-bootstrap-D4BW3w-M.js","assets/brand-storage-migration-Bhz6UOBJ.js","assets/safeStorage-DTOhKN0V.js","assets/client-ITylDDCS.js","assets/vendor-opencode-client-BM2r1f0o.js","assets/vendor-effect-X1Hqc7ba.js","assets/prompt-attachment-upload-BGppTOgV.js","assets/runtime-file-resource-C5kmYlLv.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/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js","assets/runtime-file-store-BVRgEtI-.js","assets/useUIStore-C3ewjGgP.js","assets/useMobileHtmlPreviewStore-BYunNOBo.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-BXrXdLjN.js","assets/i18n-Dojvs57M.js","assets/runtime-ead7P81A.js","assets/bootstrap-eLlfzqAI.js","assets/store-DRUKTpV5.js","assets/tour-CMXP3Kif.js","assets/vendor-zod-DZzbCm1s.js","assets/vendor-opencode-schema-DWT45VBX.js","assets/input-store-dLjM4aiu.js","assets/toolHelpers-iEHVHQ9p.js","assets/useAssistantUIStore-CpJZ4Rqs.js","assets/remoteSessionReference-XfJOxItc.js","assets/openRemoteProjectSession-C5z2Juv7.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{r as t}from"./platform-CiUKDeXd.js";import{ot as n,st as r}from"./vendor-base-ui-wXsskyKm.js";import{n as i}from"./vendor-react-BkccXcWz.js";import{r as a}from"./vendor-reactuses-core-DjKFMfz7.js";import{o}from"./vendor-aparajita-capacitor-secure-storage-xol_6BsB.js";import{r as s}from"./useUIStore-C3ewjGgP.js";import{r as c}from"./vendor-sonner-DX3nfJx4.js";import{Dt as l,Fi as u,K as d,no as f,nr as p}from"./ui-CHdferA1.js";import{n as m}from"./Icon-B-w2YKpn.js";import{t as h}from"./i18n-Dojvs57M.js";import{n as g}from"./mobileAppContext-BQgdTp5T.js";import{a as _,o as v,t as y}from"./sessionLookup-BTQ_AtWh.js";var b=e(r(),1),x=i(),S=n();function C(e){let t=(0,x.c)(6),{value:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,S.jsx)(m,{name:`brain`,weight:`medium`,className:`size-3.5 shrink-0`}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=(0,S.jsx)(`span`,{className:`min-w-0 truncate`,children:n}),t[1]=n,t[2]=i);let a;return t[3]!==i||t[4]!==n?(a=(0,S.jsxs)(`p`,{"data-contact-card-model":``,className:`flex min-w-0 flex-1 items-center gap-1.5 text-[0.75em] leading-4 text-muted-foreground`,title:n,children:[r,i]}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}var w=b.createContext(null),T=[`grid h-[calc(148px*var(--padding-scale,1))] w-[19rem] min-w-0 max-w-full shrink-0 grid-rows-[calc(40px*var(--padding-scale,1))_calc(20px*var(--padding-scale,1))_calc(20px*var(--padding-scale,1))_calc(48px*var(--padding-scale,1))] content-start cursor-pointer rounded-[var(--contact-bubble-radius,1.125rem)] bg-[var(--assistant-panel-background,var(--surface-muted))]`,`px-4 py-2.5 text-left typography-ui-label transition-colors duration-150 motion-reduce:transition-none`,`hover:bg-[color-mix(in_srgb,var(--assistant-panel-background,var(--surface-muted))_94%,black)]`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--interactive-focus-ring)]`].join(` `),E=T,D=T,O=`row-start-1 mb-2 flex h-8 min-w-0 items-center gap-2`,k=`row-start-2 min-w-0 self-start truncate font-medium leading-5 text-foreground`,A=`row-start-4 flex h-12 min-w-0 flex-col justify-center`;function j(e,t){(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),t())}var M=b.lazy(()=>o(()=>import(`./RemoteAssistantSessionCard-DAjHRUrC.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]))),N=(e,t)=>t===`cancelled`?t:e===`busy`||e===`retry`?e:t===`error`||t===`question`||t===`complete`||t===`busy`||t===`retry`?t:e===`idle`?`complete`:t===`idle`?t:t||`busy`,P=e=>e===`unknown`?`remoteProjects.unknown`:e===`cancelled`?`assistants.contact.card.session.status.cancelled`:e===`busy`?`assistants.contact.card.session.status.busy`:e===`retry`?`assistants.contact.card.session.status.retry`:e===`idle`?`assistants.contact.card.session.status.idle`:e===`complete`?`assistants.contact.card.session.status.complete`:e===`error`?`assistants.contact.card.session.status.error`:e===`question`?`assistants.contact.card.session.status.question`:null,F=e=>e===`busy`?`text-[var(--status-info)]`:e===`retry`||e===`question`?`text-[var(--status-warning)]`:e===`error`?`text-[var(--status-error)]`:e===`idle`||e===`complete`?`text-[var(--status-success)]`:`text-muted-foreground`,I=e=>e.split(/[/\\]/u).filter(Boolean).at(-1)||e,L=e=>{let t=(0,x.c)(12),{card:n}=e,r;t[0]===n.sessionID?r=t[1]:(r=e=>e.activeSessions.find(e=>e.id===n.sessionID)??e.archivedSessions.find(e=>e.id===n.sessionID)??null,t[0]=n.sessionID,t[1]=r);let i=u(r),a=d(n.sessionID),o;t[2]!==n.directory||t[3]!==i?.directory?(o=i?.directory?.trim()||n.directory,t[2]=n.directory,t[3]=i?.directory,t[4]=o):o=t[4];let s=p(o),c=i??void 0,l=a?.type,f;t[5]===s.data?.current?f=t[6]:(f=s.data?.current?.trim()||null,t[5]=s.data?.current,t[6]=f);let m;return t[7]!==n||t[8]!==c||t[9]!==l||t[10]!==f?(m=(0,S.jsx)(z,{card:n,liveSession:c,liveType:l,branch:f}),t[7]=n,t[8]=c,t[9]=l,t[10]=f,t[11]=m):m=t[11],m},R=e=>{let t=(0,x.c)(2),{card:n}=e,r;return t[0]===n?r=t[1]:(r=n.target?(0,S.jsx)(b.Suspense,{fallback:(0,S.jsx)(z,{card:n,branch:null}),children:(0,S.jsx)(M,{card:n})}):(0,S.jsx)(L,{card:n}),t[0]=n,t[1]=r),r};function z({card:e,liveSession:n,liveType:r,branch:i}){let{t:u}=h(),d=!!(g()&&!t()),p=(typeof n?.title==`string`&&n.title.trim()?n.title.trim():null)||e.title||u(`assistants.contact.card.session.untitled`),x=e.target?r===`idle`?`complete`:r===`busy`||r===`retry`?r:[`complete`,`error`,`cancelled`].includes(e.status??``)?e.status:`unknown`:N(r,e.status),T=P(x),E=typeof n?.directory==`string`&&n.directory.trim()?n.directory.trim():e.directory,A=I(E),M=v(n),L=x===`complete`||x===`idle`?_(n):null,R=b.useContext(w),z=a(()=>{if(e.target){if(R)return R({sessionId:e.sessionID,directory:e.directory,target:e.target});o(async()=>{let{openAssistantRemoteSession:e}=await import(`./remoteSessionReference-XfJOxItc.js`);return{openAssistantRemoteSession:e}},__vite__mapDeps([47,23,2,7,9,10,8,11,12,13,1,3,5,4,24,25,26,27,28,29,17,6,14,15,16,18,19,20,21,22,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,48])).then(({openAssistantRemoteSession:t})=>t(e,d)).catch(()=>c.error(u(`remoteProjects.host-unavailable`)));return}let t=y(e.sessionID)?.directory||e.directory;if(R)return R({sessionId:e.sessionID,directory:t});l(e.sessionID,t,{phoneShell:d,switchToChat:!0}),d||s.getState().setActiveMainTab(`chat`)}),B=a(e=>{j(e,z)});return(0,S.jsxs)(`article`,{className:D,role:`button`,tabIndex:0,"aria-label":u(`assistants.contact.card.session.aria`,{title:p}),"data-assistant-contact-card":`session`,onClick:z,onKeyDown:B,children:[(0,S.jsxs)(`div`,{className:O,children:[(0,S.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 text-[0.8em] leading-4 text-muted-foreground`,children:[(0,S.jsx)(m,{name:`chat-thread`,weight:`medium`,className:`size-4 shrink-0`}),(0,S.jsx)(`span`,{className:`truncate`,children:u(`assistants.contact.card.session.label`)})]}),T?(0,S.jsxs)(`span`,{"data-assistant-session-status":``,className:f(`ml-auto inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap text-[0.75em] leading-4`,F(x)),children:[(0,S.jsx)(`span`,{className:`size-1.5 shrink-0 rounded-full bg-current`,"aria-hidden":!0}),u(T)]}):null]}),(0,S.jsx)(`h3`,{className:k,title:p,children:p}),(0,S.jsxs)(`div`,{"data-contact-session-details":``,className:`row-start-3 row-end-5 flex min-w-0 flex-col gap-1.5 py-1`,children:[(0,S.jsxs)(`div`,{"data-contact-session-project":``,className:`flex h-4 min-w-0 flex-none items-center gap-2 text-[0.8em] leading-4`,children:[(0,S.jsxs)(`p`,{className:f(`flex min-w-0 items-center gap-1.5 text-foreground`,i&&`max-w-[45%] shrink-0`),title:E,children:[(0,S.jsx)(m,{name:`folder`,weight:`medium`,className:`size-3.5 shrink-0 text-muted-foreground`}),(0,S.jsx)(`span`,{className:`min-w-0 truncate`,children:A})]}),i?(0,S.jsxs)(`p`,{"data-contact-session-branch":``,className:`flex min-w-0 items-center gap-1 text-muted-foreground`,title:i,children:[(0,S.jsx)(m,{name:`git-branch`,weight:`medium`,className:`size-3 shrink-0`}),(0,S.jsx)(`span`,{className:`min-w-0 truncate`,children:i})]}):null]}),L?(0,S.jsxs)(`p`,{"data-contact-session-changes":``,className:`flex h-4 min-w-0 flex-none items-center gap-1.5 overflow-hidden whitespace-nowrap text-[0.8em] leading-4 text-muted-foreground tabular-nums`,children:[(0,S.jsx)(m,{name:`code`,weight:`medium`,className:`size-3.5 shrink-0`}),L.additions===void 0?null:(0,S.jsxs)(`span`,{className:`text-[var(--status-success)]`,children:[`+`,L.additions]}),L.deletions===void 0?null:(0,S.jsxs)(`span`,{className:`text-[var(--status-error)]`,children:[`−`,L.deletions]}),L.files===void 0?null:(0,S.jsx)(`span`,{className:`text-muted-foreground`,children:L.files===1?u(`assistants.contact.card.session.changes.filesSingle`,{count:L.files}):u(`assistants.contact.card.session.changes.filesPlural`,{count:L.files})})]}):null,(0,S.jsxs)(`div`,{"data-contact-session-bottom":``,className:`mt-auto flex h-4 min-w-0 flex-none items-center gap-2`,children:[M?(0,S.jsx)(C,{value:M}):null,(0,S.jsx)(m,{name:`arrow-right-s`,weight:`medium`,className:`ml-auto size-4 shrink-0 text-muted-foreground`})]})]})]})}export{O as a,w as c,A as i,C as l,z as n,k as o,E as r,j as s,R as t};
|