Add scheduled task automation skill with worker execution pipeline.
Memind CI / Test, build, and release guards (push) Failing after 18s
Memind CI / Test, build, and release guards (push) Failing after 18s
Introduce scheduled-task-automation for H5 and WeChat, persist tasks in h5_scheduled_tasks, and run due jobs via a dedicated worker that executes agent tasks and delivers results. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -312,8 +312,10 @@ let wechatOAuthService = null;
|
||||
let wechatMpService = null;
|
||||
let notificationDispatcher = null;
|
||||
let scheduleService = null;
|
||||
let scheduledTaskService = null;
|
||||
let feedbackService = null;
|
||||
let scheduleReminderWorker = null;
|
||||
let scheduledTaskWorker = null;
|
||||
let llmProviderService = null;
|
||||
let wordFilterService = null;
|
||||
let authPool = null;
|
||||
@@ -358,6 +360,7 @@ async function bootstrapUserAuth() {
|
||||
mindSpaceRybbitConfig,
|
||||
);
|
||||
scheduleService = domainServices.scheduleService;
|
||||
scheduledTaskService = domainServices.scheduledTaskService;
|
||||
pageDataService = domainServices.pageDataService;
|
||||
pageDataPublicService =
|
||||
domainServices.pageDataPublicService;
|
||||
@@ -521,6 +524,8 @@ async function bootstrapUserAuth() {
|
||||
sessionAccess,
|
||||
tkmindProxy,
|
||||
scheduleService,
|
||||
scheduledTaskService,
|
||||
sessionSnapshotService,
|
||||
wechatScheduleLlmConfigService,
|
||||
llmProviderService,
|
||||
chatIntentRouter,
|
||||
@@ -541,6 +546,8 @@ async function bootstrapUserAuth() {
|
||||
integrationServices.notificationDispatcher;
|
||||
scheduleReminderWorker =
|
||||
integrationServices.scheduleReminderWorker;
|
||||
scheduledTaskWorker =
|
||||
integrationServices.scheduledTaskWorker;
|
||||
mindSpacePageEditSession =
|
||||
integrationServices.mindSpacePageEditSession;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user