adelie-ai 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adelie/__init__.py +1 -1
- package/bin/adelie.js +4 -2
- package/package.json +1 -1
package/adelie/__init__.py
CHANGED
package/bin/adelie.js
CHANGED
|
@@ -67,8 +67,10 @@ function ensureVenv() {
|
|
|
67
67
|
|
|
68
68
|
ensureVenv();
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
// Run adelie as a module so Python adds PKG_ROOT to sys.path automatically.
|
|
71
|
+
// ADELIE_CWD preserves the user's actual working directory for workspace detection.
|
|
72
|
+
const child = spawn(PYTHON_BIN, ["-m", "adelie.cli", ...process.argv.slice(2)], {
|
|
73
|
+
cwd: PKG_ROOT,
|
|
72
74
|
stdio: "inherit",
|
|
73
75
|
env: {
|
|
74
76
|
...process.env,
|