chore: initial commit — chat-saiden web chat baseline
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# ttyd-wrapper.sh — entrypoint launched by ttyd for each browser session.
|
||||
# Ensures bt7274 cart is active, then handoff to `claude`.
|
||||
set -euo pipefail
|
||||
|
||||
# Make sure marauder + claude on PATH for non-login shells
|
||||
export PATH="/home/chi/.local/bin:/home/linuxbrew/.linuxbrew/bin:$PATH"
|
||||
|
||||
# Set the persona for this session (idempotent if already active globally)
|
||||
marauder cart use bt7274 >/dev/null 2>&1 || true
|
||||
|
||||
# Optional banner — confirms this is the right channel
|
||||
cat <<'BANNER'
|
||||
╔════════════════════════════════════════════════════════════════╗
|
||||
║ SAIDEN TACTICAL SYSTEMS — MARAUDER REMOTE BRIDGE ║
|
||||
║ Operator: BT-7274 • Channel: chat.saiden.dev ║
|
||||
║ Host: junkpile • Authenticated via CF Access ║
|
||||
║ ║
|
||||
║ Sign out: https://chat.saiden.dev/cdn-cgi/access/logout ║
|
||||
╚════════════════════════════════════════════════════════════════╝
|
||||
BANNER
|
||||
|
||||
# Hand off to the Pilot's Titan
|
||||
exec claude
|
||||
Reference in New Issue
Block a user