@mutagent/cli 0.1.103 → 0.1.105

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/bin/cli.js CHANGED
@@ -3921,13 +3921,10 @@ function cliCriterionToCanonical(c) {
3921
3921
  };
3922
3922
  }
3923
3923
  function canonicalCriterionToCli(c) {
3924
- if (!c || typeof c !== "object") {
3925
- return { name: undefined, description: "", evaluationParameter: "" };
3926
- }
3927
3924
  return {
3928
3925
  name: c.name ?? c.id,
3929
- description: c.criteria ?? c.description ?? "",
3930
- evaluationParameter: c.evaluationParameter ?? c.parameter ?? ""
3926
+ description: c.criteria,
3927
+ evaluationParameter: c.evaluationParameter
3931
3928
  };
3932
3929
  }
3933
3930
  function cliCriteriaArrayToCanonical(arr) {
@@ -9273,5 +9270,5 @@ program.addCommand(createHooksCommand());
9273
9270
  program.addCommand(createFeedbackCommand());
9274
9271
  program.parse();
9275
9272
 
9276
- //# debugId=8D938D88D070E37F64756E2164756E21
9273
+ //# debugId=C0237D36A8C675B464756E2164756E21
9277
9274
  //# sourceMappingURL=cli.js.map