@agenticprimitives/agent-relationships 1.0.0-alpha.26 → 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.
@@ -0,0 +1,97 @@
1
+ import { type Address, type Hex } from 'viem';
2
+ export type RelationshipKind = 'has-member' | 'steward-of' | 'chartered-under';
3
+ /** What both parties sign. `termsDigest`, never the terms: a presentation may withhold them. */
4
+ export interface RelationshipCredentialBodyV1 {
5
+ type: 'ap.relationship-credential.v1';
6
+ kind: RelationshipKind;
7
+ /** The party the relation is OF (the member, the steward, the chartered agent). */
8
+ subject: Address;
9
+ /** The party it is TO (the organization, the stewarded agent, the charterer). */
10
+ object: Address;
11
+ chainId: number;
12
+ issuedAt: string;
13
+ /** keccak256 of the RFC 8785 canonical terms; `0x00…` when there are none. */
14
+ termsDigest: Hex;
15
+ /** The chain edge this credential is the private side of, when one exists (the edge carries this credential's digest). */
16
+ edgeRef?: Hex;
17
+ }
18
+ export interface RelationshipCredentialV1 extends RelationshipCredentialBodyV1 {
19
+ /** The holder's copy keeps the terms; a presentation may omit them. */
20
+ terms?: Record<string, unknown>;
21
+ signatures: {
22
+ subject: Hex;
23
+ object: Hex;
24
+ };
25
+ }
26
+ export interface RelationshipRevocationV1 {
27
+ type: 'ap.relationship-revocation.v1';
28
+ /** The credential digest this revokes. */
29
+ credential: Hex;
30
+ revokedAt: string;
31
+ /** Both when both are present to sign; the object's alone when the member is gone — said, not hidden. */
32
+ signatures: {
33
+ subject?: Hex;
34
+ object?: Hex;
35
+ };
36
+ unilateral?: 'subject' | 'object';
37
+ reason?: string;
38
+ }
39
+ export declare const ZERO_DIGEST: Hex;
40
+ export declare const RELATIONSHIP_CREDENTIAL_PREFIX: "relationships.credential:";
41
+ export declare const RELATIONSHIP_REVOCATION_PREFIX: "relationships.revocation:";
42
+ export declare const relationshipCredentialRecordType: (digest: Hex) => string;
43
+ export declare const relationshipRevocationRecordType: (digest: Hex) => string;
44
+ export declare const termsDigestOf: (terms: Record<string, unknown> | undefined) => Hex;
45
+ /** THE ONE digest both parties sign: RFC 8785 over the body (the terms by digest, never inline). */
46
+ export declare function relationshipCredentialDigest(body: RelationshipCredentialBodyV1): Hex;
47
+ export declare function relationshipRevocationDigest(r: Omit<RelationshipRevocationV1, 'signatures'>): Hex;
48
+ /** Issue: build the body, have BOTH sides sign its digest, keep the terms on the holders' copies. */
49
+ export declare function issueRelationshipCredential(input: {
50
+ kind: RelationshipKind;
51
+ subject: Address;
52
+ object: Address;
53
+ chainId: number;
54
+ terms?: Record<string, unknown>;
55
+ edgeRef?: Hex;
56
+ signSubject: (digest: Hex) => Promise<Hex>;
57
+ signObject: (digest: Hex) => Promise<Hex>;
58
+ now?: () => Date;
59
+ }): Promise<{
60
+ credential: RelationshipCredentialV1;
61
+ digest: Hex;
62
+ }>;
63
+ export type SignatureCheck = (signer: Address, digest: Hex, signature: Hex) => Promise<boolean>;
64
+ /**
65
+ * Verify a credential (or a presentation of one): both signatures over the body's digest, each against its own
66
+ * party's Smart Agent; when the terms travel, they must hash to the body's `termsDigest`. Nothing here reads a
67
+ * chain edge — the signatures are the evidence, and the chain is consulted only for THEIR validity.
68
+ */
69
+ export declare function verifyRelationshipCredential(c: RelationshipCredentialV1, verifySig: SignatureCheck): Promise<{
70
+ ok: true;
71
+ digest: Hex;
72
+ } | {
73
+ ok: false;
74
+ reason: string;
75
+ }>;
76
+ /** A presentation: the credential with the terms WITHHELD. Verifies exactly as the full copy does. */
77
+ export declare function presentRelationship(c: RelationshipCredentialV1): RelationshipCredentialV1;
78
+ /** The §4 membership-root leaf: a blinded commitment to the credential's digest — proves membership in the set
79
+ * without naming which credential. `blind` is the holder's secret; the projection keeps the pair. */
80
+ export declare function relationshipCommitment(digest: Hex, blind: Hex): Hex;
81
+ export declare function issueRelationshipRevocation(input: {
82
+ credential: Hex;
83
+ reason?: string;
84
+ now?: () => Date;
85
+ signSubject?: (digest: Hex) => Promise<Hex>;
86
+ signObject?: (digest: Hex) => Promise<Hex>;
87
+ }): Promise<{
88
+ revocation: RelationshipRevocationV1;
89
+ digest: Hex;
90
+ }>;
91
+ export declare function verifyRelationshipRevocation(r: RelationshipRevocationV1, credential: RelationshipCredentialBodyV1, verifySig: SignatureCheck): Promise<{
92
+ ok: true;
93
+ } | {
94
+ ok: false;
95
+ reason: string;
96
+ }>;
97
+ //# sourceMappingURL=credential.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential.d.ts","sourceRoot":"","sources":["../src/credential.ts"],"names":[],"mappings":"AA2BA,OAAO,EAA4B,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,MAAM,CAAC;AAGxE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,YAAY,GAAG,iBAAiB,CAAC;AAE/E,gGAAgG;AAChG,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,+BAA+B,CAAC;IACtC,IAAI,EAAE,gBAAgB,CAAC;IACvB,mFAAmF;IACnF,OAAO,EAAE,OAAO,CAAC;IACjB,iFAAiF;IACjF,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,8EAA8E;IAC9E,WAAW,EAAE,GAAG,CAAC;IACjB,0HAA0H;IAC1H,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;AAED,MAAM,WAAW,wBAAyB,SAAQ,4BAA4B;IAC5E,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE;QAAE,OAAO,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,GAAG,CAAA;KAAE,CAAC;CAC3C;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,+BAA+B,CAAC;IACtC,0CAA0C;IAC1C,UAAU,EAAE,GAAG,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,yGAAyG;IACzG,UAAU,E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AE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAY1M"}
@@ -0,0 +1,120 @@
1
+ // THE VAULT FORM OF A RELATIONSHIP — spec 410 §8 (THESIS-7).
2
+ //
3
+ // A relationship has three forms (the thesis): a chain record (`AgentRelationship.sol`, right for enforcement), a
4
+ // public commitment (the membership root of spec 410 §4), and a VAULT CREDENTIAL — the one that was missing as a
5
+ // COUNTERSIGNED thing. `relationships.data` (ADR-0025) is the person's private index of her links, issued and held
6
+ // by her alone; nobody else's signature is on it, so it proves what she says, not what the organization agreed.
7
+ //
8
+ // This is the countersigned form: one credential, two signatures, two copies.
9
+ //
10
+ // THE RULE FOR SHARED RECORDS, IN CODE: each principal holds its side; nothing is one party's alone if two signed
11
+ // it. `issueRelationshipCredential` produces the object BOTH sign; the runtime writes one copy into each party's
12
+ // vault under that party's own key as one logical operation (spec 410 §3's `operationId`) — if the second write
13
+ // cannot be reconciled the first is compensated. The chain edge, where a gate must follow it, carries only the
14
+ // credential's digest. Read is from the holder's vantage point only.
15
+ //
16
+ // PRESENTATION UNDER GRANT. The signed body commits to the terms by DIGEST, so a holder presents `kind`, `object`,
17
+ // `issuedAt` and both signatures while WITHHOLDING the terms — the counterparty verifies the organization's
18
+ // signature against its Smart Agent (ERC-1271 / 6492) and never reads `AgentRelationship.sol`. The chain is consulted
19
+ // only for the signature's validity, as for any signature.
20
+ //
21
+ // DEPARTURE. A revocation is a new two-sided record — or the organization's alone when the member is gone, labelled
22
+ // `unilateral` — written to both vaults. The departing member keeps her copy, her receipts and the revocation; she
23
+ // does not keep the organization's records (its vault was never hers). The §4 membership root drops the leaf.
24
+ //
25
+ // Kinds are the T-box relations the chain already hashes: `has-member` (aporg:OrganizationMembership),
26
+ // `steward-of` (ap:Stewardship — the oversight grant is the evidence; this is the two-sided record of it),
27
+ // `chartered-under` (ap:charteredUnder). Bound by IRI in `packages/ontology/src/vault-records.ts`.
28
+ import { keccak256, stringToBytes } from 'viem';
29
+ import { jcsCanonicalize } from '@agenticprimitives/types';
30
+ export const ZERO_DIGEST = `0x${'00'.repeat(32)}`;
31
+ export const RELATIONSHIP_CREDENTIAL_PREFIX = 'relationships.credential:';
32
+ export const RELATIONSHIP_REVOCATION_PREFIX = 'relationships.revocation:';
33
+ export const relationshipCredentialRecordType = (digest) => `${RELATIONSHIP_CREDENTIAL_PREFIX}${digest.toLowerCase()}`;
34
+ export const relationshipRevocationRecordType = (digest) => `${RELATIONSHIP_REVOCATION_PREFIX}${digest.toLowerCase()}`;
35
+ const digestOf = (v) => keccak256(stringToBytes(jcsCanonicalize(v)));
36
+ export const termsDigestOf = (terms) => (terms && Object.keys(terms).length ? digestOf(terms) : ZERO_DIGEST);
37
+ /** THE ONE digest both parties sign: RFC 8785 over the body (the terms by digest, never inline). */
38
+ export function relationshipCredentialDigest(body) {
39
+ const { type, kind, subject, object, chainId, issuedAt, termsDigest, edgeRef } = body;
40
+ return digestOf({ type, kind, subject: subject.toLowerCase(), object: object.toLowerCase(), chainId, issuedAt, termsDigest: termsDigest.toLowerCase(), ...(edgeRef ? { edgeRef: edgeRef.toLowerCase() } : {}) });
41
+ }
42
+ export function relationshipRevocationDigest(r) {
43
+ const { type, credential, revokedAt, unilateral, reason } = r;
44
+ return digestOf({ type, credential: credential.toLowerCase(), revokedAt, ...(unilateral ? { unilateral } : {}), ...(reason ? { reason } : {}) });
45
+ }
46
+ /** Issue: build the body, have BOTH sides sign its digest, keep the terms on the holders' copies. */
47
+ export async function issueRelationshipCredential(input) {
48
+ const body = {
49
+ type: 'ap.relationship-credential.v1', kind: input.kind, subject: input.subject.toLowerCase(), object: input.object.toLowerCase(),
50
+ chainId: input.chainId, issuedAt: (input.now ?? (() => new Date()))().toISOString(), termsDigest: termsDigestOf(input.terms), ...(input.edgeRef ? { edgeRef: input.edgeRef } : {}),
51
+ };
52
+ const digest = relationshipCredentialDigest(body);
53
+ const [subject, object] = await Promise.all([input.signSubject(digest), input.signObject(digest)]);
54
+ return { credential: { ...body, ...(input.terms ? { terms: input.terms } : {}), signatures: { subject, object } }, digest };
55
+ }
56
+ /**
57
+ * Verify a credential (or a presentation of one): both signatures over the body's digest, each against its own
58
+ * party's Smart Agent; when the terms travel, they must hash to the body's `termsDigest`. Nothing here reads a
59
+ * chain edge — the signatures are the evidence, and the chain is consulted only for THEIR validity.
60
+ */
61
+ export async function verifyRelationshipCredential(c, verifySig) {
62
+ if (c.type !== 'ap.relationship-credential.v1')
63
+ return { ok: false, reason: 'not a relationship credential' };
64
+ if (!['has-member', 'steward-of', 'chartered-under'].includes(c.kind))
65
+ return { ok: false, reason: `unknown kind ${String(c.kind)}` };
66
+ if (c.terms !== undefined && termsDigestOf(c.terms).toLowerCase() !== c.termsDigest.toLowerCase())
67
+ return { ok: false, reason: 'the terms do not hash to the signed termsDigest' };
68
+ const digest = relationshipCredentialDigest(c);
69
+ const [s, o] = await Promise.all([verifySig(c.subject, digest, c.signatures.subject).catch(() => false), verifySig(c.object, digest, c.signatures.object).catch(() => false)]);
70
+ if (!s)
71
+ return { ok: false, reason: 'the subject\'s signature did not verify' };
72
+ if (!o)
73
+ return { ok: false, reason: 'the object\'s signature did not verify' };
74
+ return { ok: true, digest };
75
+ }
76
+ /** A presentation: the credential with the terms WITHHELD. Verifies exactly as the full copy does. */
77
+ export function presentRelationship(c) {
78
+ const { terms: _t, ...rest } = c;
79
+ void _t;
80
+ return rest;
81
+ }
82
+ /** The §4 membership-root leaf: a blinded commitment to the credential's digest — proves membership in the set
83
+ * without naming which credential. `blind` is the holder's secret; the projection keeps the pair. */
84
+ export function relationshipCommitment(digest, blind) {
85
+ return keccak256(`0x${digest.slice(2)}${blind.slice(2)}`);
86
+ }
87
+ export async function issueRelationshipRevocation(input) {
88
+ if (!input.signSubject && !input.signObject)
89
+ throw new Error('issueRelationshipRevocation: at least one side signs');
90
+ const unilateral = input.signSubject && input.signObject ? undefined : input.signSubject ? 'subject' : 'object';
91
+ const base = { type: 'ap.relationship-revocation.v1', credential: input.credential.toLowerCase(), revokedAt: (input.now ?? (() => new Date()))().toISOString(), ...(unilateral ? { unilateral } : {}), ...(input.reason ? { reason: input.reason } : {}) };
92
+ const digest = relationshipRevocationDigest(base);
93
+ const signatures = {};
94
+ if (input.signSubject)
95
+ signatures.subject = await input.signSubject(digest);
96
+ if (input.signObject)
97
+ signatures.object = await input.signObject(digest);
98
+ return { revocation: { ...base, signatures }, digest };
99
+ }
100
+ export async function verifyRelationshipRevocation(r, credential, verifySig) {
101
+ if (r.type !== 'ap.relationship-revocation.v1')
102
+ return { ok: false, reason: 'not a relationship revocation' };
103
+ if (r.credential.toLowerCase() !== relationshipCredentialDigest(credential).toLowerCase())
104
+ return { ok: false, reason: 'the revocation names another credential' };
105
+ const digest = relationshipRevocationDigest(r);
106
+ const checks = [];
107
+ if (r.signatures.subject)
108
+ checks.push(verifySig(credential.subject, digest, r.signatures.subject).catch(() => false));
109
+ if (r.signatures.object)
110
+ checks.push(verifySig(credential.object, digest, r.signatures.object).catch(() => false));
111
+ if (!checks.length)
112
+ return { ok: false, reason: 'unsigned' };
113
+ if (r.unilateral && r.signatures.subject && r.signatures.object)
114
+ return { ok: false, reason: 'labelled unilateral but both sides signed' };
115
+ if (!r.unilateral && !(r.signatures.subject && r.signatures.object))
116
+ return { ok: false, reason: 'one side signed and it is not labelled unilateral' };
117
+ const ok = (await Promise.all(checks)).every(Boolean);
118
+ return ok ? { ok: true } : { ok: false, reason: 'a signature did not verify' };
119
+ }
120
+ //# sourceMappingURL=credential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential.js","sourceRoot":"","sources":["../src/credential.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,EAAE;AACF,kHAAkH;AAClH,iHAAiH;AACjH,mHAAmH;AACnH,gHAAgH;AAChH,EAAE;AACF,8EAA8E;AAC9E,EAAE;AACF,oHAAoH;AACpH,mHAAmH;AACnH,kHAAkH;AAClH,iHAAiH;AACjH,uEAAuE;AACvE,EAAE;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,CAAC,OAAO,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,mDAAmD,EAAE,CAAC;IACvJ,MAAM,EAAE,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACtD,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,4BAA4B,EAAE,CAAC;AACjF,CAAC"}
package/dist/index.d.ts CHANGED
@@ -6,4 +6,5 @@ export { EdgeStatus, type RelationshipType, type Role, type Edge, type ProposeEd
6
6
  export { AgentRelationshipsClient, type WriteContext } from './client.js';
7
7
  export { agentRelationshipAbi, relationshipTypeRegistryAbi, } from './abis.js';
8
8
  export { buildProposeEdgeCall, buildConfirmEdgeCall, buildActivateEdgeCall, buildRevokeEdgeCall, buildAddRoleCall, buildRemoveRoleCall, buildSetMetadataCall, type ContractCall, } from './calls.js';
9
+ export { issueRelationshipCredential, verifyRelationshipCredential, presentRelationship, relationshipCredentialDigest, termsDigestOf, issueRelationshipRevocation, verifyRelationshipRevocation, relationshipRevocationDigest, relationshipCommitment, RELATIONSHIP_CREDENTIAL_PREFIX, RELATIONSHIP_REVOCATION_PREFIX, relationshipCredentialRecordType, relationshipRevocationRecordType, ZERO_DIGEST, type RelationshipKind, type RelationshipCredentialBodyV1, type RelationshipCredentialV1, type RelationshipRevocationV1, type SignatureCheck, } from './credential.js';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iBAAiB,EACjB,IAAI,EAGJ,QAAQ,EACR,qBAAqB,EACrB,oBAAoB,EACpB,QAAQ,GACT,MAAM,gBAAg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B,KAAK,4BAA4B,GAClC,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,wBAAwB,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAI1E,OAAO,EACL,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,WAAW,CAAC;AAInB,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,2BAA2B,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,aAAa,EAC3H,2BAA2B,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,sBAAsB,EAC/G,8BAA8B,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,gCAAgC,EAAE,WAAW,EAC/I,KAAK,gBAAgB,EAAE,KAAK,4BAA4B,EAAE,KAAK,wBAAwB,EAAE,KAAK,wBAAwB,EAAE,KAAK,cAAc,GAC5I,MAAM,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -20,4 +20,6 @@ export { agentRelationshipAbi, relationshipTypeRegistryAbi, } from './abis.js';
20
20
  // Phase 4 pure call builders. Compose into AgentAccount.execute /
21
21
  // CustodyPolicy ceremonies / ERC-4337 UserOps as needed.
22
22
  export { buildProposeEdgeCall, buildConfirmEdgeCall, buildActivateEdgeCall, buildRevokeEdgeCall, buildAddRoleCall, buildRemoveRoleCall, buildSetMetadataCall, } from './calls.js';
23
+ // Spec 410 §8 — the VAULT form of a relationship: one credential, two signatures, two copies.
24
+ export { issueRelationshipCredential, verifyRelationshipCredential, presentRelationship, relationshipCredentialDigest, termsDigestOf, issueRelationshipRevocation, verifyRelationshipRevocation, relationshipRevocationDigest, relationshipCommitment, RELATIONSHIP_CREDENTIAL_PREFIX, RELATIONSHIP_REVOCATION_PREFIX, relationshipCredentialRecordType, relationshipRevocationRecordType, ZERO_DIGEST, } from './credential.js';
23
25
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,EAAE;AACF,OAAO;AACP,0CAA0C;AAC1C,2BAA2B;AAC3B,sDAAsD;AACtD,8EAA8E;AAE9E,OAAO,EACL,iBAAiB,EACjB,IAAI;AACJ,uGAAuG;AACvG,sDAAsD;AACtD,QAAQ,EACR,qBAAqB,EACrB,oBAAoB,EACpB,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACL,cAAc,GAEf,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,UAAU,GASX,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,wBAAwB,EAAqB,MAAM,aAAa,CAAC;AAE1E,gEAAgE;AAChE,kDAAkD;AAClD,OAAO,EACL,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,WAAW,CAAC;AAEnB,kEAAkE;AAClE,yDAAyD;AACzD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,GAErB,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,EAAE;AACF,OAAO;AACP,0CAA0C;AAC1C,2BAA2B;AAC3B,sDAAsD;AACtD,8EAA8E;AAE9E,OAAO,EACL,iBAAiB,EACjB,IAAI;AACJ,uGAAuG;AACvG,sDAAsD;AACtD,QAAQ,EACR,qBAAqB,EACrB,oBAAoB,EACpB,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACL,cAAc,GAEf,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,UAAU,GASX,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,wBAAwB,EAAqB,MAAM,aAAa,CAAC;AAE1E,gEAAgE;AAChE,kDAAkD;AAClD,OAAO,EACL,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,WAAW,CAAC;AAEnB,kEAAkE;AAClE,yDAAyD;AACzD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,GAErB,MAAM,YAAY,CAAC;AACpB,8FAA8F;AAC9F,OAAO,EACL,2BAA2B,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,aAAa,EAC3H,2BAA2B,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,sBAAsB,EAC/G,8BAA8B,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,gCAAgC,EAAE,WAAW,GAEhJ,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticprimitives/agent-relationships",
3
- "version": "1.0.0-alpha.26",
3
+ "version": "1.0.0-alpha.27",
4
4
  "description": "Agent relationships SDK: trust-fabric edge store (subject, object, relationshipType) with role taxonomy. Phase 1 ships edge-ID derivation + relationship-type constants + client skeleton; AgentRelationship.sol + RelationshipTypeRegistry.sol ports land in Phase 3. AgentAssertion + AgentRelationshipResolver deferred to v2.",
5
5
  "homepage": "https://agenticprimitives.dev",
6
6
  "bugs": {
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "peerDependencies": {
42
42
  "viem": "^2.52.2",
43
- "@agenticprimitives/agent-account": "1.0.0-alpha.26",
44
- "@agenticprimitives/connect-auth": "1.0.0-alpha.26",
45
- "@agenticprimitives/types": "1.0.0-alpha.26"
43
+ "@agenticprimitives/agent-account": "1.0.0-alpha.27",
44
+ "@agenticprimitives/connect-auth": "1.0.0-alpha.27",
45
+ "@agenticprimitives/types": "1.0.0-alpha.27"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^22.7.0",