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:
@@ -265,6 +265,17 @@ export function buildSessionMemoryEntries({
|
||||
].join('\n'),
|
||||
});
|
||||
}
|
||||
if ((scheduleTools?.available_tools ?? []).includes('scheduled_task_create')) {
|
||||
entries.push({
|
||||
title: 'TKMind 定时自动任务规则',
|
||||
content: [
|
||||
'创建 Scheduled Automation 时:',
|
||||
'- 使用 scheduled_task_create;一次性任务传 runAtLocal,循环任务传 hour/minute/weekday。',
|
||||
'- 禁止自行估算 Unix 毫秒;本 skill 只写入订阅,不在当前对话立即执行长任务。',
|
||||
'- 写入后调用 scheduled_task_list 核对。',
|
||||
].join('\n'),
|
||||
});
|
||||
}
|
||||
|
||||
if (!hasMemoryStore(sessionPolicy)) {
|
||||
return entries;
|
||||
|
||||
Reference in New Issue
Block a user