feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
# clawdie-iso build configuration
|
|
|
|
|
# Sourced by build.sh — edit before building
|
|
|
|
|
|
2026-03-24 00:51:22 +00:00
|
|
|
FREEBSD_VERSION="15.0-RELEASE"
|
feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
FREEBSD_ARCH="amd64"
|
2026-05-12 12:17:59 +02:00
|
|
|
FREEBSD_RELEASE_SERIES="${FREEBSD_VERSION%-RELEASE}"
|
|
|
|
|
FREEBSD_ISO_BASE_URL="https://download.freebsd.org/releases/${FREEBSD_ARCH}/${FREEBSD_ARCH}/ISO-IMAGES/${FREEBSD_RELEASE_SERIES}"
|
|
|
|
|
FREEBSD_MEMSTICK_URL="${FREEBSD_ISO_BASE_URL}/FreeBSD-${FREEBSD_VERSION}-${FREEBSD_ARCH}-memstick.img"
|
|
|
|
|
FREEBSD_MEMSTICK_SHA256_URL="${FREEBSD_ISO_BASE_URL}/CHECKSUM.SHA256-FreeBSD-${FREEBSD_VERSION}-${FREEBSD_ARCH}"
|
feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
|
2026-05-12 17:10:54 +02:00
|
|
|
# ISO version metadata.
|
|
|
|
|
# ISO version is independent from the bundled Clawdie-AI runtime version.
|
|
|
|
|
ISO_VERSION="0.1.0"
|
|
|
|
|
BUILD_CHANNEL="${BUILD_CHANNEL:-dev}" # dev | release
|
|
|
|
|
|
feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
# Output image
|
2026-05-24 23:21:02 +02:00
|
|
|
# User-facing operator image format:
|
|
|
|
|
# clawdie-<desktop>-<freebsd-codename>-usb-DD.MM.YY.img
|
2026-03-24 00:51:22 +00:00
|
|
|
#
|
|
|
|
|
# USB KEY SIZING GUIDE:
|
2026-05-24 23:21:02 +02:00
|
|
|
# 32GB USB → IMAGE_SIZE="28G" (current fast-iteration default)
|
|
|
|
|
# 64GB USB → IMAGE_SIZE="50G" (roomier operator media)
|
|
|
|
|
# 128GB USB → IMAGE_SIZE="80G" (more offline growth)
|
2026-03-24 00:51:22 +00:00
|
|
|
#
|
2026-05-24 23:21:02 +02:00
|
|
|
# Current validation target: 32GB-class USB sticks.
|
|
|
|
|
# Raise IMAGE_SIZE manually when the workflow shifts back to larger media.
|
2026-05-13 12:19:47 +02:00
|
|
|
IMAGE_SIZE="28G"
|
2026-05-24 23:21:02 +02:00
|
|
|
# build.sh derives IMAGE_NAME from desktop, the FreeBSD major-version codename,
|
|
|
|
|
# and the build date.
|
feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
|
2026-06-02 09:00:33 +02:00
|
|
|
# Clawdie-AI ref to bundle from Forgejo.
|
2026-05-12 16:53:48 +02:00
|
|
|
# Use main for install validation so ISO firstboot exercises the current
|
|
|
|
|
# post-install setup/token flow. Use --clawdie-version X.Y.Z for release builds.
|
|
|
|
|
CLAWDIE_VERSION="main"
|
|
|
|
|
CLAWDIE_REF="${CLAWDIE_REF:-main}"
|
feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
|
2026-04-27 11:56:49 +02:00
|
|
|
# Default installer choices (can be overridden by setup.txt on the writable USB config partition)
|
feat: initial clawdie-iso skeleton
USB installer for Clawdie-AI. Combines FreeBSD base install,
desktop-installer GPU/DE setup, and Clawdie-AI deployment into
a single rc.firstboot wizard flow.
Skeleton includes:
- build.cfg: FreeBSD 15.0-RELEASE-p4, amd64, XFCE default
- build.sh: 7-step build outline (fetch → inject → repack), stubs
- installerconfig: bsdinstall post-install hook, copies firstboot/ to HDD
- firstboot/rc.d/clawdie-firstboot: runs once on first HDD boot
- firstboot/firstboot.sh: tiered bsddialog wizard (identity, desktop,
pi profile, auto-generated secrets, AGENTS.md seeding, npm prefix setup)
- firstboot/gpu-detect.sh: pciconf PCI ID → kld/xorg driver mapping
- CLAWDIE-ISO.md: full design doc (copied from clawdie-ai)
VirtualBox excluded. pkg latest default. LLM keys deferred to pi first-run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:20:23 +00:00
|
|
|
DEFAULT_PKG_BRANCH="latest" # latest or quarterly
|
2026-05-24 23:21:02 +02:00
|
|
|
DEFAULT_DESKTOP="xfce" # operator USB desktop
|
2026-03-24 01:17:37 +00:00
|
|
|
|
|
|
|
|
# GPU driver variant (set at build time via --gpu-driver flag)
|
|
|
|
|
# intel | amd | nvidia-590 | nvidia-470 | nvidia-390 | vesa | "" (auto-detect)
|
|
|
|
|
GPU_DRIVER=""
|
2026-03-24 01:50:31 +00:00
|
|
|
|
feat(gpu): universal NVIDIA lane — detect + install branch at boot (Sam & Claude)
Opt-in NVIDIA_UNIVERSAL lane (default NO; normal/single-branch builds unchanged):
one ISO that adapts to an unknown NVIDIA target.
- build.cfg: NVIDIA_UNIVERSAL flag.
- build.sh: install_nvidia_universal_repo() stages an on-image pkg repo with all
three branches (390/470/580 + settings), pkg-repo metadata, and a file:// repo
conf; universal mode bakes no branch and sets clawdie_live_gpu_mode=nvidia-auto.
- clawdie_live_gpu: nvidia-auto mode detects the device id (PR #30 fix) -> branch
{390,470,590} -> pkg-name -> `pkg install -r clawdie-nvidia` -> kldload, all
best-effort with fallback to integrated/scfb (never blocks boot).
- doc/NVIDIA-UNIVERSAL-HANDOFF.md: Codex FreeBSD build + hardware validation plan.
sh -n clean; detector+branch+pkg map unit-tested on Linux
(1c8c->590->nvidia-driver-580, 0fc8->470, 0e22->390). The pkg fetch/repo layout,
offline boot install, writable root, kernel ABI, and image size MUST be validated
on the FreeBSD build host + real NVIDIA hardware (see handoff).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 22:19:15 +02:00
|
|
|
# Universal NVIDIA lane (opt-in). When YES, the image carries an on-image NVIDIA
|
|
|
|
|
# pkg repo for all three branches (390/470/580), does NOT bake a single branch,
|
|
|
|
|
# and clawdie_live_gpu runs in "nvidia-auto": at boot it detects the GPU, installs
|
|
|
|
|
# the matching branch from the on-image repo, and kldloads it before SDDM. On any
|
|
|
|
|
# failure it falls back to the integrated/scfb path (never worse than today).
|
|
|
|
|
# Builds a larger image. Leave NO for single-branch GPU_DRIVER=nvidia-* builds.
|
|
|
|
|
NVIDIA_UNIVERSAL="${NVIDIA_UNIVERSAL:-NO}"
|
|
|
|
|
|
2026-03-24 01:50:31 +00:00
|
|
|
# Deploy target
|
2026-04-06 12:11:45 +02:00
|
|
|
TARGET="baremetal" # vps | baremetal
|
2026-03-24 01:50:31 +00:00
|
|
|
|
2026-04-01 13:35:07 +00:00
|
|
|
# Cloud pre-bake vars (supplied via --assistant-name, --domain, --tz flags,
|
|
|
|
|
# or via environment variables). Env vars take precedence.
|
|
|
|
|
ASSISTANT_NAME="${ASSISTANT_NAME:-}"
|
|
|
|
|
AGENT_DOMAIN="${AGENT_DOMAIN:-}"
|
|
|
|
|
AGENT_GENDER="${AGENT_GENDER:-}"
|
|
|
|
|
TZ="${TZ:-}"
|
2026-03-24 07:45:44 +00:00
|
|
|
|
2026-05-12 19:58:33 +02:00
|
|
|
# LLM provider/model. Leave blank for post-install setup and Clawdie-AI profile defaults.
|
2026-04-01 13:35:07 +00:00
|
|
|
PI_TUI_PROVIDER="${PI_TUI_PROVIDER:-}"
|
|
|
|
|
PI_TUI_MODEL="${PI_TUI_MODEL:-}"
|
feat: make firstboot agent-name-agnostic for multi-agent deployments
Derive AGENT_NAME from ASSISTANT_NAME instead of hardcoding "clawdie".
Database names, users, and identity vars now follow the agent name.
Add configurable fields to build.cfg and shell-env.sh:
- AGENT_GENDER, PI_TUI_PROVIDER, PI_TUI_MODEL
- ZAI_API_KEY, OPENROUTER_API_KEY, EMBED_BASE_URL, EMBED_MODEL
- TELEGRAM_BOT_TOKEN, FEATURE_TELEGRAM (pre-bakeable for cloud)
Add gender selection to baremetal wizard (bsddialog radiolist).
Update bhyve-test.sh with --name flag, tap0/bridge auto-setup,
sparse disk reuse, and reduced default disk size (25G).
Tested: dry-run env generation produces correct Mevy config
(agent_name=mevy, db=mevy, provider=zai, model=glm-5).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:31:36 +00:00
|
|
|
|
|
|
|
|
# API keys (pre-baked for cloud, deferred to web UI for baremetal)
|
2026-04-01 13:35:07 +00:00
|
|
|
ZAI_API_KEY="${ZAI_API_KEY:-}"
|
|
|
|
|
OPENROUTER_API_KEY="${OPENROUTER_API_KEY:-}"
|
|
|
|
|
ANTHROPIC_API_KEY="${ANTHROPIC_API_KEY:-}"
|
feat: make firstboot agent-name-agnostic for multi-agent deployments
Derive AGENT_NAME from ASSISTANT_NAME instead of hardcoding "clawdie".
Database names, users, and identity vars now follow the agent name.
Add configurable fields to build.cfg and shell-env.sh:
- AGENT_GENDER, PI_TUI_PROVIDER, PI_TUI_MODEL
- ZAI_API_KEY, OPENROUTER_API_KEY, EMBED_BASE_URL, EMBED_MODEL
- TELEGRAM_BOT_TOKEN, FEATURE_TELEGRAM (pre-bakeable for cloud)
Add gender selection to baremetal wizard (bsddialog radiolist).
Update bhyve-test.sh with --name flag, tap0/bridge auto-setup,
sparse disk reuse, and reduced default disk size (25G).
Tested: dry-run env generation produces correct Mevy config
(agent_name=mevy, db=mevy, provider=zai, model=glm-5).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:31:36 +00:00
|
|
|
|
2026-05-12 19:58:33 +02:00
|
|
|
# Embeddings. Leave base URL blank to let Clawdie-AI choose OpenRouter when
|
|
|
|
|
# OPENROUTER_API_KEY is present, otherwise local llama-server.
|
2026-04-01 13:35:07 +00:00
|
|
|
EMBED_BASE_URL="${EMBED_BASE_URL:-}"
|
|
|
|
|
EMBED_MODEL="${EMBED_MODEL:-}"
|
2026-04-06 01:37:16 +00:00
|
|
|
EMBED_API_KEY="${EMBED_API_KEY:-}"
|
|
|
|
|
EMBED_DIMENSIONS="${EMBED_DIMENSIONS:-1024}"
|
feat: make firstboot agent-name-agnostic for multi-agent deployments
Derive AGENT_NAME from ASSISTANT_NAME instead of hardcoding "clawdie".
Database names, users, and identity vars now follow the agent name.
Add configurable fields to build.cfg and shell-env.sh:
- AGENT_GENDER, PI_TUI_PROVIDER, PI_TUI_MODEL
- ZAI_API_KEY, OPENROUTER_API_KEY, EMBED_BASE_URL, EMBED_MODEL
- TELEGRAM_BOT_TOKEN, FEATURE_TELEGRAM (pre-bakeable for cloud)
Add gender selection to baremetal wizard (bsddialog radiolist).
Update bhyve-test.sh with --name flag, tap0/bridge auto-setup,
sparse disk reuse, and reduced default disk size (25G).
Tested: dry-run env generation produces correct Mevy config
(agent_name=mevy, db=mevy, provider=zai, model=glm-5).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:31:36 +00:00
|
|
|
|
2026-05-28 00:46:24 +02:00
|
|
|
# Colibri Rust control-plane service (next ISO integration lane).
|
|
|
|
|
# The ISO build stages prebuilt FreeBSD release binaries from COLIBRI_REPO or
|
|
|
|
|
# COLIBRI_ARTIFACT_DIR; it does not compile Rust while the image is mounted.
|
|
|
|
|
FEATURE_COLIBRI="${FEATURE_COLIBRI:-YES}"
|
|
|
|
|
COLIBRI_REPO="${COLIBRI_REPO:-../colibri}"
|
|
|
|
|
COLIBRI_ARTIFACT_DIR="${COLIBRI_ARTIFACT_DIR:-}"
|
2026-06-02 09:00:33 +02:00
|
|
|
# Stage Colibri binaries by default, but do not block live boot on the daemon.
|
|
|
|
|
# Hardware validation can start it manually after rc.d supervision is proven on
|
|
|
|
|
# the target image.
|
|
|
|
|
COLIBRI_DAEMON_ENABLE="${COLIBRI_DAEMON_ENABLE:-NO}"
|
2026-05-28 00:46:24 +02:00
|
|
|
COLIBRI_COST_MODE="${COLIBRI_COST_MODE:-smart}"
|
|
|
|
|
|
2026-06-02 09:18:00 +02:00
|
|
|
# Clawdie agent — the simplified, operator-friendly Colibri lane.
|
|
|
|
|
# One small Rust binary (glasspane + herdr + DeepSeek/Telegram), built from the
|
|
|
|
|
# same ../colibri checkout. Opt-in (default NO) so it does not disturb the
|
|
|
|
|
# current default build; flip to YES for the simplified operator image.
|
|
|
|
|
# The two credentials are normally baked into the binary at build time:
|
|
|
|
|
# (cd ../colibri && CLAWDIE_TG_TOKEN=... CLAWDIE_DEEPSEEK_KEY=... \
|
|
|
|
|
# cargo build --release -p clawdie)
|
|
|
|
|
# Leave them blank to ship a "bring your own key" binary configured via the
|
|
|
|
|
# rc.d env file (/usr/local/etc/clawdie/clawdie.env) at runtime instead.
|
2026-06-02 10:49:20 +02:00
|
|
|
# CLAWDIE_ENABLE defaults NO: stage the binary + rc.d but do not auto-start at
|
|
|
|
|
# boot until rc.d supervision is proven on the target image (same caution as
|
|
|
|
|
# COLIBRI_DAEMON_ENABLE), so clawdie cannot interfere with SDDM/live boot.
|
|
|
|
|
# Start it manually with `service clawdie start`, then flip to YES once proven.
|
2026-06-02 09:18:00 +02:00
|
|
|
FEATURE_CLAWDIE="${FEATURE_CLAWDIE:-NO}"
|
|
|
|
|
CLAWDIE_ARTIFACT_DIR="${CLAWDIE_ARTIFACT_DIR:-}"
|
2026-06-02 10:49:20 +02:00
|
|
|
CLAWDIE_ENABLE="${CLAWDIE_ENABLE:-NO}"
|
2026-06-02 09:18:00 +02:00
|
|
|
|
2026-04-02 15:18:50 +00:00
|
|
|
# Local LLM runtime (optional)
|
|
|
|
|
# Choices: none | ollama | llama_cpp
|
|
|
|
|
LOCAL_LLM_PROVIDER="${LOCAL_LLM_PROVIDER:-none}"
|
|
|
|
|
FEATURE_OLLAMA="${FEATURE_OLLAMA:-NO}"
|
|
|
|
|
FEATURE_LLAMA_CPP="${FEATURE_LLAMA_CPP:-NO}"
|
|
|
|
|
FEATURE_OLLAMA_HPP="${FEATURE_OLLAMA_HPP:-NO}"
|
|
|
|
|
OLLAMA_RAM_ESTIMATE="${OLLAMA_RAM_ESTIMATE:-8-16 GB}"
|
|
|
|
|
OLLAMA_DISK_ESTIMATE="${OLLAMA_DISK_ESTIMATE:-4-20 GB per model}"
|
|
|
|
|
LLAMA_CPP_RAM_ESTIMATE="${LLAMA_CPP_RAM_ESTIMATE:-8-16 GB}"
|
|
|
|
|
LLAMA_CPP_DISK_ESTIMATE="${LLAMA_CPP_DISK_ESTIMATE:-4-20 GB per model}"
|
|
|
|
|
USB_LLM_MODELS_PATH="${USB_LLM_MODELS_PATH:-/mnt/media/llm-models}"
|
|
|
|
|
|
feat: make firstboot agent-name-agnostic for multi-agent deployments
Derive AGENT_NAME from ASSISTANT_NAME instead of hardcoding "clawdie".
Database names, users, and identity vars now follow the agent name.
Add configurable fields to build.cfg and shell-env.sh:
- AGENT_GENDER, PI_TUI_PROVIDER, PI_TUI_MODEL
- ZAI_API_KEY, OPENROUTER_API_KEY, EMBED_BASE_URL, EMBED_MODEL
- TELEGRAM_BOT_TOKEN, FEATURE_TELEGRAM (pre-bakeable for cloud)
Add gender selection to baremetal wizard (bsddialog radiolist).
Update bhyve-test.sh with --name flag, tap0/bridge auto-setup,
sparse disk reuse, and reduced default disk size (25G).
Tested: dry-run env generation produces correct Mevy config
(agent_name=mevy, db=mevy, provider=zai, model=glm-5).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:31:36 +00:00
|
|
|
# Telegram (pre-baked for cloud, deferred for baremetal)
|
2026-04-01 13:35:07 +00:00
|
|
|
TELEGRAM_BOT_TOKEN="${TELEGRAM_BOT_TOKEN:-}"
|
2026-04-27 11:56:49 +02:00
|
|
|
TELEGRAM_ADMIN_IDS="${TELEGRAM_ADMIN_IDS:-}"
|
2026-04-01 13:35:07 +00:00
|
|
|
FEATURE_TELEGRAM="${FEATURE_TELEGRAM:-}"
|
feat: make firstboot agent-name-agnostic for multi-agent deployments
Derive AGENT_NAME from ASSISTANT_NAME instead of hardcoding "clawdie".
Database names, users, and identity vars now follow the agent name.
Add configurable fields to build.cfg and shell-env.sh:
- AGENT_GENDER, PI_TUI_PROVIDER, PI_TUI_MODEL
- ZAI_API_KEY, OPENROUTER_API_KEY, EMBED_BASE_URL, EMBED_MODEL
- TELEGRAM_BOT_TOKEN, FEATURE_TELEGRAM (pre-bakeable for cloud)
Add gender selection to baremetal wizard (bsddialog radiolist).
Update bhyve-test.sh with --name flag, tap0/bridge auto-setup,
sparse disk reuse, and reduced default disk size (25G).
Tested: dry-run env generation produces correct Mevy config
(agent_name=mevy, db=mevy, provider=zai, model=glm-5).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:31:36 +00:00
|
|
|
|
2026-04-06 11:45:12 +02:00
|
|
|
# Tailscale (recommended for secure remote access)
|
2026-05-24 23:21:02 +02:00
|
|
|
# On the operator USB, tailscaled is enabled by default. A build may optionally
|
|
|
|
|
# bake a one-shot TAILSCALE_AUTHKEY for first-boot autojoin, or the operator
|
|
|
|
|
# can authenticate later with `mdo -u root tailscale up`. The disk installer
|
|
|
|
|
# firstboot flow on main also uses TAILSCALE_AUTHKEY for unattended join.
|
2026-04-06 11:45:12 +02:00
|
|
|
FEATURE_TAILSCALE="${FEATURE_TAILSCALE:-YES}"
|
2026-04-04 14:58:37 +00:00
|
|
|
TAILSCALE_AUTHKEY="${TAILSCALE_AUTHKEY:-}"
|
|
|
|
|
|
2026-04-02 10:25:07 +00:00
|
|
|
# Code hosting (local git + Forgejo by default)
|
2026-04-19 10:36:55 +00:00
|
|
|
CODE_HOSTING_MODE="${CODE_HOSTING_MODE:-git}"
|
2026-04-02 10:25:07 +00:00
|
|
|
FEATURE_GIT="${FEATURE_GIT:-YES}"
|
2026-04-19 10:36:55 +00:00
|
|
|
FEATURE_GITEA="${FEATURE_GITEA:-NO}"
|
2026-04-02 10:25:07 +00:00
|
|
|
FORGEJO_DISK_ESTIMATE="${FORGEJO_DISK_ESTIMATE:-1.2 GB}"
|
|
|
|
|
|
2026-03-24 07:45:44 +00:00
|
|
|
# SSH public key (optional, supplied via --ssh-key flag)
|
2026-04-01 13:35:07 +00:00
|
|
|
SSH_PUBLIC_KEY="${SSH_PUBLIC_KEY:-}"
|
2026-03-24 07:45:44 +00:00
|
|
|
|
|
|
|
|
# System passwords (optional, supplied via flags)
|
2026-04-01 13:35:07 +00:00
|
|
|
ROOT_PASSWORD="${ROOT_PASSWORD:-}"
|
|
|
|
|
CLAWDIE_USER_PASSWORD="${CLAWDIE_USER_PASSWORD:-}"
|