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: Support HarmonyOS NEXT system
Danielf54195c7b4f1
diff --git a/kernel/go.mod b/kernel/go.modindex 214309e8eb..016fea6153 100644--- a/kernel/go.mod+++ b/kernel/go.mod@@ -60,7 +60,7 @@ require (github.com/siyuan-note/dejavu v0.0.0-20241124021155-df73bbaf4338github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97- github.com/siyuan-note/filelock v0.0.0-20241121021809-1cf0626a7d64+ github.com/siyuan-note/filelock v0.0.0-20241202160444-1a99015900ffgithub.com/siyuan-note/httpclient v0.0.0-20241113084556-839baaab03f6github.com/siyuan-note/logging v0.0.0-20240505035402-6430d57006a2github.com/siyuan-note/riff v0.0.0-20241201090115-1c20f539f7abdiff --git a/kernel/go.sum b/kernel/go.sumindex c3c6b5b771..daf7033ab1 100644--- a/kernel/go.sum+++ b/kernel/go.sum@@ -347,8 +347,8 @@ github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/egithub.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis=github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97 h1:lM5v8BfNtbOL5jYwhCdMYBcYtr06IYBKjjSLAPMKTM8=github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97/go.mod h1:1/nGgthl89FPA7GzAcEWKl6zRRnfgyTjzLZj9bW7kuw=-github.com/siyuan-note/filelock v0.0.0-20241121021809-1cf0626a7d64 h1:w4i1AumKqsUgMcuNKw5FkJjAWK8jXVKpvW1BkAJvB+0=-github.com/siyuan-note/filelock v0.0.0-20241121021809-1cf0626a7d64/go.mod h1:QUxfb/zE/lMrpiGBV9MBT5c5NKQanGvpdBXtMwWjTD0=+github.com/siyuan-note/filelock v0.0.0-20241202160444-1a99015900ff h1:Ec6Q5dI/q2uSiFxSkbHajLQgqQQ3mFYXwZKiOSldmE4=+github.com/siyuan-note/filelock v0.0.0-20241202160444-1a99015900ff/go.mod h1:QUxfb/zE/lMrpiGBV9MBT5c5NKQanGvpdBXtMwWjTD0=github.com/siyuan-note/httpclient v0.0.0-20241113084556-839baaab03f6 h1:IzvOUPUc6YbtLgQuj3rVVIdbn1HzDOGMsTLLb9yN0Wo=github.com/siyuan-note/httpclient v0.0.0-20241113084556-839baaab03f6/go.mod h1:cMXV74/pjFOvH3zIwQW/SyH3gZw8YzTBbqt7dxof69k=github.com/siyuan-note/logging v0.0.0-20240505035402-6430d57006a2 h1:/2+tlOThVB86RxSLeW0JFw2ISUrH2ZFRg15ULGAUGAE=diff --git a/kernel/util/path.go b/kernel/util/path.goindex b8cf52d5e4..fc73895d00 100644--- a/kernel/util/path.go+++ b/kernel/util/path.go@@ -53,7 +53,7 @@ func ShortPathForBootingDisplay(p string) string {var LocalIPs []stringfunc GetLocalIPs() (ret []string) {- if ContainerAndroid == Container {+ if ContainerAndroid == Container || ContainerHarmony == Container {// Android 上用不了 net.InterfaceAddrs() https://github.com/golang/go/issues/40569,所以前面使用启动内核传入的参数 localIPsLocalIPs = append(LocalIPs, LocalHost)LocalIPs = gulu.Str.RemoveDuplicatedElem(LocalIPs)