@verax-ai/proxy 0.1.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/dist/approvals.d.ts +91 -0
- package/dist/approvals.js +282 -0
- package/dist/checkpoints.d.ts +3 -0
- package/dist/checkpoints.js +31 -0
- package/dist/disk.d.ts +6 -0
- package/dist/disk.js +13 -0
- package/dist/explain.d.ts +13 -0
- package/dist/explain.js +211 -0
- package/dist/hash.d.ts +4 -0
- package/dist/hash.js +10 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +17 -0
- package/dist/inputs.d.ts +13 -0
- package/dist/inputs.js +49 -0
- package/dist/ledger.d.ts +130 -0
- package/dist/ledger.js +683 -0
- package/dist/policy.d.ts +37 -0
- package/dist/policy.js +265 -0
- package/dist/proxy.d.ts +11 -0
- package/dist/proxy.js +533 -0
- package/dist/reconcile.d.ts +81 -0
- package/dist/reconcile.js +420 -0
- package/dist/spoken-reason.d.ts +1 -0
- package/dist/spoken-reason.js +9 -0
- package/dist/tenant.d.ts +12 -0
- package/dist/tenant.js +18 -0
- package/dist/types.d.ts +189 -0
- package/dist/types.js +1 -0
- package/package.json +37 -0
- package/policy/default.json +30 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"default": "deny",
|
|
4
|
+
"rules": [
|
|
5
|
+
{
|
|
6
|
+
"id": "memory-get",
|
|
7
|
+
"tool": "memory.get",
|
|
8
|
+
"requires": ["verax:read"],
|
|
9
|
+
"text": "Reading memory needs the read scope."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "memory-put",
|
|
13
|
+
"tool": "memory.put",
|
|
14
|
+
"requires": ["verax:memory"],
|
|
15
|
+
"text": "Writing memory needs the memory scope."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "audit-explain",
|
|
19
|
+
"tool": "audit.explain",
|
|
20
|
+
"requires": ["verax:read"],
|
|
21
|
+
"text": "Reading an explanation needs the read scope."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "message-read",
|
|
25
|
+
"tool": "message.read",
|
|
26
|
+
"requires": ["verax:read"],
|
|
27
|
+
"text": "Reading the inbox needs the read scope."
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|