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): cover federation status and PAT creation

Rahmanb5f2f802a547
diff --git a/bin/mso b/bin/mso
index fd09fb56..29598193 100755
--- a/bin/mso
+++ b/bin/mso
@@ -75,6 +75,7 @@
# memory * Assistant memories: list | add | rm
# config * Advanced raw AI config compatibility surface
# prefs * UI preferences: show | set
+# federation * Batonly capability federation worker: status
# models * Configure AI providers/auth; inspect model catalog
# skills * Discover host skills + curated market: available/install/remove
# changelog What shipped, newest first (same text Settings → About shows)
diff --git a/docs/CLI.md b/docs/CLI.md
index 330a515a..bc0c4ef5 100644
--- a/docs/CLI.md
+++ b/docs/CLI.md
@@ -115,6 +115,7 @@ Commands:
memory * Assistant memories: list | add | rm
config * Advanced raw AI config compatibility surface
prefs * UI preferences: show | set
+ federation * Batonly capability federation worker: status
models * Configure AI providers/auth; inspect model catalog
skills * Discover host skills + curated market: available/install/remove
changelog What shipped, newest first (same text Settings → About shows)
diff --git a/scripts/cli/commands-state.sh b/scripts/cli/commands-state.sh
index ed8c22fa..33658fe0 100755
--- a/scripts/cli/commands-state.sh
+++ b/scripts/cli/commands-state.sh
@@ -179,6 +179,11 @@ case "$cmd" in
*) die "usage: mso $U_memory" ;;
esac ;;
config) mso_config_command "$U_config" "$@" ;;
+ federation)
+ case "${1:-status}" in
+ status) jget "/api/v1/federation/status" ;;
+ *) die "usage: mso ${U_federation}" ;;
+ esac ;;
prefs)
case "${1:-show}" in
show) jget "/api/prefs" ;;
diff --git a/scripts/cli/commands.sh b/scripts/cli/commands.sh
index 1d313e53..97df9097 100755
--- a/scripts/cli/commands.sh
+++ b/scripts/cli/commands.sh
@@ -46,7 +46,7 @@ U_org="org flow-custom-nodes|flow-nodes-move|flow-update|flow-replace|flow-node-
U_a2a="a2a list|state|sessions|spawn <source-session> <objective> [title]|inbox <session>|discover <url>|add <url> [alias]|rm <target>|send <target> <message> [--wait]|stream <target> <message>|task <target> <taskId> [history]|cancel <target> <taskId>|handoff <target> <objective> [context] [--wait]|local sessions|local handoff <session> <objective>|local spawn <sourceSession> <objective> [title]|local inbox <session>|auth list [target]|auth add <target> [label] [bearer|api-key|oauth2]|auth use <target> <credentialId|none>|auth rm <credentialId>|inbound list|inbound create [label] [read|write|exec]|inbound rm <tokenId>"
U_memory="memory list|add <text>|rm <id>"
U_config="config show|set <json>|key <provider>|style <off|caveman|ponytail>|rm <provider>"
-U_prefs="prefs show|set <json>"
+U_prefs="prefs show|set <json>"\nU_federation="federation status"
U_models="models [status|list|add|auth <provider>|rm <provider>|catalog [provider]|test]"
U_skills="skills list|read <id>|search <query…>|available|info <id>|install <id…> [-y] [--force]|remove <id…> [-y]|store list|store install|remove <id> <revision>"
U_mcp="mcp project <JSON>|list|pat <label> [read|write|exec] [ttlDays]|activity [n]|service-token --label <label> --client-id <id> --scope <read|write|exec> --tools <name,name> [--constraints-json <json>]|revoke <id>|revoke all"
@@ -95,7 +95,7 @@ mso_cli_main() {
mso_cmd_host "$cmd" "$@" ;;
agent|chat|model|setup|onboard|provider|providers|integrations|flow|workflow|gateway|web|camoufox|apps|mapp|term)
mso_cmd_runtime "$cmd" "$@" ;;
- ai|cockpit|threads|agent-sessions|agents|org|a2a|memory|config|prefs|models|skills|changelog|stock)
+ ai|cockpit|threads|agent-sessions|agents|org|a2a|memory|config|prefs|federation|models|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)
mso_cmd_admin "$cmd" "$@" ;;