stringray-ai 1.0.6 → 1.0.7
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 +10 -10
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -43,21 +43,21 @@ program
|
|
|
43
43
|
}
|
|
44
44
|
console.log("✅ Node.js version compatible");
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
// Check if oh-my-opencode is available
|
|
47
|
+
try {
|
|
48
|
+
const { execSync } = await import('child_process');
|
|
49
|
+
execSync('which oh-my-opencode', { stdio: 'pipe' });
|
|
50
|
+
console.log("✅ oh-my-opencode available");
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.log("⚠️ oh-my-opencode not found in PATH (this is okay if using as a plugin)");
|
|
53
|
+
}
|
|
54
54
|
|
|
55
55
|
// Create configuration files
|
|
56
56
|
console.log("\nCreating configuration files...");
|
|
57
57
|
|
|
58
58
|
// Create .opencode directory
|
|
59
|
-
const fs =
|
|
60
|
-
const path =
|
|
59
|
+
const fs = await import('fs');
|
|
60
|
+
const path = await import('path');
|
|
61
61
|
|
|
62
62
|
const opencodeDir = path.join(process.cwd(), '.opencode');
|
|
63
63
|
if (!fs.existsSync(opencodeDir)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stringray-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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",
|