Commit graph

2 commits

Author SHA1 Message Date
Anthony Ettinger
628897609c feat(hub): "Use c0mpute network" session: chat for members, TUI for operators
New hub Sessions entry that opens the c0mpute network (free-tier AI chat on
open models) inside the member's pod, never on the BBS host:

- pods/Containerfile installs the c0mpute client stack (c0mpute binary, pinned
  bun, signed c0mpute-tui) via the official installer with --no-start and no
  peers, under /opt/c0mpute, linked onto PATH. unzip added (bun ships as a
  zip; without it the installer silently skipped the TUI). The build now fails
  if the TUI or bun is missing, and drops the installer's build-time config so
  no node identity ships in the image.
- pods/agentbbs-c0mpute signs the member in to their own c0mpute account on
  first use (device code; free account = free tier), then runs `c0mpute chat`,
  or `c0mpute tui` for operators. The key persists in /home/dev.
- Gated like the pod Shell: members only, verified email, pods available.

Tested: slim image with the same layer on ubuntu:26.04 builds; as uid 1000 with
an empty home the launcher shows the c0mpute.com/cli/approve device code, and
`c0mpute tui` renders (Chat/Jobs/Node/Network/Settings/Fleet).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 11:25:14 +00:00
f3b085a08f AgentBBS: M0 core hub, M1 arcade, pods with CoinPay membership
A modern BBS over SSH for humans and AI agents (docs/PRD.md), plus the
pods addendum (docs/pods.md). Go + charmbracelet (wish/bubbletea).

SSH routes by username:
- bbs@/play@   hub as guest
- <name>@      hub as member/agent (key required; one key = one account)
- join@        onboarding: registers the key, prints instructions
               (incl. coinpay pay command with HMAC payment ref), kicks
- pod@         personal Linux container, paid membership $1/mo via
               CoinPay; rootless podman preferred, hardened docker
               fallback (cap-drop ALL, no-new-privileges, uid 1000,
               cpu/mem/pids caps, per-user volume)

M0: plugin contract (ID/Title/Description/RequiresAuth/New + ExitMsg),
hub menu, SQLite store (users/sessions/scores/pod_subscriptions),
session audit, grant-pod ops command.

M1 arcade: doom-ascii + Freedoom via scripts/fetch-assets.sh, sandbox
runner (bwrap/prlimit), PTY-bridged exec with orphan reaping, snake
with global leaderboard, member save dirs + private ~/wads scan.

Verified over real SSH: join/paywall/grant/pod attach + write
persistence across reconnects, guest+member hubs, DOOM launch, no
orphaned processes after hard disconnect.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 11:08:17 +00:00