codeep 1.1.25 → 1.1.26

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.
@@ -1295,7 +1295,9 @@ export class App {
1295
1295
  const cmd = process.platform === 'darwin' ? 'open'
1296
1296
  : process.platform === 'win32' ? 'start'
1297
1297
  : 'xdg-open';
1298
- require('child_process').execSync(`${cmd} "${provider.subscribeUrl}"`, { stdio: 'ignore' });
1298
+ const { spawn } = require('child_process');
1299
+ const child = spawn(cmd, [provider.subscribeUrl], { detached: true, stdio: 'ignore' });
1300
+ child.unref();
1299
1301
  }
1300
1302
  catch { /* ignore */ }
1301
1303
  }
@@ -4,7 +4,7 @@
4
4
  import { LineEditor } from '../Input.js';
5
5
  import { fg, style } from '../ansi.js';
6
6
  import { createBox, centerBox } from './Box.js';
7
- import { execSync } from 'child_process';
7
+ import { spawn } from 'child_process';
8
8
  // Primary color: #f02a30 (Codeep red)
9
9
  const PRIMARY_COLOR = fg.rgb(240, 42, 48);
10
10
  const PRIMARY_BRIGHT = fg.rgb(255, 80, 85);
@@ -147,7 +147,8 @@ function openUrl(url) {
147
147
  const cmd = process.platform === 'darwin' ? 'open'
148
148
  : process.platform === 'win32' ? 'start'
149
149
  : 'xdg-open';
150
- execSync(`${cmd} "${url}"`, { stdio: 'ignore' });
150
+ const child = spawn(cmd, [url], { detached: true, stdio: 'ignore' });
151
+ child.unref();
151
152
  }
152
153
  catch {
153
154
  // Silently fail if browser can't be opened
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",