@agenticprimitives/tool-policy 1.0.0-alpha.25 → 1.0.0-alpha.27

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 +2 -0
  2. package/package.json +16 -7
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @agenticprimitives/tool-policy
2
2
 
3
+ > Part of **[Agentic Primitives](https://agenticprimitives.dev)** — the open-source trust substrate for agentic applications: identity that can sign, authority checked at act time, evidence the owner carries. [Developer kit](https://github.com/agentictrustlabs/agentic-primitives) · [All packages](https://agenticprimitives.dev/developers)
4
+
3
5
  **One delegation model, everywhere — and this is the layer that decides.**
4
6
 
5
7
  Agents are getting tool access faster than anyone is deciding what those tools should be allowed to do. The usual answer is an OAuth scope string or an API key with a prayer attached — coarse, transport-bound, and silent about risk. This package is the missing decision layer: a classification taxonomy (`@sa-tool`, `@sa-auth`, `@sa-validation`, `@sa-risk-tier` and friends), risk tiers with TTL clamps and required-caveat lookups, an exact-call DSL for byte-precise on-chain calls, and a deterministic decision engine — `evaluatePolicy(ctx)` returns `allow`, `deny`, or `requires-consent`, the same answer for the same input, every time. Unknown classification fields fail closed.
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "@agenticprimitives/tool-policy",
3
- "version": "1.0.0-alpha.25",
3
+ "version": "1.0.0-alpha.27",
4
4
  "description": "Protocol-agnostic classification, risk tiers, and exact-call policy. Consumable by MCP, A2A, LangGraph, and Vercel AI tool runtimes.",
5
+ "homepage": "https://agenticprimitives.dev",
6
+ "bugs": {
7
+ "url": "https://github.com/agentictrustlabs/agenticprimitives/issues"
8
+ },
9
+ "author": {
10
+ "name": "Agentic Trust Labs",
11
+ "url": "https://agenticprimitives.dev"
12
+ },
5
13
  "license": "MIT",
6
14
  "repository": {
7
15
  "type": "git",
8
16
  "url": "git+https://github.com/agentictrustlabs/agenticprimitives.git",
9
17
  "directory": "packages/tool-policy"
10
18
  },
11
- "homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/tool-policy",
12
- "bugs": {
13
- "url": "https://github.com/agentictrustlabs/agenticprimitives/issues"
14
- },
15
19
  "type": "module",
16
20
  "main": "./dist/index.js",
17
21
  "types": "./dist/index.d.ts",
@@ -38,7 +42,7 @@
38
42
  "@noble/hashes": "^2.2.0"
39
43
  },
40
44
  "peerDependencies": {
41
- "@agenticprimitives/types": "1.0.0-alpha.25"
45
+ "@agenticprimitives/types": "1.0.0-alpha.27"
42
46
  },
43
47
  "devDependencies": {
44
48
  "@types/node": "^22.7.0",
@@ -50,7 +54,12 @@
50
54
  "risk-tier",
51
55
  "exact-call",
52
56
  "agentic",
53
- "tool-policy"
57
+ "tool-policy",
58
+ "agentic-primitives",
59
+ "agenticprimitives",
60
+ "ai-agents",
61
+ "agent-authority",
62
+ "agentic-trust"
54
63
  ],
55
64
  "scripts": {
56
65
  "build": "tsc -p tsconfig.build.json",