UNPKG

@agent-graph/core

Version:

A lightweight AI Agent orchestration solution

22 lines (21 loc) 536 B
export var ExitStatus; (function (ExitStatus) { ExitStatus[ExitStatus["SUCCESS"] = 0] = "SUCCESS"; ExitStatus[ExitStatus["ERROR"] = 1] = "ERROR"; })(ExitStatus || (ExitStatus = {})); export const mockGraphRuntime = { context: {}, version: 0, exit: () => { }, interrupt: () => { }, addShutdownHook: () => { }, }; export function createGraphRuntime(context) { return { context, version: 0, exit: () => { }, interrupt: () => { }, addShutdownHook: () => { }, }; }