Skip to content

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

:sparkles: Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674

Daniel6674933fa2d0
diff --git a/kernel/cli/cmd/block.go b/kernel/cli/cmd/block.go
index 8d24df61dc..2f096f0260 100644
--- a/kernel/cli/cmd/block.go
+++ b/kernel/cli/cmd/block.go
@@ -245,7 +245,7 @@ var blockPrependCmd = &cobra.Command{
dom := markdownToBlockDOM(data)
transactions := []*model.Transaction{{
DoOperations: []*model.Operation{{
- Action: "prepend",
+ Action: "prependInsert",
Data: dom,
ParentID: parentID,
}},