@agenticprimitives/related-agents 0.0.0-alpha.3 → 0.0.0-alpha.30
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/README.md +2 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/package.json +19 -10
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @agenticprimitives/related-agents
|
|
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
|
**Some relationships are nobody else's business.** When a person creates an organization through a relying app, that person↔org link is among the most sensitive facts in the whole identity stack — and the default in most systems is to leak it: into an app database, into a public graph, into an index. This package makes the private path the only path. A person↔org link is a **private, holder-resident vault credential** — never an on-chain relationship, never relying-app-local person→org state ([ADR-0025](../../docs/architecture/decisions/0025-related-agent-links-are-private.md)). The public trust graph stays org↔org, and only on explicit bilateral consent.
|
|
4
6
|
|
|
5
7
|
Part of [agenticprimitives](../../README.md) — the trust substrate for the agent economy: one canonical Smart Agent identity with custody, delegation, naming, credentials, and audit evidence designed as one system.
|
package/dist/index.d.ts
CHANGED
|
@@ -60,6 +60,22 @@ export interface CustodyDescriptor {
|
|
|
60
60
|
/** Validate + canonicalize a custody descriptor. Rebuilds `custody` field-by-field so no extra field
|
|
61
61
|
* (e.g. a smuggled `iss`/`sub`) can survive into the stored record (RC-INV-3). Fail-closed on bad input. */
|
|
62
62
|
export declare function buildCustodyDescriptor(d: CustodyDescriptor): CustodyDescriptor;
|
|
63
|
+
/** Bind the write to its exact content — a captured signature can only write THIS link, not arbitrary fields. */
|
|
64
|
+
export declare function relatedAgentWriteContentHash(f: {
|
|
65
|
+
orgAgent: Address;
|
|
66
|
+
orgName: string;
|
|
67
|
+
purpose: string;
|
|
68
|
+
requestedBy: string;
|
|
69
|
+
}): Hex;
|
|
70
|
+
/** The digest a PERSON-SA custodian signs (ERC-1271) to authorize ONE related-agent write. Bound to the
|
|
71
|
+
* person, the agent, the content hash, a one-shot `nonce` (bytes32), and an `expiry` (unix seconds). */
|
|
72
|
+
export declare function hashRelatedAgentWriteChallenge(a: {
|
|
73
|
+
person: Address;
|
|
74
|
+
orgAgent: Address;
|
|
75
|
+
contentHash: Hex;
|
|
76
|
+
nonce: Hex;
|
|
77
|
+
expiry: number;
|
|
78
|
+
}): Hex;
|
|
63
79
|
export type RelatedAgentCredential = UnsignedCredential<Situation<{
|
|
64
80
|
payload: RelatedAgentBody;
|
|
65
81
|
}>>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,KAAK,EACV,KAAK,cAAc,EACpB,MAAM,2CAA2C,CAAC;AAOnD,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,KAAK,EACV,KAAK,cAAc,EACpB,MAAM,2CAA2C,CAAC;AAOnD,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAGtF,eAAO,MAAM,YAAY,sCAAsC,CAAC;AAChE,eAAO,MAAM,cAAc,EAAG,iBAA0B,CA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O,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,UAAU,EAAE,UAAU,CAAC;IACvB,8DAA8D;IAC9D,SAAS,EAAE,KAAK,CAAC;CAClB;AAED,sFAAsF;AACtF,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,gBAAgB,EAAE,CAAC;CAC1B;AAED,4EAA4E;AAC5E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,yFAAyF;AACzF,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,kBAAkB,EAAE,CAAC;CAC5B;AAED,YAAY,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { buildSituation, credentialHash, VC_CONTEXT_V2, } from '@agenticprimitives/verifiable-credentials';
|
|
19
19
|
import { buildCaveat, encodeTimestampTerms, encodeValueTerms, encodeAllowedTargetsTerms, } from '@agenticprimitives/delegation';
|
|
20
|
+
import { keccak256, toBytes, encodeAbiParameters } from 'viem';
|
|
20
21
|
export const PACKAGE_NAME = '@agenticprimitives/related-agents';
|
|
21
22
|
export const PACKAGE_STATUS = 'w1-foundational';
|
|
22
23
|
export const SPEC_REF = 'specs/246-related-agents-vault.md';
|
|
@@ -58,6 +59,24 @@ export function buildCustodyDescriptor(d) {
|
|
|
58
59
|
}
|
|
59
60
|
return { targetSA: d.targetSA, salt: d.salt, custody };
|
|
60
61
|
}
|
|
62
|
+
// ─── Related-agent write challenge (AUDIT NEW-RAG-2) ─────────────────────────
|
|
63
|
+
//
|
|
64
|
+
// The Connect home registers an externally-governed person→agent link (e.g. a relying-app operator's
|
|
65
|
+
// org) authorized by an ERC-1271 signature from a custodian of the PERSON SA. The original challenge was
|
|
66
|
+
// the CONSTANT `keccak256("related-orgs:write:<person>")` — no nonce/expiry/payload binding, so one
|
|
67
|
+
// captured signature authorized UNLIMITED writes to any link field forever (link poisoning /
|
|
68
|
+
// denial-of-recovery). These helpers bind the signature to (person, agent, the exact content, a one-shot
|
|
69
|
+
// nonce, a short expiry). Client and server BOTH derive the challenge from these so they can't drift; the
|
|
70
|
+
// server ALWAYS recomputes `contentHash` from the persisted fields and never trusts a client digest.
|
|
71
|
+
/** Bind the write to its exact content — a captured signature can only write THIS link, not arbitrary fields. */
|
|
72
|
+
export function relatedAgentWriteContentHash(f) {
|
|
73
|
+
return keccak256(encodeAbiParameters([{ type: 'address' }, { type: 'bytes32' }, { type: 'bytes32' }, { type: 'bytes32' }], [f.orgAgent, keccak256(toBytes(f.orgName)), keccak256(toBytes(f.purpose)), keccak256(toBytes(f.requestedBy))]));
|
|
74
|
+
}
|
|
75
|
+
/** The digest a PERSON-SA custodian signs (ERC-1271) to authorize ONE related-agent write. Bound to the
|
|
76
|
+
* person, the agent, the content hash, a one-shot `nonce` (bytes32), and an `expiry` (unix seconds). */
|
|
77
|
+
export function hashRelatedAgentWriteChallenge(a) {
|
|
78
|
+
return keccak256(encodeAbiParameters([{ type: 'bytes32' }, { type: 'address' }, { type: 'address' }, { type: 'bytes32' }, { type: 'bytes32' }, { type: 'uint256' }], [keccak256(toBytes('related-agents:write:v2')), a.person, a.orgAgent, a.contentHash, a.nonce, BigInt(a.expiry)]));
|
|
79
|
+
}
|
|
61
80
|
/** Build the unsigned, self-issued related-agent situation credential. The caller
|
|
62
81
|
* signs it with the holder's ROOT credential (issuer = holder = personSA). */
|
|
63
82
|
export function buildRelatedAgentCredential(args) {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,cA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AAM,EAAE,cAAc;SACpC;QACD,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE;QAC5B,YAAY,EAAE;YACZ,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;SACzC;KACF,CAAC,CAAC;IACH,OAAO;QACL,UAAU,EAAE,CAAC,aAAa,CAAC;QAC3B,IAAI,EAAE,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;QACxD,MAAM,EAAE,IAAI,CAAC,YAAY;QACzB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,iBAAiB,EAAE,SAAS;KAC7B,CAAC;AACJ,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,qBAAqB,CAAC,UAAkC;IACtE,OAAO,cAAc,CAAC,UAAU,CAAC,CAAC;AACpC,CAAC;AAeD;;mEAEmE;AACnE,MAAM,UAAU,uBAAuB,CAAC,IAAgC;IACtE,OAAO;QACL,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,oBAAoB,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAClG,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAC;QACvD,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,yBAAyB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KAC3F,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticprimitives/related-agents",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.30",
|
|
4
4
|
"description": "Private, holder-resident related-agent credentials (person↔org links as vault situation credentials, never on-chain edges — ADR-0025) + scoped-delegation read caveats + list-query shapes. Composes verifiable-credentials + delegation.",
|
|
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/related-agents"
|
|
10
18
|
},
|
|
11
|
-
"homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/related-agents",
|
|
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",
|
|
@@ -34,19 +38,24 @@
|
|
|
34
38
|
"viem": "^2.52.2"
|
|
35
39
|
},
|
|
36
40
|
"devDependencies": {
|
|
37
|
-
"vitest": "^4.1.
|
|
41
|
+
"vitest": "^4.1.11",
|
|
38
42
|
"viem": "^2.52.2"
|
|
39
43
|
},
|
|
40
44
|
"keywords": [
|
|
41
45
|
"agentic",
|
|
42
46
|
"primitives",
|
|
43
47
|
"related-agents",
|
|
44
|
-
"vault"
|
|
48
|
+
"vault",
|
|
49
|
+
"agentic-primitives",
|
|
50
|
+
"agenticprimitives",
|
|
51
|
+
"ai-agents",
|
|
52
|
+
"agent-authority",
|
|
53
|
+
"agentic-trust"
|
|
45
54
|
],
|
|
46
55
|
"dependencies": {
|
|
47
|
-
"@agenticprimitives/delegation": "1.0.0-alpha.
|
|
48
|
-
"@agenticprimitives/
|
|
49
|
-
"@agenticprimitives/
|
|
56
|
+
"@agenticprimitives/delegation": "1.0.0-alpha.34",
|
|
57
|
+
"@agenticprimitives/types": "1.0.0-alpha.34",
|
|
58
|
+
"@agenticprimitives/verifiable-credentials": "0.0.0-alpha.31"
|
|
50
59
|
},
|
|
51
60
|
"scripts": {
|
|
52
61
|
"build": "tsc -p tsconfig.build.json",
|