Restore PROMPT branding, rename waterfall-wiki, and add system tag workflows
waterfall-wiki CI and deployment / verify-and-deploy (push) Has been cancelled
studio CI and deployment / verify-and-deploy (push) Successful in 9m15s

This commit is contained in:
2026-10-27 00:35:59 +08:00
parent 0c1ed2d292
commit ad398db781
178 changed files with 585 additions and 365 deletions
+2 -2
View File
@@ -5,11 +5,11 @@ command=${1:-qr}
cd /opt/prompt/current
compose(){ env -u AUTH_CONFIG_FILE -u AUTH_COOKIE_SECURE docker compose -p prompt --env-file /etc/prompt.env --env-file release.env -f compose.yml "$@"; }
case "$command" in
qr|token) compose exec web node auth-cli.cjs "$command" ;;
qr|token) compose exec waterfall-wiki node auth-cli.cjs "$command" ;;
rotate)
if [ "${2:-}" != "--confirm" ]; then echo 'This invalidates all bound authenticators and JWT sessions. Use: auth rotate --confirm'; exit 1; fi
compose run --rm --no-deps auth-admin node auth-cli.cjs rotate --confirm
echo 'Rotation complete. Run auth qr to bind again.' ;;
verify) compose exec -T web node auth-cli.cjs verify ;;
verify) compose exec -T waterfall-wiki node auth-cli.cjs verify ;;
*) echo 'Usage: auth [qr | token | verify | rotate --confirm]'; exit 1 ;;
esac