promptgraph-mcp 2.9.39 → 2.9.40

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.
@@ -151,8 +151,12 @@ export default async function handler(args, bin) {
151
151
  console.log('\n' + result.instructions);
152
152
  // Auto-open browser
153
153
  try {
154
- const openCmd = process.platform === 'win32' ? 'start' : process.platform === 'darwin' ? 'open' : 'xdg-open';
155
- spawnSync(openCmd, [result.submit_url], { shell: true, stdio: 'ignore' });
154
+ if (process.platform === 'win32') {
155
+ spawnSync('cmd', ['/c', 'start', '', result.submit_url], { stdio: 'ignore' });
156
+ } else {
157
+ const openCmd = process.platform === 'darwin' ? 'open' : 'xdg-open';
158
+ spawnSync(openCmd, [result.submit_url], { stdio: 'ignore' });
159
+ }
156
160
  console.log(chalk.green('\n✓ Opened in browser — just click "Submit new issue"'));
157
161
  } catch {}
158
162
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.9.39",
3
+ "version": "2.9.40",
4
4
  "files": [
5
5
  "*.js",
6
6
  "commands/",