Add scheduled task automation skill with worker execution pipeline.
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:
john
2026-07-31 08:02:49 +08:00
parent 4186522c72
commit 81e63c16d3
27 changed files with 1736 additions and 2 deletions
+8
View File
@@ -142,6 +142,14 @@ test('generate-page selection preserves an existing news-page request for the ne
assert.equal(mergeChatSkillPromptWithInput(prompt, task), `${prompt}${task}`);
});
test('buildAutoChatSkillPrefix routes scheduled automation when skill is granted', () => {
assert.match(
buildAutoChatSkillPrefix('每天6点帮我做今日新闻页面', ['scheduled-task-automation']),
/scheduled-task-automation/,
);
assert.equal(buildAutoChatSkillPrefix('每天6点帮我做今日新闻页面', []), '');
});
test('buildAutoChatSkillPrefix enables web for news-like queries', () => {
assert.match(
buildAutoChatSkillPrefix('帮我搜索今天热点新闻', ['web', 'search']),