mage-remote-run 0.15.0 → 0.15.1

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.
@@ -178,6 +178,13 @@ export function registerConsoleCommand(program) {
178
178
  }
179
179
 
180
180
  const firstWord = expandedArgs[0];
181
+ const blockedCommands = new Set(['console', 'mcp']);
182
+ if (blockedCommands.has(firstWord)) {
183
+ const blockedLabel = firstWord === 'console' ? 'console/repl' : firstWord;
184
+ console.error(chalk.red(`Command "${blockedLabel}" is not available inside the console.`));
185
+ callback(null);
186
+ return;
187
+ }
181
188
  const knownCommands = localProgram.commands.map(c => c.name());
182
189
 
183
190
  if (knownCommands.includes(firstWord)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mage-remote-run",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "The remote swiss army knife for Magento Open Source, Mage-OS, Adobe Commerce",
5
5
  "main": "index.js",
6
6
  "scripts": {