先提交到云仓库

结论:已提交当前 Python-remap proof 链路、runtime/browser/UI/docs 相关变更;保持 L4-PYTHON-REMAP inventory baseline 不直接批量 PASS。
This commit is contained in:
2026-06-20 00:06:10 +08:00
parent fbf9dade9c
commit ac52b48d62
36 changed files with 4388 additions and 240 deletions

View File

@@ -11,10 +11,6 @@ function postError(id, type, error) {
});
}
function pythonRuntimeAvailable() {
return typeof self.loadPyodide === "function" || Boolean(self.pyodide?.runPythonAsync);
}
function getRuntimeProvider() {
return self.linuxCncPythonRemapRuntimeProvider ?? null;
}
@@ -77,7 +73,7 @@ self.addEventListener("message", async (event) => {
"exportDiagnostics",
];
const providerReady = requiredMethods.every((method) => typeof provider?.[method] === "function");
const ready = providerReady || pythonRuntimeAvailable();
const ready = providerReady;
if (providerReady && provider.start) {
await provider.start(message);
}