promptgraph-mcp 2.9.38 → 2.9.39

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.
@@ -149,6 +149,12 @@ export default async function handler(args, bin) {
149
149
  if (result?.error) { error(result.error); process.exit(1); }
150
150
  if (result.gh_not_installed) {
151
151
  console.log('\n' + result.instructions);
152
+ // Auto-open browser
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' });
156
+ console.log(chalk.green('\n✓ Opened in browser — just click "Submit new issue"'));
157
+ } catch {}
152
158
  } else {
153
159
  success(`Bundle proposed! Submit: ${result.submit_url}`);
154
160
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.9.38",
3
+ "version": "2.9.39",
4
4
  "files": [
5
5
  "*.js",
6
6
  "commands/",