Huauauaa/dsh-privacy-mask

Huauauaa★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

dsh-privacy-mask

README 摘要

dsh-privacy-mask Display-only privacy mask for the DeepSeek Harness (dsh) web UI. Regex matches in chat text render as a placeholder (default ); hover reveals the original. Copy, selection, and LLM context are unchanged . What it does - Scans user messages, assistant body text, and tool/result cards in the conversation DOM - Wraps regex matches in a CSS mask — the DOM still holds the original text - Shows a configurable placeholder instead of matched substrings; hover reveals the real value - Built-in rules for common secret shapes (API keys, Bearer tokens, email, PEM headers) plus custom rules - Settings page section Privacy mask (open via the bottom-left Settings button) What it does not do - Does not redact session data, exports, telemetry, or model/tool payloads - Does not change what the LLM sees or what gets stored server-side - Does not alter clipboard output — copy/paste still yields the original secret text Config still lives in browser localStorage (not Host settings.plugin.item ); see Configuration storage. Install From a checkout of this repo: Then restart (or reload) the web profile so the client bundle loads. lib/client.js is a classic-script ModuleLoader factory ( wi…

在 GitHub 查看完整 README →
工具/开发dsh-pluginweb ui

分类