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
@@ -5,7 +5,7 @@
"synopsis": [
"discord-bot [--env PATH] [--token TOKEN] [--guild ID] [--check] [--debug] [--message-content] [--login-timeout MS]"
],
"description": "Bare OS Discord bot via ctx.bare.discordJS. Commands run as the unlocked session user (not guest). /r requires cmd and is a non-interactive shell (cwd, history, autocomplete). /upload attaches a file and wget-saves it into the /r cwd or a given path. /hdms manages extra Hyperdrives (list, create, add, invite, pair, health) via ctx.runHdms. /plugins loads JSON or JS from ~/.discord/plugins (see developer-guide ch.21). Also /settings, /files, /panel, /edit, /create, /bare, /sys, /svc, /fs, /net, /man, /say, /journal, /ping. Embeds paginate when large and expire after 2 minutes idle. Token from --token, DISCORD_TOKEN, or ~/.discord/.env. DISCORD_ID_WHITELIST restricts who may use slash commands and message components. The initd unit bare-os-discord is listed by systemctl only when ~/.discord/.env exists.",
"description": "Bare OS Discord bot via ctx.bare.discordJS. Commands run as the unlocked session user (not guest). /r requires cmd and is a non-interactive shell (cwd, history, autocomplete). /upload attaches a file and wget-saves it into the /r cwd or a given path. /hdms manages extra Hyperdrives (list, create, add, invite, pair, health) via ctx.runHdms. /holesail manages persisted Holesail tunnels and the bare-holesail unit (list, add, edit, start/stop, enable/disable, service, url) via ctx.bareOsRunHolesailCli; show never prints seed material. /plugins loads JSON or JS from ~/.discord/plugins (see developer-guide ch.21). Also /settings, /files, /panel, /edit, /create, /bare, /sys, /svc, /fs, /net, /man, /say, /journal, /ping. Embeds paginate when large and expire after 2 minutes idle. Token from --token, DISCORD_TOKEN, or ~/.discord/.env. DISCORD_ID_WHITELIST restricts who may use slash commands and message components. The initd unit bare-os-discord is listed by systemctl only when ~/.discord/.env exists.",
"options": [
{
"flag": "--env PATH",
@@ -3,9 +3,15 @@
"section": 1,
"title": "holesail",
"synopsis": [
"holesail [OPTION]... [OPERAND]..."
"holesail help|path|list|status",
"holesail show ID",
"holesail add ID --server|--client [--key KEY] [--port N] [--host H] [--udp] [--secure] [--no-secure] [--log N|true|false]",
"holesail edit ID [--port N] [--host H] [--clear-host] [--udp|--no-udp|--tcp] [--secure|--no-secure] [--key KEY] [--log N|true|false]",
"holesail remove ID",
"holesail start ID | stop ID | restart ID",
"holesail enable ID | disable ID"
],
"description": "Bare OS implementation of holesail. Full behavior is defined in packages/bare-os-coreutils/src/holesail.js.",
"description": "Manage persisted Holesail tunnels in ~/.holesail/state.json (or BARE_OS_HOLESAIL_STATE). Delegates to ctx.bareOsRunHolesailCli. list/show print the shareable hs:// URL and never print seed material. edit updates fields in place (not server/client or seed) and restarts a live tunnel. Live start/stop needs the bare-holesail initd unit. Discord /holesail is the same surface.",
"options": [],
"keywords": [
"holesail",