feat(schedule): 优化排程任务配置与进度契约处理逻辑
This commit is contained in:
1 parent
d54f51ddc3
commit
99453aa52a
65 files changed
+2837
-487
No files matched your search
@@ -233,9 +233,28 @@
|
||||
"lockInput": "Prevent sending new messages while a task is running",
|
||||
"scheduleTaskRequired": "Please select a linked schedule first"
|
||||
},
|
||||
"capabilities": {
|
||||
"title": "Runtime capabilities",
|
||||
"subtitle": "Control streaming, file upload, task progress, human confirmation, citations, guides, and more at runtime",
|
||||
"forcedByCatalog": "Fixed by the selected app type and cannot be turned off",
|
||||
"streaming": "Streaming",
|
||||
"streamingHint": "Stream chat responses via SSE; when off, wait for the full reply",
|
||||
"file_upload": "File upload",
|
||||
"file_uploadHint": "Show attachment upload in chat (local files / URLs)",
|
||||
"task_progress": "Task progress",
|
||||
"task_progressHint": "Show async task progress in chat (e.g. shipping flow, file checks)",
|
||||
"human_confirm": "Human confirmation",
|
||||
"human_confirmHint": "Enable steps that require explicit user confirmation",
|
||||
"source_citation": "Source citation",
|
||||
"source_citationHint": "Show knowledge-base citations in answers",
|
||||
"guide": "Getting started guide",
|
||||
"guideHint": "Show platform app guide / onboarding entry in chat",
|
||||
"erp_kb": "ERP fixed-asset KB",
|
||||
"erp_kbHint": "Default to enterprise KB and allow switching to ERP fixed-asset knowledge base"
|
||||
},
|
||||
"registry": {
|
||||
"title": "Routing & Capabilities",
|
||||
"subtitle": "Configure intent fast paths and ERP knowledge base without relying on agent name heuristics",
|
||||
"title": "Intent fast path",
|
||||
"subtitle": "When a specific intent matches, bypass the default chat flow and use a dedicated handler",
|
||||
"intentRoutesLabel": "Intent routes",
|
||||
"advancedTitle": "Advanced settings",
|
||||
"intentRoutesNone": "No intent routes enabled",
|
||||
@@ -938,6 +957,17 @@
|
||||
"noUsers": "No users available",
|
||||
"selectOwner": "Select an owner",
|
||||
"dataSourceConfig": "Data source & execution config",
|
||||
"scheduleType": "Execution mode",
|
||||
"scheduleTypeDataPipeline": "Data pipeline task",
|
||||
"scheduleTypePlatformJob": "Platform built-in task",
|
||||
"platformJob": "Platform task",
|
||||
"selectPlatformJob": "Select a platform task",
|
||||
"platformJobShippingInventory": "Shipping inventory RPA",
|
||||
"platformJobFaqHotAggregate": "FAQ hot aggregate",
|
||||
"platformJobFixedAssetsSnapshot": "Fixed assets snapshot",
|
||||
"shippingInventoryJobHint": "Writes batch inventory RPA export triggers on schedule; optional JSON to limit source_codes.",
|
||||
"shippingInventoryJobParams": "Job parameters (optional)",
|
||||
"shippingInventoryJobParamsPlaceholder": "{\"source_codes\": [\"BYAWSATL01\"]}",
|
||||
"dataSourceType": "Data source type",
|
||||
"databaseDirect": "Database",
|
||||
"externalApi": "External API",
|
||||
@@ -1102,6 +1132,7 @@
|
||||
"testRunFailed": "Test run failed",
|
||||
"testQueryFailed": "Test query failed",
|
||||
"configRequired": "At least one of Dify Agent, SQL config, or external API is required.",
|
||||
"platformJobRequired": "Please select a platform built-in task",
|
||||
"headerLabelsJsonInvalid": "header_labels JSON format is invalid.",
|
||||
"apiHeadersJsonInvalid": "API Headers JSON format is invalid.",
|
||||
"runNowFailed": "Manual run failed",
|
||||
|
||||
@@ -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": "แสดงการอ้างอิงจาก knowledge base ในคำตอบ",
|
||||
"guide": "คู่มือเริ่มต้น",
|
||||
"guideHint": "แสดงทางเข้าคู่มือแอป / onboarding ในหน้าแชท",
|
||||
"erp_kb": "ERP fixed-asset KB",
|
||||
"erp_kbHint": "ใช้ enterprise KB เป็นค่าเริ่มต้นและสลับไปยัง ERP fixed-asset knowledge base ได้"
|
||||
},
|
||||
"registry": {
|
||||
"title": "เส้นทางและความสามารถ",
|
||||
"subtitle": "กำหนด fast path ของ intent และ ERP knowledge base โดยไม่พึ่งชื่อแอป",
|
||||
"title": "Intent fast path",
|
||||
"subtitle": "เมื่อตรงกับ intent ที่กำหนด จะข้าม flow แชทปกติและใช้ handler เฉพาะ",
|
||||
"intentRoutesLabel": "Intent routes",
|
||||
"advancedTitle": "การตั้งค่าขั้นสูง",
|
||||
"intentRoutesNone": "ยังไม่ได้เปิดใช้ intent routes",
|
||||
@@ -842,6 +861,25 @@
|
||||
},
|
||||
"schedule": {
|
||||
"form": {
|
||||
"scheduleType": "โหมดการทำงาน",
|
||||
"scheduleTypeDataPipeline": "งานประมวลผลข้อมูล",
|
||||
"scheduleTypePlatformJob": "งานในตัวแพลตฟอร์ม",
|
||||
"platformJob": "งานแพลตฟอร์ม",
|
||||
"selectPlatformJob": "เลือกงานแพลตฟอร์ม",
|
||||
"platformJobShippingInventory": "Shipping inventory RPA",
|
||||
"platformJobFaqHotAggregate": "FAQ hot aggregate",
|
||||
"platformJobFixedAssetsSnapshot": "Fixed assets snapshot",
|
||||
"shippingInventoryJobHint": "เขียน batch inventory RPA export trigger ตาม Cron; JSON ตัวเลือกจำกัด source_codes",
|
||||
"shippingInventoryJobParams": "พารามิเตอร์ Job (ไม่บังคับ)",
|
||||
"shippingInventoryJobParamsPlaceholder": "{\"source_codes\": [\"BYAWSATL01\"]}",
|
||||
"dataSourceConfig": "แหล่งข้อมูลและการตั้งค่าการทำงาน",
|
||||
"dataSourceType": "ประเภทแหล่งข้อมูล",
|
||||
"databaseDirect": "ฐานข้อมูลโดยตรง",
|
||||
"externalApi": "External API",
|
||||
"faqHotAggregateHint": "รัน ChatLog hot-FAQ discovery ตาม Cron และเขียนลง faq_hot_candidates",
|
||||
"faqHotAgentFilter": "จำกัด Agent (ไม่บังคับ)",
|
||||
"faqHotAllAgents": "ทุก Agent",
|
||||
"faqHotAgentFilterHelp": "เว้นว่างเพื่อรวมทุก Agent; เลือกหนึ่งรายการเพื่อจำกัด ChatLog",
|
||||
"cronTitle": "ตั้งค่าเวลารัน",
|
||||
"cronHint": "กำหนดปฏิทินและเวลาเพื่อสร้าง Cron อัตโนมัติ หรือสลับไปโหมดขั้นสูง Cron ใช้เขตเวลาของตารางเวลาปัจจุบัน",
|
||||
"cronTimezoneHint": "Cron ใช้เขตเวลา {tz} เวลาที่แสดงตามโซนเวลาของเบราว์เซอร์",
|
||||
@@ -961,6 +999,7 @@
|
||||
"msg": {
|
||||
"testRunFailed": "ทดสอบการทำงานล้มเหลว",
|
||||
"configRequired": "ต้องกรอกอย่างน้อยหนึ่งรายการใน Dify Agent, SQL config หรือ external API",
|
||||
"platformJobRequired": "โปรดเลือกงานในตัวแพลตฟอร์ม",
|
||||
"headerLabelsJsonInvalid": "รูปแบบ JSON ของ header_labels ไม่ถูกต้อง",
|
||||
"apiHeadersJsonInvalid": "รูปแบบ JSON ของ API Headers ไม่ถูกต้อง",
|
||||
"runNowFailed": "การรันด้วยตนเองล้มเหลว",
|
||||
|
||||
@@ -234,9 +234,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 路由",
|
||||
@@ -918,6 +937,17 @@
|
||||
"noUsers": "暂无可用用户",
|
||||
"selectOwner": "请选择所有者",
|
||||
"dataSourceConfig": "数据源与执行配置",
|
||||
"scheduleType": "执行模式",
|
||||
"scheduleTypeDataPipeline": "数据处理任务",
|
||||
"scheduleTypePlatformJob": "平台内置任务",
|
||||
"platformJob": "平台任务",
|
||||
"selectPlatformJob": "请选择平台任务",
|
||||
"platformJobShippingInventory": "货代库存 RPA",
|
||||
"platformJobFaqHotAggregate": "FAQ 热点聚合",
|
||||
"platformJobFixedAssetsSnapshot": "固资快照",
|
||||
"shippingInventoryJobHint": "按 Cron 批量写入库存 RPA 导出 trigger;可选 JSON 参数限定 source_codes。",
|
||||
"shippingInventoryJobParams": "Job 参数(可选)",
|
||||
"shippingInventoryJobParamsPlaceholder": "{\"source_codes\": [\"BYAWSATL01\"]}",
|
||||
"dataSourceType": "数据源类型",
|
||||
"databaseDirect": "数据库直联",
|
||||
"externalApi": "外部API",
|
||||
@@ -1082,6 +1112,7 @@
|
||||
"testRunFailed": "测试执行失败",
|
||||
"testQueryFailed": "测试查询失败",
|
||||
"configRequired": "Dify Agent、SQL 配置或外部 API 至少填写一项,否则排程执行无任何效果",
|
||||
"platformJobRequired": "请选择平台内置任务",
|
||||
"headerLabelsJsonInvalid": "header_labels JSON 格式错误,请检查",
|
||||
"apiHeadersJsonInvalid": "API Headers JSON 格式错误,请检查",
|
||||
"runNowFailed": "手动执行失败",
|
||||
|
||||
@@ -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": "手動執行失敗",
|
||||
|
||||
Reference in new issue
Block a user