UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

6 lines (5 loc) • 341 B
export const SUSPEND_LANE_REASONS = Object.freeze(["no_checkpoint_store", "leg_not_resumable", "volatile_tool_results", "env_not_remote", "env_suspend_undeclared", "env_restore_incomplete"]); const SUSPEND_LANE_REASON_SET = new Set(SUSPEND_LANE_REASONS); export function isSuspendLaneReason(v) { return SUSPEND_LANE_REASON_SET.has(v); }