feat: Add companion agent one-click deployment + fix frontend TS errors
All checks were successful
Build Companion Agent / build (push) Successful in 30s
Test Asgard Runner / test (push) Successful in 3s

Go deployment orchestrator with platform-specific SteamCMD install,
Rust server download, server.cfg generation, and service registration.
Wire deploy command subscription in daemon, make GameServerPath optional,
add InstallDir config with OS-aware defaults. Fix unused imports and
WebSocket subscribe API in ServerView.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-02-21 14:49:48 -05:00
parent b94717d51b
commit 358adde496
7 changed files with 628 additions and 20 deletions

View File

@@ -17,8 +17,6 @@ import {
Rocket,
AlertTriangle,
Check,
ClipboardCopy,
ChevronRight,
} from 'lucide-vue-next'
import type { DeploymentConfig, DeploymentStatus } from '@/types'
import { useWebSocket } from '@/composables/useWebSocket'
@@ -194,9 +192,9 @@ onMounted(async () => {
loadFormFromConfig()
const ws = useWebSocket()
ws.on('event', (data: any) => {
if (data.event === 'deploy_status') {
server.updateDeploymentStatus(data.data as DeploymentStatus)
ws.subscribe((msg) => {
if (msg.type === 'event' && msg.event === 'deploy_status') {
server.updateDeploymentStatus(msg.data as DeploymentStatus)
}
})
})