diff --git a/siyuan/agent-harness/cli_anything/siyuan/README.md b/siyuan/agent-harness/cli_anything/siyuan/README.md index c06dcd94c..323d64471 100644 --- a/siyuan/agent-harness/cli_anything/siyuan/README.md +++ b/siyuan/agent-harness/cli_anything/siyuan/README.md @@ -1,6 +1,6 @@ # cli-anything-siyuan -A CLI harness for [SiYuan](https://github.com/siyuan-note/siyuan) (思源笔记) — +A CLI harness for [SiYuan](https://github.com/siyuan-note/siyuan) (思源笔记) — interact with your knowledge base from the terminal. ## Prerequisites @@ -89,7 +89,7 @@ Inside the REPL: ◆ cli-anything · Siyuan v1.0.0 ◇ Install: npx skills add HKUDS/CLI-Anything --skill cli-anything-siyuan -g -y ◇ Global skill: ~/.agents/skills/cli-anything-siyuan/SKILL.md - + Type help for commands, quit to exit siyuan ❯ notebook list diff --git a/siyuan/agent-harness/cli_anything/siyuan/tests/test_full_e2e.py b/siyuan/agent-harness/cli_anything/siyuan/tests/test_full_e2e.py index 5f553259b..2efee700a 100644 --- a/siyuan/agent-harness/cli_anything/siyuan/tests/test_full_e2e.py +++ b/siyuan/agent-harness/cli_anything/siyuan/tests/test_full_e2e.py @@ -71,7 +71,7 @@ class TestCLISubprocess: assert "Usage:" in result.stdout print(f"\n --help: OK ({len(result.stdout)} chars)") - def test_version_json(self, tmp_dir: Path): + def test_version_json(self, client: SiYuanClient): """--json version returns valid JSON with version string.""" result = self._run(["--json", "version"]) assert result.returncode == 0 @@ -80,7 +80,7 @@ class TestCLISubprocess: assert data["version"] print(f"\n SiYuan version: {data['version']}") - def test_status_json(self, tmp_dir: Path): + def test_status_json(self, client: SiYuanClient): """--json status returns valid JSON with connection info.""" result = self._run(["--json", "status"]) assert result.returncode == 0