clideck 1.24.0 → 1.25.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.
Files changed (2) hide show
  1. package/handlers.js +3 -3
  2. package/package.json +1 -1
package/handlers.js CHANGED
@@ -248,7 +248,7 @@ function onConnection(ws) {
248
248
  let installed = false;
249
249
  try { execFileSync(whichCmd, ['clideck-remote'], { stdio: 'ignore' }); installed = true; } catch {}
250
250
  if (!installed) { ws.send(JSON.stringify({ type: 'remote.status', installed: false })); break; }
251
- require('child_process').execFile('clideck-remote', ['status', '--json'], { timeout: 5000 }, (err, stdout) => {
251
+ require('child_process').execFile('clideck-remote', ['status', '--json'], { timeout: 5000, shell: process.platform === 'win32' }, (err, stdout) => {
252
252
  if (err) { ws.send(JSON.stringify({ type: 'remote.status', installed: true })); return; }
253
253
  try { ws.send(JSON.stringify({ type: 'remote.status', installed: true, ...JSON.parse(stdout) })); }
254
254
  catch { ws.send(JSON.stringify({ type: 'remote.status', installed: true })); }
@@ -257,7 +257,7 @@ function onConnection(ws) {
257
257
  }
258
258
 
259
259
  case 'remote.pair': {
260
- require('child_process').execFile('clideck-remote', ['pair', '--json'], { timeout: 15000 }, (err, stdout) => {
260
+ require('child_process').execFile('clideck-remote', ['pair', '--json'], { timeout: 15000, shell: process.platform === 'win32' }, (err, stdout) => {
261
261
  if (err) { ws.send(JSON.stringify({ type: 'remote.error', error: err.message })); return; }
262
262
  try { ws.send(JSON.stringify({ type: 'remote.paired', ...JSON.parse(stdout) })); }
263
263
  catch { ws.send(JSON.stringify({ type: 'remote.error', error: 'Invalid response from clideck-remote' })); }
@@ -266,7 +266,7 @@ function onConnection(ws) {
266
266
  }
267
267
 
268
268
  case 'remote.unpair': {
269
- require('child_process').execFile('clideck-remote', ['unpair', '--json'], { timeout: 5000 }, (err) => {
269
+ require('child_process').execFile('clideck-remote', ['unpair', '--json'], { timeout: 5000, shell: process.platform === 'win32' }, (err) => {
270
270
  if (err) {
271
271
  ws.send(JSON.stringify({ type: 'remote.error', error: err.message }));
272
272
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clideck",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "One screen for all your AI coding agents — run, monitor, and manage multiple CLI agents from a single browser tab",
5
5
  "main": "server.js",
6
6
  "bin": {