Feature: dynamic command discovery for JSON-RPC and enhanced testing
Some checks failed
Smoke tests / Build and smoke test (push) Failing after 1m2s

This commit is contained in:
AI Agent
2026-03-19 15:22:39 -06:00
parent 3baa0091f9
commit f183daa16c
4 changed files with 47 additions and 6 deletions

View File

@@ -126,12 +126,7 @@ async fn handle_request(
}
},
"list_commands" => {
json!([
"look", "go", "north", "south", "east", "west", "up", "down",
"say", "who", "take", "drop", "inventory", "equip", "use",
"examine", "talk", "attack", "defend", "flee", "cast",
"spells", "skills", "guild", "stats", "help"
])
json!(commands::get_command_list())
},
"execute" => {
if let Some(pid) = *current_player_id {