buninu 0.4.7 → 0.4.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.9 - 2026-09-16
4
+
5
+ ### Changed
6
+
7
+ - Sync bunmsh to 0.3.6
8
+ * VS Code compatibility: accepts leading &
9
+
10
+ ## 0.4.8 - 2026-09-16
11
+
12
+ ### Documentation
13
+
14
+ - Add an Android-only optional-tools walkthrough for installing `bunproot`,
15
+ cloning `js-udocker`, and starting an Alpine container. Both tools remain
16
+ user-downloaded rather than bundled with Buninu; the README records
17
+ `bunproot` as GPL-2.0-or-later and `js-udocker` as Apache-2.0
18
+
3
19
  ## 0.4.7 - 2026-09-14
4
20
 
5
21
  ### Added
package/README.md CHANGED
@@ -556,6 +556,26 @@ own projects ship.
556
556
  * No longer depends on or ships `node-pty`
557
557
  * Its PTY is provided by Bun's terminal API
558
558
 
559
+ ## Optional external tools
560
+
561
+ `bunproot` is an optional tool downloaded by the user through `bunx` and is
562
+ licensed under GPL-2.0-or-later; `js-udocker` is licensed under Apache-2.0.
563
+ Neither is distributed with Buninu.
564
+
565
+ - `bunproot --git clone` should be cross-platform
566
+ * Tested on Android, Linux, and Windows
567
+ - The container example below is Android-only.
568
+
569
+ ```sh
570
+ bunx bunproot
571
+ bunx bunproot --git clone https://github.com/jjtseng93/bunproot
572
+ bunx bunproot --git clone https://github.com/jjtseng93/js-udocker
573
+ cd js-udocker
574
+ export JS_UDOCKER_BUNPROOT=$(realpath ../bunproot/proot.js)
575
+ bun udocker.js run --name=ap alpine
576
+ # bun udocker.js ps
577
+ ```
578
+
559
579
  ## Data & Persistence
560
580
 
561
581
  Running Buninu via `npx` works like a container: `npx` fetches the package into
@@ -1098,6 +1118,7 @@ an alias that fails to define leaves it reachable. See
1098
1118
  * [Launching a bundled app directly](#launching-a-bundled-app-directly)
1099
1119
  - [Commands inside the shell](#commands-inside-the-shell)
1100
1120
  - [Differences from upstream](#differences-from-upstream)
1121
+ - [Optional external tools](#optional-external-tools)
1101
1122
  - [Data & Persistence](#data--persistence)
1102
1123
  - [Install and update](#install-and-update)
1103
1124
  - [Export](#export)
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable user-visible changes to bunmsh are documented here.
4
4
 
5
+ ## [0.3.6] - 2026-09-15
6
+
7
+ ### Added
8
+
9
+ - Accept a leading `&` as a PowerShell-compatible call operator on Windows,
10
+ or on any platform when `BUNMSH_LEADING_AND` is set before bunmsh starts.
11
+ This lets commands sent by VS Code's Play action run inside an already-open
12
+ bunmsh session, such as `& 'C:\Python313\python.exe' script.py`.
13
+
5
14
  ## [0.3.5] - 2026-09-09
6
15
 
7
16
  Version 0.3.4 was intentionally skipped because the number four is considered
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunmsh",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Cross-platform command shell for Bun JavaScript",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -3337,7 +3337,15 @@ async function runCommandArgv(
3337
3337
  captureStderr,
3338
3338
  options = {},
3339
3339
  ) {
3340
- let commandArgv = argv;
3340
+ let commandArgv = argv;
3341
+
3342
+ if( process.env.BUNMSH_LEADING_AND ||
3343
+ process.platform === "win32" )
3344
+ {
3345
+ if(argv[0] === "&")
3346
+ commandArgv = argv.slice(1) ;
3347
+ }
3348
+
3341
3349
  let commandState = state;
3342
3350
  if (options.pipelineStage && runsInPipelineSubprocess(commandArgv, commandState))
3343
3351
  return runExternal(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buninu",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "description": "Buninu is a portable, self-bootstrapping Unix-like userspace built on Bun that runs across operating systems",
5
5
  "type": "module",
6
6
  "main": "./bin/init.js",