siyuan-sisyphus 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/dist/cli.cjs +145 -95
- package/dist/skills/siyuan-mcp/siyuan-mcp-sisyphus/SKILL.md +2 -1
- package/dist/skills/siyuan-mcp/siyuan-mcp-timeline/SKILL.md +47 -0
- package/dist/skills/siyuan-mcp/siyuan-mcp-timeline/agents/openai.yaml +4 -0
- package/dist/skills/siyuan-sisyphus/siyuan-sisyphus/SKILL.md +2 -1
- package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-timeline/SKILL.md +47 -0
- package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-timeline/agents/openai.yaml +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
> ⚠️ **Prerequisite: This CLI requires the `siyuan-plugins-mcp-sisyphus` plugin from this repo.** Install and enable the plugin in SiYuan first, then open the plugin settings panel and configure permissions before running CLI tool commands. The CLI now checks this requirement and will fail fast if the plugin is missing or not initialized.
|
|
6
6
|
|
|
7
|
-
Direct command-line control for [SiYuan Note](https://b3log.org/siyuan). Think of it like `obsidian-cli` but for SiYuan — every MCP tool (fs, block, document, notebook, av, search, tag, file, system, flashcard, extension, mascot, feedback) is exposed as a subcommand you can call directly from a shell.
|
|
7
|
+
Direct command-line control for [SiYuan Note](https://b3log.org/siyuan). Think of it like `obsidian-cli` but for SiYuan — every MCP tool (fs, block, document, notebook, av, search, tag, file, timeline, system, flashcard, extension, mascot, feedback) is exposed as a subcommand you can call directly from a shell.
|
|
8
8
|
|
|
9
|
-
> **For AI models and coding agents:** before doing any SiYuan work with this CLI, run `siyuan-sisyphus skill install` first. The bundled skills provide the task-specific operating rules for safe search, reading, editing, export, database, tag, flashcard, and system workflows.
|
|
9
|
+
> **For AI models and coding agents:** before doing any SiYuan work with this CLI, run `siyuan-sisyphus skill install` first. The bundled skills provide the task-specific operating rules for safe search, reading, editing, export, database, tag, flashcard, timeline, and system workflows.
|
|
10
10
|
|
|
11
11
|
The published npm package is `siyuan-sisyphus`. It installs the primary command `siyuan-sisyphus`, and also provides the shorter alias `sisyphus` to avoid colliding with SiYuan's official CLI.
|
|
12
12
|
|
|
@@ -138,6 +138,11 @@ siyuan-sisyphus search fulltext --query "TODO" --page-size 20
|
|
|
138
138
|
siyuan-sisyphus search fulltext --query "TODO" --page 2 --page-size 20
|
|
139
139
|
siyuan-sisyphus search query-sql --stmt "SELECT id, content FROM blocks WHERE type='h' LIMIT 5"
|
|
140
140
|
|
|
141
|
+
# Timeline diff (keep the returned tag and fresh changeKey)
|
|
142
|
+
siyuan-sisyphus timeline list-nodes --scope document --document-id 20240318xyz
|
|
143
|
+
siyuan-sisyphus timeline create-node --name "Before revision" --scope document --document-id 20240318xyz
|
|
144
|
+
siyuan-sisyphus timeline compare-node --document-id 20240318xyz --tag <timeline-tag> --page-size 20
|
|
145
|
+
|
|
141
146
|
# Friendly aliases
|
|
142
147
|
siyuan-sisyphus fs replace --path "/Notebook/Doc" --old A --new B
|
|
143
148
|
siyuan-sisyphus av render --av-id <attribute-view-id>
|