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): clear ShellCheck warnings

Rahmancdcc5de1c357
diff --git a/bin/mso b/bin/mso
index 1ce4deab..25d8f1b1 100755
--- a/bin/mso
+++ b/bin/mso
@@ -1028,7 +1028,6 @@ case "$cmd" in
if [ "$context" = "--wait" ]; then wait="--wait"; context=""; fi
[ "$wait" = "" ] || [ "$wait" = "--wait" ] || die "usage: mso $U_a2a"
jpost "/api/v1/a2a" "$(jq -n --arg target "$target" --arg objective "$objective" --arg context "$context" --arg wait "$wait" '{action:"handoff",target:$target,objective:$objective,returnImmediately:($wait != "--wait")} + (if $context == "" then {} else {context:$context} end)')" ;;
- sessions) jget "/api/v1/a2a?action=local-sessions" ;;
spawn)
source_ref="${1:?sourceSession}"; objective="${2:?objective}"; title="${3:-}"
jpost "/api/v1/a2a" "$(jq -n --arg sourceSessionRef "$source_ref" --arg objective "$objective" --arg title "$title" '{action:"local-spawn",sourceSessionRef:$sourceSessionRef,objective:$objective} + (if $title == "" then {} else {title:$title} end)')" ;;
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index ae9efb12..a3d8f75d 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -20,6 +20,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
**Fixed**
+- `cli` clear ShellCheck warnings
- `agent` require live receiver for mentions
- `agent` make restart process-safe
- `a2a` harden remote v1 delegation
diff --git a/scripts/mso-cli-agent.sh b/scripts/mso-cli-agent.sh
index 2e3ce912..9b029b7d 100755
--- a/scripts/mso-cli-agent.sh
+++ b/scripts/mso-cli-agent.sh
@@ -234,6 +234,9 @@ select_model_ref() {
echo " ✓ active model: $provider/$model"
}
+# This file is sourced by bin/mso; the public `mso model ...` dispatch passes
+# arguments even though internal onboarding callers intentionally pass none.
+# shellcheck disable=SC2120
run_model_setup() {
local sub="${1:-}" cfg provider data model active_provider active_model rc
ensure_local_cli_device; ensure_onboard_runtime; jget "/api/auth/me" >/dev/null