An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessa4ca684ca8a4c
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex c070aa1dc7..c8822e6454 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -297,7 +297,7 @@ export const progressStatus = (data: IWebSocketData) => {} else {const msgElement = statusElement.querySelector(".status__msg");if (msgElement) {- clearTimeout(statusTimeout)+ clearTimeout(statusTimeout);msgElement.innerHTML = data.msg;statusTimeout = window.setTimeout(() => {msgElement.innerHTML = "";diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.tsindex dc81257eb6..8eabb2ff44 100644--- a/app/src/menus/navigation.ts+++ b/app/src/menus/navigation.ts@@ -59,7 +59,7 @@ const initMultiMenu = (selectItemElements: NodeListOf<Element>, app: App) => {click: () => {openSearchAV("", selectItemElements[0] as HTMLElement, (listItemElement) => {const avID = listItemElement.dataset.avId;- const srcs: IOperationSrcs[] = []+ const srcs: IOperationSrcs[] = [];blockIDs.forEach(id => {srcs.push({id,diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.tsindex b9f8406634..a1f5497ef2 100644--- a/app/src/protyle/render/av/blockAttr.ts+++ b/app/src/protyle/render/av/blockAttr.ts@@ -280,7 +280,7 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"]if (document.querySelector(".av__panel .b3-form__upload") && files && files.length > 0) {uploadFiles(protyle, files);}- })+ });element.addEventListener("click", (event) => {let target = event.target as HTMLElement;const blockElement = hasClosestBlock(target);@@ -302,7 +302,7 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"]} else if (type === "mAsset") {element.querySelectorAll('.custom-attr__avvalue[data-type="mAsset"]').forEach(item => {item.removeAttribute("data-active");- })+ });target.setAttribute("data-active", "true");target.focus();popTextCell(protyle, [target], "mAsset");diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex bc2307fc0e..a38108edff 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -191,7 +191,7 @@ export const pasteText = (protyle: IProtyle, textPlain: string, nodeElement: Ele} else if (isFileAnnotation(textPlain)) {textPlain = textPlain.replace(/".+">>$/, `"${range.toString()}">>`);} else {- const linkDest = protyle.lute.GetLinkDest(textPlain)+ const linkDest = protyle.lute.GetLinkDest(textPlain);if (linkDest) {textPlain = `[${range.toString()}](${linkDest})`;}@@ -448,7 +448,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEvenreturn;} else {// https://github.com/siyuan-note/siyuan/issues/8475- const linkDest = protyle.lute.GetLinkDest(textPlain)+ const linkDest = protyle.lute.GetLinkDest(textPlain);if (linkDest) {protyle.toolbar.setInlineMark(protyle, "a", "range", {type: "a",