feat(schedule): 优化排程任务配置与进度契约处理逻辑

This commit is contained in:
hugo committed 2026-07-08 16:09:28 +08:00
1 parent d54f51ddc3
commit 99453aa52a
65 files changed
+2837 -487

No files matched your search

+41 -2
View File
@@ -233,9 +233,28 @@
"lockInput": "任務執行期間禁止發送新訊息",
"scheduleTaskRequired": "請先選擇關聯的排程任務"
},
"capabilities": {
"title": "執行能力",
"subtitle": "控制聊天頁是否支援串流輸出、附件上傳、任務進度、人工確認、引用來源與新手指南等執行時能力",
"forcedByCatalog": "由目前應用類型固定,不可關閉",
"streaming": "串流輸出",
"streamingHint": "開啟後對話以 SSE 串流返回,關閉則等待完整回應",
"file_upload": "附件上傳",
"file_uploadHint": "開啟後聊天頁顯示附件上傳入口(本機檔案 / URL)",
"task_progress": "任務進度",
"task_progressHint": "開啟後對話中展示非同步任務進度(如發貨流程、檔案檢核)",
"human_confirm": "人工確認",
"human_confirmHint": "開啟後支援需要使用者確認的關鍵步驟互動",
"source_citation": "引用來源",
"source_citationHint": "開啟後在回答中展示知識庫引用來源",
"guide": "新手指南",
"guideHint": "開啟後聊天頁展示平台應用說明 / 新手指南入口",
"erp_kb": "ERP 固資知識庫",
"erp_kbHint": "啟用後聊天頁預設展示企業知識庫,並允許切換到 ERP 固資知識庫"
},
"registry": {
"title": "路由與能力",
"subtitle": "配置 Intent 快路徑與 ERP 知識庫等結構化能力,執行時不再依賴應用名稱判斷",
"title": "意圖快路徑",
"subtitle": "命中特定意圖時繞過預設對話流,走專用處理器",
"intentRoutesLabel": "Intent 路由",
"advancedTitle": "進階設定",
"intentRoutesNone": "未啟用 Intent 路由",
@@ -843,6 +862,25 @@
},
"schedule": {
"form": {
"scheduleType": "執行模式",
"scheduleTypeDataPipeline": "資料處理任務",
"scheduleTypePlatformJob": "平台內建任務",
"platformJob": "平台任務",
"selectPlatformJob": "請選擇平台任務",
"platformJobShippingInventory": "貨代庫存 RPA",
"platformJobFaqHotAggregate": "FAQ 熱點聚合",
"platformJobFixedAssetsSnapshot": "固資快照",
"shippingInventoryJobHint": "按 Cron 批量寫入庫存 RPA 匯出 trigger;可選 JSON 參數限定 source_codes。",
"shippingInventoryJobParams": "Job 參數(可選)",
"shippingInventoryJobParamsPlaceholder": "{\"source_codes\": [\"BYAWSATL01\"]}",
"dataSourceConfig": "資料來源與執行配置",
"dataSourceType": "資料來源類型",
"databaseDirect": "資料庫直連",
"externalApi": "外部 API",
"faqHotAggregateHint": "按 Cron 自動執行 ChatLog 熱點發現,結果寫入 faq_hot_candidates 表。",
"faqHotAgentFilter": "限定應用(可選)",
"faqHotAllAgents": "全部應用",
"faqHotAgentFilterHelp": "留空則聚合所有 Agent;選定後僅統計該應用的 ChatLog。",
"cronTitle": "執行時間設定",
"cronHint": "透過日曆與時刻配置自動產生 Cron,也可切換進階模式手動輸入。Cron 時刻按目前排程時區解讀。",
"cronTimezoneHint": "Cron 時刻按 {tz} 解讀,介面顯示為本地時間。",
@@ -962,6 +1000,7 @@
"msg": {
"testRunFailed": "測試執行失敗",
"configRequired": "Dify Agent、SQL 配置或外部 API 至少填寫一項,否則排程執行無任何效果",
"platformJobRequired": "請選擇平台內建任務",
"headerLabelsJsonInvalid": "header_labels JSON 格式錯誤,請檢查",
"apiHeadersJsonInvalid": "API Headers JSON 格式錯誤,請檢查",
"runNowFailed": "手動執行失敗",