xstateAutomationRepoxstateState machines, statecharts, and actors for complex logicactor-modelbackground-jobsfinite-state-machine31kTypeScriptMIT13 h agostatelyaiSave or add to a stackTake it