@code-yeongyu/senpi-tui 2026.8.30 → 2026.8.31

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/README.md CHANGED
@@ -828,7 +828,7 @@ See `test/chat-simple.ts` for a complete chat interface example with:
828
828
 
829
829
  Run it:
830
830
  ```bash
831
- npx tsx test/chat-simple.ts
831
+ bunx tsx test/chat-simple.ts
832
832
  ```
833
833
 
834
834
  ## Development
@@ -836,12 +836,13 @@ npx tsx test/chat-simple.ts
836
836
  ```bash
837
837
  # Install dependencies (from monorepo root)
838
838
  npm install
839
+ # Bun alternative: bun install
839
840
 
840
841
  # Run type checking
841
- npm run check
842
+ bun run check
842
843
 
843
844
  # Run the demo
844
- npx tsx test/chat-simple.ts
845
+ bunx tsx test/chat-simple.ts
845
846
  ```
846
847
 
847
848
  ### Debug logging
@@ -849,5 +850,5 @@ npx tsx test/chat-simple.ts
849
850
  Set `PI_TUI_WRITE_LOG` to capture the raw ANSI stream written to stdout.
850
851
 
851
852
  ```bash
852
- PI_TUI_WRITE_LOG=/tmp/tui-ansi.log npx tsx test/chat-simple.ts
853
+ PI_TUI_WRITE_LOG=/tmp/tui-ansi.log bunx tsx test/chat-simple.ts
853
854
  ```
@@ -3,7 +3,7 @@
3
3
  Build both macOS architectures from the repository root:
4
4
 
5
5
  ```sh
6
- npm --prefix packages/tui run build:native:darwin
6
+ bun run --cwd packages/tui build:native:darwin
7
7
  ```
8
8
 
9
9
  The build uses macOS 11.0 as the arm64 deployment target and macOS 10.15 as the x86_64 deployment target. On macOS, `build.sh` finds Apple clang and the active macOS SDK through `xcrun`. Either an Intel or Apple Silicon host can build both outputs.
@@ -12,7 +12,7 @@ A non-macOS host needs a complete Darwin cross-toolchain, including a macOS SDK
12
12
 
13
13
  ```sh
14
14
  CC=/path/to/osxcross/clang SDKROOT=/path/to/MacOSX.sdk \
15
- npm --prefix packages/tui run build:native:darwin
15
+ bun run --cwd packages/tui build:native:darwin
16
16
  ```
17
17
 
18
18
  The SDK must be obtained and used in accordance with Apple's license. Plain Linux or Windows clang is not enough because the addon includes and links CoreGraphics.
@@ -3,7 +3,7 @@
3
3
  Build both Windows architectures from the repository root:
4
4
 
5
5
  ```sh
6
- npm --prefix packages/tui run build:native:win32
6
+ bun run --cwd packages/tui build:native:win32
7
7
  ```
8
8
 
9
9
  On Windows, the build uses the Microsoft C++ Build Tools from Visual Studio. `build.mjs` locates `VsDevCmd.bat`, initializes a developer environment for `amd64` and `arm64`, and builds the addon with `cl.exe`/`link.exe`.
@@ -16,7 +16,7 @@ For non-Windows cross-builds, or for custom Windows toolchains, set `PI_TUI_WIN3
16
16
  PI_TUI_WIN32_TOOLCHAIN=mingw \
17
17
  CC_X64=/path/to/x86_64-w64-mingw32-gcc \
18
18
  CC_ARM64=/path/to/aarch64-w64-mingw32-gcc \
19
- npm --prefix packages/tui run build:native:win32
19
+ bun run --cwd packages/tui build:native:win32
20
20
  ```
21
21
 
22
22
  The addon intentionally avoids the C runtime and links only against `kernel32`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/senpi-tui",
3
- "version": "2026.8.30",
3
+ "version": "2026.8.31",
4
4
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",