@agenticprimitives/intent-resolver 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 +6 -0
- package/package.json +18 -9
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @agenticprimitives/intent-resolver
|
|
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
|
> **Status: STUB / SKELETON** (Wave 0.5 of the W1 implementation wave). W1 ships types + `PassThroughResolver` only; the full resolver engine lands in W2 per the [w1 implementation wave plan](../../docs/architecture/w1-implementation-wave-plan.md).
|
|
4
6
|
|
|
5
7
|
Between "what a user said" and "what the system can match" sits resolution: turning an opaque expressed intent into a normalized canonical order. ERC-7683 made the resolver a named role in cross-chain intents; Anoma made it the heart of its architecture. Both treat resolution as separate from matchmaking — and so do we, because the resolver is where AI enters the trust chain. When a model infers a constraint a user never typed, that inference needs provenance: which model, which prompt, what confidence, and whether the user confirmed it. In this substrate that provenance is a typed `ResolutionReceipt`, and resolution happens under the same canonical identity, delegation, and audit trail as everything else the agent does.
|
|
@@ -33,6 +35,10 @@ Constraint normalization (colloquial scope → canonical codes), credential-requ
|
|
|
33
35
|
- **Anoma** treats intent resolution as constraint solving; the `ConstraintSet` types this resolver consumes (from [`intent-marketplace`](../intent-marketplace)) are CSP-shaped for the same reason.
|
|
34
36
|
- **x402 / Google AP2** machine-payment rails make the stakes concrete: a resolved order can bind a payment mandate, so the resolution step must be attributable and auditable under the same identity substrate as the spend it triggers. That is the combination — resolution with receipts, inside one delegation + custody + audit chain — that stitched stacks do not offer.
|
|
35
37
|
|
|
38
|
+
## Boundary with the engagement layer (spec 336)
|
|
39
|
+
|
|
40
|
+
Resolution normalizes *the requester's side*; it never speaks to candidates. Downstream, a candidate ranking is a **resolver's assertion, not a fact** — `apdisc:MatchCandidate` carries named-resolver provenance, multi-dimensional evidence, and stated reasons, and a single similarity score must never decide who receives sensitive data. Whether a matched provider *will actually take this intent, on what terms* is the engagement layer's question ([spec 336](../../specs/336-intent-engagement-profile.md)): probes carry audience-bound projections (never the canonical intent), and the six response kinds — including decline and temporarily-unavailable — are recordable business facts, not resolution failures.
|
|
41
|
+
|
|
36
42
|
**Authoritative spec:** [spec 239 — intent spine, §4.5](../../specs/239-intent-spine.md) (see [`spec.md`](./spec.md)). Owns spine layer 4 (skeleton); bounded surface in `CLAUDE.md` and `capability.manifest.json`.
|
|
37
43
|
|
|
38
44
|
## Build
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticprimitives/intent-resolver",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.30",
|
|
4
4
|
"description": "Resolver layer skeleton (W1) — types + PassThroughResolver only. Full resolver engine deferred to W2.",
|
|
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/intent-resolver"
|
|
10
18
|
},
|
|
11
|
-
"homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/intent-resolver",
|
|
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",
|
|
@@ -31,18 +35,23 @@
|
|
|
31
35
|
"access": "public"
|
|
32
36
|
},
|
|
33
37
|
"devDependencies": {
|
|
34
|
-
"vitest": "^4.1.
|
|
38
|
+
"vitest": "^4.1.11",
|
|
35
39
|
"viem": "^2.52.2"
|
|
36
40
|
},
|
|
37
41
|
"keywords": [
|
|
38
42
|
"agentic",
|
|
39
43
|
"primitives",
|
|
40
|
-
"intent-resolver"
|
|
44
|
+
"intent-resolver",
|
|
45
|
+
"agentic-primitives",
|
|
46
|
+
"agenticprimitives",
|
|
47
|
+
"ai-agents",
|
|
48
|
+
"agent-authority",
|
|
49
|
+
"agentic-trust"
|
|
41
50
|
],
|
|
42
51
|
"dependencies": {
|
|
43
52
|
"@noble/hashes": "^2.2.0",
|
|
44
|
-
"@agenticprimitives/types": "1.0.0-alpha.
|
|
45
|
-
"@agenticprimitives/verifiable-credentials": "0.0.0-alpha.
|
|
53
|
+
"@agenticprimitives/types": "1.0.0-alpha.34",
|
|
54
|
+
"@agenticprimitives/verifiable-credentials": "0.0.0-alpha.31"
|
|
46
55
|
},
|
|
47
56
|
"scripts": {
|
|
48
57
|
"build": "tsc -p tsconfig.build.json",
|