stringray-ai 1.0.21 → 1.0.23
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stringray-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
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",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
75
75
|
"@opencode-ai/sdk": "^1.0.0",
|
|
76
|
+
"stringray-ai": "^1.0.22",
|
|
76
77
|
"structlog": "^1.0.0",
|
|
77
78
|
"zod": "^3.23.0"
|
|
78
79
|
},
|
|
@@ -5,15 +5,8 @@
|
|
|
5
5
|
* This script demonstrates the path resolution problem and solution
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const { pathResolver } = await importResolver.importModule('utils/path-resolver');
|
|
12
|
-
|
|
13
|
-
// Alternative: For development, we could use a conditional import
|
|
14
|
-
// const { pathResolver } = process.env.NODE_ENV === 'development'
|
|
15
|
-
// ? await import('../src/utils/path-resolver.ts')
|
|
16
|
-
// : await import('../dist/plugin/utils/path-resolver.js');
|
|
8
|
+
// Direct import for deployed environment compatibility
|
|
9
|
+
const { pathResolver } = await import('../dist/plugin/utils/path-resolver.js');
|
|
17
10
|
|
|
18
11
|
console.log('🔍 StrRay Path Resolver Test\n');
|
|
19
12
|
|
|
@@ -88,6 +88,11 @@ console.log('=====================================\n');
|
|
|
88
88
|
async function runComprehensiveTests() {
|
|
89
89
|
console.log('\n🔬 Running comprehensive deployment validation...\n');
|
|
90
90
|
|
|
91
|
+
// Get the directory path in ES modules
|
|
92
|
+
const { fileURLToPath } = await import('url');
|
|
93
|
+
const { dirname } = await import('path');
|
|
94
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
95
|
+
|
|
91
96
|
const tests = [
|
|
92
97
|
{
|
|
93
98
|
name: 'MCP Configuration Validation',
|