feat(automation): add Phase 4 DB meta migration, system/probe hooks, and TransferEngine
This commit is contained in:
parent
7dac3d1261
commit
55948591db
6 changed files with 665 additions and 43 deletions
|
|
@ -168,12 +168,22 @@ export type ServerWsFrame =
|
|||
event?: AlertEventSummary;
|
||||
hostKeyMismatch?: HostKeyAlert;
|
||||
}
|
||||
| {
|
||||
type: 'workflow:run';
|
||||
runId: string;
|
||||
workflowId: string;
|
||||
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'skipped';
|
||||
triggerSource: string;
|
||||
startedAt: number;
|
||||
finishedAt?: number | null;
|
||||
}
|
||||
| { type: 'ai:delta'; chatId: string; chunk: string; done?: boolean; error?: string };
|
||||
|
||||
export const WS_CHANNELS = {
|
||||
METRICS: 'metrics',
|
||||
ALERTS: 'alerts',
|
||||
CONFIG: 'config',
|
||||
WORKFLOWS: 'workflows',
|
||||
pty: (sessionId: string) => `pty:${sessionId}`,
|
||||
stream: (jobId: string) => `stream:${jobId}`,
|
||||
ai: (chatId: string) => `ai:${chatId}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue