@reactive-agents/guardrails 0.6.2 → 0.7.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 +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,17 +7,17 @@ Protects agents from prompt injection, PII leakage, and toxic content — applie
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
bun add @reactive-agents/guardrails
|
|
10
|
+
bun add @reactive-agents/guardrails
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Protections
|
|
14
14
|
|
|
15
|
-
| Guard
|
|
16
|
-
|
|
17
|
-
| Prompt injection
|
|
18
|
-
| PII detection
|
|
19
|
-
| Toxicity filtering | Harmful or abusive content
|
|
20
|
-
| Output contracts
|
|
15
|
+
| Guard | What it catches |
|
|
16
|
+
| ------------------ | ----------------------------------------- |
|
|
17
|
+
| Prompt injection | Attempts to override system instructions |
|
|
18
|
+
| PII detection | Emails, phone numbers, SSNs, credit cards |
|
|
19
|
+
| Toxicity filtering | Harmful or abusive content |
|
|
20
|
+
| Output contracts | Schema-validates agent responses |
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reactive-agents/guardrails",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"effect": "^3.10.0",
|
|
15
|
-
"@reactive-agents/core": "0.6.
|
|
16
|
-
"@reactive-agents/llm-provider": "0.6.
|
|
15
|
+
"@reactive-agents/core": "0.6.3",
|
|
16
|
+
"@reactive-agents/llm-provider": "0.6.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"typescript": "^5.7.0",
|