@agenticprimitives/delegation 0.1.0-alpha.2

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 ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@agenticprimitives/delegation",
3
+ "version": "0.1.0-alpha.2",
4
+ "description": "EIP-712 smart-account delegations with caveats; web\u2192agent\u2192MCP token flow; session lifecycle.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/agentictrustlabs/agenticprimitives.git",
9
+ "directory": "packages/delegation"
10
+ },
11
+ "homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/delegation",
12
+ "bugs": {
13
+ "url": "https://github.com/agentictrustlabs/agenticprimitives/issues"
14
+ },
15
+ "type": "module",
16
+ "main": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ }
23
+ },
24
+ "files": [
25
+ "LICENSE",
26
+ "dist",
27
+ "spec.md",
28
+ "README.md"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsc -p tsconfig.build.json",
32
+ "typecheck": "tsc -p tsconfig.json --noEmit",
33
+ "test": "vitest run",
34
+ "test:unit": "vitest run test/unit",
35
+ "test:integration": "vitest run test/integration --passWithNoTests",
36
+ "test:watch": "vitest",
37
+ "clean": "rm -rf dist"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "dependencies": {
43
+ "@noble/curves": "^1.6.0",
44
+ "@noble/hashes": "^1.5.0"
45
+ },
46
+ "peerDependencies": {
47
+ "@agenticprimitives/agent-account": "workspace:*",
48
+ "@agenticprimitives/audit": "workspace:*",
49
+ "@agenticprimitives/connect-auth": "workspace:*",
50
+ "@agenticprimitives/key-custody": "workspace:*",
51
+ "@agenticprimitives/types": "workspace:*",
52
+ "viem": "^2.50.0"
53
+ },
54
+ "devDependencies": {
55
+ "vitest": "^2.1.0"
56
+ },
57
+ "keywords": [
58
+ "delegation",
59
+ "eip-712",
60
+ "erc-7710",
61
+ "erc-1271",
62
+ "caveat",
63
+ "session",
64
+ "agentic"
65
+ ]
66
+ }
package/spec.md ADDED
@@ -0,0 +1,6 @@
1
+ # @agenticprimitives/delegation — spec
2
+
3
+ The authoritative specification lives at:
4
+ **[`../../specs/202-delegation.md`](../../specs/202-delegation.md)**
5
+
6
+ Do not edit a divergent copy here.