feat(injects,conversations,scheduler,gateway_tools,api): wake priority, master and parent aliases, scheduled injects start a turn
This commit is contained in:
@@ -200,7 +200,7 @@ export class ApiClient {
|
||||
inject(
|
||||
id: string,
|
||||
text: string,
|
||||
urgency: "normal" | "urgent",
|
||||
urgency: "normal" | "wake" | "urgent",
|
||||
origin = "panel"
|
||||
): Promise<{ id: string; item: number; priority: string }> {
|
||||
return this.post(`/api/conversations/${id}/inject`, {
|
||||
|
||||
@@ -47,7 +47,7 @@ export interface QueueItem {
|
||||
created_at: string;
|
||||
id: number;
|
||||
origin: string;
|
||||
priority: "urgent" | "user" | "normal";
|
||||
priority: "urgent" | "user" | "wake" | "normal";
|
||||
status: "queued" | "running" | "done" | "failed" | "interrupted";
|
||||
text: string;
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
normal: "text-note",
|
||||
urgent: "text-destructive",
|
||||
user: "text-foreground",
|
||||
wake: "text-foreground",
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user