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/issues/11569
Vanessa62c1fbfed772
diff --git a/app/src/config/image.ts b/app/src/config/image.tsindex c9653befe7..be2f9f6625 100644--- a/app/src/config/image.ts+++ b/app/src/config/image.ts@@ -133,7 +133,11 @@ export const image = {image.element.querySelectorAll(".config-assets").forEach(item => {if (type === item.getAttribute("data-type")) {item.classList.remove("fn__none");- if (!item.getAttribute("data-init")) {+ if (type === "remove") {+ fetchPost("/api/asset/getUnusedAssets", {}, response => {+ image._renderList(response.data, assetsListElement, "unrefAssets");+ });+ } else if (!item.getAttribute("data-init")) {if (type === "removeAV") {fetchPost("/api/av/getUnusedAttributeViews", {}, response => {image._renderList(response.data, avListElement, "unRefAV");