promptgraph-mcp 2.9.38 → 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.
Files changed (2) hide show
  1. package/commands/bundle.js +10 -0
  2. package/package.json +1 -1
@@ -149,6 +149,16 @@ 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
+ 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
+ }
160
+ console.log(chalk.green('\n✓ Opened in browser — just click "Submit new issue"'));
161
+ } catch {}
152
162
  } else {
153
163
  success(`Bundle proposed! Submit: ${result.submit_url}`);
154
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.9.38",
3
+ "version": "2.9.40",
4
4
  "files": [
5
5
  "*.js",
6
6
  "commands/",