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:
@@ -3,6 +3,10 @@ import test from 'node:test';
|
||||
import { parseScheduleIntent, shouldUseScheduleAssistant } from './schedule-intent.mjs';
|
||||
import { nextDailyRunAt } from './schedule-time.mjs';
|
||||
|
||||
test('daily news automation does not route to schedule assistant', () => {
|
||||
assert.equal(shouldUseScheduleAssistant('每天6点帮我做今日新闻页面'), false);
|
||||
});
|
||||
|
||||
test('parses daily 7am todo digest request', () => {
|
||||
const intent = parseScheduleIntent('每天早上 7 点给我发一天的待办记录');
|
||||
assert.equal(intent.action, 'create_daily_todo_digest');
|
||||
|
||||
Reference in New Issue
Block a user