inline task agent v1

This commit is contained in:
Arjun 2026-03-04 22:15:15 +05:30 committed by arkml
parent 5aba6025dc
commit bd4cc1145d
13 changed files with 1221 additions and 6 deletions

View file

@ -437,6 +437,19 @@ const ipcSchemas = {
})),
}),
},
// Inline task schedule classification
'inline-task:classifySchedule': {
req: z.object({
instruction: z.string(),
}),
res: z.object({
schedule: z.union([
z.object({ type: z.literal('cron'), expression: z.string(), startDate: z.string(), endDate: z.string(), label: z.string() }),
z.object({ type: z.literal('window'), cron: z.string(), startTime: z.string(), endTime: z.string(), startDate: z.string(), endDate: z.string(), label: z.string() }),
z.object({ type: z.literal('once'), runAt: z.string(), label: z.string() }),
]).nullable(),
}),
},
} as const;
// ============================================================================