@agent-inspect/viewer 6.17.3 → 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.mjs CHANGED
@@ -2271,7 +2271,7 @@ function formatProgrammaticDiagnostic(code, detail) {
2271
2271
 
2272
2272
  // packages/core/src/safety/sensitive-key.ts
2273
2273
  function normalizeSensitiveKey(value) {
2274
- return value.toLowerCase().replace(/[^a-z0-9_]/g, "");
2274
+ return value.replace(/([a-z0-9])([A-Z])/g, "$1_$2").toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
2275
2275
  }
2276
2276
  new Set(
2277
2277
  [