@agenticprimitives/fabric 0.0.0-alpha.13 → 0.0.0-alpha.14

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.
@@ -1 +1 @@
1
- {"version":3,"file":"grant-scopes.d.ts","sourceRoot":"","sources":["../../src/interactions/grant-scopes.ts"],"names":[],"mappings":"AAgBA,qGAAqG;AACrG,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExD,2EAA2E;AAC3E,MAAM,WAAW,eAAe;IAAG,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAAC,GAAG,EAAE,aAAa,CAAC,aAAa,CAAC,CAAA;CAAE;AAExG;8GAC8G;AAC9G,MAAM,WAAW,gBAAgB;IAAG,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAC;IAAC,GAAG,EAAE,aAAa,EAAE,CAAA;CAAE;AAE/F,eAAO,MAAM,8BAA8B,EAAE,aAAa,CAAC,eAAe,CA8BzE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,GAAE,aAAa,CAAC,eAAe,CAAM,GAAG,gBAAgB,EAAE,CAE3H"}
1
+ {"version":3,"file":"grant-scopes.d.ts","sourceRoot":"","sources":["../../src/interactions/grant-scopes.ts"],"names":[],"mappings":"AAgBA,qGAAqG;AACrG,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExD,2EAA2E;AAC3E,MAAM,WAAW,eAAe;IAAG,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAAC,GAAG,EAAE,aAAa,CAAC,aAAa,CAAC,CAAA;CAAE;AAExG;8GAC8G;AAC9G,MAAM,WAAW,gBAAgB;IAAG,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAC;IAAC,GAAG,EAAE,aAAa,EAAE,CAAA;CAAE;AAE/F,eAAO,MAAM,8BAA8B,EAAE,aAAa,CAAC,eAAe,CA0CzE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,GAAE,aAAa,CAAC,eAAe,CAAM,GAAG,gBAAgB,EAAE,CAE3H"}
@@ -17,6 +17,14 @@ export const INTERACTIONS_GRANT_CORE_SCOPES = [
17
17
  'vault:confirmation.preferences',
18
18
  // Spec 394 — the person's standing instructions (a declared default per room + capability + argument).
19
19
  'vault:standing.instructions',
20
+ // Spec 402 W1 — what the person's agent remembers about THEM (their own facts, in their own words).
21
+ 'vault:memory.facts',
22
+ // Spec 402 W3 / 323 W6 — the person's declared routines, the record the agent's schedule rows are rebuilt from.
23
+ 'vault:routines.data',
24
+ // Spec 403 W2/W4 — the person's preferences (nudges, how to answer).
25
+ 'vault:person.preferences',
26
+ // What the playbook remembers about the subjects of a skill family (counts a review folds in).
27
+ 'vault:playbook.memory:*',
20
28
  ], ops: ['read', 'write'] },
21
29
  // Spec 354 K3 — the PLAYBOOK may also be REMOVED, which is a real custodial act: an agent goes back to the
22
30
  // bare harness. A tombstone is a DISTINCT op at the record-scope gate (spec 317 §3.2 / audit F1 — a
@@ -28,6 +36,10 @@ export const INTERACTIONS_GRANT_CORE_SCOPES = [
28
36
  // The org's own invitations, read-only — what makes membership-read's invited-member path live. Writes
29
37
  // stay on the delivery plane.
30
38
  { resources: ['vault:org.invite:*'], ops: ['read'] },
39
+ // Spec 401 — a PERSON's contacts: their own record of who they let in, written by their own agent under their own
40
+ // mandate (the act that mints the grant) and read back for their list and for standing. Read+write here because
41
+ // it is the person's own list in the person's own vault; nothing about it leaves it.
42
+ { resources: ['vault:contact:*'], ops: ['read', 'write'] },
31
43
  ];
32
44
  /**
33
45
  * The grant's scope groups for one MCP server: the core, then the product's extensions (its own app
@@ -1 +1 @@
1
- {"version":3,"file":"grant-scopes.js","sourceRoot":"","sources":["../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AAE;IACzD,uGAAuG;IACvG,8BAA8B;IAC9B,EAAE,SAAS,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;IACpD,kHAAkH;IAClH,gHAAgH;IAChH,qFAAqF;IACrF,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;CAC3D,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAAc,EAAE,aAA6C,EAAE;IACrG,OAAO,CAAC,GAAG,8BAA8B,EAAE,GAAG,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;AACnI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticprimitives/fabric",
3
- "version": "0.0.0-alpha.13",
3
+ "version": "0.0.0-alpha.14",
4
4
  "description": "The Agentic Interaction Fabric (spec 316): one canonical ExchangeRecordV1 + two-level exec/case FSM that absorbs messaging (envelope/inbox) and interactions (case/run) into an A2A-native, decentralized, low-latency substrate. Transport-agnostic core; the Cloudflare PrincipalGatewayDO ships as the ./cloudflare adapter subpath.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -66,14 +66,14 @@
66
66
  "dependencies": {
67
67
  "@noble/curves": "^2.2.0",
68
68
  "@noble/hashes": "^2.2.0",
69
- "@agenticprimitives/audit": "1.0.0-alpha.24",
70
- "@agenticprimitives/fulfillment": "0.0.0-alpha.21",
71
- "@agenticprimitives/ontology": "1.0.0-alpha.24",
72
- "@agenticprimitives/tool-policy": "1.0.0-alpha.24",
73
- "@agenticprimitives/types": "1.0.0-alpha.24",
69
+ "@agenticprimitives/audit": "1.0.0-alpha.25",
70
+ "@agenticprimitives/fulfillment": "0.0.0-alpha.22",
71
+ "@agenticprimitives/types": "1.0.0-alpha.25",
74
72
  "@agenticprimitives/vault": "0.0.0-alpha.4",
75
- "@agenticprimitives/orchestration": "0.0.0-alpha.3",
76
- "@agenticprimitives/provenance": "0.0.0-alpha.3"
73
+ "@agenticprimitives/tool-policy": "1.0.0-alpha.25",
74
+ "@agenticprimitives/provenance": "0.0.0-alpha.3",
75
+ "@agenticprimitives/ontology": "1.0.0-alpha.25",
76
+ "@agenticprimitives/orchestration": "0.0.0-alpha.4"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "tsc -p tsconfig.build.json",