@yuriai/web 0.3.5 → 0.3.6-beta.10
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-C_s-cMy0.js} +1 -1
- package/dist/assets/{AgentSelector-K5JSbXv3.js → AgentSelector-Df4rBNQs.js} +1 -1
- package/dist/assets/ArchivedSessionsDialog-BQdqEIFM.js +1 -0
- package/dist/assets/{AssistantConversationSurface-u3ndSmZP.js → AssistantConversationSurface-BOsGik2U.js} +3 -3
- package/dist/assets/AssistantSessionCard-DFi6eIIE.js +2 -0
- package/dist/assets/{AssistantUnreadBadge-opyLZlZd.js → AssistantUnreadBadge-B9IS5LPM.js} +1 -1
- package/dist/assets/{AssistantView-CDPTtrUZ.js → AssistantView-yCnV95Dr.js} +1 -1
- package/dist/assets/{AssistantWorkingAvatar-Vghb8xlt.js → AssistantWorkingAvatar-Bp1KXuhO.js} +1 -1
- package/dist/assets/{AssistantsSettingsPage-Dt4OP3J-.js → AssistantsSettingsPage-pPeanepy.js} +1 -1
- package/dist/assets/BinaryFileFallback-C3sgeTIN.js +1 -0
- package/dist/assets/{BtwPanel-DnMW6R43.js → BtwPanel-BvqTaKLQ.js} +3 -3
- package/dist/assets/{BusyDots-FXSlMe2F.js → BusyDots-CU41Xq9E.js} +3 -3
- package/dist/assets/ChatContainer-DXRL0aB2.js +65 -0
- package/dist/assets/{ChatView-AFUNEBdD.js → ChatView-AcZ0Fl7_.js} +3 -3
- package/dist/assets/{DiagramView-j7aFp44v.js → DiagramView-CyGBR2qn.js} +1 -1
- package/dist/assets/{DiffView-DZ_gKyTO.js → DiffView-z4ArmNTm.js} +1 -1
- package/dist/assets/{DiffViewToggle-DkxhEUhV.js → DiffViewToggle-BBxj5Yby.js} +1 -1
- package/dist/assets/{ErrorBoundary-CCH4LiRY.js → ErrorBoundary-B4CbFTTY.js} +1 -1
- package/dist/assets/{FadeInOnReveal-DO9PZrJL.js → FadeInOnReveal-C2UMs63r.js} +1 -1
- package/dist/assets/{GuiPluginMount-BCqt2pmM.js → GuiPluginMount-JWmLTeLO.js} +1 -1
- package/dist/assets/{GuiPluginPage-BSjWEmIu.js → GuiPluginPage-BB6qitNb.js} +1 -1
- package/dist/assets/{GuiPluginSurface-B8QjacMd.js → GuiPluginSurface-CKW1UPZD.js} +1 -1
- package/dist/assets/{GuiPluginTitlebarItems-DfHugxsx.js → GuiPluginTitlebarItems-Bmo9W0sn.js} +1 -1
- package/dist/assets/{GuiPluginWindow-CDycMqzT.js → GuiPluginWindow-B-6WWulE.js} +1 -1
- package/dist/assets/{Icon-B-w2YKpn.js → Icon-CMNOrIAp.js} +1 -1
- package/dist/assets/{ImageLoadingPlaceholder-DsgRtfYG.js → ImageLoadingPlaceholder-FqoECDc5.js} +1 -1
- package/dist/assets/{LoadingImage-B3IL7hnv.js → LoadingImage-U4z75PsW.js} +1 -1
- package/dist/assets/MarkdownRenderer-CckbVkti.js +2 -0
- package/dist/assets/{MarkdownRendererImpl-CPgpkd9b.js → MarkdownRendererImpl-CO17sAsd.js} +1 -1
- package/dist/assets/{MarkstreamRendererImpl-BzK1BO80.js → MarkstreamRendererImpl-FOsYqre1.js} +1 -1
- package/dist/assets/{MobileAssistantSettingsPage-DVpE3b24.js → MobileAssistantSettingsPage-CYnXMlRV.js} +1 -1
- package/dist/assets/{MobileAssistantTab-BbccE67x.js → MobileAssistantTab-CtIoTTOV.js} +1 -1
- package/dist/assets/{MobileBtwPage-BRN1gAmR.js → MobileBtwPage-CqiEtHuG.js} +1 -1
- package/dist/assets/{MobileChangesSurface-BwmSTxeh.js → MobileChangesSurface-D7AUZxEK.js} +1 -1
- package/dist/assets/{MobileChatScreen-Bf42GrQ8.js → MobileChatScreen-CCNqpS3r.js} +1 -1
- package/dist/assets/{MobileDetailNavigation-DKWnQoSh.js → MobileDetailNavigation-BncgS1Gb.js} +1 -1
- package/dist/assets/MobileFilesSurface-D6Fzko7m.js +2 -0
- package/dist/assets/{MobileHtmlNetworkBoundary-BKSYPR9N.js → MobileHtmlNetworkBoundary-DXkpR8iy.js} +2 -2
- package/dist/assets/{MobileOverlayPanel-DcRWQlmf.js → MobileOverlayPanel-dc8EKqfh.js} +1 -1
- package/dist/assets/{MobileResizableSheet-CF3Pbot4.js → MobileResizableSheet-Ddf0s-Dp.js} +1 -1
- package/dist/assets/{MobileSettingsTab-of6zpTsr.js → MobileSettingsTab-DoCREe-W.js} +1 -1
- package/dist/assets/{MobileShareBridge-CRq9F1rn.js → MobileShareBridge-DIIhDUmO.js} +1 -1
- package/dist/assets/{MobileSurface-DGNomvlu.js → MobileSurface-bA5ONMXf.js} +1 -1
- package/dist/assets/{MobileTabPageHeader-0aJFe3_x.js → MobileTabPageHeader-DuWdhFAU.js} +1 -1
- package/dist/assets/{ModelLogo-D27dq-si.js → ModelLogo-Bb63bM4S.js} +1 -1
- package/dist/assets/{ModelSelector-Dg__8QLh.js → ModelSelector-Dpt_OeOA.js} +1 -1
- package/dist/assets/{MultiRunWindow-COqSg1Nk.js → MultiRunWindow-CIueenaz.js} +1 -1
- package/dist/assets/{OnboardingScreen-DUNyDwc6.js → OnboardingScreen-DQz9jluT.js} +1 -1
- package/dist/assets/{OverlayScrollbar-DS6XJ1HA.js → OverlayScrollbar-Dsj-t--1.js} +1 -1
- package/dist/assets/{PierreDiffViewer-BHwj_6j8.js → PierreDiffViewer-BPY2vUDa.js} +1 -1
- package/dist/assets/{ProviderLogo-Cm9RNV_U.js → ProviderLogo-pBVtlU5X.js} +1 -1
- package/dist/assets/{RemoteAssistantSessionCard-DAjHRUrC.js → RemoteAssistantSessionCard-DV_D7Lmx.js} +1 -1
- package/dist/assets/{RemoteDesktopPanel-Bays6pHh.js → RemoteDesktopPanel-DvF7mNsC.js} +1 -1
- package/dist/assets/{ScheduledTasksDialog-DnwBC7cj.js → ScheduledTasksDialog-DbV9D6t0.js} +1 -1
- package/dist/assets/{ScrollableOverlay-CkX-buJm.js → ScrollableOverlay-T7ADHNbV.js} +1 -1
- package/dist/assets/{SettingsGroup-kZ_faXwL.js → SettingsGroup-ZY4tnwQZ.js} +1 -1
- package/dist/assets/{SettingsView-C62JngPE.js → SettingsView-C1cFkPEn.js} +15 -15
- package/dist/assets/{SettingsWindow-Cm8apHAR.js → SettingsWindow-CPqIwaDs.js} +1 -1
- package/dist/assets/{SetupTourDialog-W_UeWH-i.js → SetupTourDialog-D8MqnViH.js} +1 -1
- package/dist/assets/{SyncActions-Blnq08ks.js → SyncActions-BUkOsuvk.js} +1 -1
- package/dist/assets/{TerminalView-CMugifkh.js → TerminalView-CoeBAVr1.js} +1 -1
- package/dist/assets/{TextSelectionMenu-B2fIBlD3.js → TextSelectionMenu-CZWUVT4Q.js} +1 -1
- package/dist/assets/{ToolOutputDialog-DdSUE2kP.js → ToolOutputDialog-DLxoc22s.js} +1 -1
- package/dist/assets/{YuriLogo-Ceon25sC.js → YuriLogo-CnV3RxpE.js} +1 -1
- package/dist/assets/{YuriWordmark-CW53XKgV.js → YuriWordmark-Bn5KdqMC.js} +1 -1
- package/dist/assets/{assistant-attachment-cache-eNT2QtmP.js → assistant-attachment-cache-Y7yhlQcv.js} +1 -1
- package/dist/assets/{assistantMessagePreview-C7YAFen1.js → assistantMessagePreview-DyHFl0Zy.js} +1 -1
- package/dist/assets/{assistantQueries-DxvTFlpL.js → assistantQueries-BLm65-22.js} +1 -1
- package/dist/assets/{auto-read-context-Ce0o43YI.js → auto-read-context-eOYxlJjR.js} +1 -1
- package/dist/assets/{capgoAdapter-DQwUA-Nt.js → capgoAdapter-DYyTs76s.js} +1 -1
- package/dist/assets/{card-D44sTpdY.js → card-Csh0Af72.js} +1 -1
- package/dist/assets/{chatUpwardIntent-CnS7WWRL.js → chatUpwardIntent-CivAb4ux.js} +1 -1
- package/dist/assets/{checkbox-DaKe0Tlq.js → checkbox-CK288doZ.js} +1 -1
- package/dist/assets/{client-ITylDDCS.js → client-QcYZg8_d.js} +3 -3
- package/dist/assets/{collapsible-CL3SPnOf.js → collapsible-C8knwYWk.js} +1 -1
- package/dist/assets/{connection-hint-SMNZFDAe.js → connection-hint-BboPqLXQ.js} +1 -1
- package/dist/assets/{context-menu-DZunhC8o.js → context-menu-CBjNNTDr.js} +1 -1
- package/dist/assets/{desktopHosts-BsTrBVja.js → desktopHosts-DFa3lf0i.js} +1 -1
- package/dist/assets/{desktopRelayRestore-BxbRKak_.js → desktopRelayRestore-CGq-Ylgq.js} +1 -1
- package/dist/assets/{device-EIfSfSWk.js → device-CtdJ8KBJ.js} +1 -1
- package/dist/assets/{diagram-DFXqN638.js → diagram-DuMpiER6.js} +1 -1
- package/dist/assets/{dialog-CmjXOKMz.js → dialog-BPtWiCtF.js} +1 -1
- package/dist/assets/{dropdown-menu-BT_66BFT.js → dropdown-menu-BWP9Nxwt.js} +1 -1
- package/dist/assets/{es-DqYZgeC6.js → es-BelVk9R_.js} +3 -3
- package/dist/assets/{fileMentionTouchSelection-B_62hIQI.js → fileMentionTouchSelection-3GZYNOSd.js} +1 -1
- package/dist/assets/{fileReferenceActions-TmbrIHBI.js → fileReferenceActions-DEUhs_7h.js} +1 -1
- package/dist/assets/{fr-BHaun7Zq.js → fr-DtUzwB6h.js} +3 -3
- package/dist/assets/{gitApi-CBfYFgtd.js → gitApi-CwF3k_rj.js} +1 -1
- package/dist/assets/gitApiHttp-C8AU1uiY.js +3 -0
- package/dist/assets/{githubAuthQueries-C5RxUNL2.js → githubAuthQueries-IJPWBo0B.js} +1 -1
- package/dist/assets/{historyImportQueries-CZsECryv.js → historyImportQueries-B3QBdaKo.js} +1 -1
- package/dist/assets/host-DchPrZpw.js +1 -0
- package/dist/assets/{i18n-Dojvs57M.js → i18n-BU8XOKjS.js} +1 -1
- package/dist/assets/{icons-D_vRtitD.js → icons-C25QjTQy.js} +1 -1
- package/dist/assets/{imageSource-Cq_p4gAe.js → imageSource-B39pFDdo.js} +1 -1
- package/dist/assets/{input-BllFKOjo.js → input-DHQ_HUNG.js} +1 -1
- package/dist/assets/{input-store-dLjM4aiu.js → input-store-PqhVEhUI.js} +1 -1
- package/dist/assets/{insertionBoundaries-Br0Bdl9R.js → insertionBoundaries-6VDrFW8E.js} +1 -1
- package/dist/assets/{ja-BGNugvrx.js → ja-CWta3CAu.js} +3 -3
- package/dist/assets/{kbd-CwkasrzN.js → kbd-CVXHcAl2.js} +1 -1
- package/dist/assets/{ko-CGbNBfDe.js → ko-CJFoAZPE.js} +3 -3
- package/dist/assets/main-BGVs-a-z.js +2 -0
- package/dist/assets/main-CHSIwKhf.js +169 -0
- package/dist/assets/{markdownHeightCache-RX04MAqu.js → markdownHeightCache-BsFEgT5Y.js} +1 -1
- package/dist/assets/{mcpQueries-qRW-HQMx.js → mcpQueries-BGNMOHKb.js} +1 -1
- package/dist/assets/miniChat-ByGJ6Q_E.js +2 -0
- package/dist/assets/mobile-txc-T67P.js +2 -0
- package/dist/assets/{mobileBackNavigation-DsDUTnFY.js → mobileBackNavigation-Cpb7IiCG.js} +1 -1
- package/dist/assets/mobileConnections-5xypkCyd.js +2 -0
- package/dist/assets/{multirun-C2RRF2Q3.js → multirun-B5_-5JYt.js} +1 -1
- package/dist/assets/{native-config-Czc142JT.js → native-config-DLw0Zm99.js} +1 -1
- package/dist/assets/{nativeComposerCover-DzEGSyOO.js → nativeComposerCover-Btj57e5V.js} +1 -1
- package/dist/assets/navigation-C2qzByuq.js +2 -0
- package/dist/assets/{openRemoteProjectSession-C5z2Juv7.js → openRemoteProjectSession-BFp0YlF-.js} +1 -1
- package/dist/assets/openSessionFromDeepLink-DUPajGkN.js +2 -0
- package/dist/assets/pathNormalization-ewtPqJWn.js +1 -0
- package/dist/assets/{pl-k8-4URiE.js → pl-BwZ6CWJm.js} +3 -3
- package/dist/assets/platform-CNdx57HN.js +1 -0
- package/dist/assets/{pluginPresentation-p_0sXPMT.js → pluginPresentation-wl8POjDE.js} +1 -1
- package/dist/assets/{project-preview-BcLPKzwg.js → project-preview-CIkGbBPZ.js} +1 -1
- package/dist/assets/{projectActions-BPmI9_mW.js → projectActions-D84EVh3q.js} +1 -1
- package/dist/assets/{prompt-attachment-upload-BGppTOgV.js → prompt-attachment-upload-D1c308Ba.js} +1 -1
- package/dist/assets/{pt-BR-DdwCzXBH.js → pt-BR-DPAcgEDe.js} +3 -3
- package/dist/assets/pwa-FAC1qERc.js +2 -0
- package/dist/assets/queue-abort-optimistic-s-DVErY6.js +1 -0
- package/dist/assets/{quota-2PwXAoIg.js → quota-BEyQ6n-w.js} +1 -1
- package/dist/assets/{reference-history-BwtzPAmA.js → reference-history-B9H6MkUC.js} +1 -1
- package/dist/assets/{remote-input-store-DdjKfpxS.js → remote-input-store-CquhCIoR.js} +1 -1
- package/dist/assets/remoteProjectQueries-BunVM5PM.js +1 -0
- package/dist/assets/remoteSessionReference-BHvAalXk.js +1 -0
- package/dist/assets/{renderElectronMiniChatApp-BekZAu-s.js → renderElectronMiniChatApp-D3Vd8ffe.js} +2 -2
- package/dist/assets/{renderMobileApp-C5U2cyeq.js → renderMobileApp-BulRo1RJ.js} +5 -5
- package/dist/assets/{runtime-file-download-1s2Al1t3.js → runtime-file-download-wMVtKk2v.js} +1 -1
- package/dist/assets/runtime-file-resource-DKJJoOOc.js +6 -0
- package/dist/assets/{runtimeConfig-DzYIc49M.js → runtimeConfig-8Z7A5ncj.js} +1 -1
- package/dist/assets/runtimeEndpointReset-D5p8n8Z1.js +4 -0
- package/dist/assets/{scheduledTaskNavigation-VVTOq9n2.js → scheduledTaskNavigation-DpfZSGu8.js} +1 -1
- package/dist/assets/{select-BOtGs1FV.js → select-BL02HQzN.js} +1 -1
- package/dist/assets/sessionChangeSummary-BCF9VwAA.js +1 -0
- package/dist/assets/sessionLookup-CLqpm_Sq.js +1 -0
- package/dist/assets/sessionOwnership-Zl2YX7dC.js +2 -0
- package/dist/assets/{shortcuts-Cu4ioDvH.js → shortcuts-2XAaIaaK.js} +1 -1
- package/dist/assets/{sortable-tabs-strip-DACGW9sB.js → sortable-tabs-strip-BsjgK90l.js} +1 -1
- package/dist/assets/{speechSettingsQueries-BU-4Axb5.js → speechSettingsQueries-cQ6M7fJ3.js} +1 -1
- package/dist/assets/src-DYCPWwUH.css +2 -0
- package/dist/assets/{store-DRUKTpV5.js → store-DWS9gJPW.js} +4 -4
- package/dist/assets/summaries-BQMyJaaw.js +1 -0
- package/dist/assets/{switch-DaUn0G3u.js → switch-ps5COI8_.js} +1 -1
- package/dist/assets/{terminalApi-ClNhXBA8.js → terminalApi-D2ECmoAo.js} +1 -1
- package/dist/assets/{textarea-IhQHekYx.js → textarea-DXs25Z8k.js} +1 -1
- package/dist/assets/{timeFormat-BsuUDWLs.js → timeFormat-CUbYRR40.js} +1 -1
- package/dist/assets/{tooltip-Dw3DApa-.js → tooltip-DYZonA8U.js} +1 -1
- package/dist/assets/{truncated-path-KHrfQ66P.js → truncated-path-DJfRXALm.js} +1 -1
- package/dist/assets/types-b90cIxfC.js +2 -0
- package/dist/assets/ui-z2JsXLmb.js +13 -0
- package/dist/assets/{uk-DU-7fAP4.js → uk-Dw75NtHH.js} +3 -3
- package/dist/assets/useAppFontEffects-tKUtvOIn.js +7 -0
- package/dist/assets/{useAssistantUIStore-CpJZ4Rqs.js → useAssistantUIStore-DEiMjSqf.js} +1 -1
- package/dist/assets/useDesktopWindowControlsLayout-CNAzDasQ.js +1 -0
- package/dist/assets/{useDictation-sdgDfATy.js → useDictation-CUADIj-o.js} +1 -1
- package/dist/assets/{useEffectiveDirectory-DZqC-2HE.js → useEffectiveDirectory-hu13SCnK.js} +1 -1
- package/dist/assets/{useFontPreferences-Bb-bxdL8.js → useFontPreferences-BY0TXvWI.js} +1 -1
- package/dist/assets/{useGitStore-Bbmai549.js → useGitStore-Dsh_ZiT1.js} +1 -1
- package/dist/assets/{useInlineCommentDraftStore-DrC99u6A.js → useInlineCommentDraftStore-C75YIRui.js} +1 -1
- package/dist/assets/{useMcpConfigStore-ZsZxSrCt.js → useMcpConfigStore-BfdokvWe.js} +1 -1
- package/dist/assets/{useMobileSwipeActions-fUp7Bkbn.js → useMobileSwipeActions-jAZpJVTB.js} +1 -1
- package/dist/assets/{useMobileTranscriptSyncHint-B4izCfqe.js → useMobileTranscriptSyncHint-XT7TWzKn.js} +2 -2
- package/dist/assets/{useModelLists-B0qSYDby.js → useModelLists-DrXScJk8.js} +1 -1
- package/dist/assets/{useOpenCodeReadiness-B9d-wLZB.js → useOpenCodeReadiness-DLqT6fD5.js} +1 -1
- package/dist/assets/{usePluginsStore-BLncdNj-.js → usePluginsStore-DYO8nss8.js} +1 -1
- package/dist/assets/{useProjectGitActions-CHMe1ku4.js → useProjectGitActions-CYWPTGNa.js} +1 -1
- package/dist/assets/{useProjectGitStore-Lz9AV32V.js → useProjectGitStore-C1Tswys-.js} +1 -1
- package/dist/assets/{useProjectRuntimeAPIs-D51dVo-V.js → useProjectRuntimeAPIs-BpdOaT67.js} +1 -1
- package/dist/assets/{useQuotaStore-mZs9LTwx.js → useQuotaStore-CZU1NU_Z.js} +1 -1
- package/dist/assets/{useSessionBtwStore-CYaTDkvT.js → useSessionBtwStore-PdQPx7tm.js} +2 -2
- package/dist/assets/{useStreamingTextThrottle-ul6e3dUd.js → useStreamingTextThrottle-Btl31Wol.js} +1 -1
- package/dist/assets/{useUIStore-C3ewjGgP.js → useUIStore-P32bzAJc.js} +1 -1
- package/dist/assets/{worktreeManager-V6hoSVxH.js → worktreeManager-DIrqBI6K.js} +1 -1
- package/dist/assets/{worktreeSourceBranchPreference-MQFPkOZy.js → worktreeSourceBranchPreference-DncAXqYk.js} +1 -1
- package/dist/assets/{zh-CN-DOHH7nht.js → zh-CN-D5Jwengx.js} +3 -3
- package/dist/assets/{zh-TW-t1qlXGOg.js → zh-TW-CbbaPcxZ.js} +3 -3
- 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/assistants/builtin-skills.test.js +1 -0
- package/server/lib/gui-customization/DOCUMENTATION.md +15 -0
- package/server/lib/gui-customization/session-skill.js +2 -2
- package/server/lib/gui-customization/session-skill.test.js +14 -1
- package/server/lib/gui-customization/skill/SKILL.md +3 -1
- package/server/lib/gui-customization/skill/references/deep-links.md +43 -0
- package/server/lib/gui-customization/skill/references/gui-api.md +50 -1
- package/server/lib/gui-customization/skill/references/projects.md +19 -0
- package/server/lib/opencode/DOCUMENTATION.md +1 -0
- package/server/lib/opencode/custom-provider.test.js +41 -0
- package/server/lib/opencode/settings-helpers.js +9 -0
- package/server/lib/opencode/settings-helpers.test.js +10 -0
- package/dist/assets/ArchivedSessionsDialog-CU9RXl8K.js +0 -1
- package/dist/assets/AssistantSessionCard-MYBAni6A.js +0 -2
- package/dist/assets/BinaryFileFallback-CJqnlBzh.js +0 -1
- 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/useAppFontEffects-Dw6o6XbA.js +0 -7
- 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-BGVs-a-z.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-CNdx57HN.js">
|
|
586
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-DFa3lf0i.js">
|
|
587
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-CGq-Ylgq.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-DKJJoOOc.js">
|
|
605
|
+
<link rel="modulepreload" crossorigin href="/assets/prompt-attachment-upload-D1c308Ba.js">
|
|
606
|
+
<link rel="modulepreload" crossorigin href="/assets/client-QcYZg8_d.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-P32bzAJc.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-C8AU1uiY.js">
|
|
611
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-D2ECmoAo.js">
|
|
612
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-wMVtKk2v.js">
|
|
613
|
+
<link rel="modulepreload" crossorigin href="/assets/types-b90cIxfC.js">
|
|
614
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-DYyTs76s.js">
|
|
615
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-DLw0Zm99.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-8Z7A5ncj.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-ByGJ6Q_E.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-CNdx57HN.js">
|
|
92
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-DFa3lf0i.js">
|
|
93
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-CGq-Ylgq.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-DKJJoOOc.js">
|
|
111
|
+
<link rel="modulepreload" crossorigin href="/assets/prompt-attachment-upload-D1c308Ba.js">
|
|
112
|
+
<link rel="modulepreload" crossorigin href="/assets/client-QcYZg8_d.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-P32bzAJc.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-C8AU1uiY.js">
|
|
117
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-D2ECmoAo.js">
|
|
118
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-wMVtKk2v.js">
|
|
119
|
+
<link rel="modulepreload" crossorigin href="/assets/types-b90cIxfC.js">
|
|
120
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-DYyTs76s.js">
|
|
121
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-DLw0Zm99.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-8Z7A5ncj.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-txc-T67P.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, project/session resource ownership or yuri:// deep links, 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.',
|
|
@@ -12,6 +12,7 @@ describe('assistant built-in skill pointers', () => {
|
|
|
12
12
|
expect(prompt).toContain('read_opencode_skill({"id":"opencode"})');
|
|
13
13
|
expect(prompt).toContain('nextOffset');
|
|
14
14
|
expect(prompt).toContain('adding a directory as a project in Yuri');
|
|
15
|
+
expect(prompt).toContain('project/session resource ownership or yuri:// deep links');
|
|
15
16
|
expect(prompt).toContain('granted yuri.projects tools');
|
|
16
17
|
expect(prompt).toContain('no bound local desktop helper');
|
|
17
18
|
expect(prompt).toContain('does not create that authorization');
|
|
@@ -7,6 +7,21 @@ 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
|
+
|
|
16
|
+
The discovery pointers advertise resource ownership and navigation as capabilities,
|
|
17
|
+
not individual delivery scenarios. `references/projects.md#resource-identity-and-scope`
|
|
18
|
+
owns the common discovery/identity guidance; `references/deep-links.md` owns the
|
|
19
|
+
receiving client's supported URL fields and prerequisites. Agents retain complete
|
|
20
|
+
remote targets for resource operations while emitting only fields accepted by the
|
|
21
|
+
navigation protocol. Existing instance discovery/binding does not imply support for
|
|
22
|
+
identity-scoped session URLs; this skill update adds neither a self-identity helper
|
|
23
|
+
nor a new deep-link parameter.
|
|
24
|
+
|
|
10
25
|
Interactive Yuri contacts reuse this same shipped entry and references through
|
|
11
26
|
the assistant-only pointer in `../assistants/builtin-skills.js`. Their pi tools
|
|
12
27
|
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, project/session resource ownership or yuri:// deep links, 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,11 +23,24 @@ 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(entry.value).toContain('project/session resource ownership');
|
|
32
|
+
expect(await fs.readFile(file, 'utf8')).toContain('(references/deep-links.md)');
|
|
30
33
|
const projects = await fs.readFile(path.join(path.dirname(file), 'references', 'projects.md'), 'utf8');
|
|
34
|
+
expect(await fs.readFile(file, 'utf8')).toContain('(references/projects.md#resource-identity-and-scope)');
|
|
35
|
+
expect(projects).toContain('## Resource identity and scope');
|
|
36
|
+
expect(projects).toContain('target:{hubId,hostId,instanceId}');
|
|
37
|
+
expect(projects).toContain('discovering an identity does not enable another protocol or grant access');
|
|
38
|
+
const deepLinks = await fs.readFile(path.join(path.dirname(file), 'references', 'deep-links.md'), 'utf8');
|
|
39
|
+
expect(deepLinks).toContain('(projects.md#resource-identity-and-scope)');
|
|
40
|
+
expect(deepLinks).toContain('## Resolve before building');
|
|
41
|
+
expect(deepLinks).toContain('remote `sessions` / `read-session` results');
|
|
42
|
+
expect(deepLinks).toContain('`hostId` and `instanceId` are not supported session-link parameters');
|
|
43
|
+
expect(deepLinks).not.toContain('yuri://session/<sessionID>?instanceId=');
|
|
31
44
|
expect(projects).toContain('POST /api/yuri/session-skills/projects');
|
|
32
45
|
expect(projects).toContain('commands.add');
|
|
33
46
|
expect(projects).not.toContain('open \'yuri://');
|
|
@@ -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, resolve project/session ownership and build yuri:// deep links, 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 locating project/session resources, establish [resource identity and scope](references/projects.md#resource-identity-and-scope) through the available discovery tools. For navigation links, then follow [deep links](references/deep-links.md). Resource discovery, navigation support and authorization are separate capabilities.
|
|
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,43 @@
|
|
|
1
|
+
# Yuri deep links
|
|
2
|
+
|
|
3
|
+
Use this reference to compose navigation links to Yuri resources. A deep link is navigation only; resource discovery and authorized operations follow [resource identity and scope](projects.md#resource-identity-and-scope).
|
|
4
|
+
|
|
5
|
+
## Resolve before building
|
|
6
|
+
|
|
7
|
+
1. Establish the requested resource's owning instance, raw directory and exact existing ID through the available context or discovery tools. For a session ID, use this session's context, the bound helper's `task-sessions`, or remote `sessions` / `read-session` results. `remote-projects` supplies project scope, not session IDs.
|
|
8
|
+
2. Keep the discovered ownership with the resource, then choose a supported link shape below for the receiving client. Navigation preserves existing IDs; it does not create or rewrite them.
|
|
9
|
+
3. Report the receiving client's prerequisites separately from the facts confirmed on the generating Host. Finding a remote session does not prove that another client has the corresponding project connected. Missing or ambiguous ownership means report the limitation rather than promise a resolvable link.
|
|
10
|
+
|
|
11
|
+
## Link shapes
|
|
12
|
+
|
|
13
|
+
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`.
|
|
14
|
+
|
|
15
|
+
| Goal | Link | Desktop | Mobile |
|
|
16
|
+
|---|---|---|---|
|
|
17
|
+
| Open a conversation | `yuri://session/<sessionID>?directory=<path>` | yes | yes |
|
|
18
|
+
| Start a new conversation | `yuri://new-session?directory=<path>&prompt=<text>` | yes | yes |
|
|
19
|
+
| Open a project | `yuri://open-project?directory=<path>` | yes | yes |
|
|
20
|
+
| Switch to a configured Host | `yuri://host/<hostId>` | yes | no |
|
|
21
|
+
| Open Settings at a section | `yuri://settings/<section>` | no | yes |
|
|
22
|
+
|
|
23
|
+
`new-session` also accepts `project`, `agent` and `model`; omit them unless the user named them. Unknown routes are ignored without an error.
|
|
24
|
+
|
|
25
|
+
`hostId` and `instanceId` are not supported session-link parameters. The standalone `host` route switches to a saved desktop connection; it does not scope a session link. Discovered target fields are for operations that explicitly accept them, not extra URL fields.
|
|
26
|
+
|
|
27
|
+
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.
|
|
28
|
+
|
|
29
|
+
## Opening a conversation
|
|
30
|
+
|
|
31
|
+
`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.
|
|
32
|
+
|
|
33
|
+
Desktop Yuri resolves the link against its local Hub:
|
|
34
|
+
|
|
35
|
+
1. If the session id is in that Yuri's own session index, it opens it.
|
|
36
|
+
2. Otherwise `directory` must belong to exactly one Remote Project already connected in that Yuri; Yuri then opens the session through that project.
|
|
37
|
+
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.
|
|
38
|
+
|
|
39
|
+
A remote link requires the receiving desktop Yuri to have that machine's project associated, using the target machine's own path. After a local-index miss, equal owning paths on different connected machines are ambiguous and will not open. A unique directory match selects the remote route; it does not confirm the session exists or that its content can load. Mobile does not perform this Remote Project lookup; its session links use the connected runtime's session navigation.
|
|
40
|
+
|
|
41
|
+
## Verification
|
|
42
|
+
|
|
43
|
+
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.
|
|
@@ -4,7 +4,7 @@ The supported contract is OpenCode GUI SDK **2.2.0**. Consult current official d
|
|
|
4
4
|
|
|
5
5
|
## Window APIs
|
|
6
6
|
|
|
7
|
-
- `Command`:
|
|
7
|
+
- `Command`: palette, plugin management and window keyboard shortcuts. `bind` provides the default chord; hidden commands keep their shortcuts. Users can remap/unbind commands in Settings > Shortcuts. See [Command shortcuts](#command-shortcuts). Slash autocomplete and `ctx.keybinds` remain unsupported.
|
|
8
8
|
- `TitlebarItem`: global action/status, independent of a session; reactive label/title/icon/busy/pressed. Direct SVG/data-URI icon strings, built-in names and upstream/Yuri differences: [icons](icons.md).
|
|
9
9
|
- `Panel`: Solid `list/render`, reactive session/tab getters; file panels mount in existing file previews. An independent panel uses a dialog/mobile sheet, not upstream's full draggable workspace layout.
|
|
10
10
|
- `LinkHandler`: match, exists and open file/custom links. Use `ctx.links.open({ href, base, session })` for navigation. Preserve workspace-relative identity; never resolve against a different session's directory.
|
|
@@ -22,6 +22,55 @@ Unsupported registries include upstream `Server`, `ComposerPill`, `Slot`, `FileV
|
|
|
22
22
|
|
|
23
23
|
Plugin renderers own their Solid/DOM content. Yuri does not implement upstream `ctx.ui` or expose its React components to plugins; follow [CSS variables and styling](plugin-styles.md) and [icons](icons.md) for visual consistency.
|
|
24
24
|
|
|
25
|
+
## Command shortcuts
|
|
26
|
+
|
|
27
|
+
Register one official Command; Yuri owns keyboard dispatch and cleanup:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { Command, Contract, Plugin, Registry, type Command as GuiCommand } from "@opencode/plugin/gui"
|
|
31
|
+
|
|
32
|
+
type YuriCommand = GuiCommand & { readonly priority?: number }
|
|
33
|
+
|
|
34
|
+
export default Plugin.define({
|
|
35
|
+
setup(ctx) {
|
|
36
|
+
ctx.add(Registry.define("yuri.page"), {
|
|
37
|
+
id: "board", title: "Session board",
|
|
38
|
+
render: () => document.createElement("section"),
|
|
39
|
+
})
|
|
40
|
+
const pages = ctx.use(Contract.define<{ open(id: string): boolean }>("yuri.pages"))
|
|
41
|
+
const command: YuriCommand = {
|
|
42
|
+
id: "open-board",
|
|
43
|
+
title: "Open session board",
|
|
44
|
+
bind: "mod+m",
|
|
45
|
+
priority: 10,
|
|
46
|
+
run() {
|
|
47
|
+
const state = pages()
|
|
48
|
+
if (state.status === "active") state.value.open("board")
|
|
49
|
+
},
|
|
50
|
+
}
|
|
51
|
+
ctx.add(Command, command)
|
|
52
|
+
},
|
|
53
|
+
})
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`priority` is Yuri-only and finite; upstream hosts may ignore it. Higher wins.
|
|
57
|
+
Built-in defaults have priority 0 and win ties, so a positive value can override
|
|
58
|
+
them. Explicit user mappings always win over developer priority. Equal-priority
|
|
59
|
+
plugins resolve by stable command identity, not asynchronous loading order.
|
|
60
|
+
`mod` means Command on macOS Electron, Ctrl elsewhere (browsers keep their existing
|
|
61
|
+
platform matcher). Electron menu overrides require an updated desktop installer;
|
|
62
|
+
browser/OS/editor shortcuts intercepted before the page are not overridable here.
|
|
63
|
+
|
|
64
|
+
Keep `enabled` reactive when command availability changes. `hidden` hides only
|
|
65
|
+
the palette entry. `scope` limits focus to a CSS selector; unmodified keys yield
|
|
66
|
+
to text fields unless `editable:true`. A synchronous `run()` return of `false`
|
|
67
|
+
declines the key; asynchronous completion cannot undo event consumption.
|
|
68
|
+
Already-consumed events, IME, terminal-owned keys, active leader follow-ups and
|
|
69
|
+
Escape interruption retain host ownership. Prefer declarative commands to
|
|
70
|
+
installing document listeners. Disabling, replacing, failing or unloading a
|
|
71
|
+
plugin revokes its bindings without affecting other plugins.
|
|
72
|
+
Electron's Cmd+Q quit guard remains reserved regardless of plugin priority.
|
|
73
|
+
|
|
25
74
|
## Yuri supplemental registries and contracts
|
|
26
75
|
|
|
27
76
|
- `yuri.theme`, `yuri.branding`: see [appearance](appearance.md).
|
|
@@ -5,6 +5,25 @@ session's Yuri customization pointer. This is a Host capability, not a GUI plugi
|
|
|
5
5
|
or a desktop deep link. Registration does not create files, clone a repository,
|
|
6
6
|
open a conversation or switch an existing active project.
|
|
7
7
|
|
|
8
|
+
## Resource identity and scope
|
|
9
|
+
|
|
10
|
+
Resolve ownership before operating on a project/session or composing a navigation link:
|
|
11
|
+
|
|
12
|
+
1. Discover this caller's capabilities through the bound helper's `describe`, or the contact's granted project tools. Use the returned operations and their scope; a missing binding or unsupported capability is an explicit limit.
|
|
13
|
+
2. For bound-Host resources, use exact IDs and raw directories from this session's context or the relevant `list` / `task-sessions` result. The bound Host is the helper's execution target, not necessarily the computer displaying Yuri. Index results have the completeness limits described below.
|
|
14
|
+
3. For remote resources, discover the project or machine through `remote-projects` / `remote-hosts`, then query its sessions with `sessions` or `read-session`. Keep the returned `target:{hubId,hostId,instanceId}` with each resource's raw directory and session ID:
|
|
15
|
+
|
|
16
|
+
| Field | Meaning |
|
|
17
|
+
|---|---|
|
|
18
|
+
| `hubId` | The Hub whose authorized connections this caller is using. |
|
|
19
|
+
| `hostId` | A connection identity within that Hub, not a universal machine ID. |
|
|
20
|
+
| `instanceId` | The target Yuri instance's identity, independent of which connection reaches it. |
|
|
21
|
+
|
|
22
|
+
Different Hubs can use different connection IDs for the same instance. A worker on the target instance need not know another Hub's connection ID. Use identities actually returned to this caller; names, addresses, equal paths and session-ID structure are not ownership evidence.
|
|
23
|
+
4. Preserve the complete reference for operations that accept it. Each operation or navigation route independently defines which fields it accepts; discovering an identity does not enable another protocol or grant access. For links, serialize only the fields documented in [deep links](deep-links.md).
|
|
24
|
+
|
|
25
|
+
When ownership is unknown or ambiguous, report what is missing and use authorized discovery or ask for clarification. A failed lookup stays unconfirmed; changing the target or creating a replacement resource is a separate user decision.
|
|
26
|
+
|
|
8
27
|
## Local project registration
|
|
9
28
|
|
|
10
29
|
1. Resolve the user-requested directory to an absolute path on the bound Yuri
|
|
@@ -117,6 +117,7 @@ encoding, not removed V1 endpoints.
|
|
|
117
117
|
- Missing theme preferences use `carbonfox-light` / `cursor-dark`, matching the shared UI defaults. Existing per-variant IDs and legacy explicitly selected theme IDs remain authoritative; changing the default does not rewrite a user's saved theme.
|
|
118
118
|
- Project registry order and `projectSortOrder` are shared Host authority. After a successful changed write, `onProjectOrderChanged` emits `yuri:project-order-changed` on the existing Yuri SSE channel. Clients GET settings on initial mount, tip, and reconnect. Unchanged and failed writes emit no tip; older settings without a sort mode use `manual`.
|
|
119
119
|
- `packages/web/server/lib/opencode/settings-helpers.js`: Settings payload sanitization/format helpers runtime for response shaping and persisted merge prep.
|
|
120
|
+
- GUI command shortcut overrides use `gui-plugin:` + a JSON tuple of plugin/local command IDs. Keys up to 1024 characters retain their complete identity; oversized plugin keys are omitted rather than truncated into another command's mapping. Existing built-in keys and explicit `__unassigned__` values retain their settings contract.
|
|
120
121
|
- `packages/web/server/lib/opencode/settings-normalization-runtime.js`: path/settings normalization and sanitization helpers runtime used by settings/routes/config wiring.
|
|
121
122
|
- `packages/web/server/lib/opencode/theme-runtime.js`: custom theme JSON validation and theme directory loading runtime for settings utility routes.
|
|
122
123
|
- `packages/web/server/lib/opencode/proxy.js`: OpenCode API/SSE forwarding and readiness-gate route registration.
|
|
@@ -96,6 +96,47 @@ describe('custom provider native V2 persistence', () => {
|
|
|
96
96
|
expect(JSON.stringify(response.body)).not.toContain('fixture-key');
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
+
it.each([
|
|
100
|
+
'@opencode/ai/providers/openai-compatible',
|
|
101
|
+
'@opencode/ai/providers/openai-compatible/responses',
|
|
102
|
+
])('discovers and saves all 12 models from a standard OpenAI list through the HTTP routes (%s)', async (pkg) => {
|
|
103
|
+
const ids = [
|
|
104
|
+
'gpt-6.1-terra', 'codex-auto-review', 'deepseek-flash', 'gpt-5.6-luna',
|
|
105
|
+
'gpt-6-astra', 'gpt-reserve', 'deepseek-v4-pro', 'gpt-5.6-sol',
|
|
106
|
+
'gpt-5.6-terra', 'gpt-6-luna', 'gpt-6-sol', 'gpt-6.1-sol',
|
|
107
|
+
];
|
|
108
|
+
const payload = {
|
|
109
|
+
data: ids.map((id) => ({ created: 1794458926, id, object: 'model', owned_by: 'openai' })),
|
|
110
|
+
object: 'list',
|
|
111
|
+
};
|
|
112
|
+
const fetch = vi.spyOn(globalThis, 'fetch').mockResolvedValue(new Response(JSON.stringify(payload)));
|
|
113
|
+
configureOpenCodeCredentials(() => client);
|
|
114
|
+
const app = express(); registerCommonRequestMiddleware(app, { express });
|
|
115
|
+
registerOpenCodeRoutes(app, {});
|
|
116
|
+
const discovery = await request(app).post('/api/config/providers/custom/models').send({
|
|
117
|
+
package: pkg, baseURL: 'https://api.example.com/v1', apiKey: 'fixture-key',
|
|
118
|
+
}).expect(200);
|
|
119
|
+
expect(discovery.body).toEqual({ models: ids.map((id) => ({ id, name: id })) });
|
|
120
|
+
expect(fetch).toHaveBeenCalledTimes(1);
|
|
121
|
+
expect(fetch.mock.calls[0][0].toString()).toBe('https://api.example.com/v1/models');
|
|
122
|
+
expect(fetch.mock.calls[0][1].headers.Authorization).toBe('Bearer fixture-key');
|
|
123
|
+
expect(fs.existsSync(file)).toBe(false);
|
|
124
|
+
const config = {
|
|
125
|
+
name: 'Gateway', package: pkg, settings: { baseURL: 'https://api.example.com/v1' },
|
|
126
|
+
models: Object.fromEntries(discovery.body.models.map((model) => [model.id, {
|
|
127
|
+
name: model.name, capabilities: { tools: true, input: ['text'], output: ['text'] },
|
|
128
|
+
}])),
|
|
129
|
+
};
|
|
130
|
+
const saved = await request(app).post('/api/config/providers/custom').send({
|
|
131
|
+
config, apiKey: 'fixture-key',
|
|
132
|
+
}).expect(200);
|
|
133
|
+
const provider = readConfigFile(file).providers[saved.body.providerId];
|
|
134
|
+
expect(provider).toEqual(config);
|
|
135
|
+
expect(Object.keys(provider.models)).toEqual(ids);
|
|
136
|
+
expect(() => Schema.decodeUnknownSync(ConfigProvider.Info)(provider)).not.toThrow();
|
|
137
|
+
expect(fs.readFileSync(file, 'utf8')).not.toContain('fixture-key');
|
|
138
|
+
});
|
|
139
|
+
|
|
99
140
|
it('does not write for an invalid requested directory', async () => {
|
|
100
141
|
configureOpenCodeCredentials(() => client);
|
|
101
142
|
const app = express(); registerCommonRequestMiddleware(app, { express });
|
|
@@ -76,6 +76,7 @@ export const createSettingsHelpers = (dependencies) => {
|
|
|
76
76
|
const SUMMARY_PROMPT_MAX_LENGTH = 16000;
|
|
77
77
|
const VERSION_STRING_MAX_LENGTH = 128;
|
|
78
78
|
const SHORTCUT_OVERRIDE_KEY_MAX_LENGTH = 128;
|
|
79
|
+
const PLUGIN_SHORTCUT_OVERRIDE_KEY_MAX_LENGTH = 1024;
|
|
79
80
|
const SHORTCUT_OVERRIDE_VALUE_MAX_LENGTH = 128;
|
|
80
81
|
const PWA_ORIENTATION_VALUES = new Set(['system', 'portrait', 'landscape']);
|
|
81
82
|
const MOBILE_KEYBOARD_MODE_VALUES = new Set(['native', 'resize-content']);
|
|
@@ -92,6 +93,10 @@ export const createSettingsHelpers = (dependencies) => {
|
|
|
92
93
|
const key = typeof rawKey === 'string' ? rawKey.trim() : '';
|
|
93
94
|
const combo = typeof rawValue === 'string' ? rawValue.trim() : '';
|
|
94
95
|
if (!key || !combo) continue;
|
|
96
|
+
if (key.startsWith('gui-plugin:')) {
|
|
97
|
+
if (key.length <= PLUGIN_SHORTCUT_OVERRIDE_KEY_MAX_LENGTH) result[key] = combo.slice(0, SHORTCUT_OVERRIDE_VALUE_MAX_LENGTH);
|
|
98
|
+
continue;
|
|
99
|
+
}
|
|
95
100
|
result[key.slice(0, SHORTCUT_OVERRIDE_KEY_MAX_LENGTH)] = combo.slice(0, SHORTCUT_OVERRIDE_VALUE_MAX_LENGTH);
|
|
96
101
|
}
|
|
97
102
|
return result;
|
|
@@ -676,6 +681,10 @@ export const createSettingsHelpers = (dependencies) => {
|
|
|
676
681
|
result.collapsedModelProviders = normalizeStringArray(candidate.collapsedModelProviders);
|
|
677
682
|
}
|
|
678
683
|
|
|
684
|
+
if (Array.isArray(candidate.providerOrder)) {
|
|
685
|
+
result.providerOrder = normalizeStringArray(candidate.providerOrder);
|
|
686
|
+
}
|
|
687
|
+
|
|
679
688
|
if (Array.isArray(candidate.recentAgents)) {
|
|
680
689
|
result.recentAgents = normalizeStringArray(candidate.recentAgents);
|
|
681
690
|
}
|
|
@@ -279,6 +279,16 @@ describe('settings helpers', () => {
|
|
|
279
279
|
shortcutOverrides: {},
|
|
280
280
|
});
|
|
281
281
|
});
|
|
282
|
+
it('round-trips qualified GUI command identities without truncating colliding prefixes', () => {
|
|
283
|
+
const helpers = createTestHelpers();
|
|
284
|
+
const prefix = `gui-plugin:${JSON.stringify(['package-name'.repeat(15), 'first'])}`;
|
|
285
|
+
const second = `gui-plugin:${JSON.stringify(['package-name'.repeat(15), 'second'])}`;
|
|
286
|
+
const shortcutOverrides = { [prefix]: 'mod+m', [second]: '__unassigned__', open_settings: 'mod+comma' };
|
|
287
|
+
expect(helpers.sanitizeSettingsUpdate({ shortcutOverrides })).toEqual({ shortcutOverrides });
|
|
288
|
+
expect(helpers.sanitizeSettingsUpdate({
|
|
289
|
+
shortcutOverrides: { [`gui-plugin:${'a'.repeat(1024)}`]: 'mod+m', ...shortcutOverrides },
|
|
290
|
+
})).toEqual({ shortcutOverrides });
|
|
291
|
+
});
|
|
282
292
|
|
|
283
293
|
it('accepts OpenCode update notification preference as a persisted shared setting', () => {
|
|
284
294
|
const helpers = createTestHelpers();
|