Merge pull request #17 from outis1one/claude/read-repo-wA3y1
Claude/read repo w a3y1
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Silent Send",
|
"name": "Silent Send",
|
||||||
"version": "2.0.0",
|
"version": "2.0.3",
|
||||||
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Silent Send",
|
"name": "Silent Send",
|
||||||
"version": "2.0.0",
|
"version": "2.0.3",
|
||||||
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"storage",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "silent-send",
|
"name": "silent-send",
|
||||||
"version": "2.0.0",
|
"version": "2.0.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "BSL-1.1",
|
"license": "BSL-1.1",
|
||||||
"description": "Browser extension that substitutes personal data before sending to AI services",
|
"description": "Browser extension that substitutes personal data before sending to AI services",
|
||||||
|
|||||||
+10
-5
@@ -661,7 +661,11 @@
|
|||||||
// Record what was actually substituted so reveal knows
|
// Record what was actually substituted so reveal knows
|
||||||
for (const r of replacements) {
|
for (const r of replacements) {
|
||||||
if (r.replaced && r.original) {
|
if (r.replaced && r.original) {
|
||||||
sessionSubstitutions.set(r.replaced.toLowerCase(), r.original);
|
// Store with lowercase key for lookup, but preserve original case
|
||||||
|
sessionSubstitutions.set(r.replaced.toLowerCase(), {
|
||||||
|
original: r.original,
|
||||||
|
replaced: r.replaced, // preserve original case
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1272,7 +1276,8 @@
|
|||||||
// Helper: only add if this substitute was actually sent
|
// Helper: only add if this substitute was actually sent
|
||||||
function addIfUsed(from, to, caseSensitive) {
|
function addIfUsed(from, to, caseSensitive) {
|
||||||
if (!from || !to) return;
|
if (!from || !to) return;
|
||||||
if (sessionSubstitutions.has(from.toLowerCase())) {
|
const entry = sessionSubstitutions.get(from.toLowerCase());
|
||||||
|
if (entry) {
|
||||||
pairs.push({ from, to, caseSensitive });
|
pairs.push({ from, to, caseSensitive });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1301,9 +1306,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Also add auto-detect and secret scanner substitutions from this session
|
// Also add auto-detect and secret scanner substitutions from this session
|
||||||
for (const [replaced, original] of sessionSubstitutions) {
|
for (const [key, entry] of sessionSubstitutions) {
|
||||||
if (!pairs.some(p => p.from.toLowerCase() === replaced)) {
|
if (!pairs.some(p => p.from.toLowerCase() === key)) {
|
||||||
pairs.push({ from: replaced, to: original });
|
pairs.push({ from: entry.replaced, to: entry.original });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -589,7 +589,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>Silent Send v2.0.0</p>
|
<p>Silent Send v2.0.3</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user