agent-inspect 6.31.19 → 6.31.20

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.
@@ -8528,6 +8528,13 @@ function errorCodeOf(event) {
8528
8528
  const code = nested.code;
8529
8529
  if (typeof code === "string" && code.trim() !== "") return code.trim();
8530
8530
  }
8531
+ const meta2 = attrs.metadata;
8532
+ if (meta2 && typeof meta2 === "object") {
8533
+ for (const key of ["errorCode", "code"]) {
8534
+ const value = meta2[key];
8535
+ if (typeof value === "string" && value.trim() !== "") return value.trim();
8536
+ }
8537
+ }
8531
8538
  return void 0;
8532
8539
  }
8533
8540
  function argumentDigestOf(event) {
@@ -16953,7 +16960,7 @@ var init_src = __esm({
16953
16960
  });
16954
16961
 
16955
16962
  // package.json
16956
- var version = "6.31.19";
16963
+ var version = "6.31.20";
16957
16964
 
16958
16965
  // packages/cli/src/list.ts
16959
16966
  init_advanced();