Skip to content

Commit d555ec9

Browse files
committed
chore: sync launchpad with upstream block/buzz main (204 commits)
Signed-off-by: tucktuck101 <[email protected]>
2 parents 338b4d0 + eed74bd commit d555ec9

1,855 files changed

Lines changed: 284748 additions & 45177 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.env.example‎

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,70 @@ TYPESENSE_URL=http://localhost:8108
5151
BUZZ_BIND_ADDR=0.0.0.0:3000
5252
# Public WebSocket URL — used in NIP-42 auth challenges
5353
RELAY_URL=ws://localhost:3000
54-
# Stable relay signing key. Set this in dev if you want REST-created forum posts
55-
# to keep resolving to the original author across relay restarts.
54+
# Stable relay signing key (required). `just bootstrap` generates a random key in
55+
# the gitignored .env file. Preserve that value across restarts and backups.
5656
# BUZZ_RELAY_PRIVATE_KEY=<32-byte hex private key>
5757
# Optional: path to the web UI dist directory. When set, the relay serves
5858
# the web frontend at / for browser requests. Leave unset for local dev
5959
# (use `just web` for Vite HMR instead).
6060
# BUZZ_WEB_DIR=./web/dist
6161

62+
# NIP-PL mobile push is an explicit deployment opt-in. A gateway URL alone
63+
# never enables it. When enabled and the URL is absent, the canonical
64+
# https://push.buzz.xyz/v1/deliveries/apns endpoint is used.
65+
BUZZ_PUSH_ENABLED=false
66+
# BUZZ_PUSH_GATEWAY_DELIVERY_URL=https://push.buzz.xyz/v1/deliveries/apns
67+
68+
# -----------------------------------------------------------------------------
69+
# Admin Dashboard (private moderation surface)
70+
# -----------------------------------------------------------------------------
71+
# Host name that serves the moderation dashboard and its /api/admin/v1
72+
# endpoints. Leave unset to keep the admin surface absent.
73+
# BUZZ_ADMIN_HOST=admin.localhost:3000
74+
#
75+
# Authentication mode. Accepted values: nip98 (default), disabled.
76+
# Any other value is a startup error. Token authentication was removed:
77+
# BUZZ_ADMIN_TOKEN is ignored with a startup warning — remove it from the environment.
78+
# BUZZ_ADMIN_AUTH=nip98
79+
#
80+
# Option A — BUZZ_ADMIN_AUTH=nip98 (Nostr pubkey-based auth, default):
81+
# NIP-98 HTTP Auth. Each request must carry an Authorization: Nostr header
82+
# with a signed kind-27235 event. Authorized principals are resolved from:
83+
# 1. RELAY_OPERATOR_PUBKEYS — comma-separated 64-char hex pubkeys (config Operators).
84+
# 2. RELAY_OWNER_PUBKEY — implicit Operator fallback when RELAY_OPERATOR_PUBKEYS is unset.
85+
# 3. relay_operators table — DB-managed Operator/Moderator roster.
86+
# The dashboard requires a NIP-07 browser extension.
87+
# Setting RELAY_OPERATOR_PUBKEYS for the admin console does NOT require
88+
# RELAY_OPERATOR_API_ORIGIN; that origin is only for community provisioning
89+
# (see below). When BUZZ_ADMIN_HOST is set, the relay advertises the admin
90+
# origin in its NIP-11 document (`admin_api` field) so clients can auto-discover
91+
# the console without manual URL entry.
92+
# RELAY_OPERATOR_PUBKEYS=<64-char hex pubkey>[,<64-char hex pubkey>...]
93+
#
94+
# Option B — BUZZ_ADMIN_AUTH=disabled (network-layer auth only):
95+
# Set only when the admin API is already protected at the network layer
96+
# (VPN, private ingress). The relay logs a WARN on every startup.
97+
# `just admin` defaults to this mode for local review.
98+
#
99+
# Directory holding the built dashboard assets (`pnpm -C admin-web build`).
100+
# BUZZ_ADMIN_WEB_DIR=./admin-web/dist
101+
#
102+
# Canonical origin (http(s)://host[:port], no path) that community-provisioning
103+
# NIP-98 requests are verified against. Required only to USE the provisioning
104+
# endpoints (POST /operator/communities) — not for the admin console. When
105+
# RELAY_OPERATOR_PUBKEYS is set but this is unset, the relay boots with a WARN
106+
# and provisioning requests fail closed until it is set.
107+
# RELAY_OPERATOR_API_ORIGIN=http://127.0.0.1:3000
108+
109+
# Optional relay-owned KLIPY key. When set, NIP-11 advertises GIF search and
110+
# authenticated desktop clients use this relay as the metadata/search proxy.
111+
# Keep the real value in your deployment's secret manager; never commit it.
112+
# BUZZ_KLIPY_API_KEY=
113+
62114
# Shared Redis-backed admission limits. Defaults shown below; each value must
63115
# be a positive integer.
64116
# BUZZ_RATE_LIMIT_HUMAN_MESSAGES_PER_MIN=60
117+
# BUZZ_RATE_LIMIT_GIF_SEARCHES_PER_MIN=30
65118
# BUZZ_RATE_LIMIT_HUMAN_API_CALLS_PER_MIN=300
66119
# BUZZ_RATE_LIMIT_HUMAN_WS_EVENTS_PER_SEC=10
67120
# BUZZ_RATE_LIMIT_AGENT_STANDARD_MESSAGES_PER_MIN=120
@@ -166,6 +219,12 @@ RUST_LOG=buzz_relay=debug,buzz_datastore=info,buzz_db=debug,buzz_auth=debug,buzz
166219
# Use `buzz-acp models` to discover available model IDs.
167220
# BUZZ_ACP_MODEL=
168221

222+
# Optional Databricks model-picker visibility filter. Discovery-only; this does
223+
# not grant inference access. Comma-separated full-string * / ? patterns are
224+
# OR-matched against raw workspace endpoint and Unity Catalog model-service IDs.
225+
# Unset or blank shows every catalog entry. A nonblank value with no usable patterns is invalid.
226+
# DATABRICKS_MODEL_FILTER=databricks-*,data_tools.goose.*
227+
169228
# ── Timeouts & sessions ──────────────────────────────────────────────────────
170229
# Max seconds per agent turn before timeout (default 320 = ~5 min).
171230
# BUZZ_ACP_TURN_TIMEOUT=320

0 commit comments

Comments
 (0)