siyuan-sisyphus 0.2.1 → 0.2.3

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 CHANGED
@@ -4,9 +4,11 @@
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
+ > **Latest:** `v0.2.3` upgrades the official MCP `extension` bridge to MCP SDK v2 with automatic protocol negotiation while preserving existing commands and flags. Readable flashcards now include permission-checked `front`, `back`, and review material in `list_cards` and `get_cards` output.
10
+
11
+ > **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
12
 
11
13
  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
14
 
@@ -138,6 +140,11 @@ siyuan-sisyphus search fulltext --query "TODO" --page-size 20
138
140
  siyuan-sisyphus search fulltext --query "TODO" --page 2 --page-size 20
139
141
  siyuan-sisyphus search query-sql --stmt "SELECT id, content FROM blocks WHERE type='h' LIMIT 5"
140
142
 
143
+ # Timeline diff (keep the returned tag and fresh changeKey)
144
+ siyuan-sisyphus timeline list-nodes --scope document --document-id 20240318xyz
145
+ siyuan-sisyphus timeline create-node --name "Before revision" --scope document --document-id 20240318xyz
146
+ siyuan-sisyphus timeline compare-node --document-id 20240318xyz --tag <timeline-tag> --page-size 20
147
+
141
148
  # Friendly aliases
142
149
  siyuan-sisyphus fs replace --path "/Notebook/Doc" --old A --new B
143
150
  siyuan-sisyphus av render --av-id <attribute-view-id>