Merge branch 'main' into feat/pdm-support

This commit is contained in:
Chris Ingram 2026-05-15 08:46:06 +01:00 committed by GitHub
commit bf2d37d114
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 113 additions and 29 deletions

View file

@ -1,5 +1,11 @@
#!/usr/bin/env node
// Strip PKG_EXECPATH from the environment so any child process safe-chain
// spawns (npm, uv, pip, …) doesn't inherit it. If it leaks into a subsequent
// safe-chain invocation (e.g. via a shim) the yao-pkg bootstrap would treat
// argv[1] as a script path and fail with MODULE_NOT_FOUND.
delete process.env.PKG_EXECPATH;
import chalk from "chalk";
import { ui } from "../src/environment/userInteraction.js";
import { setup } from "../src/shell-integration/setup.js";