stigmergy 1.0.89 → 1.0.93
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 +202 -189
- package/bin/stigmergy +12 -0
- package/bin/stigmergy.cmd +5 -0
- package/docs/CONFLICT_PREVENTION.md +150 -0
- package/package.json +12 -6
- package/scripts/post-deployment-config.js +289 -0
- package/scripts/preinstall-check.js +111 -0
- package/scripts/safe-install.js +139 -0
- package/src/main.js +963 -892
- package/src/main_english.js +179 -35
- package/test/comprehensive-execution-test.js +428 -0
- package/test/conflict-prevention-test.js +95 -0
- package/test/deploy-hooks-test.js +250 -0
- package/test/error-handling-test.js +341 -0
- package/test/final-deploy-test.js +221 -0
- package/test/final-install-test.js +226 -0
- package/test/iflow-integration-test.js +292 -0
- package/test/improved-install-test.js +362 -0
- package/test/install-command-test.js +370 -0
- package/test/plugin-deployment-test.js +316 -0
- package/test/postinstall-test.js +269 -0
- package/test/simple-iflow-hook-test.js +137 -0
- package/test/tdd-deploy-fix-test.js +324 -0
package/README.md
CHANGED
|
@@ -1,190 +1,203 @@
|
|
|
1
|
-
# Stigmergy CLI - Multi-Agents Cross-AI CLI Tool Collaboration System
|
|
2
|
-
|
|
3
|
-
> **Important: This is not a standalone CLI tool, but an enhancement system!**
|
|
4
|
-
>
|
|
5
|
-
> Stigmergy CLI enables existing AI CLI tools to collaborate with each other through a plugin system, rather than replacing them.
|
|
6
|
-
|
|
7
|
-
[](https://nodejs.org)
|
|
8
|
-
[](https://www.npmjs.com/package/stigmergy)
|
|
9
|
-
[](LICENSE)
|
|
10
|
-
[]()
|
|
11
|
-
|
|
12
|
-
## Quick Start
|
|
13
|
-
|
|
14
|
-
### One-Click Deployment (Recommended)
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
# Install Stigmergy CLI globally
|
|
18
|
-
npm install -g stigmergy
|
|
19
|
-
|
|
20
|
-
# Run interactive setup
|
|
21
|
-
stigmergy
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
This command will:
|
|
25
|
-
- Scan your system for available AI CLI tools
|
|
26
|
-
- Install missing tools with your permission
|
|
27
|
-
- Configure automatic cross-tool collaboration
|
|
28
|
-
- Set up hook integrations for seamless communication
|
|
29
|
-
|
|
30
|
-
### Manual Installation
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm install -g stigmergy
|
|
34
|
-
stigmergy --help
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Supported AI CLI Tools
|
|
38
|
-
|
|
39
|
-
Stigmergy CLI enhances the following AI CLI tools:
|
|
40
|
-
|
|
41
|
-
- **Claude CLI** - Anthropic's Claude assistant
|
|
42
|
-
- **Gemini CLI** - Google's Gemini AI
|
|
43
|
-
- **Qwen CLI** - Alibaba's Qwen model
|
|
44
|
-
- **iFlow CLI** - Intelligent workflow automation
|
|
45
|
-
- **Qoder CLI** - AI-powered code generation
|
|
46
|
-
- **CodeBuddy CLI** - Programming assistant
|
|
47
|
-
- **GitHub Copilot CLI** - Microsoft's Copilot
|
|
48
|
-
- **OpenAI Codex CLI** - OpenAI's code completion
|
|
49
|
-
|
|
50
|
-
## Usage
|
|
51
|
-
|
|
52
|
-
### Basic Commands
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
# Show help
|
|
56
|
-
stigmergy --help
|
|
57
|
-
|
|
58
|
-
# Check version
|
|
59
|
-
stigmergy --version
|
|
60
|
-
|
|
61
|
-
# Scan for available AI CLI tools
|
|
62
|
-
stigmergy scan
|
|
63
|
-
|
|
64
|
-
# Check system status
|
|
65
|
-
stigmergy status
|
|
66
|
-
|
|
67
|
-
# Interactive installation mode
|
|
68
|
-
stigmergy install
|
|
69
|
-
|
|
70
|
-
# Deploy hooks to all tools
|
|
71
|
-
stigmergy deploy
|
|
72
|
-
|
|
73
|
-
#
|
|
74
|
-
stigmergy
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
# Use
|
|
86
|
-
stigmergy call
|
|
87
|
-
|
|
88
|
-
# Use
|
|
89
|
-
stigmergy call
|
|
90
|
-
|
|
91
|
-
# Use
|
|
92
|
-
stigmergy call
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
#
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
#
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
-
|
|
189
|
-
|
|
1
|
+
# Stigmergy CLI - Multi-Agents Cross-AI CLI Tool Collaboration System
|
|
2
|
+
|
|
3
|
+
> **Important: This is not a standalone CLI tool, but an enhancement system!**
|
|
4
|
+
>
|
|
5
|
+
> Stigmergy CLI enables existing AI CLI tools to collaborate with each other through a plugin system, rather than replacing them.
|
|
6
|
+
|
|
7
|
+
[](https://nodejs.org)
|
|
8
|
+
[](https://www.npmjs.com/package/stigmergy)
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[]()
|
|
11
|
+
|
|
12
|
+
## Quick Start
|
|
13
|
+
|
|
14
|
+
### One-Click Deployment (Recommended)
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# Install Stigmergy CLI globally
|
|
18
|
+
npm install -g stigmergy
|
|
19
|
+
|
|
20
|
+
# Run interactive setup
|
|
21
|
+
stigmergy
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
This command will:
|
|
25
|
+
- Scan your system for available AI CLI tools
|
|
26
|
+
- Install missing tools with your permission
|
|
27
|
+
- Configure automatic cross-tool collaboration
|
|
28
|
+
- Set up hook integrations for seamless communication
|
|
29
|
+
|
|
30
|
+
### Manual Installation
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install -g stigmergy
|
|
34
|
+
stigmergy --help
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Supported AI CLI Tools
|
|
38
|
+
|
|
39
|
+
Stigmergy CLI enhances the following AI CLI tools:
|
|
40
|
+
|
|
41
|
+
- **Claude CLI** - Anthropic's Claude assistant
|
|
42
|
+
- **Gemini CLI** - Google's Gemini AI
|
|
43
|
+
- **Qwen CLI** - Alibaba's Qwen model
|
|
44
|
+
- **iFlow CLI** - Intelligent workflow automation
|
|
45
|
+
- **Qoder CLI** - AI-powered code generation
|
|
46
|
+
- **CodeBuddy CLI** - Programming assistant
|
|
47
|
+
- **GitHub Copilot CLI** - Microsoft's Copilot
|
|
48
|
+
- **OpenAI Codex CLI** - OpenAI's code completion
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
### Basic Commands
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# Show help
|
|
56
|
+
stigmergy --help
|
|
57
|
+
|
|
58
|
+
# Check version
|
|
59
|
+
stigmergy --version
|
|
60
|
+
|
|
61
|
+
# Scan for available AI CLI tools
|
|
62
|
+
stigmergy scan
|
|
63
|
+
|
|
64
|
+
# Check system status
|
|
65
|
+
stigmergy status
|
|
66
|
+
|
|
67
|
+
# Interactive installation mode
|
|
68
|
+
stigmergy install
|
|
69
|
+
|
|
70
|
+
# Deploy hooks to all tools
|
|
71
|
+
stigmergy deploy
|
|
72
|
+
|
|
73
|
+
# Remove all Stigmergy hooks from tools
|
|
74
|
+
stigmergy remove
|
|
75
|
+
|
|
76
|
+
# Complete setup (scan + install + deploy)
|
|
77
|
+
stigmergy setup
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Cross-CLI Collaboration
|
|
81
|
+
|
|
82
|
+
Once installed, you can use AI CLI tools to collaborate with each other:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Use Claude to analyze code
|
|
86
|
+
stigmergy call claude "analyze this function"
|
|
87
|
+
|
|
88
|
+
# Use Gemini for documentation
|
|
89
|
+
stigmergy call gemini "generate docs for this file"
|
|
90
|
+
|
|
91
|
+
# Use Qwen for translation
|
|
92
|
+
stigmergy call qwen "translate to English"
|
|
93
|
+
|
|
94
|
+
# Use Copilot for code suggestions
|
|
95
|
+
stigmergy call copilot "suggest improvements"
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Installation Workflow
|
|
99
|
+
|
|
100
|
+
1. **Scan**: `stigmergy scan` - Detects installed AI CLI tools
|
|
101
|
+
2. **Install**: `stigmergy install` - Interactive tool installation
|
|
102
|
+
3. **Deploy**: `stigmergy deploy` - Sets up cross-tool communication
|
|
103
|
+
4. **Use**: `stigmergy call <tool> <prompt>` - Start collaborating
|
|
104
|
+
|
|
105
|
+
## Safety and Conflict Prevention
|
|
106
|
+
|
|
107
|
+
Stigmergy includes a comprehensive conflict prevention system to ensure it doesn't interfere with other CLI tools:
|
|
108
|
+
|
|
109
|
+
- **Pre-installation checks** to prevent conflicts
|
|
110
|
+
- **Runtime monitoring** for system integrity
|
|
111
|
+
- **Automatic conflict resolution** tools
|
|
112
|
+
- **Emergency recovery** procedures
|
|
113
|
+
|
|
114
|
+
If you experience issues with other CLI tools:
|
|
115
|
+
```bash
|
|
116
|
+
npm run fix-node-conflict
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
For more information, see [Conflict Prevention System](docs/CONFLICT_PREVENTION.md).
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"version": "1.0.76",
|
|
124
|
+
"installed": "2025-12-07T00:00:00.000Z",
|
|
125
|
+
"projectPath": "/path/to/project",
|
|
126
|
+
"availableTools": ["claude", "gemini", "qwen"],
|
|
127
|
+
"collaboration": {
|
|
128
|
+
"enabled": true,
|
|
129
|
+
"protocols": [
|
|
130
|
+
"Use {cli} to {task}",
|
|
131
|
+
"Call {cli} to {task}",
|
|
132
|
+
"Ask {cli} for {task}"
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Project Configuration
|
|
139
|
+
|
|
140
|
+
Each project gets a `STIGMERGY.md` file with tool-specific usage instructions.
|
|
141
|
+
|
|
142
|
+
## Features
|
|
143
|
+
|
|
144
|
+
- **Automated Detection**: Scans for installed AI CLI tools
|
|
145
|
+
- **Interactive Installation**: One-click installation of missing tools
|
|
146
|
+
- **Cross-Tool Communication**: Enables AI CLI tools to work together
|
|
147
|
+
- **Hook Integration**: Deploys integration hooks to each tool
|
|
148
|
+
- **International Support**: Pure ANSI character output for global compatibility
|
|
149
|
+
- **Auto-Setup**: Configures everything automatically on npm install
|
|
150
|
+
|
|
151
|
+
## Development
|
|
152
|
+
|
|
153
|
+
### Project Structure
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
stigmergy-CLI-Multi-Agents/
|
|
157
|
+
├── src/
|
|
158
|
+
│ ├── main.js # Main CLI logic
|
|
159
|
+
│ └── index.js # Entry point
|
|
160
|
+
├── package.json # NPM configuration
|
|
161
|
+
└── README.md # This file
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Building from Source
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
# Clone the repository
|
|
168
|
+
git clone https://github.com/ptreezh/stigmergy-CLI-Multi-Agents.git
|
|
169
|
+
cd stigmergy-CLI-Multi-Agents
|
|
170
|
+
|
|
171
|
+
# Install dependencies
|
|
172
|
+
npm install
|
|
173
|
+
|
|
174
|
+
# Install globally for testing
|
|
175
|
+
npm install -g .
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Contributing
|
|
179
|
+
|
|
180
|
+
1. Fork the repository
|
|
181
|
+
2. Create a feature branch
|
|
182
|
+
3. Make your changes
|
|
183
|
+
4. Test thoroughly
|
|
184
|
+
5. Submit a pull request
|
|
185
|
+
|
|
186
|
+
## License
|
|
187
|
+
|
|
188
|
+
MIT License - see [LICENSE](LICENSE) file for details.
|
|
189
|
+
|
|
190
|
+
## Support
|
|
191
|
+
|
|
192
|
+
- **Documentation**: https://github.com/ptreezh/stigmergy-CLI-Multi-Agents
|
|
193
|
+
- **Issues**: https://github.com/ptreezh/stigmergy-CLI-Multi-Agents/issues
|
|
194
|
+
- **NPM**: https://www.npmjs.com/package/stigmergy
|
|
195
|
+
|
|
196
|
+
## Changelog
|
|
197
|
+
|
|
198
|
+
### Version 1.0.76
|
|
199
|
+
- Unified international version with pure ANSI characters
|
|
200
|
+
- Single source of truth for all CLI logic
|
|
201
|
+
- Automated installation and deployment system
|
|
202
|
+
- Enhanced error handling and validation
|
|
190
203
|
- Removed all redundant scripts and configurations
|
package/bin/stigmergy
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
exec node "$basedir/../src/main_english.js" "$@"
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Stigmergy CLI Conflict Prevention System
|
|
2
|
+
|
|
3
|
+
This document describes the comprehensive system implemented to prevent conflicts with other CLI tools.
|
|
4
|
+
|
|
5
|
+
## Problem Statement
|
|
6
|
+
|
|
7
|
+
Stigmergy previously caused conflicts with other CLI tools by:
|
|
8
|
+
1. Installing conflicting npm packages (like the "node" package)
|
|
9
|
+
2. Creating broken executable files that interfered with normal CLI operation
|
|
10
|
+
3. Modifying system PATH inappropriately
|
|
11
|
+
|
|
12
|
+
## Solution Overview
|
|
13
|
+
|
|
14
|
+
We have implemented a multi-layered protection system:
|
|
15
|
+
|
|
16
|
+
### 1. Pre-installation Safety Checks
|
|
17
|
+
|
|
18
|
+
**File**: `scripts/preinstall-check.js`
|
|
19
|
+
**Purpose**: Prevent installation when conflicts are detected
|
|
20
|
+
|
|
21
|
+
Checks performed:
|
|
22
|
+
- Node.js version compatibility
|
|
23
|
+
- npm availability and version
|
|
24
|
+
- Existing conflicting "node" package installations
|
|
25
|
+
- Previous Stigmergy installations
|
|
26
|
+
|
|
27
|
+
### 2. Safe Installation Process
|
|
28
|
+
|
|
29
|
+
**File**: `scripts/safe-install.js`
|
|
30
|
+
**Purpose**: Ensure safe installation without side effects
|
|
31
|
+
|
|
32
|
+
Features:
|
|
33
|
+
- Backup of potentially conflicting files
|
|
34
|
+
- Monitoring during installation
|
|
35
|
+
- Automatic rollback on failure
|
|
36
|
+
- Conflict detection during installation
|
|
37
|
+
|
|
38
|
+
### 3. Runtime Safety Monitoring
|
|
39
|
+
|
|
40
|
+
**File**: `src/main_english.js` (safetyCheck method)
|
|
41
|
+
**Purpose**: Detect conflicts during normal operation
|
|
42
|
+
|
|
43
|
+
Monitors:
|
|
44
|
+
- Conflicting npm packages
|
|
45
|
+
- Broken executable files
|
|
46
|
+
- System integrity
|
|
47
|
+
|
|
48
|
+
### 4. Conflict Resolution Tools
|
|
49
|
+
|
|
50
|
+
**Files**:
|
|
51
|
+
- `fix-node-conflict.js` - Basic conflict fixer
|
|
52
|
+
- `fix-node-conflict-enhanced.js` - Advanced conflict prevention
|
|
53
|
+
|
|
54
|
+
Capabilities:
|
|
55
|
+
- Detect and remove conflicting packages
|
|
56
|
+
- Repair broken executables
|
|
57
|
+
- Verify CLI tool functionality
|
|
58
|
+
- Apply preventive measures
|
|
59
|
+
|
|
60
|
+
### 5. Emergency Recovery
|
|
61
|
+
|
|
62
|
+
**Files**:
|
|
63
|
+
- `emergency-cleanup.js` - Complete system cleanup
|
|
64
|
+
- `cleanup.js` - Standard cleanup
|
|
65
|
+
- `diagnostic.js` - System diagnostics
|
|
66
|
+
- `path-fixer.js` - PATH environment repair
|
|
67
|
+
|
|
68
|
+
## Usage Instructions
|
|
69
|
+
|
|
70
|
+
### For Users
|
|
71
|
+
|
|
72
|
+
1. **Regular Maintenance**:
|
|
73
|
+
```bash
|
|
74
|
+
npm run fix-node-conflict
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
2. **System Diagnostics**:
|
|
78
|
+
```bash
|
|
79
|
+
npm run diagnostic
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
3. **Emergency Cleanup**:
|
|
83
|
+
```bash
|
|
84
|
+
npm run emergency-clean
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### For Developers
|
|
88
|
+
|
|
89
|
+
1. **Add safety checks to new features**:
|
|
90
|
+
```javascript
|
|
91
|
+
await this.safetyCheck(); // Call before critical operations
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
2. **Update dependency list carefully**:
|
|
95
|
+
- Avoid dependencies named "node" or similar to system executables
|
|
96
|
+
- Use exact versions instead of ranges when possible
|
|
97
|
+
- Regularly audit dependencies with `npm audit`
|
|
98
|
+
|
|
99
|
+
3. **Test installation in clean environments**:
|
|
100
|
+
- Use Docker containers or VMs for testing
|
|
101
|
+
- Verify no conflicts with popular CLI tools
|
|
102
|
+
- Test on multiple operating systems
|
|
103
|
+
|
|
104
|
+
## Best Practices
|
|
105
|
+
|
|
106
|
+
### Dependency Management
|
|
107
|
+
- Pin critical dependencies to specific versions
|
|
108
|
+
- Avoid dependencies that might conflict with system tools
|
|
109
|
+
- Regular security audits
|
|
110
|
+
- Monitor for deprecated dependencies
|
|
111
|
+
|
|
112
|
+
### Installation Process
|
|
113
|
+
- Never modify system PATH directly
|
|
114
|
+
- Use npm's standard installation mechanisms
|
|
115
|
+
- Provide clear uninstallation procedures
|
|
116
|
+
- Test installation/uninstallation cycles
|
|
117
|
+
|
|
118
|
+
### Conflict Prevention
|
|
119
|
+
- Unique naming for executables and packages
|
|
120
|
+
- Comprehensive pre-flight checks
|
|
121
|
+
- Graceful degradation when conflicts detected
|
|
122
|
+
- Clear error messages with resolution steps
|
|
123
|
+
|
|
124
|
+
## Future Improvements
|
|
125
|
+
|
|
126
|
+
1. **Automated Testing**:
|
|
127
|
+
- Integration tests with popular CLI tools
|
|
128
|
+
- Cross-platform compatibility verification
|
|
129
|
+
- Regression testing for known conflicts
|
|
130
|
+
|
|
131
|
+
2. **Enhanced Monitoring**:
|
|
132
|
+
- Real-time conflict detection
|
|
133
|
+
- Proactive notifications
|
|
134
|
+
- Automated recovery
|
|
135
|
+
|
|
136
|
+
3. **Improved Documentation**:
|
|
137
|
+
- Detailed troubleshooting guides
|
|
138
|
+
- Platform-specific instructions
|
|
139
|
+
- Community contribution guidelines
|
|
140
|
+
|
|
141
|
+
## Reporting Issues
|
|
142
|
+
|
|
143
|
+
If you encounter conflicts:
|
|
144
|
+
1. Run `npm run diagnostic`
|
|
145
|
+
2. Save the output
|
|
146
|
+
3. Report to the Stigmergy team with:
|
|
147
|
+
- Operating system and version
|
|
148
|
+
- Node.js and npm versions
|
|
149
|
+
- List of installed CLI tools
|
|
150
|
+
- Diagnostic output
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stigmergy",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"type": "commonjs",
|
|
3
|
+
"version": "1.0.93",
|
|
5
4
|
"description": "Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System",
|
|
6
5
|
"main": "src/main_english.js",
|
|
7
6
|
"bin": {
|
|
8
|
-
"stigmergy": "
|
|
7
|
+
"stigmergy": "bin/stigmergy"
|
|
9
8
|
},
|
|
10
9
|
"scripts": {
|
|
11
10
|
"start": "node src/main_english.js",
|
|
@@ -17,11 +16,18 @@
|
|
|
17
16
|
"status": "node src/index.js status",
|
|
18
17
|
"scan": "node src/index.js scan",
|
|
19
18
|
"init": "node src/index.js init",
|
|
19
|
+
"clean": "node cleanup.js",
|
|
20
20
|
"validate": "node src/index.js validate",
|
|
21
|
-
"clean": "node src/index.js clean",
|
|
22
21
|
"dev": "node --watch src/index.js",
|
|
23
22
|
"lint": "eslint src/",
|
|
24
23
|
"format": "prettier --write src/",
|
|
24
|
+
"fix-node-conflict": "node fix-node-conflict.js",
|
|
25
|
+
"diagnostic": "node diagnostic.js",
|
|
26
|
+
"path-fixer": "node path-fixer.js",
|
|
27
|
+
"emergency-clean": "node emergency-cleanup.js",
|
|
28
|
+
"test:conflict-prevention": "node test/conflict-prevention-test.js",
|
|
29
|
+
"post-deployment-config": "node scripts/post-deployment-config.js",
|
|
30
|
+
"preinstall": "node scripts/preinstall-check.js",
|
|
25
31
|
"postinstall": "echo \"[INFO] Stigmergy CLI is setting up...\" && node src/main_english.js auto-install && echo \"[INFO] Setup completed. Run 'stigmergy --help' to see available commands.\""
|
|
26
32
|
},
|
|
27
33
|
"keywords": [
|
|
@@ -55,7 +61,7 @@
|
|
|
55
61
|
],
|
|
56
62
|
"repository": {
|
|
57
63
|
"type": "git",
|
|
58
|
-
"url": "https://github.com/ptreezh/stigmergy-CLI-Multi-Agents.git"
|
|
64
|
+
"url": "git+https://github.com/ptreezh/stigmergy-CLI-Multi-Agents.git"
|
|
59
65
|
},
|
|
60
66
|
"author": "Stigmergy CLI Team",
|
|
61
67
|
"license": "MIT",
|
|
@@ -101,4 +107,4 @@
|
|
|
101
107
|
"bugs": {
|
|
102
108
|
"url": "https://github.com/ptreezh/stigmergy-CLI-Multi-Agents/issues"
|
|
103
109
|
}
|
|
104
|
-
}
|
|
110
|
+
}
|