]> git.99rst.org Git - sgasser-llm-shield.git/commit
Rename masking whitelist config to allowlist (#104)
authorStefan Gasser <redacted>
Tue, 23 Jun 2026 06:34:57 +0000 (08:34 +0200)
committerGitHub <redacted>
Tue, 23 Jun 2026 06:34:57 +0000 (08:34 +0200)
commit5bd68d750160dbac0925a9c4d4fa44e42857f83f
tree4d967b745b6bb5f78f834564dbf64d05dfbc668c
parent1172e9762506d4ce40c9d9bef68d2b4bb1eb33ea
Rename masking whitelist config to allowlist (#104)

Rename the masking whitelist config key and its associated schema,
types, and helper (filterAllowlistedEntities) to use allowlist
terminology. Updates docs and the example config to match.
13 files changed:
config.example.yaml
docs/concepts/mask-mode.mdx
docs/configuration/pii-detection.mdx
src/config.test.ts
src/config.ts
src/pii/detect.test.ts
src/pii/detect.ts
src/pii/mask.test.ts
src/providers/anthropic/stream-transformer.test.ts
src/providers/openai/stream-transformer.test.ts
src/routes/api.test.ts
src/routes/api.ts
src/routes/codex.test.ts
git clone https://git.99rst.org/PROJECT