An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/pull/17152
Vanessafc98cbd30c87
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.tsindex 9f2c3c1089..73915f4cb5 100644--- a/app/src/config/bazaar.ts+++ b/app/src/config/bazaar.ts@@ -697,10 +697,13 @@ type="checkbox">repoHash: dataObj.repoHash,mode: dataObj.themeMode === "dark" ? 1 : 0,frontend: getFrontend()- }, async response => {+ }, response => {bazaar._onBazaar(response, bazaarType);+ if (response.code !== 0) {+ return;+ }bazaar._genMyHTML(bazaarType, app, false);- if (response.code === 0 && bazaarType === "plugins") {+ if (bazaarType === "plugins") {if (window.siyuan.config.bazaar.petalDisabled) {confirmDialog(window.siyuan.languages.confirm, window.siyuan.languages.enablePluginTip2);} else {@@ -716,8 +719,6 @@ type="checkbox">});});}- } else if (response.code === 1) {- showMessage(response.msg);}});}@@ -759,7 +760,7 @@ type="checkbox">repoHash: dataObj.repoHash,mode: dataObj.themeMode === "dark" ? 1 : 0,frontend: getFrontend()- }, async response => {+ }, response => {this._genMyHTML(bazaarType, app);bazaar._onBazaar(response, bazaarType);});@@ -822,7 +823,7 @@ type="checkbox">modeOS: false,themeDark: mode === 1 ? packageName : window.siyuan.config.appearance.themeDark,themeLight: mode === 0 ? packageName : window.siyuan.config.appearance.themeLight,- }), async (appearanceResponse) => {+ }), (appearanceResponse) => {this._genMyHTML("themes", app, false);fetchPost("/api/bazaar/getBazaarTheme", {}, response => {response.data.appearance = appearanceResponse.data;diff --git a/app/src/util/noRelyPCFunction.ts b/app/src/util/noRelyPCFunction.tsindex e2a178825f..c904e521b2 100644--- a/app/src/util/noRelyPCFunction.ts+++ b/app/src/util/noRelyPCFunction.ts@@ -19,8 +19,7 @@ export const renameTag = (labelName: string) => {title: window.siyuan.languages.rename,content: `<div class="b3-dialog__content"><input class="b3-text-field fn__block">- <div class="b3-list fn__flex-1 b3-list--background fn__none protyle-hint" style=" position: absolute;- width: calc(100% - 48px);">+ <div class="b3-list fn__flex-1 b3-list--background fn__none protyle-hint" style="position: absolute;width: calc(100% - 48px);"><img style="margin: 0 auto;display: block;width: 64px;height: 64px" src="/stage/loading-pure.svg"></div></div>