feat: implement server-wide management actions and enhance TUI dashboard

This commit is contained in:
2026-03-04 20:51:02 +00:00
parent 150f9d2990
commit ddec55871b
13 changed files with 621 additions and 52 deletions
Executable
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/env bash
set -euo pipefail
export PATH="/usr/local/go/bin:$PATH"
BIN="bin"
TAGS="-tags goolm"
LDFLAGS="-ldflags=-s -w"
mkdir -p "$BIN"
echo "==> Compilando todos los binarios en $BIN/ ..."
targets=(
"launcher:./cmd/launcher"
"agentctl:./cmd/agentctl"
"register:./cmd/register"
"dashboard:./cmd/dashboard"
)
for entry in "${targets[@]}"; do
name="${entry%%:*}"
pkg="${entry##*:}"
echo " $name"
go build $TAGS "$LDFLAGS" -o "$BIN/$name" "$pkg"
done
echo ""
echo "==> Listo. Binarios disponibles:"
ls -lh "$BIN"/