Bluesky app fork with some witchin' additions 馃挮 forked from jollywhoppers.com/witchsky.app

[Session] Code cleanup (#3854) master

* Split utils into files * Move reducer to another file * Write types explicitly * Remove unnnecessary check * Move things around a bit * Move more stuff into agent factories * Move more stuff into agent * Fix gates await * Clarify comments * Enforce more via types * Nit * initSession -> resumeSession * Protect against races * Make agent opaque to reducer * Check using plain condition