Files
wibosim/server/public/admin.html
T
db9979andClaude Opus 5.5 21c5dfbc90 MCP-Schnittstelle für KI-Agenten (/mcp) mit persönlichen Zugangsschlüsseln
- Endpunkt /mcp: Streamable HTTP, JSON-RPC 2.0 (initialize, ping, tools/list,
  tools/call), Sitzungen per Mcp-Session-Id, DELETE beendet, GET 405
- 11 Lese- und 2 Handelswerkzeuge; Orders laufen über dieselbe Aktions-Pipeline
  wie WebSocket und REST (Game.placeOrder inkl. Dublettenschutz, Wartung,
  Handelszeiten, Margin, Steuer, Aufsicht)
- Schlüssel wbs_… im Profil erzeugen (Nur lesen / Lesen + Handeln), nur Hash
  gespeichert, Klartext einmalig, höchstens 5, widerrufbar; Einrichtungsbefehl
  für Claude Code und JSON-Schnipsel mit Kopierknopf
- Admin: Einstellungen (an/aus, Handeln, Limits, Origins), Schlüsselübersicht
  mit Widerruf, Audit für Schlüssel und jede MCP-Order
- Bot-Erkennung: MCP getrennt gezählt, ohne Menschen-Bestätigung;
  Kennzeichen „Agent“ in Rangliste und Liga
- Sicherheit: Limits je Schlüssel und IP, Origin-Prüfung gegen DNS-Rebinding,
  CORS nur für freigegebene Origins, keine Stacktraces
- Doku in docs/API.md und README, Tests in mcp.test.js

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUhQVoPUusUzxgxLWkK
2026-12-04 15:25:58 +00:00

48 lines
2.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#0b0f17">
<title>WiBoSim – Admin</title>
<script src="js/theme-init.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<script type="module" src="js/admin.js"></script>
</head>
<body class="admin">
<a class="skip" href="#adminMain">Zum Inhalt springen</a>
<header class="top">
<div class="logo">Wi<span>Bo</span>Sim <span class="muted small">Admin</span></div>
<div class="phase" id="aPhase"><span class="phase-dot" aria-hidden="true"></span><span class="phase-txt"><b id="aPhaseLbl">–</b><small id="aPhaseSub"></small></span></div>
<div class="spacer"></div>
<span class="muted small" id="aWho"></span>
<button type="button" class="icon-btn" id="themeBtn" data-act="theme" aria-label="Farbschema: System – zum Wechseln klicken" title="Farbschema: System"><span class="theme-ic" aria-hidden="true"></span></button>
<a class="btn ghost" href="/">Zum Spiel</a>
<button type="button" class="btn ghost" id="aLogout">Abmelden</button>
</header>
<nav class="mainnav" id="aNav" aria-label="Admin-Bereiche">
<button type="button" data-sec="overview" aria-current="page">Übersicht</button>
<button type="button" data-sec="settings">Einstellungen</button>
<button type="button" data-sec="players">Spieler</button>
<button type="button" data-sec="control">Spielsteuerung</button>
<button type="button" data-sec="moderation">Moderation &amp; Aufsicht</button>
<button type="button" data-sec="bots">Bot-Erkennung &amp; Agenten <span class="badge-s" id="botCount" hidden></span></button>
<button type="button" data-sec="bugs">Fehlerberichte <span class="badge-s" id="bugCount" hidden></span></button>
<button type="button" data-sec="log">Protokoll &amp; Sicherungen</button>
</nav>
<main class="admin-wrap" id="adminMain" tabindex="-1">
<div id="aGate" class="card" hidden><div class="body" id="aGateBody"></div></div>
<section id="sec-overview" class="asec"></section>
<section id="sec-settings" class="asec" hidden></section>
<section id="sec-players" class="asec" hidden></section>
<section id="sec-control" class="asec" hidden></section>
<section id="sec-moderation" class="asec" hidden></section>
<section id="sec-bots" class="asec" hidden></section>
<section id="sec-bugs" class="asec" hidden></section>
<section id="sec-log" class="asec" hidden></section>
</main>
<div class="toasts" id="toasts" aria-live="polite"></div>
</body>
</html>