stringray-ai 1.0.25 → 1.0.27

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ⚡ StringRay AI v1.0.1 – Bulletproof AI Orchestration for Production-Grade Development
1
+ # ⚡ StringRay AI v1.0.26 – Bulletproof AI Orchestration for Production-Grade Development
2
2
 
3
3
  [![Version](https://img.shields.io/badge/version-1.0.1-blue.svg)](https://github.com/htafolla/stringray)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -79,7 +79,7 @@ npm install stringray-ai
79
79
  npx stringray-ai install
80
80
  ```
81
81
 
82
- **Note:** The setup command is required because npm's postinstall scripts have security restrictions that prevent automatic configuration. This ensures you have full control over the installation process.
82
+ **Note:** The setup command is required because npm's postinstall scripts have security restrictions and may not run automatically in all environments. Running the install command manually ensures proper configuration.
83
83
 
84
84
  This will automatically:
85
85
 
@@ -101,8 +101,27 @@ node node_modules/stringray-ai/scripts/test-stringray-plugin.mjs
101
101
 
102
102
  # Check system status
103
103
  npx stringray-ai status
104
+
105
+ # Use StringRay AI features
106
+ npx stringray-ai run "Your prompt here"
107
+ npx stringray-ai auth
104
108
  ```
105
109
 
110
+ ## Available Commands
111
+
112
+ **Core Commands:**
113
+ - `npx stringray-ai --help` - Show help and available commands
114
+ - `npx stringray-ai doctor` - Run health checks and diagnostics
115
+ - `npx stringray-ai install` - Interactive setup wizard
116
+ - `npx stringray-ai status` - Display system status
117
+
118
+ **AI Features:**
119
+ - `npx stringray-ai run "prompt"` - Execute StringRay session with agent orchestration
120
+ - `npx stringray-ai auth` - Manage authentication for AI providers
121
+
122
+ **Validation:**
123
+ - `node node_modules/stringray-ai/scripts/test-stringray-plugin.mjs` - Comprehensive plugin validation
124
+
106
125
  The plugin test will verify:
107
126
  - ✅ Plugin loads successfully
108
127
  - ✅ Codex injection works
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stringray-ai",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
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",
@@ -14,21 +14,34 @@ if (!isDevelopment && !isDeployed) {
14
14
 
15
15
  // In deployed environment, check if the plugin was installed correctly
16
16
  if (isDeployed) {
17
+ console.log('DEBUG: Running in deployed environment');
18
+ console.log('DEBUG: Current directory:', process.cwd());
19
+
17
20
  // Check if .mcp.json exists (created by postinstall)
18
- if (!fs.existsSync(".mcp.json")) {
21
+ const mcpExists = fs.existsSync(".mcp.json");
22
+ console.log('DEBUG: .mcp.json exists:', mcpExists);
23
+ if (!mcpExists) {
24
+ console.log('DEBUG: .mcp.json not found, exiting with code 1');
19
25
  process.exit(1);
20
26
  }
21
27
 
22
28
  // Check if package.json exists
23
- if (!fs.existsSync("package.json")) {
29
+ const pkgExists = fs.existsSync("package.json");
30
+ console.log('DEBUG: package.json exists:', pkgExists);
31
+ if (!pkgExists) {
32
+ console.log('DEBUG: package.json not found, exiting with code 1');
24
33
  process.exit(1);
25
34
  }
26
35
 
27
36
  // Check if the plugin files exist
28
- if (!fs.existsSync("node_modules/stringray-ai/dist/plugin/plugins/stringray-codex-injection.js")) {
37
+ const pluginExists = fs.existsSync("node_modules/stringray-ai/dist/plugin/plugins/stringray-codex-injection.js");
38
+ console.log('DEBUG: plugin file exists:', pluginExists);
39
+ if (!pluginExists) {
40
+ console.log('DEBUG: plugin file not found, exiting with code 1');
29
41
  process.exit(1);
30
42
  }
31
43
 
44
+ console.log('DEBUG: All checks passed, exiting with code 0');
32
45
  process.exit(0); // All checks passed for deployed environment
33
46
  }
34
47