V10.509 接入 Webcrumbs 同源資產代理與 writer preflight gate
All checks were successful
CD Pipeline / deploy (push) Successful in 1m8s

This commit is contained in:
OoO
2026-05-31 20:32:20 +08:00
parent 72ded9e1e5
commit 593e87b175
20 changed files with 1945 additions and 273 deletions

View File

@@ -37,6 +37,8 @@ def test_external_tool_bridge_pages_are_diagnostic_not_blank():
assert "external-tool-diagnostics" in template
assert "external-tool-action-grid" in template
assert "def webcrumbs_status()" in route_source
assert "def webcrumbs_asset_proxy(asset_path)" in route_source
assert "WEBCRUMBS_ASSET_ALLOWED_PREFIXES" in route_source
assert "Webcrumbs 共用 UI Runtime" in route_source
assert "尚未接入 proxy" in route_source
assert "已由入口攔截" in route_source

View File

@@ -31,6 +31,8 @@ def test_frontend_v2_shell_uses_real_runtime_context():
assert "components/_ewoooc_shell.html" in base
assert "'webcrumbs_config': {" in app_source
assert "WEBCRUMBS_RUNTIME_URL" in config_source
assert "/webcrumbs-assets/loader/webcrumbs-compatible-loader.js" in config_source
assert "WEBCRUMBS_ASSET_UPSTREAM_URL" in config_source
assert "data-webcrumbs-runtime" in base
assert 'name="ui" value="v2"' not in base

File diff suppressed because it is too large Load Diff