unoverse 0.1.39 → 0.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -350,18 +350,13 @@ cmd_init() {
350
350
  read -p " SEARCHAPI_KEY (web-search nodes, blank to skip): " SEARCHAPI_KEY
351
351
  fi
352
352
 
353
- # Silent facts, not questions. The encryption key is GENERATED (a human never types
354
- # one), kept on re-runs (a new key orphans every stored credential), and the pool
355
- # sizes are present-but-empty purely so compose stops warning about them.
353
+ # A silent fact, not a question: the encryption key is GENERATED (a human never types
354
+ # one) and kept verbatim on re-runs a new key orphans every stored credential.
356
355
  CREDENTIAL_ENCRYPTION_KEY=$(_env_cur CREDENTIAL_ENCRYPTION_KEY)
357
356
  if [ -z "$CREDENTIAL_ENCRYPTION_KEY" ]; then
358
357
  CREDENTIAL_ENCRYPTION_KEY=$(openssl rand -hex 32 2>/dev/null || head -c32 /dev/urandom | xxd -p -c64)
359
358
  ok "Credential encryption key generated"
360
359
  fi
361
- DB_POOL_ENGINE=$(_env_cur DB_POOL_ENGINE)
362
- DB_POOL_ENGINE_LEGACY=$(_env_cur DB_POOL_ENGINE_LEGACY)
363
- DB_POOL_MEMORY=$(_env_cur DB_POOL_MEMORY)
364
-
365
360
  # Write .env
366
361
  cat > "$ROOT/.env" << ENVEOF
367
362
  # Generated by unoverse init
@@ -382,10 +377,6 @@ OPENAI_API_KEY=${OPENAI_API_KEY}
382
377
  # Generated at setup: encrypts credentials stored by nodes. Losing it orphans them —
383
378
  # back it up with the database. Kept on re-runs.
384
379
  CREDENTIAL_ENCRYPTION_KEY=${CREDENTIAL_ENCRYPTION_KEY}
385
- # Present-but-empty so compose does not warn; the platform applies its own defaults.
386
- DB_POOL_ENGINE=${DB_POOL_ENGINE}
387
- DB_POOL_ENGINE_LEGACY=${DB_POOL_ENGINE_LEGACY}
388
- DB_POOL_MEMORY=${DB_POOL_MEMORY}
389
380
  HYPERBROWSER_API_KEY=${HYPERBROWSER_API_KEY}
390
381
  SEARCHAPI_KEY=${SEARCHAPI_KEY}
391
382
  DOMAIN=
@@ -420,7 +411,9 @@ ENVEOF
420
411
  # sourced function would take all of init with it — setup then reported failure for a
421
412
  # situation that just means "migrations run on start". Which they now do (start.sh).
422
413
  if grep -q '^DATABASE_URL=' "$ROOT/.env" 2>/dev/null; then
423
- if (cmd_db_setup); then
414
+ # Quietly: db-setup narrates its own advice ("start services first, then re-run"),
415
+ # which contradicts and duplicates the one line that is true here.
416
+ if (cmd_db_setup) >/dev/null 2>&1; then
424
417
  ok "Database schema is up to date"
425
418
  else
426
419
  info "Migrations wait for the platform: ${BOLD}unoverse start${NC} applies them once services are up"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "description": "The Unoverse front door — create a Studio project, a universe, or a client app, and launch Studio.",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "type": "module",