feat: push interview events to connected calendar integrations #20

Merged
pyr0ball merged 3 commits from feature/calendar-push into main 2026-03-16 21:45:07 -07:00
Showing only changes of commit 2fcab541c7 - Show all commits

View file

@ -165,9 +165,15 @@ def resolve_session(app: str = "peregrine") -> None:
user_path = _user_data_path(user_id, app)
user_path.mkdir(parents=True, exist_ok=True)
(user_path / "config").mkdir(exist_ok=True)
config_path = user_path / "config"
config_path.mkdir(exist_ok=True)
(user_path / "data").mkdir(exist_ok=True)
# Bootstrap config files that the UI requires to exist — never overwrite
_kw = config_path / "resume_keywords.yaml"
if not _kw.exists():
_kw.write_text("skills: []\ndomains: []\nkeywords: []\n")
st.session_state["user_id"] = user_id
st.session_state["db_path"] = user_path / "staging.db"
st.session_state["db_key"] = derive_db_key(user_id)