@dreb/coding-agent 2.20.0 → 2.21.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.
@@ -511,6 +511,10 @@ export class InteractiveMode {
511
511
  this.showWarning(warning);
512
512
  }
513
513
  });
514
+ // Warn if running as root
515
+ if (process.getuid?.() === 0) {
516
+ this.showWarning("Running as root (UID 0). The agent has unrestricted system access — all commands execute with full root privileges.");
517
+ }
514
518
  // Show startup warnings
515
519
  const { migratedProviders, modelFallbackMessage, initialMessage, initialImages, initialMessages } = this.options;
516
520
  if (migratedProviders && migratedProviders.length > 0) {