buninu 0.4.8 → 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,12 @@
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
+
3
10
  ## 0.4.8 - 2026-09-16
4
11
 
5
12
  ### Documentation
package/README.md CHANGED
@@ -560,7 +560,11 @@ own projects ship.
560
560
 
561
561
  `bunproot` is an optional tool downloaded by the user through `bunx` and is
562
562
  licensed under GPL-2.0-or-later; `js-udocker` is licensed under Apache-2.0.
563
- Neither is distributed with Buninu. The example below is Android-only.
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.
564
568
 
565
569
  ```sh
566
570
  bunx bunproot
@@ -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.8",
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",