Remove deprecated MCP and gateway aliases

This commit is contained in:
HumbleTurtle
2026-05-06 14:46:08 -03:00
parent 106a0e131a
commit 0798be486c
7 changed files with 468 additions and 177 deletions
+6 -2
View File
@@ -33,8 +33,12 @@ def run():
assert mod.handle_gateway(["vault", "rotate-secret", "--kind", "chat"]) == 0
assert calls[-1] == ("gateway", ["vault", "rotate-secret", "--kind", "chat"])
assert mod.handle_gateway(["vault-setup", "list"]) == 0
assert calls[-1] == ("gateway", ["vault-setup", "list"])
try:
mod.handle_gateway(["vault-setup", "list"])
except RuntimeError as exc:
assert "unknown gateway command" in str(exc)
else:
raise AssertionError("deprecated gateway vault-setup alias must not route")
assert mod.handle_gateway(["terminal", "list"]) == 0
assert calls[-1] == ("gateway", ["terminal", "list"])