stigmergy 1.3.21-beta.0 → 1.3.23-beta.0

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.
@@ -22,11 +22,11 @@
22
22
  "targetCLIs": ["claude", "codex", "iflow", "qwen", "qodercli", "codebuddy"],
23
23
  "files": [
24
24
  {
25
- "source": ".claude/skills/resumesession/SKILL.md",
25
+ "source": "skills/resumesession/SKILL.md",
26
26
  "destination": "skills/resumesession/SKILL.md"
27
27
  },
28
28
  {
29
- "source": ".claude/skills/resumesession/__init__.py",
29
+ "source": "skills/resumesession/__init__.py",
30
30
  "destination": "skills/resumesession/__init__.py"
31
31
  }
32
32
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stigmergy",
3
- "version": "1.3.21-beta.0",
3
+ "version": "1.3.23-beta.0",
4
4
  "description": "Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,4 +1,65 @@
1
1
  import chalk from 'chalk';
2
2
  import { handleInstallCommand } from './install.js';
3
3
  import { handleDeployCommand } from './project.js';
4
- import BuiltinSkillsDeployer from '../core/skills/BuiltinSkillsDeployer.js';
4
+ import BuiltinSkillsDeployer from '../../core/skills/BuiltinSkillsDeployer.js';
5
+
6
+ export async function handleAutoInstallCommand(options) {
7
+ console.log(chalk.blue('šŸš€ Stigmergy Auto-Installation'));
8
+ console.log(chalk.gray('=====================================\n'));
9
+
10
+ // Step 1: Install CLI tools
11
+ console.log(chalk.blue('šŸ“¦ Step 1/3: Installing CLI tools...'));
12
+
13
+ try {
14
+ await handleInstallCommand({
15
+ verbose: options.verbose || process.env.DEBUG === 'true',
16
+ force: options.force || false
17
+ });
18
+ } catch (error) {
19
+ console.error(chalk.red('āœ— CLI tools installation failed:'), error.message);
20
+ // Continue with next step even if CLI tools installation fails
21
+ }
22
+
23
+ // Step 2: Deploy hooks and ResumeSession
24
+ console.log(chalk.blue('\nšŸš€ Step 2/3: Deploying hooks and ResumeSession integration...'));
25
+
26
+ try {
27
+ const deployResult = await handleDeployCommand({
28
+ verbose: options.verbose || process.env.DEBUG === 'true',
29
+ force: options.force || false
30
+ });
31
+
32
+ if (deployResult.success) {
33
+ console.log(chalk.green('āœ“ Hooks deployed successfully'));
34
+ } else {
35
+ console.warn(chalk.yellow('⚠ Hooks deployment completed with warnings'));
36
+ }
37
+ } catch (error) {
38
+ console.error(chalk.red('āœ— Hooks deployment failed:'), error.message);
39
+ // Continue with next step even if hooks deployment fails
40
+ }
41
+
42
+ // Step 3: Deploy built-in skills
43
+ console.log(chalk.blue('\nšŸš€ Step 3/3: Deploying built-in skills...'));
44
+
45
+ try {
46
+ const skillsDeployer = new BuiltinSkillsDeployer();
47
+ const skillsResult = await skillsDeployer.deployAll();
48
+
49
+ if (skillsResult.success) {
50
+ console.log(chalk.green('āœ“ Built-in skills deployed successfully'));
51
+ } else {
52
+ console.warn(chalk.yellow('⚠ Built-in skills deployment completed with warnings'));
53
+ }
54
+ } catch (error) {
55
+ console.error(chalk.red('āœ— Built-in skills deployment failed:'), error.message);
56
+ // Continue even if skills deployment fails
57
+ }
58
+
59
+ console.log(chalk.green('\nšŸŽ‰ Auto-installation completed successfully!'));
60
+ console.log(chalk.cyan('\nNext steps:'));
61
+ console.log(' • Run: stigmergy --help');
62
+ console.log(' • Try: stigmergy claude "Hello World"');
63
+ console.log(' • Check: stigmergy status');
64
+ console.log(' • Resume sessions: stigmergy resume --limit 10');
65
+ }