Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix(cli): include passwd in command discovery

Codexe75ac9b87657
diff --git a/scripts/cli/commands-admin.sh b/scripts/cli/commands-admin.sh
index 182e2b75..eff275b3 100755
--- a/scripts/cli/commands-admin.sh
+++ b/scripts/cli/commands-admin.sh
@@ -5,6 +5,7 @@
mso_cmd_admin() {
local cmd="$1"; shift || true
case "$cmd" in
+ passwd) source "$ROOT/scripts/cli/passwd.sh"; mso_passwd "$ROOT" "$@" ;;
reset|uninstall) exec node "$ROOT/scripts/mso-maintenance.mjs" "$cmd" "$@" ;;
# ── devices (local file, works even when the service is down) ────────────
# Both shapes work: `mso devices` reads as a noun, `mso device list` matches the
diff --git a/scripts/cli/commands.sh b/scripts/cli/commands.sh
index 1ed429ef..7bf88519 100755
--- a/scripts/cli/commands.sh
+++ b/scripts/cli/commands.sh
@@ -108,7 +108,7 @@ mso_cli_main() {
mso_cmd_runtime "$cmd" "$@" ;;
ai|cockpit|threads|agent-sessions|agent-profiles|agents|org|a2a|memory|memory-graph|agent-vault|config|prefs|federation|models|jev|skills|changelog|stock)
mso_cmd_state "$cmd" "$@" ;;
- devices|device|approve|revoke|oauth|mcp|audit|whoami|login|logout|service|build|deploy|update|reset|uninstall|crud|api|completion)
+ devices|device|approve|revoke|oauth|mcp|audit|whoami|login|logout|passwd|service|build|deploy|update|reset|uninstall|crud|api|completion)
mso_cmd_admin "$cmd" "$@" ;;
help|-h|--help) usage; exit 0 ;;
*) mso_cli_unknown "$cmd" ;;