promptgraph-mcp 2.9.37 → 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,7 +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
- console.log(chalk.gray('\nBundle JSON:\n') + chalk.white(json));
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 {}
153
158
  } else {
154
159
  success(`Bundle proposed! Submit: ${result.submit_url}`);
155
160
  }
package/marketplace.js CHANGED
@@ -596,9 +596,10 @@ export async function publishBundle(bundleDef) {
596
596
  success: true,
597
597
  gh_not_installed: true,
598
598
  instructions: [
599
- '1. Install gh CLI: https://cli.github.com',
600
- ` OR open this pre-filled issue directly: ${issueUrl}`,
601
- '2. Paste the bundle JSON shown below into the issue body',
599
+ `👉 Open this link and click "Submit new issue" (JSON is already filled in):`,
600
+ ` ${issueUrl}`,
601
+ '',
602
+ ' OR install gh CLI for one-command submit: https://cli.github.com',
602
603
  ...(repoWarnings.length ? ['', '⚠ Repo warnings (CI will re-check):', ...repoWarnings.map(w => ' - ' + w)] : []),
603
604
  ...(def.repo_url ? ['', 'Your repo will be validated by CI when submitted.'] : []),
604
605
  ].join('\n'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.9.37",
3
+ "version": "2.9.39",
4
4
  "files": [
5
5
  "*.js",
6
6
  "commands/",