devbonzai 2.2.304 → 2.2.305

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devbonzai",
3
- "version": "2.2.304",
3
+ "version": "2.2.305",
4
4
  "description": "Quickly set up a local file server in any repository for browser-based file access",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -4,7 +4,8 @@ const pty = require('node-pty');
4
4
  const terminals = new Map();
5
5
 
6
6
  function handleTerminalConnection(ws, workingDirectory) {
7
- const shell = process.platform === 'win32' ? 'powershell.exe' : 'zsh';
7
+ // Use user's default shell, fallback to /bin/zsh
8
+ const shell = process.platform === 'win32' ? 'powershell.exe' : (process.env.SHELL || '/bin/zsh');
8
9
  const cwd = workingDirectory || process.env.HOME;
9
10
 
10
11
  console.log('🖥️ Terminal session started in:', cwd);