brsh 3.8.0 → 3.9.0
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 +14 -0
- package/Readme.md +4 -6
- package/dist/shell.es.js +381 -147
- package/dist/shell.es.js.map +1 -1
- package/dist/shell.min.js +11 -10
- package/dist/shell.min.js.map +1 -1
- package/dist/wbt.es.js +366 -144
- package/dist/wbt.es.js.map +1 -1
- package/dist/wbt.min.js +7 -7
- package/dist/wbt.min.js.map +1 -1
- package/index.js +27 -0
- package/lib/BaseFileSystem.js +20 -0
- package/lib/BinaryContainer.js +10 -1
- package/lib/Command.js +66 -23
- package/lib/FileSystem.js +156 -5
- package/lib/InteractiveCommand.js +5 -0
- package/lib/Readme.md +1 -0
- package/lib/ScriptCommand.js +10 -0
- package/lib/TtyStream.js +12 -2
- package/lib/WasmCommand.js +139 -21
- package/package.json +1 -1
- package/test/devices-signals.test.js +173 -0
- package/test/doom.test.js +36 -0
- package/test/fixtures/nano.wasm +0 -0
- package/test/wbt.test.js +39 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [3.9.0](https://github.com/eliotstocker/Brsh-JS/compare/v3.8.1...v3.9.0) (2026-11-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* in-memory /dev overlay, signal emulation with Ctrl+C, and WASM requirement auto-discovery ([#33](https://github.com/eliotstocker/Brsh-JS/issues/33)) ([a4a4f1f](https://github.com/eliotstocker/Brsh-JS/commit/a4a4f1f3c34a0e271db771ee395e5611224c4244))
|
|
7
|
+
|
|
8
|
+
## [3.8.1](https://github.com/eliotstocker/Brsh-JS/compare/v3.8.0...v3.8.1) (2026-11-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **wasm:** prevent duplicate keystroke delivery in interactive tty mode ([#32](https://github.com/eliotstocker/Brsh-JS/issues/32)) ([7a55dbe](https://github.com/eliotstocker/Brsh-JS/commit/7a55dbe345c9bdfb1081121ddcbfa839142b3026))
|
|
14
|
+
|
|
1
15
|
# [3.8.0](https://github.com/eliotstocker/Brsh-JS/compare/v3.7.0...v3.8.0) (2026-11-10)
|
|
2
16
|
|
|
3
17
|
|
package/Readme.md
CHANGED
|
@@ -479,13 +479,11 @@ mygame
|
|
|
479
479
|
|
|
480
480
|
---
|
|
481
481
|
|
|
482
|
-
### Real-World
|
|
482
|
+
### Real-World Examples
|
|
483
|
+
|
|
484
|
+
* [**eliotstocker/nano-wasm**](https://github.com/eliotstocker/nano-wasm): GNU nano 8.0 text editor compiled to `wasm32-wasip1` with wide-character `ncurses 6.5` and built-in terminfo fallbacks.
|
|
485
|
+
* [**eliotstocker/doom-wasm**](https://github.com/eliotstocker/doom-wasm): Classic Doom (`doom-ascii` 0.3.2) compiled to `wasm32-wasip1` with Binaryen Asyncify and `wasi-termios-brsh`, streaming 24-bit RGB ANSI frames at ~70 FPS in `brsh`.
|
|
483
486
|
|
|
484
|
-
For a complete, production reference implementation of an interactive C terminal application compiled to WebAssembly for `brsh`, check out [**eliotstocker/nano-wasm**](https://github.com/eliotstocker/nano-wasm). It demonstrates:
|
|
485
|
-
* Compiling a complex C codebase (`GNU nano 8.0`) targeting `wasm32-wasip1` with `wasi-sdk`.
|
|
486
|
-
* Statically linking wide-character `ncurses 6.5` with built-in terminfo fallbacks (`xterm-256color`, `vt100`, etc.) without requiring external terminfo files.
|
|
487
|
-
* Handling dynamic terminal window resizing (`TIOCGWINSZ`) and raw terminal input.
|
|
488
|
-
* Automated build scripts downloading toolchains and generating stripped standalone `.wasm` bundles.
|
|
489
487
|
|
|
490
488
|
## Binary Filesystem Container (`.brfs`) & Client-Side Persistence
|
|
491
489
|
|