Merge branch 'dev' into hugo-shipping-notice

# Conflicts:
#	backend/app/api/chat.py
#	backend/app/services/agent_runtime_context/dify_inputs.py
#	backend/app/services/maintenance_chat_service.py
This commit is contained in:
hugo committed 2026-07-07 13:25:16 +08:00
commit fc694a8f43
55 files changed
+2107 -192

No files matched your search

+6
View File
@@ -237,6 +237,11 @@
"title": "Routing & Capabilities",
"subtitle": "Configure intent fast paths and ERP knowledge base without relying on agent name heuristics",
"intentRoutesLabel": "Intent routes",
"advancedTitle": "Advanced settings",
"intentRoutesNone": "No intent routes enabled",
"intentRoutesSummary": "{count} enabled: {names}",
"intentRoutesPlaceholder": "No intent routes selected",
"intentRoutesSearch": "Search intent routes",
"intentRoutesHint": "Enable fast paths such as leave SQL, PLM material extraction, maintenance chat, or Text2SQL",
"contentProfileLabel": "Content profile",
"contentProfileHint": "Pick a profile such as generic_entrance or hr_policy, then apply default welcome text and suggested questions into structured columns",
@@ -1118,6 +1123,7 @@
"role": {
"user": "User",
"hr": "HR",
"maintenanceManager": "Maintenance Admin",
"admin": "Admin",
"guest": "Guest"
},
+5 -2
View File
@@ -80,7 +80,7 @@
"panel": {
"recordTitle": "Maintenance Records",
"ledgerTitle": "Ledger Config",
"adminOnly": "Admin actions: asset admins / maintenance supervisors only",
"adminOnly": "Admin actions: admins / maintenance admins only",
"resizeTitle": "Drag to resize",
"ledgerSubtitle": "Equipment List / Equipment Config",
"recordSubtitle": "Record List / Record Config",
@@ -189,9 +189,12 @@
},
"chat": {
"deviceLedgerInfo": "Equipment Ledger Info",
"recordInfo": "Equipment Maintenance Records",
"matched": "Matched",
"recordMatched": "Maintenance records matched",
"recentRecords": "Recent maintenance records ({count})",
"viewRepairHistory": "View Repair History",
"addRepairRecord": "Add Repair Record"
"addRepairRecord": "Add Repair Record",
"inputPlaceholder": "Ask me about equipment maintenance, e.g. query ledger info for A022700978"
}
}
+6
View File
@@ -237,6 +237,11 @@
"title": "เส้นทางและความสามารถ",
"subtitle": "กำหนด fast path ของ intent และ ERP knowledge base โดยไม่พึ่งชื่อแอป",
"intentRoutesLabel": "Intent routes",
"advancedTitle": "การตั้งค่าขั้นสูง",
"intentRoutesNone": "ยังไม่ได้เปิดใช้ intent routes",
"intentRoutesSummary": "เปิดใช้ {count} รายการ: {names}",
"intentRoutesPlaceholder": "ยังไม่ได้เลือก intent routes",
"intentRoutesSearch": "ค้นหา intent routes",
"intentRoutesHint": "เปิดใช้ fast path เช่น leave SQL, PLM, maintenance chat หรือ Text2SQL",
"contentProfileLabel": "Content profile",
"contentProfileHint": "เลือก profile เช่น generic_entrance หรือ hr_policy แล้วนำ welcome / suggested questions ไปเขียนลง structured columns",
@@ -977,6 +982,7 @@
"role": {
"user": "ผู้ใช้ทั่วไป",
"hr": "HR",
"maintenanceManager": "ผู้ดูแลซ่อมบำรุง",
"admin": "ผู้ดูแลระบบ",
"guest": "ผู้เยี่ยมชม"
},
+5 -2
View File
@@ -80,7 +80,7 @@
"panel": {
"recordTitle": "บันทึกซ่อมบำรุง",
"ledgerTitle": "ตั้งค่าทะเบียน",
"adminOnly": "งานผู้ดูแล: ใช้ได้เฉพาะผู้ดูแลทรัพย์สิน / หัวหน้าซ่อมบำรุง",
"adminOnly": "งานผู้ดูแล: เฉพาะผู้ดูแลระบบ / ผู้ดูแลซ่อมบำรุง",
"resizeTitle": "ลากเพื่อปรับความกว้าง",
"ledgerSubtitle": "รายการอุปกรณ์ / ตั้งค่าอุปกรณ์",
"recordSubtitle": "รายการบันทึก / ตั้งค่าบันทึก",
@@ -189,9 +189,12 @@
},
"chat": {
"deviceLedgerInfo": "ข้อมูลทะเบียนอุปกรณ์",
"recordInfo": "บันทึกซ่อมบำรุงอุปกรณ์",
"matched": "พบข้อมูล",
"recordMatched": "พบบันทึกซ่อมบำรุง",
"recentRecords": "บันทึกซ่อมบำรุงล่าสุด ({count})",
"viewRepairHistory": "ดูประวัติซ่อม",
"addRepairRecord": "เพิ่มบันทึกซ่อม"
"addRepairRecord": "เพิ่มบันทึกซ่อม",
"inputPlaceholder": "ถามข้อมูลซ่อมบำรุงอุปกรณ์ เช่น ค้นหาทะเบียนของ A022700978"
}
}
+6
View File
@@ -238,6 +238,11 @@
"title": "路由与能力",
"subtitle": "配置 Intent 快路径与 ERP 知识库等结构化能力,运行时不再依赖应用名称判断",
"intentRoutesLabel": "Intent 路由",
"advancedTitle": "高级配置",
"intentRoutesNone": "未启用 Intent 路由",
"intentRoutesSummary": "已启用 {count} 个:{names}",
"intentRoutesPlaceholder": "暂未选择 Intent 路由",
"intentRoutesSearch": "搜索 Intent 路由",
"intentRoutesHint": "勾选后启用对应快路径(如请假 SQL、PLM 物料、设备维保、Text2SQL)",
"contentProfileLabel": "内容 Profile",
"contentProfileHint": "选择 generic_entrance / hr_policy 等 profile,可套用默认欢迎语与推荐问题并写入结构化列",
@@ -1098,6 +1103,7 @@
"role": {
"user": "普通用户",
"hr": "HR",
"maintenanceManager": "维保管理员",
"admin": "管理员",
"guest": "访客"
},
+5 -2
View File
@@ -80,7 +80,7 @@
"panel": {
"recordTitle": "维修记录",
"ledgerTitle": "台账配置",
"adminOnly": "管理操作:仅资产管理员 / 维修主管可用",
"adminOnly": "管理操作:仅管理员 / 维保管理员可用",
"resizeTitle": "拖拽调整宽度",
"ledgerSubtitle": "设备列表 / 设备配置",
"recordSubtitle": "记录列表 / 记录配置",
@@ -189,9 +189,12 @@
},
"chat": {
"deviceLedgerInfo": "设备台账信息",
"recordInfo": "设备维修记录",
"matched": "已匹配",
"recordMatched": "已匹配维修记录",
"recentRecords": "最近维修记录({count} 条)",
"viewRepairHistory": "查维修历史",
"addRepairRecord": "新增维修记录"
"addRepairRecord": "新增维修记录",
"inputPlaceholder": "问我设备维保相关信息,例如:查询 A022700978 的设备台账信息"
}
}
+6
View File
@@ -237,6 +237,11 @@
"title": "路由與能力",
"subtitle": "配置 Intent 快路徑與 ERP 知識庫等結構化能力,執行時不再依賴應用名稱判斷",
"intentRoutesLabel": "Intent 路由",
"advancedTitle": "進階設定",
"intentRoutesNone": "未啟用 Intent 路由",
"intentRoutesSummary": "已啟用 {count} 個:{names}",
"intentRoutesPlaceholder": "暫未選擇 Intent 路由",
"intentRoutesSearch": "搜尋 Intent 路由",
"intentRoutesHint": "勾選後啟用對應快路徑(如請假 SQL、PLM 物料、設備維保、Text2SQL)",
"contentProfileLabel": "內容 Profile",
"contentProfileHint": "選擇 generic_entrance / hr_policy 等 profile,可套用預設歡迎語與推薦問題並寫入結構化欄位",
@@ -978,6 +983,7 @@
"role": {
"user": "普通用戶",
"hr": "HR",
"maintenanceManager": "維保管理員",
"admin": "管理員",
"guest": "訪客"
},
+5 -2
View File
@@ -80,7 +80,7 @@
"panel": {
"recordTitle": "維修記錄",
"ledgerTitle": "台帳配置",
"adminOnly": "管理操作:僅資產管理員 / 維修主管可用",
"adminOnly": "管理操作:僅管理員 / 維保管理員可用",
"resizeTitle": "拖曳調整寬度",
"ledgerSubtitle": "設備列表 / 設備配置",
"recordSubtitle": "記錄列表 / 記錄配置",
@@ -189,9 +189,12 @@
},
"chat": {
"deviceLedgerInfo": "設備台帳資訊",
"recordInfo": "設備維修記錄",
"matched": "已匹配",
"recordMatched": "已匹配維修記錄",
"recentRecords": "最近維修記錄({count} 筆)",
"viewRepairHistory": "查維修歷史",
"addRepairRecord": "新增維修記錄"
"addRepairRecord": "新增維修記錄",
"inputPlaceholder": "問我設備維保相關資訊,例如:查詢 A022700978 的設備台帳資訊"
}
}