From a discussion with Roey Berman on Temporal's Slack, it appeared that using a custom clock implementation was not necessary. In this new version, I dropped it. The integration of XState with Temporal is even more straightforward than it seemed to be at first!
I migrated the XState machine to Typegen, improving drastically the type-safety of the machine.
Thanks to Stately Editor, the machine can be edited visually.
Temporal's dependencies have been upgraded too.
Let's build your own workflows from this template, by using these amazing tools!