feat(hub): "Use c0mpute network" session: chat for members, TUI for operators (#183)

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>
This commit is contained in:
Anthony Ettinger 2026-11-30 03:25:32 -08:00 • committed by GitHub
parent 52f8118ee5
commit e8ac55e27a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 104 additions and 1 deletions

View file

@ -28,6 +28,14 @@ the host OS*.
1), pids-limit 256, idle SSH timeout from the server.
- **Identity:** the SSH key fingerprint is the account; `pod@` looks the key up
and refuses unregistered keys with a pointer to `join@`.
- **c0mpute network:** the pod image ships the `c0mpute` client and
`c0mpute tui` (client only, no worker). The hub's **Use c0mpute network**
entry runs `/usr/local/bin/agentbbs-c0mpute` in the member's pod: on first use
it signs them in to their own c0mpute account (device code, approved on
c0mpute.com; a free account chats on the free tier), then opens
`c0mpute chat`. Operators (`AGENTBBS_ADMINS`) get `c0mpute tui` instead
(chat, jobs, network, settings). The sign-in key lives in the member's
`/home/dev`, so it is a one-time step, and nothing runs on the BBS host.
## Membership & CoinPay