fix(tui): address review feedback

This commit is contained in:
Brooklyn Nicholson
2026-04-26 04:28:55 -05:00
parent 355e0ae960
commit 381121025e
4 changed files with 13 additions and 5 deletions

View File

@@ -356,6 +356,9 @@ def test_complete_slash_includes_tui_details_command():
def test_complete_slash_details_args():
resp_root = server.handle_request(
{"id": "0", "method": "complete.slash", "params": {"text": "/details"}}
)
resp_section = server.handle_request(
{"id": "1", "method": "complete.slash", "params": {"text": "/details t"}}
)
@@ -367,6 +370,7 @@ def test_complete_slash_details_args():
}
)
assert resp_root["result"]["replace_from"] == len("/details")
assert any(item["text"] == "thinking" for item in resp_section["result"]["items"])
assert any(item["text"] == "expanded" for item in resp_mode["result"]["items"])