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: Add get asset content api
Danielf5984a98316f
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20260612192252-sgw2paw.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20260612192252-sgw2paw.syindex 1084367eaf..7f5930dea4 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20260612192252-sgw2paw.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20260612192252-sgw2paw.sy@@ -6,7 +6,7 @@"id": "20260612192252-sgw2paw","title": "Command Line Interface","type": "doc",- "updated": "20260704120000"+ "updated": "20260704130000"},"Children": [{@@ -4850,6 +4850,47 @@}]},+ {+ "ID": "20260704130000-d80a64e",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260704130000-d80a64e",+ "updated": "20260704130000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Add --get-asset to get the full indexed content of a single asset file by path (the positional argument is treated as the path, e.g. assets/report.pdf). Useful for retrieving the full text of a file found via --asset search."+ }+ ]+ },+ {+ "ID": "20260704130100-55c901d",+ "Type": "NodeCodeBlock",+ "IsFencedCodeBlock": true,+ "Properties": {+ "id": "20260704130100-55c901d",+ "updated": "20260704130100"+ },+ "Children": [+ {+ "Type": "NodeCodeBlockFenceOpenMarker",+ "Data": "```"+ },+ {+ "Type": "NodeCodeBlockFenceInfoMarker",+ "CodeBlockInfo": "YmFzaA=="+ },+ {+ "Type": "NodeCodeBlockCode",+ "Data": "siyuan search \"assets/report.pdf\" --get-asset\nsiyuan search \"assets/report.pdf\" --get-asset --format json\n"+ },+ {+ "Type": "NodeCodeBlockFenceCloseMarker",+ "Data": "```"+ }+ ]+ },{"ID": "20260618124055-f1m7l4b","Type": "NodeHeading",diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20260612191136-feqbi1x.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20260612191136-feqbi1x.syindex d184c1fbec..f3ad7ccd05 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20260612191136-feqbi1x.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20260612191136-feqbi1x.sy@@ -6,7 +6,7 @@"id": "20260612191136-feqbi1x","title": "命令行接口","type": "doc",- "updated": "20260704120000"+ "updated": "20260704130000"},"Children": [{@@ -4850,6 +4850,47 @@}]},+ {+ "ID": "20260704130000-c9ec96c",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260704130000-c9ec96c",+ "updated": "20260704130000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "加上 --get-asset 改为按路径获取单个资源文件的完整已索引内容(位置参数作为路径,如 assets/report.pdf)。适合在 --asset 搜索后取某个文件的全文。"+ }+ ]+ },+ {+ "ID": "20260704130100-5f8f8ec",+ "Type": "NodeCodeBlock",+ "IsFencedCodeBlock": true,+ "Properties": {+ "id": "20260704130100-5f8f8ec",+ "updated": "20260704130100"+ },+ "Children": [+ {+ "Type": "NodeCodeBlockFenceOpenMarker",+ "Data": "```"+ },+ {+ "Type": "NodeCodeBlockFenceInfoMarker",+ "CodeBlockInfo": "YmFzaA=="+ },+ {+ "Type": "NodeCodeBlockCode",+ "Data": "siyuan search \"assets/report.pdf\" --get-asset\nsiyuan search \"assets/report.pdf\" --get-asset --format json\n"+ },+ {+ "Type": "NodeCodeBlockFenceCloseMarker",+ "Data": "```"+ }+ ]+ },{"ID": "20260618123536-w9wrzh2","Type": "NodeHeading",diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20260612191214-ymtlxn2.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20260612191214-ymtlxn2.syindex 2ede889a4b..2eb3063a66 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20260612191214-ymtlxn2.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20260612191214-ymtlxn2.sy@@ -6,7 +6,7 @@"id": "20260612191214-ymtlxn2","title": "命令列","type": "doc",- "updated": "20260704120000"+ "updated": "20260704130000"},"Children": [{@@ -4850,6 +4850,47 @@}]},+ {+ "ID": "20260704130000-3c2a405",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260704130000-3c2a405",+ "updated": "20260704130000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "加上 --get-asset 改為按路徑取得單一資源檔案的完整已索引內容(位置參數作為路徑,如 assets/report.pdf)。適合在 --asset 搜尋後取某個檔案的全文。"+ }+ ]+ },+ {+ "ID": "20260704130100-57e80f5",+ "Type": "NodeCodeBlock",+ "IsFencedCodeBlock": true,+ "Properties": {+ "id": "20260704130100-57e80f5",+ "updated": "20260704130100"+ },+ "Children": [+ {+ "Type": "NodeCodeBlockFenceOpenMarker",+ "Data": "```"+ },+ {+ "Type": "NodeCodeBlockFenceInfoMarker",+ "CodeBlockInfo": "YmFzaA=="+ },+ {+ "Type": "NodeCodeBlockCode",+ "Data": "siyuan search \"assets/report.pdf\" --get-asset\nsiyuan search \"assets/report.pdf\" --get-asset --format json\n"+ },+ {+ "Type": "NodeCodeBlockFenceCloseMarker",+ "Data": "```"+ }+ ]+ },{"ID": "20260618123823-62idd5q","Type": "NodeHeading",diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20260612192417-fb4ueux.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20260612192417-fb4ueux.syindex be11937009..cb467924af 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20260612192417-fb4ueux.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20260612192417-fb4ueux.sy@@ -6,7 +6,7 @@"id": "20260612192417-fb4ueux","title": "コマンドラインインターフェース","type": "doc",- "updated": "20260704120000"+ "updated": "20260704130000"},"Children": [{@@ -4850,6 +4850,47 @@}]},+ {+ "ID": "20260704130000-82aecd4",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260704130000-82aecd4",+ "updated": "20260704130000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "--get-asset を付けると、パスで単一アセットファイルの全文インデックス内容を取得します(位置引数がパスとして扱われます、例: assets/report.pdf)。--asset 検索で見つけたファイルの全文を取得するのに便利です。"+ }+ ]+ },+ {+ "ID": "20260704130100-38c8c41",+ "Type": "NodeCodeBlock",+ "IsFencedCodeBlock": true,+ "Properties": {+ "id": "20260704130100-38c8c41",+ "updated": "20260704130100"+ },+ "Children": [+ {+ "Type": "NodeCodeBlockFenceOpenMarker",+ "Data": "```"+ },+ {+ "Type": "NodeCodeBlockFenceInfoMarker",+ "CodeBlockInfo": "YmFzaA=="+ },+ {+ "Type": "NodeCodeBlockCode",+ "Data": "siyuan search \"assets/report.pdf\" --get-asset\nsiyuan search \"assets/report.pdf\" --get-asset --format json\n"+ },+ {+ "Type": "NodeCodeBlockFenceCloseMarker",+ "Data": "```"+ }+ ]+ },{"ID": "20260618123956-md7yb9b","Type": "NodeHeading",