ethanrise/dsh-privacy-gateway ↗★ 0
dsh-privacy-gateway
本地隐私网关,脱敏对话和文件中的个人数据 适合对数据隐私敏感,需在发送给模型前过滤敏感信息的场景。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ethanrise/dsh-privacy-gateway说明文档
阅读完整 README ↗Configuration
In the plugin's cordis.patch.yml row:
| Key | Default | Meaning |
|---|---|---|
maskMessages | true | mask conversation messages before the model sees them (also switchable in the sidebar) |
maskToolResults | false | also mask tool results |
entities | [PERSON, PHONE, EMAIL, ID_CARD, BANK_CARD] | rule types to detect; add IP to enable it |
persistVault | true | keep vault.json on disk |
maxVaultEntries | 20000 | oldest entries are dropped past this |