Holesail Manager Within Bot
Release rolling / release (push) Successful in 22m28s

This commit is contained in:
2026-08-18 11:12:36 -04:00
parent 6969a71091
commit 74f15921cb
12 changed files with 1523 additions and 25 deletions
@@ -29,7 +29,7 @@ Use when the user asks about **Holesail** in this repo: exposing TCP/UDP through
## Managed vs single-tunnel mode
- **Managed (default)** — **`BARE_OS_HOLESAIL_MANAGED=1`**. Operator CLI: **`holesail list`**, **`add`**, **`remove`**, **`start`**, **`stop`**, **`restart`**, **`enable`**, **`disable`**, **`path`**, **`help`**.
- **Managed (default)** — **`BARE_OS_HOLESAIL_MANAGED=1`**. Operator CLI: **`holesail list`**, **`status`**, **`show`**, **`add`**, **`edit`**, **`remove`**, **`start`**, **`stop`**, **`restart`**, **`enable`**, **`disable`**, **`path`**, **`help`**. Discord **`/holesail`** is the same surface (HUD, modals, **`bare-holesail`** unit start/stop/restart/logs).
- **Single tunnel** — **`BARE_OS_HOLESAIL_MANAGED=0`**, then exactly one of **`BARE_OS_HOLESAIL_SERVER=1`** or **`BARE_OS_HOLESAIL_CLIENT=1`**, and in client mode **`BARE_OS_HOLESAIL_KEY=…`**. Optional: **`BARE_OS_HOLESAIL_SECURE`**, **`PORT`**, **`HOST`**, **`UDP`**, **`LOG`**.
## Early booter (“kernel-path”) instance
@@ -41,7 +41,9 @@ Separate from initd: enable with **`BARE_OS_HOLESAIL_KERNEL=1`** and the **`BARE
From **`holesail-cli.js`** help text:
- **`holesail add ID --server|--client`** with optional **`--key`**, bare **`hs://…`** token (no **`--key`** prefix), **`--port`**, **`--host`**, **`--udp`**, `**--secure` / `--no-secure**`, **`--log`**.
- **`holesail show ID`**, **`holesail status`**, **`holesail edit ID`** (`--port` `--host` `--clear-host` `--udp`/`--no-udp` `--secure`/`--no-secure` `--key`).
- **`holesail remove ID`**, `**start|stop|restart ID**`, `**enable|disable ID`**.
- Discord **`/holesail`** (stock catalog): list HUD, add/edit modals, connection start/stop/enable/disable/remove, **`/holesail service`** for **`systemctl … bare-holesail`**. **show** never prints seed.
Managed **`bare-holesail`** starts after **`kernel-logger`** and **`bare-os-www`** by default. Logs: **`/var/log/bare-os/holesail.log`**. Example unit drop-in: **`/etc/bare-os/units/bare-holesail.unit.example`**.