@agent-inspect/viewer 6.17.2 → 6.17.4

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.cjs CHANGED
@@ -2278,7 +2278,7 @@ function formatProgrammaticDiagnostic(code, detail) {
2278
2278
 
2279
2279
  // packages/core/src/safety/sensitive-key.ts
2280
2280
  function normalizeSensitiveKey(value) {
2281
- return value.toLowerCase().replace(/[^a-z0-9_]/g, "");
2281
+ return value.replace(/([a-z0-9])([A-Z])/g, "$1_$2").toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
2282
2282
  }
2283
2283
  new Set(
2284
2284
  [