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 +1 -1
- package/package.json +1 -1
- package/src/bridge.mjs +1 -1
package/herdr-plugin.toml
CHANGED
package/package.json
CHANGED
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
|
}
|