The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(providers): publish the plugin-stamp check time before auth sync re-enters
ethernetd297db0c70e2
diff --git a/providers/__init__.py b/providers/__init__.pyindex 50392743f5d..cdf18097a36 100644--- a/providers/__init__.py+++ b/providers/__init__.py@@ -269,9 +269,11 @@ def _refresh_home_layer(layer: _HomeLayer, home: Path | None, key: str, *, forceif stamps != layer.stamps:_scan_home_layer(layer, key)layer.stamps = stamps- # Publish the completed layer only after its stamp is current. Auth sync- # calls list_providers(), which re-enters this function; syncing from- # _scan_home_layer before this assignment recursively rescanned forever.+ # Publish the completed layer -- stamps AND check time -- before auth+ # sync: it calls list_providers(), which re-enters this function. An+ # unpublished stamp rescanned forever; an unpublished check time+ # re-stats the plugin dirs inside the TTL.+ layer.stamp_checked_at = nowif _discovered and not _discovering:_sync_auth_registry()layer.stamp_checked_at = now