stigmergy 1.0.88 → 1.0.89
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 +2 -2
- package/src/main_english.js +8 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stigmergy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.89",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System",
|
|
6
6
|
"main": "src/main_english.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dev": "node --watch src/index.js",
|
|
23
23
|
"lint": "eslint src/",
|
|
24
24
|
"format": "prettier --write src/",
|
|
25
|
-
"postinstall": "node src/main_english.js auto-install"
|
|
25
|
+
"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
26
|
},
|
|
27
27
|
"keywords": [
|
|
28
28
|
"ai",
|
package/src/main_english.js
CHANGED
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System
|
|
5
5
|
* International Version - Pure English & ANSI Only
|
|
6
|
-
* Version: 1.0.
|
|
6
|
+
* Version: 1.0.89
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
console.log('[DEBUG] Stigmergy CLI script started...');
|
|
10
|
+
|
|
9
11
|
const { spawn, spawnSync } = require('child_process');
|
|
10
12
|
const path = require('path');
|
|
11
13
|
const fs = require('fs/promises');
|
|
@@ -725,7 +727,7 @@ class StigmergyInstaller {
|
|
|
725
727
|
|
|
726
728
|
const configFile = path.join(this.configDir, 'config.json');
|
|
727
729
|
const config = {
|
|
728
|
-
version: '1.0.
|
|
730
|
+
version: '1.0.89',
|
|
729
731
|
initialized: true,
|
|
730
732
|
createdAt: new Date().toISOString(),
|
|
731
733
|
lastUpdated: new Date().toISOString(),
|
|
@@ -774,12 +776,14 @@ class StigmergyInstaller {
|
|
|
774
776
|
|
|
775
777
|
// Main CLI functionality
|
|
776
778
|
async function main() {
|
|
779
|
+
console.log('[DEBUG] Main function called with args:', process.argv);
|
|
780
|
+
|
|
777
781
|
const args = process.argv.slice(2);
|
|
778
782
|
const installer = new StigmergyInstaller();
|
|
779
783
|
|
|
780
784
|
if (args.length === 0 || args.includes('--help') || args.includes('-h')) {
|
|
781
785
|
console.log('Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System');
|
|
782
|
-
console.log('Version: 1.0.
|
|
786
|
+
console.log('Version: 1.0.89');
|
|
783
787
|
console.log('');
|
|
784
788
|
console.log('[SYSTEM] Automated Installation and Deployment System');
|
|
785
789
|
console.log('');
|
|
@@ -810,7 +814,7 @@ async function main() {
|
|
|
810
814
|
switch (command) {
|
|
811
815
|
case 'version':
|
|
812
816
|
case '--version':
|
|
813
|
-
console.log('Stigmergy CLI v1.0.
|
|
817
|
+
console.log('Stigmergy CLI v1.0.89');
|
|
814
818
|
break;
|
|
815
819
|
|
|
816
820
|
case 'status':
|