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/6894
Liang Ding4e53eb4951ed
diff --git a/app/electron/main.js b/app/electron/main.jsindex d215f629e4..91055d6280 100644--- a/app/electron/main.js+++ b/app/electron/main.js@@ -27,6 +27,7 @@ const {} = require('electron')const path = require('path')const fs = require('fs')+const net = require("net");const fetch = require('electron-fetch').defaultprocess.noAsar = trueconst appDir = path.dirname(app.getAppPath())@@ -886,7 +887,6 @@ const getKernelPort = async () => {}let tryGetPortCount = 0-const net = require("net");const getAvailablePort = (port = kernelPort) => {// https://gist.github.com/mikeal/1840641