Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/14394#issuecomment-4747687317

Danieldaa056e749a9
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260617123409-cmygnqa.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260617123409-cmygnqa.sy
index 0e3062c4f7..14892ae338 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260617123409-cmygnqa.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260617123409-cmygnqa.sy
@@ -895,7 +895,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . 100))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" 100}"
},
{
"Type": "NodeText",
@@ -930,7 +930,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{divf (countif .values "gt" 0) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"gt\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -965,7 +965,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (eq . 0))) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"eq\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -1000,7 +1000,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . .avg))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" .avg}"
},
{
"Type": "NodeText",
@@ -1035,7 +1035,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (lt . 60))) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"lt\" 60) (len .values)}"
},
{
"Type": "NodeText",
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260617122823-56cr2zv.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260617122823-56cr2zv.sy
index 5d8083a3ae..ee835eea1a 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260617122823-56cr2zv.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260617122823-56cr2zv.sy
@@ -895,7 +895,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . 100))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" 100}"
},
{
"Type": "NodeText",
@@ -930,7 +930,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{divf (countif .values "gt" 0) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"gt\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -965,7 +965,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (eq . 0))) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"eq\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -1000,7 +1000,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . .avg))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" .avg}"
},
{
"Type": "NodeText",
@@ -1035,91 +1035,21 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (lt . 60))) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"lt\" 60) (len .values)}"
},
{
"Type": "NodeText",
"Data": "​"
}
]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "以「待办」开头的行数"
- }
- ]
- },
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "​"
- },
- {
- "Type": "NodeTextMark",
- "TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .strings (hasPrefix . \"待办\"))}}"
- },
- {
- "Type": "NodeText",
- "Data": "​"
- }
- ]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "包含某关键词的行数"
- }
- ]
- },
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "​"
- },
- {
- "Type": "NodeTextMark",
- "TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .strings (contains . \"紧急\"))}}"
- },
- {
- "Type": "NodeText",
- "Data": "​"
- }
- ]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
+ }
+ ]
+ },
+ {
+ "Type": "NodeTableRow",
+ "Data": "tr",
+ "Children": [
+ {
"Type": "NodeTableCell",
"Data": "td",
"Children": [
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260617124140-ttdzn7n.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260617124140-ttdzn7n.sy
index 5b36880e29..2848a3875c 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260617124140-ttdzn7n.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260617124140-ttdzn7n.sy
@@ -253,7 +253,7 @@
"Children": [
{
"Type": "NodeBlockquoteMarker",
- "Data": "\u003e"
+ "Data": ">"
},
{
"ID": "20260617124141-rgedyx5",
@@ -701,7 +701,7 @@
"Children": [
{
"Type": "NodeBlockquoteMarker",
- "Data": "\u003e"
+ "Data": ">"
},
{
"ID": "20260617124141-45mapoo",
@@ -895,7 +895,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . 100))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" 100}"
},
{
"Type": "NodeText",
@@ -930,7 +930,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{divf (countif .values "gt" 0) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"gt\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -965,7 +965,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (eq . 0))) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"eq\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -1000,7 +1000,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . .avg))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" .avg}"
},
{
"Type": "NodeText",
@@ -1035,77 +1035,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (lt . 60))) (len .values)}}"
- },
- {
- "Type": "NodeText",
- "Data": "​"
- }
- ]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "以「待辦」開頭的行數"
- }
- ]
- },
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "​"
- },
- {
- "Type": "NodeTextMark",
- "TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .strings (hasPrefix . \"待辦\"))}}"
- },
- {
- "Type": "NodeText",
- "Data": "​"
- }
- ]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "包含某關鍵字的行數"
- }
- ]
- },
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "​"
- },
- {
- "Type": "NodeTextMark",
- "TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .strings (contains . \"緊急\"))}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"lt\" 60) (len .values)}"
},
{
"Type": "NodeText",
diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260617123701-ju7eee5.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260617123701-ju7eee5.sy
index 776d0781cd..a6b580c005 100644
--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260617123701-ju7eee5.sy
+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260617123701-ju7eee5.sy
@@ -253,7 +253,7 @@
"Children": [
{
"Type": "NodeBlockquoteMarker",
- "Data": "\u003e"
+ "Data": ">"
},
{
"ID": "20260617123957-5ddn11u",
@@ -701,7 +701,7 @@
"Children": [
{
"Type": "NodeBlockquoteMarker",
- "Data": "\u003e"
+ "Data": ">"
},
{
"ID": "20260617123957-cl8rwey",
@@ -895,7 +895,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . 100))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" 100}"
},
{
"Type": "NodeText",
@@ -930,7 +930,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{divf (countif .values "gt" 0) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"gt\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -965,7 +965,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (eq . 0))) (len .values)}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"eq\" 0) (len .values)}"
},
{
"Type": "NodeText",
@@ -1000,7 +1000,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .values (gt . .avg))}}"
+ "TextMarkTextContent": ".action{countif .values \"gt\" .avg}"
},
{
"Type": "NodeText",
@@ -1035,77 +1035,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "code",
- "TextMarkTextContent": ".action{div (len (filter .values (lt . 60))) (len .values)}}"
- },
- {
- "Type": "NodeText",
- "Data": "​"
- }
- ]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "「タスク」で始まる行数"
- }
- ]
- },
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "​"
- },
- {
- "Type": "NodeTextMark",
- "TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .strings (hasPrefix . \"タスク\"))}}"
- },
- {
- "Type": "NodeText",
- "Data": "​"
- }
- ]
- }
- ]
- },
- {
- "Type": "NodeTableRow",
- "Data": "tr",
- "Children": [
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "キーワードを含む行数"
- }
- ]
- },
- {
- "Type": "NodeTableCell",
- "Data": "td",
- "Children": [
- {
- "Type": "NodeText",
- "Data": "​"
- },
- {
- "Type": "NodeTextMark",
- "TextMarkType": "code",
- "TextMarkTextContent": ".action{len (filter .strings (contains . \"緊急\"))}}"
+ "TextMarkTextContent": ".action{divf (countif .values \"lt\" 60) (len .values)}"
},
{
"Type": "NodeText",