feat: add secure personal key setup

This commit is contained in:
nac
2026-08-14 15:42:02 +00:00
parent 67d7ff6608
commit 9ad9474226
11 changed files with 434 additions and 59 deletions
+1 -1
View File
@@ -469,7 +469,7 @@ def service_status(*, project_root: Path) -> str:
display_host = "127.0.0.1" if host in {"0.0.0.0", "::"} else host
lines.append(f"MCP URL: http://{display_host}:{port}{path}")
lines.append(f"nb binary: {nb_bin}")
lines.append(f"NocoBase CLI env: {nb_env} (authenticate with `nb env auth {nb_env}`)")
lines.append(f"NocoBase CLI env: {nb_env} (personal API Key managed by the Agent installer)")
uploads_enabled = values.get(ENABLE_UPLOADS_ENV) == "1"
lines.append(f"Attachment uploads: {'enabled' if uploads_enabled else 'disabled (safe default)'}")
canonical_configured = bool(values.get(API_BASE_URL_ENV) and values.get(API_TOKEN_ENV))