agent-sanitizer 2.2.2 → 2.3.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/package.json +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-sanitizer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.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": {
|
|
@@ -46,6 +46,9 @@
|
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
+
"agent-control-plane-core": "0.2.13",
|
|
50
|
+
"namespace-guard": "0.20.0",
|
|
51
|
+
"sanitizer-engine": "npm:agent-sanitizer@2.1.0",
|
|
49
52
|
"@commitlint/cli": "^21.0.1",
|
|
50
53
|
"@commitlint/config-conventional": "^21.0.1",
|
|
51
54
|
"@eslint/js": "10.0.1",
|
|
@@ -144,8 +147,9 @@
|
|
|
144
147
|
"scripts": {
|
|
145
148
|
"test": "c8 node --test",
|
|
146
149
|
"coverage": "c8 node --test",
|
|
147
|
-
"
|
|
148
|
-
"
|
|
150
|
+
"coverage:hooks": "c8 --config .c8rc.claude-hooks.json node --test plugin/test/*.test.mjs",
|
|
151
|
+
"check": "tsc --noEmit && tsc -p tsconfig.hooks.json --noEmit",
|
|
152
|
+
"typecheck": "tsc --noEmit && tsc -p tsconfig.hooks.json --noEmit",
|
|
149
153
|
"build:types": "tsc -p tsconfig.build.json",
|
|
150
154
|
"gen:joining-type": "node scripts/gen-joining-type.mjs",
|
|
151
155
|
"lint": "eslint .",
|