mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 18:31:34 +01:00
feat(watchdogs): add experimental self-mode watchdogs
- Add enableWatchdogEverything experimental instance setting and UI toggle. - Add issue_watchdogs.mode and accept mode in the watchdog endpoint. - Wake task assignees directly for stopped self-mode watchdogs. - Add first-instruction guidance for assignment-shaped wakes. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
9574cad3e8
commit
7b4722e26c
21 files changed
+554
-4
No files matched your search
@@ -497,6 +497,10 @@ export type CreateIssue = z.infer<typeof createIssueSchema>;
|
||||
export const upsertIssueWatchdogSchema = z.object({
|
||||
agentId: z.string().uuid(),
|
||||
instructions: multilineTextSchema.optional().nullable(),
|
||||
// "subtask" (default) reviews stopped subtrees through a separate watchdog
|
||||
// issue; "self" wakes the watchdog agent directly on the watched issue
|
||||
// (experimental "watchdog everything"). Omitted on update keeps the current mode.
|
||||
mode: z.enum(["subtask", "self"]).optional(),
|
||||
}).strict();
|
||||
|
||||
export type UpsertIssueWatchdog = z.infer<typeof upsertIssueWatchdogSchema>;
|
||||
|
||||
Reference in new issue
Block a user