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
package/src/cli/router-beta.js
CHANGED
|
@@ -534,8 +534,8 @@ function buildQuery(input) {
|
|
|
534
534
|
search: null
|
|
535
535
|
};
|
|
536
536
|
|
|
537
|
-
const cleanInput = input.replace(
|
|
538
|
-
const parts = cleanInput.split(
|
|
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(
|
|
628
|
-
const parts = cleanInput.split(
|
|
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();
|