feat: TenantRuntime/Registry——每租户懒建 engine(WAL/pool2)+文件加载器+站点解析

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-12 18:24:47 +08:00
parent f5f54383fc
commit 607baff83c
6 changed files with 435 additions and 22 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"slug": "auto",
"name": "HESU Auto 汽车",
"status": "active",
"sites": [
{
"slug": "main",
"domains": ["chat.agent.hnxinyouhe.com"]
}
],
"config": {
"brand": {
"title": "HESU Support",
"color": "#f08a31",
"whatsapp": "+8619037179250",
"email": "info@borderlesscar.com"
},
"push": {
"prefix": "ai-kefu"
},
"engine": {
"context_seed_keys": {
"vehicle_name": "app_vehicle_name",
"vehicle_id": "app_vehicle_id"
}
}
}
}
+37
View File
@@ -0,0 +1,37 @@
{
"slug": "jiancai",
"name": "HESUPIPE 建材",
"status": "active",
"sites": [
{
"slug": "main",
"domains": ["chat2.agent.hnxinyouhe.com", "localhost.jc"]
},
{
"slug": "es",
"domains": [],
"brand": {
"title": "HESUPIPE Soporte",
"welcome": "¡Hola! ¿En qué podemos ayudarle?"
}
}
],
"config": {
"brand": {
"title": "HESUPIPE Support",
"color": "#066fc0",
"whatsapp": "+8615937108317",
"email": "hesu@hesuu.com",
"privacy_url": "https://hesupipe.com/privacy-policy"
},
"push": {
"prefix": "ai-kefu-jc"
},
"engine": {
"context_seed_keys": {
"product_name": "app_product_name",
"product_id": "app_product_id"
}
}
}
}