@rubytech/create-maxy-lite 0.1.12 → 0.1.13
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/lib/paths.mjs +7 -1
- package/package.json +1 -1
package/lib/paths.mjs
CHANGED
|
@@ -85,7 +85,13 @@ export function webchatInstallCommand({ webchatDir = WEBCHAT_DIR } = {}) {
|
|
|
85
85
|
// node_modules first, then install: that recreates the spike's empty-dir build.
|
|
86
86
|
// `npm install node-pty` also resolves package.json (ws). The env prefix forces
|
|
87
87
|
// scripts on to match the spike's environment regardless of ambient ignore-scripts.
|
|
88
|
-
|
|
88
|
+
// Ensure the build toolchain right here, in the same clean-env command, so the
|
|
89
|
+
// build can never run without make/g++ — the spike's working sequence was exactly
|
|
90
|
+
// `apt install -y python3 make g++` THEN `npm install node-pty`, together. The
|
|
91
|
+
// separate `toolchain` step's guard can be fooled into skipping (it found Termux's
|
|
92
|
+
// g++ via the leaked PATH while Ubuntu's make was never installed → node-gyp "not
|
|
93
|
+
// found: make"). apt is idempotent, so re-running it costs ~nothing.
|
|
94
|
+
return `${GUEST_BUILD_ENV}; apt-get install -y python3 make g++ && cd ${webchatDir} && rm -rf node_modules package-lock.json && npm_config_ignore_scripts=false npm install node-pty`
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
// The shipped skills, as bundled into the app dir, and the path the on-device
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubytech/create-maxy-lite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Install maxy-lite on an Android phone: orchestrates proot-distro Ubuntu, glibc Node, claude, the web-chat relay, the vault and its bind-mount — run via npx in bare Termux.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|