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/5189
Liang Ding3e8f1bf0e139
diff --git a/kernel/conf/filetree.go b/kernel/conf/filetree.goindex 80435791a7..1004430ef1 100644--- a/kernel/conf/filetree.go+++ b/kernel/conf/filetree.go@@ -29,6 +29,7 @@ type FileTree struct {MaxOpenTabCount int `json:"maxOpenTabCount"` // 最大打开页签数量AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档RemoveDocWithoutConfirm bool `json:"removeDocWithoutConfirm"` // 删除文档时是否不需要确认+ CloseTabsOnStart bool `json:"closeTabsOnStart"` // 启动时关闭所有页签Sort int `json:"sort"` // 排序方式}@@ -42,5 +43,6 @@ func NewFileTree() *FileTree {MaxListCount: 512,MaxOpenTabCount: 8,AllowCreateDeeper: false,+ CloseTabsOnStart: false,}}