@yuriai/web 0.2.27 → 0.2.29-beta.4
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-GVufO03R.js +1 -0
- package/dist/assets/AssistantContactStatus-AG7iGeRF.js +3 -0
- package/dist/assets/{AssistantUnreadBadge-BssH-RvV.js → AssistantUnreadBadge-BMCaH0Cc.js} +1 -1
- package/dist/assets/{AssistantView-CxQv-9Ms.js → AssistantView-C5ACV-pb.js} +1 -1
- package/dist/assets/{DiagramView-DPpG0fwx.js → DiagramView-DJDzscnd.js} +1 -1
- package/dist/assets/{FadeInOnReveal-S6UbimjB.js → FadeInOnReveal-8NiBU75a.js} +1 -1
- package/dist/assets/{GuiPluginSurface-BOf0JA1T.js → GuiPluginSurface-DfLl4Gd9.js} +1 -1
- package/dist/assets/{GuiPluginWindow-OrYkfQ4m.js → GuiPluginWindow-CW0-Tapi.js} +1 -1
- package/dist/assets/{Icon-BE4mEwzV.js → Icon-CLLDJn-P.js} +1 -1
- package/dist/assets/{ImageLoadingPlaceholder-CBFJC_KD.js → ImageLoadingPlaceholder-DTWzB26a.js} +1 -1
- package/dist/assets/LoadingImage-B89ghYMH.js +1 -0
- package/dist/assets/MarkdownRenderer-YzZqs3v5.js +2 -0
- package/dist/assets/{MarkdownRendererImpl-Cv6UnGG7.js → MarkdownRendererImpl-BjjAFHTQ.js} +3 -3
- package/dist/assets/MarkstreamRendererImpl-D8tam--u.js +3 -0
- package/dist/assets/{MobileDetailNavigation-CK4KbkeS.js → MobileDetailNavigation-B-AuJG6R.js} +1 -1
- package/dist/assets/{MobileResizableSheet-Deidw1br.js → MobileResizableSheet-CAj4YGtu.js} +1 -1
- package/dist/assets/{MobileShareBridge-CO_OWEfq.js → MobileShareBridge-B8X_MEk1.js} +2 -2
- package/dist/assets/MobileTabPageHeader-vvveBlBV.js +2 -0
- package/dist/assets/MultiRunWindow-C0dOS6fA.js +1 -0
- package/dist/assets/{OnboardingScreen-C8ld4wO7.js → OnboardingScreen-BdU6Tyax.js} +1 -1
- package/dist/assets/{OverlayScrollbar-B3auC2WH.js → OverlayScrollbar-CzQC0JQI.js} +1 -1
- package/dist/assets/SettingsView-C0HSdVvS.css +1 -0
- package/dist/assets/SettingsView-aWGqxCrZ.js +30 -0
- package/dist/assets/SettingsWindow-rX0TNPNO.js +1 -0
- package/dist/assets/{TerminalView-CwRB6Yyr.js → TerminalView-BArR-jEl.js} +3 -3
- package/dist/assets/ToolOutputDialog-Bdwio4o_.js +10 -0
- package/dist/assets/YuriLogo-BZC0ckt0.js +1 -0
- package/dist/assets/{appThemeRegistry-B6woJIX5.js → appThemeRegistry-DOuA757r.js} +1 -1
- package/dist/assets/appearance--vFosLNi.js +1 -0
- package/dist/assets/{assistant-attachment-cache-B_qRvy-k.js → assistant-attachment-cache-DMw2Smc8.js} +1 -1
- package/dist/assets/{button-BXxwtxsG.js → button-BF2cNEuq.js} +1 -1
- package/dist/assets/{capgoAdapter-C5HFS-rx.js → capgoAdapter-BBnW57us.js} +1 -1
- package/dist/assets/collapsible-CS5qCQRU.js +1 -0
- package/dist/assets/context-menu-C6l4ycZG.js +1 -0
- package/dist/assets/desktopRelayRestore-C7pjf6fE.js +1 -0
- package/dist/assets/{device-BcRP6Tjd.js → device-DN1GigI_.js} +1 -1
- package/dist/assets/{diagram-DyY8dxjZ.js → diagram-D9-jif9d.js} +1 -1
- package/dist/assets/dialog-r7RRePv5.js +1 -0
- package/dist/assets/{dropdown-menu.styles-DGaALKP0.js → dropdown-menu.styles-CX8oXdks.js} +1 -1
- package/dist/assets/es-C8kGYKZo.js +15 -0
- package/dist/assets/{fileMentionTouchSelection-C4dvP8GY.js → fileMentionTouchSelection-dpFpcetU.js} +2 -2
- package/dist/assets/{fileQueries-BeXkd3o6.js → fileQueries-DWj9yB2g.js} +1 -1
- package/dist/assets/{fileReferenceActions-CrIAce3K.js → fileReferenceActions-BBLYnGEx.js} +1 -1
- package/dist/assets/{fr-CEgiRlfa.js → fr-BV_9HcN9.js} +3 -3
- package/dist/assets/{gitApi-D2G9ny2O.js → gitApi-b2Mo4rXl.js} +1 -1
- package/dist/assets/{gitApiHttp-B7vYwgBh.js → gitApiHttp-DGAlAuET.js} +4 -4
- package/dist/assets/host-DB6QzbOw.js +1 -0
- package/dist/assets/image-loading-BUouaouB.js +1 -0
- package/dist/assets/input-DvF_mp0Y.js +1 -0
- package/dist/assets/insertionBoundaries-BviApxnS.js +1 -0
- package/dist/assets/{ja-CX-_p9jZ.js → ja-CIMpz4Z2.js} +3 -3
- package/dist/assets/{ko-D5xlLYJM.js → ko-DPUsuWV1.js} +3 -3
- package/dist/assets/magpie-BuRvkGVQ.svg +1 -0
- package/dist/assets/main-BchAIbLD.js +2 -0
- package/dist/assets/main-Cp31rg32.js +169 -0
- package/dist/assets/{markdownHeightCache-D2VWb_4E.js → markdownHeightCache-D02GlOiy.js} +1 -1
- package/dist/assets/{markdownTheme-hpURsgju.js → markdownTheme-CHNl6tUv.js} +1 -1
- package/dist/assets/{mcpQueries-DQ3KthDF.js → mcpQueries-Cksi876R.js} +1 -1
- package/dist/assets/miniChat-BbuRxk9z.js +2 -0
- package/dist/assets/mobile-CBiiV7GW.js +2 -0
- package/dist/assets/{mobileBackNavigation-BJqt3oHk.js → mobileBackNavigation-BsbWBz8h.js} +1 -1
- package/dist/assets/multirun-Ce977k1P.js +3 -0
- package/dist/assets/native-CILcYDJz.js +1 -0
- package/dist/assets/{native-config-BIY0Cr-l.js → native-config-5BNfonUF.js} +1 -1
- package/dist/assets/persistence-Dta0OwIa.js +3 -0
- package/dist/assets/{pl-BjH81A_q.js → pl-ChxP5OZm.js} +3 -3
- package/dist/assets/projectMeta-KTYl7ter.js +1 -0
- package/dist/assets/pt-BR-9N8nJVqC.js +15 -0
- package/dist/assets/{queue-abort-optimistic-CS5jTJq-.js → queue-abort-optimistic-CJmevpBJ.js} +1 -1
- package/dist/assets/{react-DRe85o5s.js → react-Bwr5-XPi.js} +1 -1
- package/dist/assets/readiness-CdCOcZnK.js +1 -0
- package/dist/assets/renderElectronMiniChatApp-wFpIvOFT.js +2 -0
- package/dist/assets/renderMobileApp-QJ2XwXGj.js +28 -0
- package/dist/assets/{runtime-file-download-Cf1WxfeW.js → runtime-file-download-o29morT6.js} +1 -1
- package/dist/assets/{runtime-file-resource-UJjHUF2C.js → runtime-file-resource-qB_oVdE6.js} +1 -1
- package/dist/assets/{runtimeConfig-BX8JirIc.js → runtimeConfig-IuT6iZ4x.js} +1 -1
- package/dist/assets/runtimeEndpointReset-DEWSVYyD.js +149 -0
- package/dist/assets/scheduledTaskNavigation-BqkeRfVc.js +1 -0
- package/dist/assets/sessionLookup-mvlGQJTe.js +1 -0
- package/dist/assets/sortable-tabs-strip-Dc4Jr4ml.js +1 -0
- package/dist/assets/{speechSettingsQueries-CC0fusUo.js → speechSettingsQueries-DEGyglgn.js} +2 -2
- package/dist/assets/src-DME3XM8W.css +2 -0
- package/dist/assets/{store-CkIHVrmT.js → store-BPYoxYhv.js} +4 -4
- package/dist/assets/{terminalApi-rl9mZAlB.js → terminalApi-CPVNQ5DH.js} +1 -1
- package/dist/assets/{textarea-7eTptEtD.js → textarea-CIhiRPB2.js} +1 -1
- package/dist/assets/theme-validation-BGYdrOu7.js +1 -0
- package/dist/assets/themes-BgDJcxRc.js +1 -0
- package/dist/assets/tooltip-BoAbDVNP.js +1 -0
- package/dist/assets/{touch-gestures-K2_ZOkKW.js → touch-gestures-CErgaXZ7.js} +1 -1
- package/dist/assets/types-COEinOJU.js +2 -0
- package/dist/assets/uk-C-aeGNQI.js +15 -0
- package/dist/assets/{useAppFontEffects-Ck2PdQRx.js → useAppFontEffects-C__cAJlw.js} +54 -54
- package/dist/assets/{useAssistantUIStore-CfaQV3ID.js → useAssistantUIStore-CYyXdd5c.js} +1 -1
- package/dist/assets/useDesktopWindowControlsLayout-BYt7I5so.js +1 -0
- package/dist/assets/{useEffectiveDirectory-CNCQfN_x.js → useEffectiveDirectory-CcDsvhjq.js} +1 -1
- package/dist/assets/{useFontPreferences-DeqW9nRx.js → useFontPreferences-UzjDmx4b.js} +1 -1
- package/dist/assets/useMobileNavigationStore-BgM0EvUr.js +17 -0
- package/dist/assets/{useThemeSystem-CGF5jnIh.js → useThemeSystem-CNzUUkFn.js} +1 -1
- package/dist/assets/useUIStore-BDZCXouA.js +1 -0
- package/dist/assets/{useWorkerHighlightedLines-CN_RGaSw.js → useWorkerHighlightedLines-ZOArIAed.js} +1 -1
- package/dist/assets/vendor-base-ui-CzHs0bHY.js +1 -0
- package/dist/assets/{vendor-cmdk-C3oBVL9X.js → vendor-cmdk-C_tivUtr.js} +1 -1
- package/dist/assets/vendor-codemirror-autocomplete-C0FrlFqZ.js +12 -0
- package/dist/assets/vendor-codemirror-commands-5saeUOVY.js +1 -0
- package/dist/assets/vendor-codemirror-lang-angular-Cm7vBE3E.js +23 -0
- package/dist/assets/vendor-codemirror-lang-cpp-BjixvwC2.js +1 -0
- package/dist/assets/vendor-codemirror-lang-go-DFb2d_8t.js +11 -0
- package/dist/assets/vendor-codemirror-lang-java-CHitPigf.js +1 -0
- package/dist/assets/vendor-codemirror-lang-jinja-B8yrwpok.js +1 -0
- package/dist/assets/{vendor-codemirror-lang-json-mLulNbwB.js → vendor-codemirror-lang-json-DowyFczU.js} +1 -1
- package/dist/assets/{vendor-codemirror-lang-less-CNvptX3P.js → vendor-codemirror-lang-less-B1_0-sTl.js} +1 -1
- package/dist/assets/vendor-codemirror-lang-liquid-FIsA7YFN.js +1 -0
- package/dist/assets/vendor-codemirror-lang-markdown-npWBZIoE.js +6 -0
- package/dist/assets/vendor-codemirror-lang-php-wyEc0fdz.js +1 -0
- package/dist/assets/vendor-codemirror-lang-python-OPRdU26g.js +9 -0
- package/dist/assets/{vendor-codemirror-lang-rust-CtafR0gt.js → vendor-codemirror-lang-rust-DgovszuH.js} +1 -1
- package/dist/assets/vendor-codemirror-lang-sass-BdU-i07o.js +1 -0
- package/dist/assets/{vendor-codemirror-lang-sql-C6q09UUZ.js → vendor-codemirror-lang-sql-DUutq98l.js} +2 -2
- package/dist/assets/{vendor-codemirror-lang-vue-DIB78UsR.js → vendor-codemirror-lang-vue-CuRNbe8H.js} +1 -1
- package/dist/assets/{vendor-codemirror-lang-wast-C_JVdOCF.js → vendor-codemirror-lang-wast-CGFAOCoB.js} +1 -1
- package/dist/assets/vendor-codemirror-lang-xml-CMKBqGXF.js +1 -0
- package/dist/assets/{vendor-codemirror-lang-yaml-BO0hIfQM.js → vendor-codemirror-lang-yaml-CH9a1QiY.js} +1 -1
- package/dist/assets/{vendor-codemirror-language-data-Ctd4WxgW.js → vendor-codemirror-language-data-B3pLWvv-.js} +2 -2
- package/dist/assets/vendor-codemirror-search-hZY-L2l8.js +2 -0
- package/dist/assets/{vendor-dnd-kit-accessibility-DxpFzZhi.js → vendor-dnd-kit-accessibility-BOtnpZt5.js} +1 -1
- package/dist/assets/{vendor-dnd-kit-core-B3g3zWQd.js → vendor-dnd-kit-core-DK4OoOTr.js} +1 -1
- package/dist/assets/{vendor-dnd-kit-sortable-BKewx0Py.js → vendor-dnd-kit-sortable-Cv69eQm1.js} +1 -1
- package/dist/assets/{vendor-framer-motion-C1twy-GF.js → vendor-framer-motion-DDMKlXiP.js} +1 -1
- package/dist/assets/vendor-lodash-es-BS45jPoZ.js +1 -0
- package/dist/assets/{vendor-markstream-react-BlbOg72y.js → vendor-markstream-react-DfLaSG3W.js} +3 -3
- package/dist/assets/vendor-motion-C9oiAdx-.js +1 -0
- package/dist/assets/{vendor-pierre-diffs-Bj9Nqn6w.js → vendor-pierre-diffs-BFiZ3IhI.js} +2 -2
- package/dist/assets/{vendor-react-D5d-V1vN.js → vendor-react-DlzBev0S.js} +1 -1
- package/dist/assets/{vendor-react-drawio-C-iPmmED.js → vendor-react-drawio-Dyg1-39Q.js} +1 -1
- package/dist/assets/vendor-reactuses-core-DWo5Wn6R.js +1 -0
- package/dist/assets/{vendor-replit-codemirror-vim-DCdAdxvE.js → vendor-replit-codemirror-vim-BmQmU1lR.js} +6 -6
- package/dist/assets/{vendor-sonner-r2EJnfoo.js → vendor-sonner-BEHGipm5.js} +1 -1
- package/dist/assets/{vendor-stream-diffs-BnLmeqg2.js → vendor-stream-diffs-wcQxoPZk.js} +2 -2
- package/dist/assets/{vendor-tanstack-react-query-C4SG3JZB.js → vendor-tanstack-react-query-B2psfNaU.js} +1 -1
- package/dist/assets/{vendor-tanstack-react-virtual-BeZn51tF.js → vendor-tanstack-react-virtual-DSFNK3qc.js} +1 -1
- package/dist/assets/{vendor-zustand-B43HCgwC.js → vendor-zustand-vDaAPGfl.js} +1 -1
- package/dist/assets/zh-CN-DOchDQti.js +15 -0
- package/dist/assets/zh-TW-Dtigv2CE.js +15 -0
- package/dist/index.html +18 -18
- package/dist/mini-chat.html +18 -18
- package/dist/mobile.html +18 -18
- package/package.json +2 -1
- package/server/lib/assistants/DOCUMENTATION.md +7 -0
- package/server/lib/assistants/channel-output.integration.test.js +15 -1
- package/server/lib/assistants/harness.js +1 -0
- package/server/lib/assistants/harness.test.js +16 -0
- package/server/lib/config-sync/DOCUMENTATION.md +1 -0
- package/server/lib/config-sync/config-sync.test.js +22 -0
- package/server/lib/config-sync/constants.js +0 -3
- package/server/lib/gui-customization/DOCUMENTATION.md +45 -0
- package/server/lib/gui-customization/session-skill.js +58 -0
- package/server/lib/gui-customization/session-skill.test.js +53 -0
- package/server/lib/gui-customization/skill/SKILL.md +33 -0
- package/server/lib/gui-customization/skill/references/appearance.md +79 -0
- package/server/lib/gui-customization/skill/references/file-previews.md +113 -0
- package/server/lib/gui-customization/skill/references/global-pages.md +81 -0
- package/server/lib/gui-customization/skill/references/gui-api.md +37 -0
- package/server/lib/gui-customization/skill/references/preview-exports.md +74 -0
- package/server/lib/gui-customization/skill/references/workflow.md +81 -0
- package/server/lib/opencode/DOCUMENTATION.md +74 -1
- package/server/lib/opencode/config-entity-routes.js +2 -4
- package/server/lib/opencode/config-entity-routes.test.js +16 -13
- package/server/lib/opencode/core-routes.js +2 -0
- package/server/lib/opencode/core-routes.test.js +2 -2
- package/server/lib/opencode/custom-provider-models.d.ts +2 -0
- package/server/lib/opencode/custom-provider-models.js +71 -0
- package/server/lib/opencode/custom-provider-models.test.js +90 -0
- package/server/lib/opencode/custom-provider.d.ts +2 -0
- package/server/lib/opencode/custom-provider.js +107 -0
- package/server/lib/opencode/custom-provider.test.js +211 -0
- package/server/lib/opencode/feature-routes-runtime.js +5 -0
- package/server/lib/opencode/provider-catalog.js +14 -0
- package/server/lib/opencode/provider-catalog.test.js +15 -0
- package/server/lib/opencode/provider-configuration.test.js +64 -0
- package/server/lib/opencode/provider-model-config.d.ts +1 -0
- package/server/lib/opencode/provider-model-config.js +39 -0
- package/server/lib/opencode/provider-model-config.test.js +69 -0
- package/server/lib/opencode/provider-sources.d.ts +10 -0
- package/server/lib/opencode/provider-sources.js +52 -0
- package/server/lib/opencode/provider-sources.test.js +73 -0
- package/server/lib/opencode/providers.d.ts +5 -0
- package/server/lib/opencode/providers.js +28 -0
- package/server/lib/opencode/routes.js +50 -1
- package/server/lib/remote-desktop/DOCUMENTATION.md +6 -2
- package/server/lib/remote-desktop/runtime.js +3 -2
- package/server/lib/remote-desktop/runtime.test.js +20 -0
- package/server/lib/scheduled-tasks/session-skill.js +3 -0
- package/server/lib/scheduled-tasks/session-skill.test.js +4 -2
- package/shared/custom-provider-protocol.d.ts +4 -0
- package/shared/custom-provider-protocol.js +32 -0
- package/dist/assets/AgentAvatar-DNm_jMna.js +0 -1
- package/dist/assets/AssistantContactStatus-BPRpgMFh.js +0 -3
- package/dist/assets/LoadingImage-NLq7_P-i.js +0 -1
- package/dist/assets/MarkdownRenderer-BaMotAOQ.js +0 -2
- package/dist/assets/MarkstreamRendererImpl-Rb9O6wkW.js +0 -3
- package/dist/assets/MobileTabPageHeader-DbC8L6A4.js +0 -2
- package/dist/assets/MultiRunWindow-DtVW9NTV.js +0 -1
- package/dist/assets/SettingsView-BRIvklfP.css +0 -1
- package/dist/assets/SettingsView-Cm7woZWl.js +0 -29
- package/dist/assets/SettingsWindow-CdL4PFxW.js +0 -1
- package/dist/assets/ToolOutputDialog-B4BfmoVH.js +0 -10
- package/dist/assets/YuriLogo-BOx0s0Ue.js +0 -1
- package/dist/assets/collapsible-BEm0787p.js +0 -1
- package/dist/assets/context-menu-DUwvVUDY.js +0 -1
- package/dist/assets/desktopRelayRestore-D1UX7HW2.js +0 -1
- package/dist/assets/dialog-CLca6ojn.js +0 -1
- package/dist/assets/es-CrsHvgue.js +0 -15
- package/dist/assets/host-CnVx34Dh.js +0 -1
- package/dist/assets/image-loading-D5UhMj7Z.js +0 -1
- package/dist/assets/input-D59Q2pm8.js +0 -1
- package/dist/assets/insertionBoundaries-CedfTSM5.js +0 -1
- package/dist/assets/main-CxpUooVS.js +0 -2
- package/dist/assets/main-Dpm4KxWX.js +0 -169
- package/dist/assets/miniChat-CTdj8Ug9.js +0 -2
- package/dist/assets/mobile-ChbA3Q8j.js +0 -2
- package/dist/assets/multirun-BILeETbd.js +0 -3
- package/dist/assets/native-BYMhr-xH.js +0 -1
- package/dist/assets/persistence-CWuLIq1J.js +0 -3
- package/dist/assets/projectMeta-B9_Uh8YH.js +0 -1
- package/dist/assets/pt-BR-Dp5oK2x3.js +0 -15
- package/dist/assets/readiness-BNIgH81X.js +0 -1
- package/dist/assets/renderElectronMiniChatApp-asOqV7FB.js +0 -2
- package/dist/assets/renderMobileApp-DAfque7-.js +0 -28
- package/dist/assets/runtimeEndpointReset-CFQgUiUr.js +0 -149
- package/dist/assets/scheduledTaskNavigation-EomDNVu2.js +0 -1
- package/dist/assets/sessionLookup-BxAaxPOw.js +0 -1
- package/dist/assets/sortable-tabs-strip-DpbW5MqX.js +0 -1
- package/dist/assets/src-BMKjN2ip.css +0 -2
- package/dist/assets/tooltip-BPwoSTzO.js +0 -1
- package/dist/assets/types-CUtSV1V8.js +0 -2
- package/dist/assets/uk-BEfkaLtM.js +0 -15
- package/dist/assets/useDesktopWindowControlsLayout-DxxOUZj1.js +0 -1
- package/dist/assets/useMobileNavigationStore-BmVr5a5c.js +0 -17
- package/dist/assets/useUIStore-C6CE42oh.js +0 -1
- package/dist/assets/vendor-base-ui-BQjbsJ43.js +0 -1
- package/dist/assets/vendor-codemirror-autocomplete-7c2L_4dM.js +0 -12
- package/dist/assets/vendor-codemirror-commands-B8KrBQ9B.js +0 -1
- package/dist/assets/vendor-codemirror-lang-angular-DXOgWEVj.js +0 -23
- package/dist/assets/vendor-codemirror-lang-cpp-Dh8C3xqP.js +0 -1
- package/dist/assets/vendor-codemirror-lang-go-BXAJ1_dh.js +0 -11
- package/dist/assets/vendor-codemirror-lang-java-DAyCHRhk.js +0 -1
- package/dist/assets/vendor-codemirror-lang-jinja-0TICrMfO.js +0 -1
- package/dist/assets/vendor-codemirror-lang-liquid-8g5seytq.js +0 -1
- package/dist/assets/vendor-codemirror-lang-markdown-CV1IO6Qs.js +0 -6
- package/dist/assets/vendor-codemirror-lang-php-xP7rf28_.js +0 -1
- package/dist/assets/vendor-codemirror-lang-python-YM2WVLHF.js +0 -9
- package/dist/assets/vendor-codemirror-lang-sass-B4iav_Ps.js +0 -1
- package/dist/assets/vendor-codemirror-lang-xml-DIuzY_d4.js +0 -1
- package/dist/assets/vendor-codemirror-search-DiPwvA-6.js +0 -2
- package/dist/assets/vendor-lodash-es-DfLbG5Af.js +0 -1
- package/dist/assets/vendor-motion-BmLx2V78.js +0 -1
- package/dist/assets/vendor-reactuses-core-BcebBLwF.js +0 -1
- package/dist/assets/zh-CN-DipfA56P.js +0 -15
- package/dist/assets/zh-TW-B7pXMVjt.js +0 -15
package/dist/index.html
CHANGED
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
opacity: 0.72;
|
|
561
561
|
}
|
|
562
562
|
</style>
|
|
563
|
-
<script type="module" crossorigin src="/assets/main-
|
|
563
|
+
<script type="module" crossorigin src="/assets/main-BchAIbLD.js"></script>
|
|
564
564
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
565
565
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-DBn9yahL.js">
|
|
566
566
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-DEZ1K7qW.js">
|
|
@@ -568,35 +568,35 @@
|
|
|
568
568
|
<link rel="modulepreload" crossorigin href="/assets/runtimeAPIRegistry-C2VogTny.js">
|
|
569
569
|
<link rel="modulepreload" crossorigin href="/assets/desktop-JwYqThiw.js">
|
|
570
570
|
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-CB0CTcMg.js">
|
|
571
|
-
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-
|
|
572
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-
|
|
573
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-
|
|
571
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-C7pjf6fE.js">
|
|
572
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-CzHs0bHY.js">
|
|
573
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-vDaAPGfl.js">
|
|
574
574
|
<link rel="modulepreload" crossorigin href="/assets/vendor-effect-X1Hqc7ba.js">
|
|
575
575
|
<link rel="modulepreload" crossorigin href="/assets/vendor-opencode-client-cQ47ywrT.js">
|
|
576
576
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-migration-Bhz6UOBJ.js">
|
|
577
577
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-bootstrap-D4BW3w-M.js">
|
|
578
|
-
<link rel="modulepreload" crossorigin href="/assets/useUIStore-
|
|
579
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-react-
|
|
578
|
+
<link rel="modulepreload" crossorigin href="/assets/useUIStore-BDZCXouA.js">
|
|
579
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-react-DlzBev0S.js">
|
|
580
580
|
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-query-core-BWz0ose6.js">
|
|
581
581
|
<link rel="modulepreload" crossorigin href="/assets/queryRuntime-CTcigFdj.js">
|
|
582
582
|
<link rel="modulepreload" crossorigin href="/assets/vendor-pathe-vBmvQE8f.js">
|
|
583
583
|
<link rel="modulepreload" crossorigin href="/assets/pathNormalization-ewtPqJWn.js">
|
|
584
|
-
<link rel="modulepreload" crossorigin href="/assets/persistence-
|
|
585
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-react-query-
|
|
586
|
-
<link rel="modulepreload" crossorigin href="/assets/fileQueries-
|
|
584
|
+
<link rel="modulepreload" crossorigin href="/assets/persistence-Dta0OwIa.js">
|
|
585
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-react-query-B2psfNaU.js">
|
|
586
|
+
<link rel="modulepreload" crossorigin href="/assets/fileQueries-DWj9yB2g.js">
|
|
587
587
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-store-BVRgEtI-.js">
|
|
588
588
|
<link rel="modulepreload" crossorigin href="/assets/path-utils-jGozTg9d.js">
|
|
589
589
|
<link rel="modulepreload" crossorigin href="/assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js">
|
|
590
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-
|
|
591
|
-
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-
|
|
592
|
-
<link rel="modulepreload" crossorigin href="/assets/terminalApi-
|
|
593
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-
|
|
590
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-qB_oVdE6.js">
|
|
591
|
+
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-DGAlAuET.js">
|
|
592
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CPVNQ5DH.js">
|
|
593
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-o29morT6.js">
|
|
594
594
|
<link rel="modulepreload" crossorigin href="/assets/platform-DFJEtBlo.js">
|
|
595
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
596
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
597
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
598
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
599
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
595
|
+
<link rel="modulepreload" crossorigin href="/assets/types-COEinOJU.js">
|
|
596
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-BBnW57us.js">
|
|
597
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-5BNfonUF.js">
|
|
598
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-IuT6iZ4x.js">
|
|
599
|
+
<link rel="stylesheet" crossorigin href="/assets/src-DME3XM8W.css">
|
|
600
600
|
</head>
|
|
601
601
|
<body class="h-full bg-background text-foreground">
|
|
602
602
|
<!-- 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-BbuRxk9z.js"></script>
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
82
82
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-DBn9yahL.js">
|
|
83
83
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-DEZ1K7qW.js">
|
|
@@ -85,35 +85,35 @@
|
|
|
85
85
|
<link rel="modulepreload" crossorigin href="/assets/runtimeAPIRegistry-C2VogTny.js">
|
|
86
86
|
<link rel="modulepreload" crossorigin href="/assets/desktop-JwYqThiw.js">
|
|
87
87
|
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-CB0CTcMg.js">
|
|
88
|
-
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-
|
|
89
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-
|
|
90
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-
|
|
88
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-C7pjf6fE.js">
|
|
89
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-CzHs0bHY.js">
|
|
90
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-vDaAPGfl.js">
|
|
91
91
|
<link rel="modulepreload" crossorigin href="/assets/vendor-effect-X1Hqc7ba.js">
|
|
92
92
|
<link rel="modulepreload" crossorigin href="/assets/vendor-opencode-client-cQ47ywrT.js">
|
|
93
93
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-migration-Bhz6UOBJ.js">
|
|
94
94
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-bootstrap-D4BW3w-M.js">
|
|
95
|
-
<link rel="modulepreload" crossorigin href="/assets/useUIStore-
|
|
96
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-react-
|
|
95
|
+
<link rel="modulepreload" crossorigin href="/assets/useUIStore-BDZCXouA.js">
|
|
96
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-react-DlzBev0S.js">
|
|
97
97
|
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-query-core-BWz0ose6.js">
|
|
98
98
|
<link rel="modulepreload" crossorigin href="/assets/queryRuntime-CTcigFdj.js">
|
|
99
99
|
<link rel="modulepreload" crossorigin href="/assets/vendor-pathe-vBmvQE8f.js">
|
|
100
100
|
<link rel="modulepreload" crossorigin href="/assets/pathNormalization-ewtPqJWn.js">
|
|
101
|
-
<link rel="modulepreload" crossorigin href="/assets/persistence-
|
|
102
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-react-query-
|
|
103
|
-
<link rel="modulepreload" crossorigin href="/assets/fileQueries-
|
|
101
|
+
<link rel="modulepreload" crossorigin href="/assets/persistence-Dta0OwIa.js">
|
|
102
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-react-query-B2psfNaU.js">
|
|
103
|
+
<link rel="modulepreload" crossorigin href="/assets/fileQueries-DWj9yB2g.js">
|
|
104
104
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-store-BVRgEtI-.js">
|
|
105
105
|
<link rel="modulepreload" crossorigin href="/assets/path-utils-jGozTg9d.js">
|
|
106
106
|
<link rel="modulepreload" crossorigin href="/assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js">
|
|
107
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-
|
|
108
|
-
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-
|
|
109
|
-
<link rel="modulepreload" crossorigin href="/assets/terminalApi-
|
|
110
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-
|
|
107
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-qB_oVdE6.js">
|
|
108
|
+
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-DGAlAuET.js">
|
|
109
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CPVNQ5DH.js">
|
|
110
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-o29morT6.js">
|
|
111
111
|
<link rel="modulepreload" crossorigin href="/assets/platform-DFJEtBlo.js">
|
|
112
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
113
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
114
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
115
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
116
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
112
|
+
<link rel="modulepreload" crossorigin href="/assets/types-COEinOJU.js">
|
|
113
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-BBnW57us.js">
|
|
114
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-5BNfonUF.js">
|
|
115
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-IuT6iZ4x.js">
|
|
116
|
+
<link rel="stylesheet" crossorigin href="/assets/src-DME3XM8W.css">
|
|
117
117
|
</head>
|
|
118
118
|
<body class="h-full bg-background text-foreground">
|
|
119
119
|
<div id="root" class="h-full">
|
package/dist/mobile.html
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
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-CBiiV7GW.js"></script>
|
|
68
68
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
69
69
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-DBn9yahL.js">
|
|
70
70
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-DEZ1K7qW.js">
|
|
@@ -72,35 +72,35 @@
|
|
|
72
72
|
<link rel="modulepreload" crossorigin href="/assets/runtimeAPIRegistry-C2VogTny.js">
|
|
73
73
|
<link rel="modulepreload" crossorigin href="/assets/desktop-JwYqThiw.js">
|
|
74
74
|
<link rel="modulepreload" crossorigin href="/assets/desktopHosts-CB0CTcMg.js">
|
|
75
|
-
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-
|
|
76
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-
|
|
77
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-
|
|
75
|
+
<link rel="modulepreload" crossorigin href="/assets/desktopRelayRestore-C7pjf6fE.js">
|
|
76
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-base-ui-CzHs0bHY.js">
|
|
77
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-zustand-vDaAPGfl.js">
|
|
78
78
|
<link rel="modulepreload" crossorigin href="/assets/vendor-effect-X1Hqc7ba.js">
|
|
79
79
|
<link rel="modulepreload" crossorigin href="/assets/vendor-opencode-client-cQ47ywrT.js">
|
|
80
80
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-migration-Bhz6UOBJ.js">
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/brand-storage-bootstrap-D4BW3w-M.js">
|
|
82
|
-
<link rel="modulepreload" crossorigin href="/assets/useUIStore-
|
|
83
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-react-
|
|
82
|
+
<link rel="modulepreload" crossorigin href="/assets/useUIStore-BDZCXouA.js">
|
|
83
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-react-DlzBev0S.js">
|
|
84
84
|
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-query-core-BWz0ose6.js">
|
|
85
85
|
<link rel="modulepreload" crossorigin href="/assets/queryRuntime-CTcigFdj.js">
|
|
86
86
|
<link rel="modulepreload" crossorigin href="/assets/vendor-pathe-vBmvQE8f.js">
|
|
87
87
|
<link rel="modulepreload" crossorigin href="/assets/pathNormalization-ewtPqJWn.js">
|
|
88
|
-
<link rel="modulepreload" crossorigin href="/assets/persistence-
|
|
89
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-react-query-
|
|
90
|
-
<link rel="modulepreload" crossorigin href="/assets/fileQueries-
|
|
88
|
+
<link rel="modulepreload" crossorigin href="/assets/persistence-Dta0OwIa.js">
|
|
89
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-tanstack-react-query-B2psfNaU.js">
|
|
90
|
+
<link rel="modulepreload" crossorigin href="/assets/fileQueries-DWj9yB2g.js">
|
|
91
91
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-store-BVRgEtI-.js">
|
|
92
92
|
<link rel="modulepreload" crossorigin href="/assets/path-utils-jGozTg9d.js">
|
|
93
93
|
<link rel="modulepreload" crossorigin href="/assets/vendor-aparajita-capacitor-secure-storage-xol_6BsB.js">
|
|
94
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-
|
|
95
|
-
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-
|
|
96
|
-
<link rel="modulepreload" crossorigin href="/assets/terminalApi-
|
|
97
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-
|
|
94
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-resource-qB_oVdE6.js">
|
|
95
|
+
<link rel="modulepreload" crossorigin href="/assets/gitApiHttp-DGAlAuET.js">
|
|
96
|
+
<link rel="modulepreload" crossorigin href="/assets/terminalApi-CPVNQ5DH.js">
|
|
97
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-o29morT6.js">
|
|
98
98
|
<link rel="modulepreload" crossorigin href="/assets/platform-DFJEtBlo.js">
|
|
99
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
100
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
101
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
102
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
103
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
99
|
+
<link rel="modulepreload" crossorigin href="/assets/types-COEinOJU.js">
|
|
100
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-BBnW57us.js">
|
|
101
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-5BNfonUF.js">
|
|
102
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-IuT6iZ4x.js">
|
|
103
|
+
<link rel="stylesheet" crossorigin href="/assets/src-DME3XM8W.css">
|
|
104
104
|
</head>
|
|
105
105
|
<body class="h-full bg-background text-foreground">
|
|
106
106
|
<div id="root" class="h-full">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuriai/web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29-beta.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./server/index.js",
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
"files": [
|
|
120
120
|
"dist",
|
|
121
121
|
"server",
|
|
122
|
+
"shared",
|
|
122
123
|
"bin",
|
|
123
124
|
"public",
|
|
124
125
|
"package.json",
|
|
@@ -27,6 +27,13 @@ Bot permissions, durable receipts, output and lifecycle, not a second Chat bot e
|
|
|
27
27
|
See `channels/DOCUMENTATION.md` for enterprise configuration and SDK integration.
|
|
28
28
|
|
|
29
29
|
Published image output is shared by all four channels through `channel-output.js`.
|
|
30
|
+
The contact prompt teaches `` in public replies as the image
|
|
31
|
+
delivery interface: a real public HTTPS image URL or absolute Host file path,
|
|
32
|
+
with angle brackets for paths containing spaces. No image-send tool is required;
|
|
33
|
+
image Markdown belongs directly in the reply body, outside code fences or inline
|
|
34
|
+
code, so it renders rather than displaying a syntax example. Reading an image by
|
|
35
|
+
itself does not publish it. Existing source/size restrictions
|
|
36
|
+
and source-channel routing still apply.
|
|
30
37
|
It extracts actual Markdown images (including reference images) and image file
|
|
31
38
|
parts, not ordinary links, code examples or tool traces, preserving prose/image
|
|
32
39
|
order. `service.prepareChannelImage()` snapshots bytes into the existing private
|
|
@@ -16,6 +16,9 @@ describe('real contact output → all native image channels', () => {
|
|
|
16
16
|
await fs.writeFile(imagePath, png);
|
|
17
17
|
let enterprise;
|
|
18
18
|
let weixin;
|
|
19
|
+
let releaseTurn;
|
|
20
|
+
let turnStarted = false;
|
|
21
|
+
const blockedTurn = new Promise((resolve) => { releaseTurn = resolve; });
|
|
19
22
|
const service = createAssistantsService({ dbPath: path.join(directory, 'assistants.sqlite'), dataDir: directory,
|
|
20
23
|
buildOpenCodeUrl: () => 'http://127.0.0.1:1', getOpenCodeAuthHeaders: () => ({}), getAllowedRoots: () => [directory],
|
|
21
24
|
clientFactory: () => ({ message: { list: async () => ({ data: [], cursor: {} }) } }),
|
|
@@ -24,6 +27,10 @@ describe('real contact output → all native image channels', () => {
|
|
|
24
27
|
syncScheduledTaskProject: async () => {},
|
|
25
28
|
createChatCompletion: async () => ({ choices: [] }),
|
|
26
29
|
runContactTurn: async ({ userText, tools, onBubbleDelta }) => {
|
|
30
|
+
if (userText === 'draw') {
|
|
31
|
+
turnStarted = true;
|
|
32
|
+
await blockedTurn;
|
|
33
|
+
}
|
|
27
34
|
if (userText === 'draw again') {
|
|
28
35
|
const scheduled = await tools.find((tool) => tool.name === 'schedule_task').execute('schedule', {
|
|
29
36
|
name: 'Draw daily', prompt: 'Draw an image', time: '18:00', timezone: 'UTC',
|
|
@@ -84,7 +91,14 @@ describe('real contact output → all native image channels', () => {
|
|
|
84
91
|
if (source === 'weixin') incoming.push({ message_id: 'in', from_user_id: 'owner', message_type: 1,
|
|
85
92
|
context_token: 'test-context', item_list: [{ type: 1, text_item: { text: 'draw' } }] });
|
|
86
93
|
else await connections.get(source).onMessage({ id: 'in', senderID: 'owner', chatType: 'private', text: 'draw' });
|
|
94
|
+
await vi.waitFor(() => expect(turnStarted).toBe(true));
|
|
95
|
+
expect(service.snapshot().assistants.find(({ id }) => id === bot.id)).toMatchObject({
|
|
96
|
+
working: true,
|
|
97
|
+
activeContactTurn: { status: 'running', turnID: expect.stringMatching(/^(weixin:|channel:)/) },
|
|
98
|
+
});
|
|
99
|
+
releaseTurn();
|
|
87
100
|
await vi.waitFor(() => expect(sends[source]).toHaveBeenCalledOnce());
|
|
101
|
+
expect(service.snapshot().assistants.find(({ id }) => id === bot.id).working).toBe(false);
|
|
88
102
|
expect(sends[source].mock.calls[0][0].image.buffer).toEqual(png);
|
|
89
103
|
for (const [provider, send] of Object.entries(sends)) if (provider !== source) expect(send).not.toHaveBeenCalled();
|
|
90
104
|
await service.send(bot.id, { messageID: 'app-turn', parts: [{ type: 'text', text: 'draw again' }] });
|
|
@@ -109,6 +123,6 @@ describe('real contact output → all native image channels', () => {
|
|
|
109
123
|
});
|
|
110
124
|
for (const send of Object.values(sends)) expect(send.mock.calls.at(-1)[0].image.buffer).toEqual(png);
|
|
111
125
|
expect(api.sendText).not.toHaveBeenCalled();
|
|
112
|
-
} finally { await enterprise?.close(); await weixin?.close(); service.close(); await fs.rm(directory, { recursive: true, force: true }); }
|
|
126
|
+
} finally { releaseTurn(); await enterprise?.close(); await weixin?.close(); service.close(); await fs.rm(directory, { recursive: true, force: true }); }
|
|
113
127
|
});
|
|
114
128
|
});
|
|
@@ -116,6 +116,7 @@ export const CONTACT_SYSTEM_PROMPT = [
|
|
|
116
116
|
'Do not expose tool traces, Activity, or editor actions.',
|
|
117
117
|
'Use list_scheduled_tasks to review tasks. To create, change, enable or pause tasks, first load yuri.tasks and use its returned schemas with exact IDs from the listing.',
|
|
118
118
|
'Use reference_resource to send the user an existing session, Bot, or scheduled-task card using exact IDs from lookup or creation results. Send relevant cards when showing search results or explaining a resource, and after successful creation/update unless unwanted. Other tools do not send cards automatically. Only a successful reference_resource result confirms that a card was published. Referencing is not watching or starting work.',
|
|
119
|
+
'Images are reply content: when asked to send, show, or reference an image, deliver the rendered image itself using  directly in the public reply body. Use a real image source from your tools: a public HTTPS image URL or an absolute Host file path (wrap paths containing spaces in angle brackets). Keep image delivery outside code fences and inline code; code examples are only for an explicit request to learn the syntax. Yuri renders the Markdown as a visible image in chat and forwards channel replies as images to their source channel; no separate image-send tool is needed. A bare path, a metadata report, or reading the image is not image delivery. Image delivery remains subject to source access and size limits.',
|
|
119
120
|
'Use update_assistant_settings for ALL of your editable settings: name, avatarSeed, defaultPrompt, providerID, modelID, agent, variant, mode and workspacePath. For 给自己改名, save settings.name; choose a name yourself when requested. This updates your real contact, not just persona text. Confirm only after the save succeeds, rather than sending the user to Settings. Read live settings when needed and pass only changed fields. Model/persona changes take effect on later turns.',
|
|
120
121
|
'You have bash, read, write, and edit in the working directory. Use them for pwd, files, and shell. Never say you have no terminal or cannot read files. Ignore any temporary generator workspace in the environment.',
|
|
121
122
|
'Load opencode.web for online search, opencode.activity for live running-session membership, or opencode.catalog for connected skills, agents, commands, MCP and references. Direct operations use the Host current authenticated connection and workspace; do not switch servers or substitute unauthenticated CLI calls. Load skill instructions only when relevant, not before every lookup. Missing live membership is not proof of successful completion; failed reads mean unknown. Native/MCP capabilities not directly offered here run in an assigned OpenCode worker with its normal permissions. Catalog discovery and reading instructions are not execution; only actual results support claims that you searched or verified something.',
|
|
@@ -26,6 +26,22 @@ const toolCall = (name, args, id) => toolBatch([[name, args, id]])
|
|
|
26
26
|
const notifyCall = (text, id) => ['notify_user', { text }, id]
|
|
27
27
|
|
|
28
28
|
describe('createContactStreamFn', () => {
|
|
29
|
+
it('explains Markdown image delivery in the model prompt and publishes the image reply unchanged', async () => {
|
|
30
|
+
const image = '';
|
|
31
|
+
const result = await runContactTurn({ assistant: { providerID: 'p', modelID: 'm' }, history: [], userText: '找张图片发我',
|
|
32
|
+
createChatCompletion: async ({ body }) => {
|
|
33
|
+
const prompt = body.messages.find((message) => message.role === 'system').content;
|
|
34
|
+
expect(prompt).toContain('');
|
|
35
|
+
expect(prompt).toContain('absolute Host file path');
|
|
36
|
+
expect(prompt).toContain('source channel');
|
|
37
|
+
expect(prompt).toContain('outside code fences and inline code');
|
|
38
|
+
expect(prompt).toContain('deliver the rendered image itself');
|
|
39
|
+
return { text: image };
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
expect(result.bubbles).toEqual([image]);
|
|
43
|
+
});
|
|
44
|
+
|
|
29
45
|
it.each(['success', 'returned-error', 'thrown-error'])('preserves the %s tool outcome through the real Agent without exposing internal details', async (outcome) => {
|
|
30
46
|
const execute = vi.fn(async () => {
|
|
31
47
|
if (outcome === 'thrown-error') throw new Error('Operation failed.');
|
|
@@ -45,6 +45,7 @@ Within one direction, scope changes retain the displayed preview and discovered
|
|
|
45
45
|
|
|
46
46
|
## Invariants
|
|
47
47
|
|
|
48
|
+
- The allowlist includes OpenCode configuration and generic extension directories, not plugin-specific configuration files or private state directories. Existing excluded files are neither copied nor deleted.
|
|
48
49
|
- Plan is computed on the source filesystem/inventory snapshot; destination executors never re-walk the source.
|
|
49
50
|
- All local, HTTP and SSH archive builders exclude `node_modules`, `.venv-asc` and `*.backup`
|
|
50
51
|
at every depth, including followed symlinks, matching the inventory walk. Keep
|
|
@@ -38,6 +38,28 @@ afterEach(async () => {
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
describe('config-sync contract', () => {
|
|
41
|
+
it('excludes plugin-specific configuration and state from sync and deletion plans', async () => {
|
|
42
|
+
const home = await makeTempDir();
|
|
43
|
+
const configDir = path.join(home, '.config', 'opencode');
|
|
44
|
+
await fsp.mkdir(path.join(configDir, '.oh-my-opencode-slim'), { recursive: true });
|
|
45
|
+
await fsp.writeFile(path.join(configDir, 'opencode.jsonc'), '{}');
|
|
46
|
+
for (const target of ['oh-my-opencode', 'oh-my-opencode-slim', 'oh-my-openagent']) {
|
|
47
|
+
for (const extension of ['json', 'jsonc']) {
|
|
48
|
+
await fsp.writeFile(path.join(configDir, `${target}.${extension}`), '{}');
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
await fsp.writeFile(path.join(configDir, '.oh-my-opencode-slim', 'state.json'), '{}');
|
|
52
|
+
for (const direction of [SYNC_DIRECTION_PUSH, SYNC_DIRECTION_PULL]) {
|
|
53
|
+
const plan = planOpenCodeConfigSync(home, { direction, includeProviderCredentials: false });
|
|
54
|
+
expect(plan.files.map((entry) => entry.path)).toEqual(['opencode.jsonc']);
|
|
55
|
+
expect(plan.directories).toEqual([]);
|
|
56
|
+
expect(plan.deletes.every((entry) => !entry.includes('oh-my-'))).toBe(true);
|
|
57
|
+
}
|
|
58
|
+
expect(buildDefaultSyncSelections().fileGroups).toHaveLength(1);
|
|
59
|
+
expect(buildDefaultSyncSelections().directories).toHaveLength(6);
|
|
60
|
+
expect(buildRemoteSyncInventoryScript()).not.toContain('oh-my-');
|
|
61
|
+
});
|
|
62
|
+
|
|
41
63
|
it('requires direction on plans and accepts push/pull', () => {
|
|
42
64
|
expect(assertPlanDirection({ direction: SYNC_DIRECTION_PUSH })).toBe('push');
|
|
43
65
|
expect(assertPlanDirection({ direction: SYNC_DIRECTION_PULL })).toBe('pull');
|
|
@@ -3,8 +3,6 @@ export const OPENCODE_CONFIG_SYNC_ALLOWLIST = {
|
|
|
3
3
|
// Mutually exclusive groups: first existing local file wins; other members are deleted on remote.
|
|
4
4
|
fileGroups: [
|
|
5
5
|
['config.json', 'opencode.json', 'opencode.jsonc'],
|
|
6
|
-
['oh-my-opencode-slim.json', 'oh-my-opencode-slim.jsonc'],
|
|
7
|
-
['oh-my-openagent.json', 'oh-my-openagent.jsonc'],
|
|
8
6
|
],
|
|
9
7
|
singleFiles: ['AGENTS.md', 'cursor-models.json'],
|
|
10
8
|
directories: [
|
|
@@ -14,7 +12,6 @@ export const OPENCODE_CONFIG_SYNC_ALLOWLIST = {
|
|
|
14
12
|
{ path: 'snippet' },
|
|
15
13
|
{ path: 'snippets' },
|
|
16
14
|
{ path: 'plugins', excludeNames: ['node_modules'] },
|
|
17
|
-
{ path: '.oh-my-opencode-slim' },
|
|
18
15
|
],
|
|
19
16
|
};
|
|
20
17
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Built-in Yuri customization skill
|
|
2
|
+
|
|
3
|
+
`session-skill.js` stages the shipped `skill/SKILL.md` and its six references in
|
|
4
|
+
an application-owned, content-fingerprinted `session-skills` directory. Only a
|
|
5
|
+
short discovery pointer enters `session.instructions.entry` under
|
|
6
|
+
`yuri.customization`. Agents load the skill and matching references on demand;
|
|
7
|
+
no global OpenCode config, installed user skills, project files or old sessions
|
|
8
|
+
are modified.
|
|
9
|
+
|
|
10
|
+
References are organized by capability: window APIs, appearance, global pages,
|
|
11
|
+
file parsing/previews, preview actions/exports, and package workflow. Host contracts
|
|
12
|
+
and verification criteria are separate from illustrative templates and case
|
|
13
|
+
studies. Runmark and Eficy remain integration references; their service protocols,
|
|
14
|
+
renderers and compatibility choices are not requirements for unrelated plugins.
|
|
15
|
+
|
|
16
|
+
## Admission ownership
|
|
17
|
+
|
|
18
|
+
- Shared-service sessions: the existing scheduled-task admission route installs
|
|
19
|
+
this instruction after its authenticated scheduled-task preflight. Both must
|
|
20
|
+
finish before returning the session. Existing rollback semantics apply.
|
|
21
|
+
- Managed local OpenCode: `registerCustomizationSessionSkill` owns session create
|
|
22
|
+
and this instruction only, before the generic proxy. A failed installation
|
|
23
|
+
removes a newly allocated session; an explicitly supplied/adopted session is
|
|
24
|
+
retained. If removal fails, the response includes the retained session ID.
|
|
25
|
+
- External OpenCode and VS Code's independent extension-host session creation:
|
|
26
|
+
no local-file pointer is injected, because the agent is not proven to share
|
|
27
|
+
this Host's filesystem. GUI plugin contracts themselves remain available on
|
|
28
|
+
their supported clients. Existing sessions do not gain the pointer retroactively.
|
|
29
|
+
|
|
30
|
+
The feature adds no HTTP resource endpoint, credential or native privilege.
|
|
31
|
+
Package publishing includes the entire web `server` directory, so the Markdown
|
|
32
|
+
resources ship with the backend and resolve relative to this module in packaged
|
|
33
|
+
Electron as well as web installs. Fingerprinted resources remain readable by old
|
|
34
|
+
sessions across backend upgrades.
|
|
35
|
+
|
|
36
|
+
## Validation
|
|
37
|
+
|
|
38
|
+
`session-skill.test.js` exercises staging, complete resource availability, short
|
|
39
|
+
per-session pointers, managed admission/rollback/adopted sessions and external
|
|
40
|
+
ownership. Shared-service admission is covered by
|
|
41
|
+
`../scheduled-tasks/session-skill.test.js`. The UI test
|
|
42
|
+
`packages/ui/src/lib/gui-plugins/skill-examples.test.ts` transpiles the shipped
|
|
43
|
+
global-page and custom-file templates and runs them through the real GUI host,
|
|
44
|
+
plugin context, navigation, file read, mount and cleanup. These are contract
|
|
45
|
+
fixtures, not live Runmark/Eficy backend tests.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { readFile, mkdir, writeFile, rename, rm } from 'node:fs/promises';
|
|
2
|
+
import { createHash, randomUUID } from 'node:crypto';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
|
|
5
|
+
const files = ['SKILL.md', 'references/appearance.md', 'references/gui-api.md', 'references/workflow.md', 'references/global-pages.md', 'references/file-previews.md', 'references/preview-exports.md'];
|
|
6
|
+
|
|
7
|
+
/** Stage immutable, shipped instructions; never edit the user's global skills/config. */
|
|
8
|
+
export function createCustomizationSkillInstaller({ yuriDataDir }) {
|
|
9
|
+
let resources;
|
|
10
|
+
const prepare = () => {
|
|
11
|
+
resources ??= (async () => {
|
|
12
|
+
const contents = await Promise.all(files.map((name) => readFile(new URL(`./skill/${name}`, import.meta.url), 'utf8')));
|
|
13
|
+
const hash = createHash('sha256').update(contents.join('\0')).digest('hex').slice(0, 16);
|
|
14
|
+
const directory = path.join(yuriDataDir, 'session-skills', `yuri-customization-${hash}`);
|
|
15
|
+
await mkdir(path.join(directory, 'references'), { recursive: true, mode: 0o700 });
|
|
16
|
+
await Promise.all(files.map(async (name, index) => {
|
|
17
|
+
const target = path.join(directory, name);
|
|
18
|
+
const temporary = `${target}.${randomUUID()}.tmp`;
|
|
19
|
+
try { await writeFile(temporary, contents[index], { mode: 0o600 }); await rename(temporary, target); }
|
|
20
|
+
finally { await rm(temporary, { force: true }); }
|
|
21
|
+
}));
|
|
22
|
+
return path.join(directory, 'SKILL.md');
|
|
23
|
+
})().catch((error) => { resources = undefined; throw error; });
|
|
24
|
+
return resources;
|
|
25
|
+
};
|
|
26
|
+
return async (client, sessionID) => {
|
|
27
|
+
const file = await prepare();
|
|
28
|
+
await client.session.instructions.entry.put({ sessionID, key: 'yuri.customization',
|
|
29
|
+
value: `Yuri customization: for appearance (themes, CSS/layout, Logo, macOS Dock), global pages/tabs, custom file parsing/previews, preview exports, or GUI panels/commands/settings, read ${JSON.stringify(file)} before choosing a plugin API. Use its capability references for supported contracts and runtime limits, and its workflow for building, installation and rollback. Install or apply changes only when requested.`,
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** Managed local servers share the resource filesystem; external servers do not. */
|
|
35
|
+
export function registerCustomizationSessionSkill(app, { express, yuriDataDir, getIsSharedOpenCodeService, getIsExternalOpenCode, waitForOpenCodeReady, createClient }) {
|
|
36
|
+
const install = createCustomizationSkillInstaller({ yuriDataDir });
|
|
37
|
+
app.post('/api/session', express.json({ limit: '1mb' }), async (req, res, next) => {
|
|
38
|
+
if (getIsSharedOpenCodeService() || getIsExternalOpenCode()) return next();
|
|
39
|
+
const body = req.body ?? {};
|
|
40
|
+
if (!body || typeof body !== 'object' || Array.isArray(body)) return res.status(400).json({ error: 'Session input must be an object' });
|
|
41
|
+
let client, created;
|
|
42
|
+
try {
|
|
43
|
+
await waitForOpenCodeReady();
|
|
44
|
+
client = createClient();
|
|
45
|
+
created = await client.session.create(body);
|
|
46
|
+
if (!created?.id) throw new Error('Session creation was not confirmed');
|
|
47
|
+
await install(client, created.id);
|
|
48
|
+
return res.json({ data: created });
|
|
49
|
+
} catch {
|
|
50
|
+
let retainedSessionID = created?.id;
|
|
51
|
+
if (created?.id && !body.id) {
|
|
52
|
+
try { await client.session.remove({ sessionID: created.id }); retainedSessionID = undefined; }
|
|
53
|
+
catch { /* Preserve the ID when rollback cannot be confirmed. */ }
|
|
54
|
+
}
|
|
55
|
+
return res.status(503).json({ code: 'session_skill_initialization_failed', error: 'New session capability initialization failed', ...(retainedSessionID ? { sessionID: retainedSessionID } : {}) });
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { afterEach, describe, expect, it, vi } from 'vitest';
|
|
2
|
+
import fs from 'node:fs/promises';
|
|
3
|
+
import os from 'node:os';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import express from 'express';
|
|
6
|
+
import { createCustomizationSkillInstaller, registerCustomizationSessionSkill } from './session-skill.js';
|
|
7
|
+
|
|
8
|
+
const cleanup = [];
|
|
9
|
+
afterEach(async () => { for (const dispose of cleanup.splice(0)) await dispose(); });
|
|
10
|
+
async function directory() {
|
|
11
|
+
const root = await fs.mkdtemp(path.join(os.tmpdir(), 'yuri-customization-'));
|
|
12
|
+
cleanup.push(() => fs.rm(root, { recursive: true, force: true }));
|
|
13
|
+
return root;
|
|
14
|
+
}
|
|
15
|
+
describe('built-in customization instructions', () => {
|
|
16
|
+
it('stages a complete skill and references and installs only a short session-scoped pointer', async () => {
|
|
17
|
+
const root = await directory();
|
|
18
|
+
const put = vi.fn(); const client = { session: { instructions: { entry: { put } } } };
|
|
19
|
+
const install = createCustomizationSkillInstaller({ yuriDataDir: root });
|
|
20
|
+
await install(client, 'ses_one'); await install(client, 'ses_two');
|
|
21
|
+
const entry = put.mock.calls[0][0];
|
|
22
|
+
expect(entry).toMatchObject({ sessionID: 'ses_one', key: 'yuri.customization' });
|
|
23
|
+
expect(entry.value.length).toBeLessThan(1500);
|
|
24
|
+
const file = JSON.parse(entry.value.match(/read (".*?") before/)[1]);
|
|
25
|
+
expect(await fs.readFile(file, 'utf8')).toContain('name: yuri-customization');
|
|
26
|
+
for (const name of ['appearance', 'gui-api', 'workflow', 'global-pages', 'file-previews', 'preview-exports']) expect((await fs.readFile(path.join(path.dirname(file), 'references', `${name}.md`), 'utf8')).length).toBeGreaterThan(500);
|
|
27
|
+
expect(await fs.readFile(path.join(path.dirname(file), 'references', 'appearance.md'), 'utf8')).toContain('yuri.branding');
|
|
28
|
+
expect(put.mock.calls[1][0].value).toBe(entry.value);
|
|
29
|
+
});
|
|
30
|
+
it('initializes managed sessions, rolls back failures, preserves adopted sessions and skips external/shared ownership', async () => {
|
|
31
|
+
const root = await directory();
|
|
32
|
+
let external = false, shared = false, failed = false;
|
|
33
|
+
const client = { session: {
|
|
34
|
+
create: vi.fn(async (body) => ({ ...body, id: body.id ?? 'ses_new' })), remove: vi.fn(),
|
|
35
|
+
instructions: { entry: { put: vi.fn(async () => { if (failed) throw new Error('unavailable'); }) } },
|
|
36
|
+
} };
|
|
37
|
+
const app = express();
|
|
38
|
+
registerCustomizationSessionSkill(app, { express, yuriDataDir: root, getIsExternalOpenCode: () => external, getIsSharedOpenCodeService: () => shared, waitForOpenCodeReady: async () => {}, createClient: () => client });
|
|
39
|
+
app.post('/api/session', (_, res) => res.status(202).json({ delegated: true }));
|
|
40
|
+
const server = await new Promise((resolve) => { const s = app.listen(0, '127.0.0.1', () => resolve(s)); });
|
|
41
|
+
cleanup.unshift(() => new Promise((resolve) => server.close(resolve)));
|
|
42
|
+
const request = (body = {}) => fetch(`http://127.0.0.1:${server.address().port}/api/session`, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(body) });
|
|
43
|
+
expect((await (await request({ title: 'Keep' })).json()).data.title).toBe('Keep');
|
|
44
|
+
expect(client.session.instructions.entry.put).toHaveBeenCalledWith(expect.objectContaining({ sessionID: 'ses_new', key: 'yuri.customization' }));
|
|
45
|
+
failed = true; expect((await request()).status).toBe(503);
|
|
46
|
+
expect(client.session.remove).toHaveBeenCalledExactlyOnceWith({ sessionID: 'ses_new' });
|
|
47
|
+
expect((await (await request({ id: 'ses_existing' })).json()).sessionID).toBe('ses_existing');
|
|
48
|
+
expect(client.session.remove).toHaveBeenCalledTimes(1);
|
|
49
|
+
external = true; expect((await request()).status).toBe(202);
|
|
50
|
+
external = false; shared = true; expect((await request()).status).toBe(202);
|
|
51
|
+
expect(client.session.create).toHaveBeenCalledTimes(3);
|
|
52
|
+
});
|
|
53
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: yuri-customization
|
|
3
|
+
description: Customize Yuri through GUI plugins for appearance, global pages, custom file previews, export actions, panels, commands, and settings.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Yuri customization
|
|
7
|
+
|
|
8
|
+
Use a standard OpenCode GUI plugin to change the running Yuri UI without modifying Yuri's source or installation. This skill describes Yuri's supported subset of the experimental OpenCode GUI SDK 2.2.0, not every capability in the newest upstream Desktop.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Identify the requested change and target client: Web, Electron, VS Code, hosted mobile, or Capacitor. Separate visual changes from backend behavior. Inspect the user's existing plugin/config before changing it. An explanation request does not authorize installation.
|
|
13
|
+
2. Choose the extension point by the requested capability and read its reference:
|
|
14
|
+
- Themes, CSS, logos, Dock icons: [appearance](references/appearance.md).
|
|
15
|
+
- Global main-content tabs and titlebar entries: [global pages](references/global-pages.md).
|
|
16
|
+
- Custom file suffixes, parsers, inline/mobile previews and file icons: [file previews](references/file-previews.md).
|
|
17
|
+
- Preview toolbar placement, PDF/PNG/HTML export and iframe snapshot boundaries: [preview actions and exports](references/preview-exports.md).
|
|
18
|
+
- Panels, commands, settings, files, RPC, lifecycle, runtime support: [GUI API](references/gui-api.md).
|
|
19
|
+
- Every implementation: [package, build, install, verification and rollback](references/workflow.md).
|
|
20
|
+
3. Build only the requested capabilities in a user-approved plugin directory. Use declarative registries for appearance, window APIs for GUI behavior, and a server or native part only when the required capability needs it. Keep dependencies aligned with the supported SDK contract and emit the GUI as one prebuilt CommonJS file.
|
|
21
|
+
4. Build and inspect the actual artifact. Preserve unrelated global OpenCode configuration. Install only when asked, using the plugin package's global config entry; project-only configuration does not provide window GUI inventory.
|
|
22
|
+
5. Verify each requested capability in the target client, including its failure and cleanup behavior; use the matching reference's verification criteria. Finish with the plugin directory, changed settings, verified behavior, known limits, and how to undo it.
|
|
23
|
+
|
|
24
|
+
References distinguish host contracts from illustrative templates and case studies. Choose rendering, authentication and file formats for the current requirement; case-study protocols and dependencies belong to those integrations.
|
|
25
|
+
|
|
26
|
+
## Boundaries
|
|
27
|
+
|
|
28
|
+
- `Style` can affect the whole document. A GUI plugin is trusted JavaScript, not a sandbox. Prefer tokens and narrow, stable selectors; arbitrary CSS can hide controls or trigger network requests.
|
|
29
|
+
- Yuri themes and branding are host-consumed custom registries, declared with official `Registry.define`; they are not official OpenCode built-ins. Other hosts may ignore them.
|
|
30
|
+
- Enabled plugins apply their appearance contributions automatically; [appearance](references/appearance.md) defines priority and fallback. Saved base theme preferences remain separate.
|
|
31
|
+
- macOS customization means the running Dock icon only. Keep signed `.app` resources, Finder/Launchpad icons, bundle identifiers and update origins unchanged.
|
|
32
|
+
- Native `main` runs only for trusted local Electron connections. Remote/Relay, Web, VS Code and mobile cannot execute local Node/Electron code. Use supported window APIs there; never bypass the native gate.
|
|
33
|
+
- Pre-JavaScript startup screens retain Yuri's built-in branding. Plugins load after the usable shell; never delay startup to apply a skin.
|