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/16774
Vanessa4c22357a804a
diff --git a/app/package.json b/app/package.jsonindex 2d51f17dc7..531919b8d9 100644--- a/app/package.json+++ b/app/package.json@@ -4,7 +4,7 @@"description": "Refactor your thinking","homepage": "https://b3log.org/siyuan","main": "./electron/main.js",- "packageManager": "[email protected]",+ "packageManager": "[email protected]","scripts": {"lint": "eslint . --fix --cache","dev": "webpack --mode development",diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex 02b140b818..4b951e42d9 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -1492,7 +1492,7 @@ export class Gutter {hideElements(["gutter"], protyle);}}).element);- } else if (type === "NodeCodeBlock" && !protyle.disabled && !nodeElement.getAttribute("data-subtype")) {+ } else if (type === "NodeCodeBlock" && !nodeElement.getAttribute("data-subtype")) {window.siyuan.menus.menu.append(new MenuItem({id: "separator_code", type: "separator"}).element);const linewrap = nodeElement.getAttribute("linewrap");const ligatures = nodeElement.getAttribute("ligatures");@@ -1506,6 +1506,7 @@ export class Gutter {submenu: [{id: "md31",iconHTML: "",+ ignore: protyle.disabled,label: `<div class="fn__flex" style="margin-bottom: 4px"><span>${window.siyuan.languages.md31}</span><span class="fn__space fn__flex-1"></span><input type="checkbox" class="b3-switch fn__flex-center"${linewrap === "true" ? " checked" : ((window.siyuan.config.editor.codeLineWrap && linewrap !== "false") ? " checked" : "")}></div>`,bind(element) {@@ -1527,6 +1528,7 @@ export class Gutter {}, {id: "md2",iconHTML: "",+ ignore: protyle.disabled,label: `<div class="fn__flex" style="margin-bottom: 4px"><span>${window.siyuan.languages.md2}</span><span class="fn__space fn__flex-1"></span><input type="checkbox" class="b3-switch fn__flex-center"${ligatures === "true" ? " checked" : ((window.siyuan.config.editor.codeLigatures && ligatures !== "false") ? " checked" : "")}></div>`,bind(element) {@@ -1548,6 +1550,7 @@ export class Gutter {}, {id: "md27",iconHTML: "",+ ignore: protyle.disabled,label: `<div class="fn__flex" style="margin-bottom: 4px"><span>${window.siyuan.languages.md27}</span><span class="fn__space fn__flex-1"></span><input type="checkbox" class="b3-switch fn__flex-center"${linenumber === "true" ? " checked" : ((window.siyuan.config.editor.codeSyntaxHighlightLineNum && linenumber !== "false") ? " checked" : "")}></div>`,bind(element) {