mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
* refactor: simplify OAuth deep link handling by removing client key fetch logic - Removed the client key share fetching logic from the OAuth deep link handler, simplifying the process. - Updated logging to reflect the success of the OAuth process and the presence of the client key share directly from URL parameters. - Adjusted comments to maintain clarity in the flow of the deep link handling function. * feat: trigger initial sync after successful OAuth completion - Updated the OAuth deep link handler to automatically trigger an initial data sync upon successful authentication, enhancing data availability for skills. - Adjusted comments to clarify the new behavior and its integration with the skill runtime, ensuring immediate data fetching post-authentication. * feat: trigger initial sync on startup if credentials are present - Added logic to check for persisted OAuth credentials at startup and trigger an initial data sync if found, ensuring immediate data availability for skills. - Enhanced logging to provide feedback on the sync process, including success and failure messages for better monitoring. * refactor: enhance logging format and improve initial sync comments - Updated logging format in `logging.rs` to remove angle brackets from log levels and adjust time formatting for consistency. - Improved comments in `instance.rs` to clarify the non-blocking nature of the initial sync process, enhancing code readability and understanding. * refactor: remove automatic initial sync on startup and after auth completion - Eliminated the logic that triggered an initial sync automatically at startup if credentials were present or after successful OAuth completion, shifting to a manual or cron-scheduled sync approach. - Updated comments to clarify the new sync behavior, enhancing code readability and understanding.