test(tui): add headless Box TUI render test suite and support box tui work shorthand

This commit is contained in:
operator
2026-10-10 11:45:05 -04:00
parent cc6a33cbca
commit 0668d257ca
3 changed files with 142 additions and 1 deletions
+2
View File
@@ -7685,6 +7685,8 @@ def main():
cmd = [sys.executable, str(BIN_DIR / "box-onboard-tui.py")] + tui_args[1:]
elif tui_args and tui_args[0] in ("fleet", "oversight"):
cmd = [sys.executable, str(BIN_DIR / "box-fleet-tui.py")] + tui_args[1:]
elif tui_args and tui_args[0] in ("chat", "fleet-status", "jobs", "logs", "ssh", "work"):
cmd = [sys.executable, str(BIN_DIR / "muse-tui.py"), "--mode", "box", "--tab", tui_args[0]] + tui_args[1:]
else:
cmd = [sys.executable, str(BIN_DIR / "muse-tui.py"), "--mode", "box"] + tui_args
res = subprocess.run(cmd)