stigmergy 1.3.2-beta.2 → 1.3.2-beta.3

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.2-beta.2",
3
+ "version": "1.3.2-beta.3",
4
4
  "description": "Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -150,7 +150,7 @@ async function handleInitCommand(options = {}) {
150
150
 
151
151
  // Create basic config
152
152
  const config = {
153
- version: '1.3.2-beta.2',
153
+ version: '1.3.2-beta.3',
154
154
  created: new Date().toISOString(),
155
155
  project: path.basename(projectDir)
156
156
  };
@@ -95,7 +95,7 @@ async function main() {
95
95
 
96
96
  // Program setup
97
97
  program
98
- .version('1.3.2-beta.2')
98
+ .version('1.3.2-beta.3')
99
99
  .description('Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System')
100
100
  .name('stigmergy');
101
101
 
@@ -534,8 +534,8 @@ function buildQuery(input) {
534
534
  search: null
535
535
  };
536
536
 
537
- const cleanInput = input.replace(/^\\\\/?${commandName.replace(/\//g, '')}\\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(/^\\\\/?\${this.commandName.replace(/\\//g, '')}\\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();