chore: import upstream snapshot with attribution
Validate YAML Workflows / Validate YAML Configuration Files (push) Waiting to run

This commit is contained in:
wehub-resource-sync
2026-07-13 12:37:51 +08:00
commit d0e4308def
614 changed files with 74458 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
"""Bootstrap helpers for runtime subsystems."""
+28
View File
@@ -0,0 +1,28 @@
"""Ensure schema registry is populated with runtime-provided registrations."""
from importlib import import_module
from typing import Iterable
_BOOTSTRAPPED = False
def _modules_to_import() -> Iterable[str]:
return (
"runtime.node.builtin_nodes",
"runtime.node.agent.memory.builtin_stores",
"runtime.node.agent.thinking.builtin_thinking",
"runtime.edge.conditions.builtin_types",
"runtime.node.agent.providers.builtin_providers",
)
def ensure_schema_registry_populated() -> None:
"""Import built-in runtime registration modules exactly once."""
global _BOOTSTRAPPED
if _BOOTSTRAPPED:
return
for module_name in _modules_to_import():
import_module(module_name)
_BOOTSTRAPPED = True