Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/15485

Vanessaff29ab920bbd
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 6e9670e2dd..36ff5e66b5 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -1,6 +1,6 @@
import {confirmDialog} from "../dialog/confirmDialog";
import {Plugin} from "./index";
-import {showMessage} from "../dialog/message";
+import {hideMessage, showMessage} from "../dialog/message";
import {Dialog} from "../dialog";
import {fetchGet, fetchPost, fetchSyncPost} from "../util/fetch";
import {getBackend, getFrontend} from "../util/functions";
@@ -217,6 +217,7 @@ export const API = {
confirm: confirmDialog,
Constants,
showMessage,
+ hideMessage,
fetchPost,
fetchSyncPost,
fetchGet,