feat: heartbeat (#108)

* feat: heartbeat

* feat: independent heartbeat model
This commit is contained in:
Acbox Liu
2026-02-24 19:25:02 +08:00
committed by Ran
parent a9680587c6
commit 2f38662d4d
47 changed files with 2276 additions and 43 deletions
+4
View File
@@ -47,6 +47,10 @@ export const ScheduleModel = z.object({
command: z.string().min(1, 'Schedule command is required'),
})
export const HeartbeatModel = z.object({
interval: z.number().int().positive().default(30),
})
export const AttachmentModel = z.object({
contentHash: z.string().optional(),
type: z.string().min(1, 'Attachment type is required'),