sloth-d2c-mcp 1.0.4-beta101 → 1.0.4-beta102

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/cli/run.js CHANGED
@@ -314,6 +314,7 @@ if (args[0] === 'config') {
314
314
  process.env.SLOTH_COMMAND = 'cache';
315
315
  } else if (args[0] === '--server') {
316
316
  process.env.SLOTH_COMMAND = 'server';
317
+ process.env.NODE_ENV = "cli";
317
318
  } else {
318
319
  // 设置环境变量为CLI模式
319
320
  process.env.NODE_ENV = "cli";