stigmergy 1.3.13 → 1.3.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stigmergy",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "description": "Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Resume Session Commands
3
- * Modular implementation for resume/resumesession/sg-resume commands
3
+ * Modular implementation for resume command
4
4
  */
5
5
 
6
6
  const chalk = require('chalk');
@@ -47,7 +47,7 @@ async function handleResumeCommand(args = [], options = {}) {
47
47
  console.log(chalk.yellow('[INFO] ResumeSession is an optional component for session recovery'));
48
48
 
49
49
  console.log(chalk.blue('\nšŸ“¦ To install ResumeSession:'));
50
- console.log(' npm install -g @stigmergy/resume');
50
+ console.log(' npm install -g resumesession');
51
51
  console.log('');
52
52
  console.log(chalk.blue('šŸ”§ ResumeSession provides:'));
53
53
  console.log(' • Cross-CLI session history');
@@ -100,18 +100,16 @@ function printResumeHelp() {
100
100
  console.log(chalk.cyan(`
101
101
  šŸ”„ Stigmergy Resume Session System
102
102
 
103
- šŸ“‹ ResumeSession forwards to the @stigmergy/resume CLI tool for session management.
103
+ šŸ“‹ ResumeSession forwards to the resumesession CLI tool for session management.
104
104
 
105
105
  šŸ› ļø Available Commands:
106
106
  stigmergy resume [args] Forward to resumesession CLI
107
- stigmergy resumesession [args] Same as resume (full name)
108
- stigmergy sg-resume [args] Same as resume (short alias)
109
107
 
110
108
  šŸ“¦ Requirements:
111
- @stigmergy/resume CLI tool must be installed separately.
109
+ resumesession CLI tool must be installed separately.
112
110
 
113
111
  šŸ’¾ Installation:
114
- npm install -g @stigmergy/resume
112
+ npm install -g resumesession
115
113
 
116
114
  šŸ” Common Usage:
117
115
  stigmergy resume list # Show available sessions
@@ -319,7 +319,7 @@ async function main() {
319
319
  await handleAutoInstallCommand(options);
320
320
  });
321
321
 
322
- // Resume session commands
322
+ // Resume session command
323
323
  program
324
324
  .command('resume')
325
325
  .description('Resume session (forwards to @stigmergy/resume CLI tool)')
@@ -329,26 +329,8 @@ async function main() {
329
329
  await handleResumeCommand(args, options);
330
330
  });
331
331
 
332
- program
333
- .command('resumesession')
334
- .description('Resume session management (forwards to @stigmergy/resume)')
335
- .argument('[args...]', 'Arguments to pass to resumesession')
336
- .option('-v, --verbose', 'Verbose output')
337
- .action(async (args, options) => {
338
- await handleResumeCommand(args, options);
339
- });
340
-
341
- program
342
- .command('sg-resume')
343
- .description('Resume session management (short alias)')
344
- .argument('[args...]', 'Arguments to pass to resumesession')
345
- .option('-v, --verbose', 'Verbose output')
346
- .action(async (args, options) => {
347
- await handleResumeCommand(args, options);
348
- });
349
-
350
332
  // Route commands to CLI tools
351
- for (const tool of ['claude', 'gemini', 'qwen', 'codebuddy', 'codex', 'iflow', 'qodercli', 'copilot', 'kode', 'resumesession']) {
333
+ for (const tool of ['claude', 'gemini', 'qwen', 'codebuddy', 'codex', 'iflow', 'qodercli', 'copilot', 'kode']) {
352
334
  program
353
335
  .command(tool)
354
336
  .description(`Use ${tool} CLI tool`)
@@ -534,8 +534,8 @@ function buildQuery(input) {
534
534
  search: null
535
535
  };
536
536
 
537
- const cleanInput = input.replace(new RegExp('^\\\\\\\\/?' + '${commandName}' + '\\\\\s*', 'i'), '').trim();
538
- const parts = cleanInput.split(/\\\s+/).filter(p => p.length > 0);
537
+ const cleanInput = input.replace(new RegExp('^\\\\\\\\/?' + '${commandName}' + '\\\\\\s*', 'i'), '').trim();
538
+ const parts = cleanInput.split(/\\\\s+/).filter(p => p.length > 0);
539
539
 
540
540
  for (let i = 0; i < parts.length; i++) {
541
541
  const part = parts[i].toLowerCase();
@@ -624,8 +624,8 @@ class GeminiHistoryHandler {
624
624
  search: null
625
625
  };
626
626
 
627
- const cleanInput = input.replace(new RegExp('^\\\\\\\\/?' + this.commandName + '\\\\\s*', 'i'), '').trim();
628
- const parts = cleanInput.split(/\\\s+/).filter(p => p.length > 0);
627
+ const cleanInput = input.replace(new RegExp('^\\\\\\\\/?' + this.commandName + '\\\\\\s*', 'i'), '').trim();
628
+ const parts = cleanInput.split(/\\\\s+/).filter(p => p.length > 0);
629
629
 
630
630
  for (let i = 0; i < parts.length; i++) {
631
631
  const part = parts[i].toLowerCase();