strray-ai 1.0.23 → 1.0.25

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": "strray-ai",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
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",
@@ -10,7 +10,7 @@
10
10
  console.log('Testing simple prompt orchestration...');
11
11
 
12
12
  // Import the orchestrator
13
- const { StringRayOrchestrator } = await import('stringray-ai');
13
+ const { StringRayOrchestrator } = await import('../dist/plugin/orchestrator.js');
14
14
 
15
15
  // Create orchestrator instance
16
16
  const orchestrator = new StringRayOrchestrator({
@@ -43,9 +43,8 @@ console.log('=====================================\n');
43
43
 
44
44
  (async () => {
45
45
  try {
46
- // Dynamic import for cross-environment compatibility
47
- const fullPath = new URL(`${PLUGIN_PATH}/strray-codex-injection.js`, `file://${cwd}/`).href;
48
- const { default: stringrayCodexPlugin } = await import(fullPath);
46
+ // Import the plugin using relative path for consumer compatibility
47
+ const { default: stringrayCodexPlugin } = await import('../dist/plugin/plugins/strray-codex-injection.js');
49
48
  const plugin = await stringrayCodexPlugin({});
50
49
  console.log('✅ Plugin loaded successfully');
51
50