stringray-ai 1.0.20 → 1.0.22

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.20",
3
+ "version": "1.0.22",
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",
@@ -88,25 +88,30 @@ 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',
94
- command: 'node scripts/test-path-resolver.mjs',
99
+ command: `node ${__dirname}/test-path-resolver.mjs`,
95
100
  description: 'Validates MCP server configuration and path resolution'
96
101
  },
97
102
  {
98
103
  name: 'Plugin System Validation',
99
- command: 'node scripts/test-stringray-plugin.mjs --basic-only',
104
+ command: `node ${__dirname}/test-stringray-plugin.mjs --basic-only`,
100
105
  description: 'Tests basic plugin loading without comprehensive tests'
101
106
  },
102
107
  {
103
108
  name: 'Codex Integration Test',
104
- command: 'node scripts/validate-codex.js',
109
+ command: `node ${__dirname}/validate-codex.js`,
105
110
  description: 'Validates codex parsing and injection functionality'
106
111
  },
107
112
  {
108
113
  name: 'Process Communication Test',
109
- command: 'node scripts/test-comprehensive-path-resolution.mjs',
114
+ command: `node ${__dirname}/test-comprehensive-path-resolution.mjs`,
110
115
  description: 'Tests path resolution and process communication'
111
116
  }
112
117
  ];