fix(plugin): read the runtime compatibility gate from the declared snapshot (#6761)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
InfinityPacer
2026-09-23 01:44:45 +08:00
committed by GitHub
parent 0238351071
commit 3cef2149d0
14 changed files with 172 additions and 39 deletions

View File

@@ -178,6 +178,7 @@ def _build_world(
logger=_logger(),
set_default_target=lambda _plugin_id, _instance_id: True,
clear_default_target=lambda _plugin_id: None,
runtime_declaration=lambda _plugin_id: {},
)
runtime = build_plugin_runtime(
SimpleNamespace(