fix(python): package the minimal runtime closure

This commit is contained in:
Yichen Jiang
2026-08-10 20:55:02 +08:00
parent 62f4da95f5
commit 4481637684
20 changed files with 1008 additions and 579 deletions

View File

@@ -33,7 +33,9 @@ if (configPath === undefined || !existsSync(configPath)) {
process.exit(1)
}
const ctx = await boot(NAME, configPath)
// The executable owns a closed plugin set; config-adjacent node_modules must
// not shadow the packages embedded beside this bin in the VFS.
const ctx = await boot(NAME, configPath, undefined, undefined, import.meta.url)
let exiting = false
async function disposeAndExit(code: number): Promise<void> {