chore(brand): rename the product to ReplyPier

The upstream project name is gone from code, assets, docs and build
output: brand strings, domains (replypier.site and its app/api/docs/help
subdomains), env prefixes, image and network names, the widget's public
JS API (window.ReplyPier, replypierId/BaseUrl/Config/Token), CSS tokens
(--rp-*), file and directory names, and the WordPress plugin package.

- widget loader is now webclient/replypier.min.js; both bundles rebuilt
  from source (backend/assets/widget.{js,css}, frontend/public/webclient)
- NOTICE, llms.txt, CONTRIBUTING, HELP_CENTER_INFRA and config.dev.js
  rewritten rather than string-swapped; the demo config no longer ships
  the previous vendor's Firebase/Razorpay/Google keys
- new migration replypier_ai_model_001 adds REPLYPIER to the managed
  AIModelType and rewrites pre-rename rows
- local compose project, database, role and volume renamed; LOCAL_DEPLOY
  documents carrying the old local data over
This commit is contained in:
WangShen007 committed 2026-10-26 00:51:03 +08:00
1 parent ff0a09f0e5
commit 54b949b392
1156 files changed
+7292 -7147

No files matched your search

+4 -4
View File
@@ -60,10 +60,10 @@ build_frontend() {
if [[ ! -f "${STATE}/assets/widget.css" ]]; then
cp "${STATE}"/assets/unused/*.css "${STATE}/assets/widget.css"
fi
node_modules/.bin/esbuild src/webclient/chattermate.js --bundle --minify --format=iife \
node_modules/.bin/esbuild src/webclient/replypier.js --bundle --minify --format=iife \
--target=es2015 --loader:.svg=text --define:process.env.NODE_ENV='"production"' \
--define:__CHATTERMATE_API_URL__='"http://127.0.0.1:8018/api/v1"' \
--outfile="${STATE}/dashboard/webclient/chattermate.min.js"
--define:__REPLYPIER_API_URL__='"http://127.0.0.1:8018/api/v1"' \
--outfile="${STATE}/dashboard/webclient/replypier.min.js"
cat > "${STATE}/dashboard/config.js" <<'JS'
self.APP_CONFIG = {
API_URL: "http://127.0.0.1:8018/api/v1",
@@ -112,7 +112,7 @@ case "${1:-status}" in
colima --profile bytedesk start --activate=false --ssh-config=false
fi
compose up -d --wait --wait-timeout 180
compose exec -T db psql -U chattermate -d chattermate -c 'CREATE EXTENSION IF NOT EXISTS vector;'
compose exec -T db psql -U replypier -d replypier -c 'CREATE EXTENSION IF NOT EXISTS vector;'
(cd "${ROOT}/backend" && "${PYTHON}" -m alembic upgrade head)
start_process backend "${ROOT}/backend" "${PYTHON}" -m uvicorn app.main:app --host 127.0.0.1 --port 8018
start_process knowledge "${ROOT}/backend" "${PYTHON}" -m app.workers.run_knowledge_processor