@agenticprimitives/agreements 0.0.0-alpha.22 → 0.0.0-alpha.24

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 +17 -8
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @agenticprimitives/agreements
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
  **Two agents strike a deal. The chain should be able to prove the deal existed and how it ended — without ever learning what it was.** Most on-chain agreement records leak by design: parties, terms, schedules, all readable forever. This package is the SDK for `AgreementRegistry.sol`, a commitment-only registry — the chain stores keccak commitments over the party set, issuer, terms, and schedule, plus a status machine (`ACTIVE → COMPLETED / DISPUTED / REVOKED`). The human-readable agreement is a W3C verifiable credential held off chain by the parties; the chain holds only enough to anchor and adjudicate it.
4
6
 
5
7
  Status transitions are as strict as registration is private: the contract recomputes the transition digest from the commitment, target status, and nullifier on chain, and requires party signatures over that recomputed value — never a caller-supplied hash, and never an issuer-only revoke.
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "@agenticprimitives/agreements",
3
- "version": "0.0.0-alpha.22",
3
+ "version": "0.0.0-alpha.24",
4
4
  "description": "Commitment-only AgreementRegistry SDK. Owns AgreementCredential shape (PD-22) + commitment math + bilateral status transitions + joint-assertion gateway.",
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/agreements"
10
18
  },
11
- "homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/agreements",
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",
@@ -40,12 +44,17 @@
40
44
  "keywords": [
41
45
  "agentic",
42
46
  "primitives",
43
- "agreements"
47
+ "agreements",
48
+ "agentic-primitives",
49
+ "agenticprimitives",
50
+ "ai-agents",
51
+ "agent-authority",
52
+ "agentic-trust"
44
53
  ],
45
54
  "dependencies": {
46
55
  "@noble/hashes": "^2.2.0",
47
- "@agenticprimitives/types": "1.0.0-alpha.25",
48
- "@agenticprimitives/verifiable-credentials": "0.0.0-alpha.22"
56
+ "@agenticprimitives/types": "1.0.0-alpha.27",
57
+ "@agenticprimitives/verifiable-credentials": "0.0.0-alpha.24"
49
58
  },
50
59
  "scripts": {
51
60
  "build": "tsc -p tsconfig.build.json",