stringray-ai 1.0.32 → 1.0.33

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.32",
3
+ "version": "1.0.33",
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",
@@ -109,6 +109,8 @@
109
109
  "scripts/validate-codex.js",
110
110
  "scripts/test-comprehensive-path-resolution.mjs",
111
111
  "scripts/test-full-plugin-no-timeout.sh",
112
+ "scripts/test-simple-prompt.mjs",
113
+ "scripts/test-complex-orchestration.mjs",
112
114
  "README.md",
113
115
  "LICENSE"
114
116
  ],
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Complex Multi-Agent Orchestration Test
5
+ * Tests complex multi-agent orchestration with interdependent tasks
6
+ */
7
+
8
+ (async () => {
9
+ try {
10
+ console.log('Testing complex multi-agent orchestration...');
11
+
12
+ // Import the orchestrator
13
+ const { StringRayOrchestrator } = await import('../dist/orchestrator.js');
14
+
15
+ // Create orchestrator instance
16
+ const orchestrator = new StringRayOrchestrator({
17
+ maxConcurrentTasks: 3
18
+ });
19
+
20
+ // Execute complex task with multiple agents
21
+ const result = await orchestrator.executeComplexTask(
22
+ 'Design and implement a user authentication system with database integration, API endpoints, and frontend components',
23
+ [
24
+ {
25
+ id: 'architect-task',
26
+ description: 'Design the authentication system architecture',
27
+ subagentType: 'architect',
28
+ priority: 'high'
29
+ },
30
+ {
31
+ id: 'security-task',
32
+ description: 'Implement security measures and validation',
33
+ subagentType: 'security-auditor',
34
+ priority: 'high'
35
+ },
36
+ {
37
+ id: 'code-task',
38
+ description: 'Generate the actual implementation code',
39
+ subagentType: 'enforcer',
40
+ priority: 'medium'
41
+ }
42
+ ]
43
+ );
44
+
45
+ console.log('Complex orchestration test result:', result.length > 0 ? 'PASSED' : 'FAILED');
46
+ console.log('Tasks completed:', result.length);
47
+
48
+ process.exit(result.length > 0 ? 0 : 1);
49
+
50
+ } catch (error) {
51
+ console.error('Complex orchestration test failed:', error.message);
52
+ process.exit(1);
53
+ }
54
+ })();
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Simple Prompt Orchestration Test
5
+ * Tests basic prompt orchestration with simple task
6
+ */
7
+
8
+ (async () => {
9
+ try {
10
+ console.log('Testing simple prompt orchestration...');
11
+
12
+ // Import the orchestrator
13
+ const { StringRayOrchestrator } = await import('../dist/orchestrator.js');
14
+
15
+ // Create orchestrator instance
16
+ const orchestrator = new StringRayOrchestrator({
17
+ maxConcurrentTasks: 2
18
+ });
19
+
20
+ // Execute simple task
21
+ const result = await orchestrator.executeComplexTask('Create a simple hello world function', [
22
+ {
23
+ id: 'simple-task',
24
+ description: 'Create a simple hello world function',
25
+ subagentType: 'orchestrator',
26
+ priority: 'high'
27
+ }
28
+ ]);
29
+
30
+ console.log('Simple prompt test result:', result.length > 0 ? 'PASSED' : 'FAILED');
31
+ console.log('Tasks completed:', result.length);
32
+
33
+ process.exit(result.length > 0 ? 0 : 1);
34
+
35
+ } catch (error) {
36
+ console.error('Simple prompt test failed:', error.message);
37
+ process.exit(1);
38
+ }
39
+ })();