feat(health): expose plugin runtime readiness (#2420)

Co-authored-by: Chan <dadachann@users.noreply.github.com>
This commit is contained in:
Hyu
2026-08-12 19:49:56 +08:00
committed by GitHub
parent 8b14d2ab8e
commit c67a503532
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -249,6 +249,10 @@ class Application:
{},
)
),
'plugin_runtime_connected': bool(
self.plugin_connector is not None
and getattr(self.plugin_connector, '_runtime_available', lambda: False)()
),
}
mcp_loader = getattr(self.tool_mgr, 'mcp_tool_loader', None)
runtime_stats.update(