agent-contracts 0.6.0 → 0.6.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.
package/dist/index.js CHANGED
@@ -60334,6 +60334,11 @@ function buildPerAgentContext(dsl, agent) {
60334
60334
 
60335
60335
  // src/renderer/renderer.ts
60336
60336
  Handlebars.registerHelper("eq", (a3, b3) => a3 === b3);
60337
+ Handlebars.registerHelper("notEmpty", (obj) => {
60338
+ if (!obj || typeof obj !== "object") return false;
60339
+ return Object.keys(obj).length > 0;
60340
+ });
60341
+ Handlebars.registerHelper("inc", (val) => val + 1);
60337
60342
  Handlebars.registerHelper(
60338
60343
  "lookupPayloadFields",
60339
60344
  (payload) => {