@supernova-studio/model 1.47.1 → 1.47.2

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.mjs CHANGED
@@ -961,7 +961,13 @@ var SupernovaException = class _SupernovaException extends Error {
961
961
  }
962
962
  };
963
963
  function errorToString(error) {
964
- return error instanceof Error ? error.message : String(error);
964
+ if (error instanceof Error) {
965
+ const errorAny = error;
966
+ const stderr = errorAny.result?.stderr ?? errorAny.stderr ?? "";
967
+ return stderr ? `${error.message}
968
+ ${stderr}` : error.message;
969
+ }
970
+ return String(error);
965
971
  }
966
972
 
967
973
  // src/utils/common.ts
@@ -6573,7 +6579,8 @@ var FlaggedFeature = z206.enum([
6573
6579
  "PulsarConcurrency",
6574
6580
  "PulsarProfilerMode",
6575
6581
  "ForgeE2BTemplate",
6576
- "ForgeOnDemandIterations"
6582
+ "ForgeOnDemandIterations",
6583
+ "ForgeAutoRetryOnErrors"
6577
6584
  ]);
6578
6585
  var FeatureFlagDefaults = {
6579
6586
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"