herdr-plugin-amq 0.1.6 → 0.1.7

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/herdr-plugin.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  id = "cabra.amq"
2
2
  name = "Herdr AMQ"
3
- version = "0.1.6"
3
+ version = "0.1.7"
4
4
  min_herdr_version = "0.7.0"
5
5
  description = "Agent Message Queue (AMQ) bridge daemon, mailbox monitor, and dashboard for Herdr"
6
6
  platforms = ["linux", "macos"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "herdr-plugin-amq",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Herdr plugin for AMQ (Agent Message Queue) autonomous bridge, status monitoring, and AGmail dashboard",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
package/src/bridge.mjs CHANGED
@@ -120,7 +120,7 @@ function healAgentName(handle, dryRun = false) {
120
120
  }
121
121
 
122
122
  function promptAgent(handle, text, dryRun = false) {
123
- if (dryRun) {
123
+ if (dryRun || process.env.HERDR_DISABLE_PROMPT === "1" || process.env.NODE_ENV === "test") {
124
124
  console.log(`[bridge] DRY: would prompt ${handle}: ${text.slice(0, 60)}...`);
125
125
  return true;
126
126
  }