- sessionsDir in settings.json is hardcoded. can we use ~ or some crossplatform path? - is anybody using lib/state.ts?