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/cli.js +5 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -60572,6 +60572,11 @@ function buildPerAgentContext(dsl, agent) {
|
|
|
60572
60572
|
|
|
60573
60573
|
// src/renderer/renderer.ts
|
|
60574
60574
|
Handlebars.registerHelper("eq", (a3, b3) => a3 === b3);
|
|
60575
|
+
Handlebars.registerHelper("notEmpty", (obj) => {
|
|
60576
|
+
if (!obj || typeof obj !== "object") return false;
|
|
60577
|
+
return Object.keys(obj).length > 0;
|
|
60578
|
+
});
|
|
60579
|
+
Handlebars.registerHelper("inc", (val) => val + 1);
|
|
60575
60580
|
Handlebars.registerHelper(
|
|
60576
60581
|
"lookupPayloadFields",
|
|
60577
60582
|
(payload) => {
|