revert: remove workflow automation, keep overlay and stop_goal
Remove all workflow-related code from PR #6 (input classifier, workflow parser, notification listener, workflow CRUD handlers). Keep the overlay, stop_goal, AbortSignal threading, and OkHttp engine switch. Add v2 design doc for safer workflow implementation.
This commit is contained in:
@@ -8,12 +8,7 @@ export type DeviceMessage =
|
||||
| { type: "pong" }
|
||||
| { type: "heartbeat"; batteryLevel: number; isCharging: boolean }
|
||||
| { type: "apps"; apps: InstalledApp[] }
|
||||
| { type: "stop_goal" }
|
||||
| { type: "workflow_create"; description: string }
|
||||
| { type: "workflow_update"; workflowId: string; enabled?: boolean }
|
||||
| { type: "workflow_delete"; workflowId: string }
|
||||
| { type: "workflow_sync" }
|
||||
| { type: "workflow_trigger"; workflowId: string; notificationApp?: string; notificationTitle?: string; notificationText?: string };
|
||||
| { type: "stop_goal" };
|
||||
|
||||
export type ServerToDeviceMessage =
|
||||
| { type: "auth_ok"; deviceId: string }
|
||||
|
||||
Reference in New Issue
Block a user