promptgraph-mcp 2.9.40 → 2.9.42

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.
@@ -152,7 +152,7 @@ export default async function handler(args, bin) {
152
152
  // Auto-open browser
153
153
  try {
154
154
  if (process.platform === 'win32') {
155
- spawnSync('cmd', ['/c', 'start', '', result.submit_url], { stdio: 'ignore' });
155
+ spawnSync('powershell', ['-NoProfile', '-Command', `Start-Process '${result.submit_url}'`], { stdio: 'ignore' });
156
156
  } else {
157
157
  const openCmd = process.platform === 'darwin' ? 'open' : 'xdg-open';
158
158
  spawnSync(openCmd, [result.submit_url], { stdio: 'ignore' });
package/marketplace.js CHANGED
@@ -590,7 +590,8 @@ export async function publishBundle(bundleDef) {
590
590
  try { fs.unlinkSync(tmpFile); } catch {}
591
591
 
592
592
  if (gh.no_gh) {
593
- const issueUrl = `${REGISTRY_ISSUES}?title=Bundle%3A+${encodeURIComponent(def.name)}&body=${encodeURIComponent('Bundle definition:\n\n```json\n' + bundleJson + '\n```')}`;
593
+ const compactJson = JSON.stringify(def);
594
+ const issueUrl = `${REGISTRY_ISSUES}?title=Bundle%3A+${encodeURIComponent(def.name)}&body=${encodeURIComponent('Bundle definition:\n\n```json\n' + compactJson + '\n```')}`;
594
595
  const actionNote = def.repo_url ? `\n\nNote: Your repo will be validated by CI (GitHub Actions) after submission.\nRun locally: node validate-repo-action.js ${def.repo_url}` : '';
595
596
  return {
596
597
  success: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.9.40",
3
+ "version": "2.9.42",
4
4
  "files": [
5
5
  "*.js",
6
6
  "commands/",