stringray-ai 1.0.7 → 1.0.9

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
@@ -78,7 +78,10 @@ program
78
78
  console.log("✅ Created oh-my-opencode.json configuration");
79
79
 
80
80
  // Copy .mcp.json configuration
81
- const mcpConfigSource = path.join(__dirname, '..', '.mcp.json');
81
+ // Use ES module compatible path resolution
82
+ const { fileURLToPath } = await import('url');
83
+ const currentDir = path.dirname(fileURLToPath(import.meta.url));
84
+ const mcpConfigSource = path.join(currentDir, '..', '.mcp.json');
82
85
  const mcpConfigDest = path.join(process.cwd(), '.mcp.json');
83
86
 
84
87
  if (fs.existsSync(mcpConfigSource)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stringray-ai",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
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",