吸收数字员工PlanStep跨任务编排执行
This commit is contained in:
@@ -293,6 +293,8 @@ function checkDigitalPlanStepGraphDispatchPolicy() {
|
||||
const stateServicePath = path.join(packageRoot, "src", "main", "services", "digitalEmployee", "stateService.ts");
|
||||
const schedulerServicePath = path.join(packageRoot, "src", "main", "services", "digitalEmployee", "schedulerService.ts");
|
||||
const syncServicePath = path.join(packageRoot, "src", "main", "services", "digitalEmployee", "syncService.ts");
|
||||
const ipcHandlersPath = path.join(packageRoot, "src", "main", "ipc", "digitalEmployeeHandlers.ts");
|
||||
const preloadPath = path.join(packageRoot, "src", "preload", "webviewPerfBridge.ts");
|
||||
const adapter = fs.readFileSync(adapterPath, "utf8");
|
||||
const api = fs.readFileSync(apiPath, "utf8");
|
||||
const types = fs.readFileSync(typesPath, "utf8");
|
||||
@@ -301,9 +303,13 @@ function checkDigitalPlanStepGraphDispatchPolicy() {
|
||||
const stateService = fs.readFileSync(stateServicePath, "utf8");
|
||||
const schedulerService = fs.readFileSync(schedulerServicePath, "utf8");
|
||||
const syncService = fs.readFileSync(syncServicePath, "utf8");
|
||||
const ipcHandlers = fs.readFileSync(ipcHandlersPath, "utf8");
|
||||
const preload = fs.readFileSync(preloadPath, "utf8");
|
||||
const requiredSnippets = [
|
||||
[adapter, "/api/digital-employee/plan-steps", "adapter plan step endpoint"],
|
||||
[adapter, "/api/digital-employee/plan-step-graph", "adapter plan step graph endpoint"],
|
||||
[adapter, "dispatch-ready-steps", "adapter plan-scoped ready step dispatch endpoint"],
|
||||
[adapter, "dispatchPlanReadySteps", "adapter plan-scoped ready step dispatcher"],
|
||||
[adapter, "/api/plan-step/dispatch-policy", "adapter plan step dispatch policy endpoint"],
|
||||
[adapter, "planStepRows", "management plan step rows"],
|
||||
[adapter, "planStepGraphRows", "management plan step graph rows"],
|
||||
@@ -315,21 +321,34 @@ function checkDigitalPlanStepGraphDispatchPolicy() {
|
||||
[api, "patchPlanStepDispatchPolicy", "plan step dispatch policy API patcher"],
|
||||
[api, "getPlanSteps", "plan steps API getter"],
|
||||
[api, "getPlanStepGraph", "plan step graph API getter"],
|
||||
[api, "dispatchPlanReadySteps", "plan-scoped ready step dispatch API"],
|
||||
[api, "BusinessViewResponse<PlanStepBusinessRow>", "typed plan step business view API"],
|
||||
[types, "trigger_source", "ready step dispatch trigger source type"],
|
||||
[types, "orchestration_id", "ready step dispatch orchestration id type"],
|
||||
[types, "PlanStepDispatchPolicy", "plan step dispatch policy type"],
|
||||
[types, "PlanStepDependencyDetail", "plan step blocked dependency detail type"],
|
||||
[types, "PlanStepBusinessRow", "plan step business row type"],
|
||||
[types, "BusinessViewResponse", "business view response type"],
|
||||
[commandDeck, "getPlanStepGraph", "home blocked plan step graph fetch"],
|
||||
[commandDeck, "planStepOrchestrationSummary", "home plan step orchestration summary"],
|
||||
[commandDeck, "controlPlanReadySteps", "home plan-scoped ready step control"],
|
||||
[commandDeck, "controlBlockedPlanStep", "home blocked plan step control handler"],
|
||||
[commandDeck, "de-blocked-step-control-strip", "home blocked plan step control strip"],
|
||||
[commandDeck, "provide_task_input", "home blocked plan step input command"],
|
||||
[css, "de-blocked-input-field", "home blocked plan step input styles"],
|
||||
[stateService, "planStepDispatchPolicy", "plan step dispatch policy UI state"],
|
||||
[stateService, "update_plan_step_dispatch_policy", "plan step dispatch policy runtime event"],
|
||||
[stateService, "planIdFilter", "plan-scoped ready step candidate filter"],
|
||||
[schedulerService, "bypassAutoDispatchSwitch", "manual plan dispatch auto switch bypass"],
|
||||
[schedulerService, "runDigitalEmployeePlanReadyStepsNow", "manual plan-scoped ready step dispatcher"],
|
||||
[schedulerService, "triggerSource", "ready step dispatch trigger source"],
|
||||
[schedulerService, "readDigitalEmployeePlanStepDispatchPolicy", "scheduler plan step dispatch policy reader"],
|
||||
[schedulerService, "max_per_sweep", "scheduler max per sweep policy"],
|
||||
[ipcHandlers, "digitalEmployee:dispatchPlanReadySteps", "IPC plan-scoped ready step dispatch handler"],
|
||||
[preload, "dispatchPlanReadySteps", "preload plan-scoped ready step bridge"],
|
||||
[syncService, "planStepBusinessView", "plan step sync business view"],
|
||||
[syncService, "trigger_source", "plan step dispatch sync trigger source"],
|
||||
[syncService, "orchestration_id", "plan step dispatch sync orchestration id"],
|
||||
[syncService, "planStepDispatchPolicyBusinessView", "plan step dispatch policy sync view"],
|
||||
[syncService, "digital_workday_update_plan_step_dispatch_policy", "plan step dispatch policy sync event kind"],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user