feat(beads): integrate Beads Mode backend, MCP tools, and GUI support

This commit is contained in:
2026-05-06 13:48:47 -04:00
parent b1ddaa50f4
commit 2b66f3569b
17 changed files with 525 additions and 77 deletions
+19
View File
@@ -0,0 +1,19 @@
import pytest
from pathlib import Path
from src import project_manager
def test_default_project_execution_mode():
proj = project_manager.default_project()
assert "project" in proj
assert "execution_mode" in proj["project"]
assert proj["project"]["execution_mode"] == "native"
def test_load_save_execution_mode(tmp_path: Path):
proj = project_manager.default_project()
proj["project"]["execution_mode"] = "beads"
toml_path = tmp_path / "manual_slop.toml"
project_manager.save_project(proj, toml_path)
loaded_proj = project_manager.load_project(toml_path)
assert loaded_proj["project"]["execution_mode"] == "beads"