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:
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user