/**
 * Orchestration emitters — typed emission wrappers for OrchestrationEvent domain.
 */
import { createEventEnvelope } from '../events/envelope.js';
export function emitOrchestrationGraphCreated(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_GRAPH_CREATED', { type: 'ORCHESTRATION_GRAPH_CREATED', ...data }, ctx));
}
export function emitOrchestrationNodeAdded(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_ADDED', { type: 'ORCHESTRATION_NODE_ADDED', ...data }, ctx));
}
export function emitOrchestrationNodeReady(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_READY', { type: 'ORCHESTRATION_NODE_READY', ...data }, ctx));
}
export function emitOrchestrationNodeStarted(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_STARTED', { type: 'ORCHESTRATION_NODE_STARTED', ...data }, ctx));
}
export function emitOrchestrationNodeProgress(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_PROGRESS', { type: 'ORCHESTRATION_NODE_PROGRESS', ...data }, ctx));
}
export function emitOrchestrationNodeBlocked(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_BLOCKED', { type: 'ORCHESTRATION_NODE_BLOCKED', ...data }, ctx));
}
export function emitOrchestrationNodeCompleted(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_COMPLETED', { type: 'ORCHESTRATION_NODE_COMPLETED', ...data }, ctx));
}
export function emitOrchestrationNodeFailed(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_FAILED', { type: 'ORCHESTRATION_NODE_FAILED', ...data }, ctx));
}
export function emitOrchestrationNodeCancelled(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_NODE_CANCELLED', { type: 'ORCHESTRATION_NODE_CANCELLED', ...data }, ctx));
}
export function emitOrchestrationRecursionGuardTriggered(bus, ctx, data) {
    bus.emit('orchestration', createEventEnvelope('ORCHESTRATION_RECURSION_GUARD_TRIGGERED', { type: 'ORCHESTRATION_RECURSION_GUARD_TRIGGERED', ...data }, ctx));
}
