holon 0.14.1

A headless, event-driven runtime for long-lived agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
export function normalizeRequest(body) {
  return {
    kind: body.kind ?? "webhook_event",
    priority: body.priority ?? "normal",
    metadata: body.metadata ?? null
  };
}

export function enqueueFromHttp(queue, body) {
  const normalized = normalizeRequest(body);
  queue.push(normalized);
  return normalized;
}