{"version":3,"file":"json-utils.d.ts","sourceRoot":"","sources":["../../src/core/json-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["/**\n * Shared helpers for user-edited JSON config files.\n *\n * models.json is documented as tolerating `//` line comments and trailing\n * commas (see docs/custom-provider.md). Every reader of that file must go\n * through the same normalization, otherwise a commented config parses in one\n * subsystem and crashes another.\n *\n * Upstream 0.84 grew its own copy of this helper in `utils/json.ts` (byte for\n * byte the same regexes). Two copies is exactly the shape of the bug this\n * module was created to kill, so this is now a re-export: one implementation,\n * one behaviour, and existing `core/json-utils` imports keep working.\n */\n\nexport { stripJsonComments } from \"../utils/json.ts\";\n"]}