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

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @agenticprimitives/fabric
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
  Ring-0 **operational** realization of Agentic Interaction. Semantics live under `apix:`
4
6
  ([ADR-0058](../../docs/architecture/decisions/0058-agentic-interaction-canonical-bounded-context.md) ·
5
7
  [spec 340](../../specs/340-agentic-interaction.md)); this package owns wire types, reducers, and the
@@ -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,CAiDzE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,GAAE,aAAa,CAAC,eAAe,CAAM,GAAG,gBAAgB,EAAE,CAE3H"}
@@ -13,10 +13,25 @@ export const INTERACTIONS_GRANT_CORE_SCOPES = [
13
13
  'vault:run.provenance:*',
14
14
  // Spec 391 — a step's raw result, too large for the run's record, kept where the run ran.
15
15
  'vault:run.artifact:*',
16
+ // Spec 398 §9 (ap-build B3) — what a build run left, in the workspace's vault; the PR opened from it names it.
17
+ 'vault:build.run:*',
18
+ 'vault:build.promotion:*',
19
+ // P1.4 — the agent's declared budget (asks and vault calls per day), set by its steward.
20
+ 'vault:agent.budget',
21
+ // Spec 404 — the external MCP servers the holder attached as connectors (the token is elsewhere, never a record).
22
+ 'vault:connector.mcp:*',
16
23
  // Spec 385 — the person's scoped confirmation memory (which "David", per word + capability + argument).
17
24
  'vault:confirmation.preferences',
18
25
  // Spec 394 — the person's standing instructions (a declared default per room + capability + argument).
19
26
  'vault:standing.instructions',
27
+ // Spec 402 W1 — what the person's agent remembers about THEM (their own facts, in their own words).
28
+ 'vault:memory.facts',
29
+ // Spec 402 W3 / 323 W6 — the person's declared routines, the record the agent's schedule rows are rebuilt from.
30
+ 'vault:routines.data',
31
+ // Spec 403 W2/W4 — the person's preferences (nudges, how to answer).
32
+ 'vault:person.preferences',
33
+ // What the playbook remembers about the subjects of a skill family (counts a review folds in).
34
+ 'vault:playbook.memory:*',
20
35
  ], ops: ['read', 'write'] },
21
36
  // Spec 354 K3 — the PLAYBOOK may also be REMOVED, which is a real custodial act: an agent goes back to the
22
37
  // bare harness. A tombstone is a DISTINCT op at the record-scope gate (spec 317 §3.2 / audit F1 — a
@@ -28,6 +43,10 @@ export const INTERACTIONS_GRANT_CORE_SCOPES = [
28
43
  // The org's own invitations, read-only — what makes membership-read's invited-member path live. Writes
29
44
  // stay on the delivery plane.
30
45
  { resources: ['vault:org.invite:*'], ops: ['read'] },
46
+ // Spec 401 — a PERSON's contacts: their own record of who they let in, written by their own agent under their own
47
+ // mandate (the act that mints the grant) and read back for their list and for standing. Read+write here because
48
+ // it is the person's own list in the person's own vault; nothing about it leaves it.
49
+ { resources: ['vault:contact:*'], ops: ['read', 'write'] },
31
50
  ];
32
51
  /**
33
52
  * 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":["../../src/interactions/grant-scopes.ts"],"names":[],"mappings":"AA0BA,MAAM,CAAC,MAAM,8BAA8B,GAAmC;IAC5E,EAAE,SAAS,EAAE;YACX,0BAA0B,EAAE,4BAA4B,EAAE,4BAA4B;YACtF,kBAAkB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,wBAAwB;YAChG,wBAAwB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,yBAAyB;YACrG,mBAAmB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,6BAA6B;YACtG,0BAA0B,EAAE,+BAA+B,EAAE,iBAAiB;YAC9E,2BAA2B,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,yBAAyB;YAC/G,sBAAsB;YACtB,sFAAsF;YACtF,2BAA2B;YAC3B,kGA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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,17 +1,21 @@
1
1
  {
2
2
  "name": "@agenticprimitives/fabric",
3
- "version": "0.0.0-alpha.13",
3
+ "version": "0.0.0-alpha.15",
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
+ "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/fabric"
10
18
  },
11
- "homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/fabric",
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",
@@ -61,19 +65,24 @@
61
65
  "a2a",
62
66
  "interaction-fabric",
63
67
  "exchange",
64
- "messaging"
68
+ "messaging",
69
+ "agentic-primitives",
70
+ "agenticprimitives",
71
+ "ai-agents",
72
+ "agent-authority",
73
+ "agentic-trust"
65
74
  ],
66
75
  "dependencies": {
67
76
  "@noble/curves": "^2.2.0",
68
77
  "@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",
74
- "@agenticprimitives/vault": "0.0.0-alpha.4",
75
- "@agenticprimitives/orchestration": "0.0.0-alpha.3",
76
- "@agenticprimitives/provenance": "0.0.0-alpha.3"
78
+ "@agenticprimitives/fulfillment": "0.0.0-alpha.23",
79
+ "@agenticprimitives/audit": "1.0.0-alpha.26",
80
+ "@agenticprimitives/ontology": "1.0.0-alpha.26",
81
+ "@agenticprimitives/tool-policy": "1.0.0-alpha.26",
82
+ "@agenticprimitives/types": "1.0.0-alpha.26",
83
+ "@agenticprimitives/orchestration": "0.0.0-alpha.5",
84
+ "@agenticprimitives/provenance": "0.0.0-alpha.4",
85
+ "@agenticprimitives/vault": "0.0.0-alpha.5"
77
86
  },
78
87
  "scripts": {
79
88
  "build": "tsc -p tsconfig.build.json",