siyuan-sisyphus 0.2.4 → 0.2.6

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.
Files changed (25) hide show
  1. package/README.md +3 -1
  2. package/dist/cli.cjs +143 -125
  3. package/dist/skills/siyuan-mcp/siyuan-mcp-browse-read/SKILL.md +10 -0
  4. package/dist/skills/siyuan-mcp/siyuan-mcp-create-edit/SKILL.md +6 -0
  5. package/dist/skills/siyuan-mcp/siyuan-mcp-database/SKILL.md +2 -0
  6. package/dist/skills/siyuan-mcp/siyuan-mcp-file-export/SKILL.md +6 -1
  7. package/dist/skills/siyuan-mcp/siyuan-mcp-import-migration/SKILL.md +138 -0
  8. package/dist/skills/siyuan-mcp/siyuan-mcp-import-migration/agents/openai.yaml +4 -0
  9. package/dist/skills/siyuan-mcp/siyuan-mcp-search-query/SKILL.md +4 -1
  10. package/dist/skills/siyuan-mcp/siyuan-mcp-sisyphus/SKILL.md +12 -1
  11. package/dist/skills/siyuan-mcp/siyuan-mcp-system-safety/SKILL.md +18 -0
  12. package/dist/skills/siyuan-mcp/siyuan-mcp-visual-assets/SKILL.md +63 -0
  13. package/dist/skills/siyuan-mcp/siyuan-mcp-visual-assets/agents/openai.yaml +4 -0
  14. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus/SKILL.md +12 -1
  15. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-browse-read/SKILL.md +10 -0
  16. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-create-edit/SKILL.md +6 -0
  17. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-database/SKILL.md +2 -0
  18. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-file-export/SKILL.md +6 -1
  19. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-import-migration/SKILL.md +138 -0
  20. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-import-migration/agents/openai.yaml +4 -0
  21. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-search-query/SKILL.md +4 -1
  22. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-system-cli/SKILL.md +18 -0
  23. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-visual-assets/SKILL.md +63 -0
  24. package/dist/skills/siyuan-sisyphus/siyuan-sisyphus-visual-assets/agents/openai.yaml +4 -0
  25. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
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
- > **Latest:** `v0.2.4` forwards strict mutations to the plugin-hosted HTTP coordinator. Agents may submit a short-lived hash lease starting at four hexadecimal characters, while the coordinator always compares the full SHA-256 before committing and preserves request idempotency across CLI, stdio, and HTTP.
9
+ > **Latest:** `v0.2.6` exposes the expanded guarded AV, snapshot, image-audit, image-reading, extension-diagnostic, and link-resolution workflows, and preserves mixed text/image results in JSON output. Thanks to [@LoneFireBlossom](https://github.com/LoneFireBlossom) for [PR #48](https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus/pull/48) and PRs #50–#56, [@ray24777](https://github.com/ray24777) for [PR #57](https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus/pull/57), and [@adminclaw](https://github.com/adminclaw) for [PR #58](https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus/pull/58).
10
10
 
11
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.
12
12
 
@@ -105,6 +105,8 @@ siyuan-sisyphus --version | -v Print version
105
105
  | `--json` | Emit compact single-line JSON (for scripting with `jq`, etc.) |
106
106
  | `--debug` | Include stack traces and ignored-flag warnings |
107
107
 
108
+ For mixed-content actions such as `file read-image`, human-readable mode prints the metadata summary. `--json` also preserves non-text MCP content under `content`; image payloads are base64-encoded and can be large.
109
+
108
110
  ### Paging
109
111
 
110
112
  Paginated results use the same `page` / `pageSize` contract as the MCP tools. In an interactive terminal, human-readable output shows the full current MCP page and lets you browse pages without switching to JSON: