agent-sanitizer 2.18.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ npm install agent-sanitizer
|
|
|
18
18
|
```
|
|
19
19
|
/plugin marketplace add AlexanderMattTurner/agent-sanitizer
|
|
20
20
|
/plugin install agent-sanitizer@agent-sanitizer
|
|
21
|
+
/agent-sanitizer:enable-auto-update
|
|
21
22
|
```
|
|
22
23
|
|
|
23
24
|
[What installing entails](#what-installing-entails) covers the footprint of each
|
|
@@ -136,8 +137,23 @@ needs only `python3` on PATH, for Layer 4 — the plugin ships the engine itself
|
|
|
136
137
|
```
|
|
137
138
|
/plugin marketplace add AlexanderMattTurner/agent-sanitizer
|
|
138
139
|
/plugin install agent-sanitizer@agent-sanitizer
|
|
140
|
+
/agent-sanitizer:enable-auto-update
|
|
139
141
|
```
|
|
140
142
|
|
|
143
|
+
Claude Code auto-updates Anthropic's own marketplaces by default and nobody
|
|
144
|
+
else's, so that install pins you to the release you added and later detector
|
|
145
|
+
fixes never arrive. Claude Code ships no slash command for the toggle, so the
|
|
146
|
+
plugin ships one — `/agent-sanitizer:enable-auto-update` writes the same bit the
|
|
147
|
+
`/plugin` picker's **Enable auto-update** does, and refuses loudly rather than
|
|
148
|
+
guessing if the marketplace was never added. To pull a release by hand instead:
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
/plugin marketplace update agent-sanitizer
|
|
152
|
+
/plugin update agent-sanitizer@agent-sanitizer
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
`plugin/README.md` has the managed-settings form for enabling it fleet-wide.
|
|
156
|
+
|
|
141
157
|
To wire them yourself instead, one entry dispatches all four modes on `--hook=`:
|
|
142
158
|
|
|
143
159
|
```jsonc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-sanitizer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"description": "Defend an agent against hidden-content injection: strip payload-capable invisible Unicode and ANSI, splice out human-invisible HTML, and flag data-exfil URLs in untrusted text before any model sees it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|