stringray-ai 1.0.28 → 1.0.29

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.
package/dist/cli/index.js CHANGED
@@ -77,9 +77,11 @@ program
77
77
  console.log("✅ Created oh-my-opencode.json configuration");
78
78
 
79
79
  // Copy .mcp.json configuration
80
+ // Use ES module compatible path resolution
80
81
  const { fileURLToPath } = await import('url');
81
82
  const currentDir = path.dirname(fileURLToPath(import.meta.url));
82
- const mcpConfigSource = path.join(currentDir, '..', '.mcp.json');
83
+ // Go up two levels: cli/ -> dist/ -> package root
84
+ const mcpConfigSource = path.join(currentDir, '..', '..', '.mcp.json');
83
85
  const mcpConfigDest = path.join(process.cwd(), '.mcp.json');
84
86
 
85
87
  if (fs.existsSync(mcpConfigSource)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stringray-ai",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "⚡ StringRay ⚡: Bulletproof AI orchestration with systematic error prevention. Zero dead ends. Ship clean, tested, optimized code — every time.",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin/index.js",