veto-sdk 2.8.2 → 2.8.3

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,12 +25,12 @@ const agent = createAgent({ tools: safeTools });
25
25
  ## 60-second denied call
26
26
 
27
27
  ```bash
28
- npm i veto-sdk openai
28
+ npm install veto-sdk
29
29
  npx veto init
30
30
  node examples/60-second-denied-call/denied-call.mjs
31
31
  ```
32
32
 
33
- `npx veto init` creates blocking local defaults in `veto/rules/defaults.yaml`, so the example deterministically denies `bash` with `rm -rf` before the handler runs.
33
+ `npx veto init` creates blocking local defaults in `veto/rules/defaults.yaml`, so the example deterministically denies `bash` with `rm -rf` before the handler runs. No provider SDK or API key is required.
34
34
 
35
35
  ## Python parity
36
36
 
@@ -47,6 +47,8 @@ agent = create_agent(tools=safe)
47
47
  npx veto init
48
48
  ```
49
49
 
50
+ The canonical npm package for `npx veto` is `veto`. The `veto-cli` and `veto-sdk` bins remain compatibility paths for existing users.
51
+
50
52
  ```yaml
51
53
  rules:
52
54
  - id: block-large-transfers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veto-sdk",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
4
4
  "description": "Policy runtime for AI agent tool calls",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",