Initial commit — SvelteKit fleet manager for T5 Plutonium servers

Ports push_scripts.sh (1497 lines of bash) to a SvelteKit + SQLite web app
that manages a fleet of T5 Plutonium servers running on Komodo. Same push
and beta workflow as the shell script, with a live SSE pipeline view, a
!rt-token-gated auth modal that hard-pauses deployments on stale tokens,
per-file audit diffs, and a Komodo-container deployment target.

- Push/beta engines port the exact filter, held-by-beta, conflict, and
  stale-backup rules from the shell script
- SQLite (better-sqlite3) replaces script_metadata.json; a one-shot
  importer moves legacy state over on first boot
- 16 vitest tests cover push add/update/skip, beta open→rollback,
  open→promote, conflict guards, sweep frozen/manual branches, and IW4M
  login/status parsing
- docker/ + komodo/stack.toml deploy as a managed container on the same
  host as the game servers, /root/zombies bind-mounted at the same path
  the shell script used
This commit is contained in:
2026-09-12 00:23:51 -04:00
commit d99711563e
67 changed files with 9415 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
<script lang="ts">
import { onMount } from 'svelte';
import { startAuthStream } from '$ui/stores/auth.js';
import { startPipelineStream } from '$ui/stores/pipeline.js';
import { startServerStream } from '$ui/stores/servers.js';
import TokenModal from '$ui/components/TokenModal.svelte';
import { page } from '$app/stores';
interface Props { children: import('svelte').Snippet }
let { children }: Props = $props();
onMount(() => {
startAuthStream();
startPipelineStream();
startServerStream();
});
</script>
<div class="shell">
<nav>
<a href="/" class:on={$page.url.pathname === '/'}>Fleet</a>
<a href="/deployments" class:on={$page.url.pathname.startsWith('/deployments')}>Deployments</a>
<a href="/betas" class:on={$page.url.pathname.startsWith('/betas')}>Betas</a>
<span class="brand">electric-cherry</span>
</nav>
<main>
{@render children()}
</main>
</div>
<TokenModal />
<style>
:global(html, body) {
margin: 0;
background: #0a0a0a;
color: #ddd;
font-family: system-ui, -apple-system, sans-serif;
min-height: 100vh;
}
:global(*) { box-sizing: border-box; }
.shell { min-height: 100vh; }
nav {
display: flex;
gap: 4px;
padding: 10px 20px;
border-bottom: 1px solid #222;
background: #0f0f0f;
align-items: center;
}
nav a {
color: #999;
text-decoration: none;
padding: 6px 10px;
border-radius: 4px;
font-size: 13px;
}
nav a:hover { color: #ddd; background: #1a1a1a; }
nav a.on { color: #ff6060; background: #1a1a1a; }
.brand {
margin-left: auto;
font-family: ui-monospace, monospace;
color: #444;
font-size: 12px;
letter-spacing: 1px;
}
main { padding: 20px; max-width: 1400px; margin: 0 auto; }
</style>