stringray-ai 1.0.3 → 1.0.4

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 CHANGED
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
- const { Command } = require("commander");
2
+ import { Command } from "commander";
3
3
  const program = new Command();
4
4
 
5
5
  // CLI Configuration
6
6
  program
7
7
  .name("stringray-ai")
8
8
  .description("StringRay AI Framework - Ship Production-Ready Code & Eliminate Common Dead Ends")
9
- .version("1.0.2");
9
+ .version("1.0.3");
10
10
  // Status Command - Basic implementation
11
11
  program
12
12
  .command("status")
@@ -82,9 +82,8 @@ program
82
82
  console.log(`Max Agents: ${options.maxAgents}`);
83
83
  console.log("\nšŸ”„ Starting orchestration...");
84
84
  try {
85
- // Import StringRay orchestrator (using dynamic require for ES modules)
86
- const orchestratorModule = require("../orchestrator.js");
87
- const StringRayOrchestrator = orchestratorModule.StringRayOrchestrator || orchestratorModule.default;
85
+ // Import StringRay orchestrator
86
+ const { StringRayOrchestrator } = await import("../orchestrator.js");
88
87
  // Initialize orchestrator with session config
89
88
  const orchestrator = new StringRayOrchestrator({
90
89
  maxConcurrentTasks: parseInt(options.maxAgents),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stringray-ai",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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",