Skip to content

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

:sparkles: AI Agent https://github.com/siyuan-note/siyuan/issues/17797

Daniel5611cadf5f9c
diff --git a/kernel/util/skill.go b/kernel/util/skill.go
index f6fc7db485..70e4cc5541 100644
--- a/kernel/util/skill.go
+++ b/kernel/util/skill.go
@@ -421,7 +421,7 @@ func fetchBytes(rawURL string) (data []byte, contentType string, err error) {
// installFromZip 解压 zip 并安装其中的 skill
func installFromZip(data []byte) (*InstallSkillResult, error) {
- tmpRoot := filepath.Join(TempDir, "skill-install", gulu.Rand.String(7))
+ tmpRoot := filepath.Join(TempDir, "ai", "skill-install", gulu.Rand.String(7))
if err := os.MkdirAll(tmpRoot, 0755); err != nil {
return nil, err
}