Private
Public Access
0
0

feat(palette): define 11 core commands in commands.py

This commit is contained in:
2026-06-02 21:44:31 -04:00
parent 63b67be5b1
commit 57d0329951
2 changed files with 97 additions and 0 deletions
+9
View File
@@ -43,3 +43,12 @@ def test_fuzzy_match_score_higher_for_exact_prefix():
]
results = fuzzy_match("fin", candidates, top_n=10)
assert results[0].command.id == "a"
def test_commands_registry_has_core_commands():
from src.commands import registry
all_ids = {c.id for c in registry.all()}
assert "reset_session" in all_ids
assert "clear_discussion" in all_ids
assert "trigger_hot_reload" in all_ids
assert "show_documentation" in all_ids