@agenticprimitives/ontology 0.1.0-alpha.3 → 1.0.0-alpha.11
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 +42 -21
- package/cbox/content-vocabulary.ttl +52 -0
- package/cbox/geo-vocabulary.ttl +36 -0
- package/cbox/skill-vocabulary.ttl +50 -0
- package/context.jsonld +17 -1
- package/dist/artifacts.d.ts +3 -2
- package/dist/artifacts.d.ts.map +1 -1
- package/dist/artifacts.js +28 -2
- package/dist/artifacts.js.map +1 -1
- package/dist/index.d.ts +173 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +198 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/tbox/agreement.ttl +77 -0
- package/tbox/attestation.ttl +135 -0
- package/tbox/constraints.ttl +150 -0
- package/tbox/content.ttl +53 -0
- package/tbox/fulfillment.ttl +140 -0
- package/tbox/geo.ttl +28 -0
- package/tbox/intents.ttl +137 -0
- package/tbox/payment.ttl +124 -0
- package/tbox/resolution.ttl +108 -0
- package/tbox/skills.ttl +30 -0
package/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
# @agenticprimitives/ontology
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
source of truth that the on-chain ontology ([ADR-0009](../../docs/architecture/decisions/0009-on-chain-ontology-shacl-naming.md))
|
|
5
|
-
instantiates and that [`identity-directory`](../identity-directory) (spec 223)
|
|
6
|
-
conforms to.
|
|
3
|
+
**A trust substrate is only as coherent as its vocabulary.** When thirty packages, forty-two contracts, and a knowledge graph all talk about agents, credentials, custody, and delegation, "what exactly is a `CredentialFacet`" cannot have thirty answers. This package is the monorepo-wide formal vocabulary — the off-chain source of truth that the on-chain ontology ([ADR-0009](../../docs/architecture/decisions/0009-on-chain-ontology-shacl-naming.md)) instantiates and that [`identity-directory`](../identity-directory) (spec 223) conforms to.
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
for the
|
|
5
|
+
It is deliberately declarative: it names and constrains, it never authorizes. The vocabulary root depends on nothing — not even `@agenticprimitives/types` — so every other package can reference the same IRIs without inverting the dependency graph.
|
|
6
|
+
|
|
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.
|
|
8
|
+
|
|
9
|
+
See [spec 225](../../specs/225-ontology.md) for the full contract and [ADR-0018](../../docs/architecture/decisions/0018-agenticprimitives-wide-formal-ontology.md) for the decision.
|
|
11
10
|
|
|
12
11
|
## Layout (T-box / C-box / A-box)
|
|
13
12
|
|
|
@@ -16,12 +15,11 @@ context.jsonld @context — namespace prefix → IRI bindings
|
|
|
16
15
|
tbox/ RDFS/OWL schema (classes + properties), per domain
|
|
17
16
|
cbox/ SHACL shapes + SKOS controlled vocabularies (codelists)
|
|
18
17
|
abox/ example / fixture instances (tests + golden vectors only)
|
|
18
|
+
mappings/ external-standard crosswalks (HCS / ERC-8004, spec 226)
|
|
19
19
|
src/index.ts typed IRI constants + artifact paths
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
(`agentictrustlabs/smart-agent/docs/ontology`): T-box = terminology, C-box =
|
|
24
|
-
constraints + controlled vocabularies, A-box = instances.
|
|
22
|
+
T-box = terminology, C-box = constraints + controlled vocabularies, A-box = instances.
|
|
25
23
|
|
|
26
24
|
## Usage
|
|
27
25
|
|
|
@@ -32,20 +30,43 @@ CLASS.CanonicalAgentId; // "https://agenticprimitives.dev/ns/core#CanonicalAgent
|
|
|
32
30
|
artifactPath(ARTIFACTS.tbox[0]); // absolute path to tbox/core.ttl — load into a SPARQL store
|
|
33
31
|
```
|
|
34
32
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
Two entry points, split on purpose:
|
|
34
|
+
|
|
35
|
+
- **Main entry (browser-safe)** — pure IRI constants: `NS`, `CLASS`, `PREDICATE`, `SHAPE`, `ONTOLOGY_VERSION`. No Node builtins; this is what `identity-directory` (and through it, browser apps) imports.
|
|
36
|
+
- **`/artifacts` subpath (Node-only)** — `ARTIFACTS` + `artifactPath(rel)` to resolve the shipped TTL/JSON-LD files for a SPARQL loader or SHACL engine. Server-side only.
|
|
37
|
+
|
|
38
|
+
## How it's different
|
|
39
|
+
|
|
40
|
+
Generic SKOS/SHACL toolchains manage vocabularies as documents — governed in an editor, detached from the systems that depend on them, drifting the moment runtime code changes. Here the vocabulary is load-bearing and lockstep-checked in three directions:
|
|
41
|
+
|
|
42
|
+
1. **On chain** — a shape or predicate here must match its on-chain counterpart in `OntologyTermRegistry` / `ShapeRegistry` (spec 225 §8); drift is logged as a finding, not tolerated as skew.
|
|
43
|
+
2. **In TypeScript** — the IRIs mirror the branded types in [`types`](../types) (`CanonicalAgentId`, `Assurance`, …). One brand; this package names the IRI, never redefines the type.
|
|
44
|
+
3. **Across standards** — `mappings/*.ttl` carries explicit crosswalks to external agent-identity standards (HCS, ERC-8004) instead of informal "roughly corresponds to" prose.
|
|
45
|
+
|
|
46
|
+
And it ships light: no heavy RDF/SHACL libraries in the published surface — consumers wire their own engines against the artifacts.
|
|
39
47
|
|
|
40
|
-
## Scope
|
|
48
|
+
## Scope
|
|
41
49
|
|
|
42
|
-
Bounded to the agent-trust core
|
|
43
|
-
audit, naming, org. Marketplace / intents / geo are out of scope (spec 225 §11).
|
|
50
|
+
Bounded to the agent-trust core — identity, credential, custody, delegation, audit, naming, org — plus the substrate-spine T-box class definitions (spec 225 §11.5). Runtime SHACL shapes for spine capabilities live in their owning packages; vertical vocabulary is out of scope entirely ([ADR-0021](../../docs/architecture/decisions/0021-generic-packages-vs-white-label-apps.md)).
|
|
44
51
|
|
|
45
52
|
## What this is NOT
|
|
46
53
|
|
|
47
|
-
- Not the TS types — `@agenticprimitives/types` owns `CanonicalAgentId`,
|
|
48
|
-
`Assurance`, etc.; this package names the IRIs. One brand.
|
|
54
|
+
- Not the TS types — `@agenticprimitives/types` owns `CanonicalAgentId`, `Assurance`, etc.; this package names the IRIs. One brand.
|
|
49
55
|
- Not the runtime CAIP-10 builder — that is `@agenticprimitives/agent-profile`.
|
|
50
|
-
- Not an authority — it names
|
|
51
|
-
|
|
56
|
+
- Not an authority — it names and validates; it never grants custody or mints identity.
|
|
57
|
+
|
|
58
|
+
## Status
|
|
59
|
+
|
|
60
|
+
**Phase 1 implemented** — the T/C/A-box artifacts, mappings, and the declarative TS surface ship today. SHACL-engine validation over instances and the live A-box knowledge graph (a SPARQL store — Ontotext GraphDB reference, projected by `identity-directory`) are Phase 2, wired by consumers per spec 225 §11 — and even then the ontology stays a validator, never an authority.
|
|
61
|
+
|
|
62
|
+
> Testnet/pilot-ready. Production launch is gated on the public checklist in the root README — including third-party contract audit and governance key rotation. Track every security finding live in [`docs/audits/findings.yaml`](../../docs/audits/findings.yaml).
|
|
63
|
+
|
|
64
|
+
**Authoritative spec:** [`specs/225-ontology.md`](../../specs/225-ontology.md). Bounded surface: `CLAUDE.md` + `capability.manifest.json`.
|
|
65
|
+
|
|
66
|
+
## Build
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pnpm --filter @agenticprimitives/ontology typecheck
|
|
70
|
+
pnpm --filter @agenticprimitives/ontology test
|
|
71
|
+
pnpm --filter @agenticprimitives/ontology build
|
|
72
|
+
```
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# C-box — verifiable-content codelists + shapes (spec 266). On-chain-bound where
|
|
2
|
+
# noted (lockstep, ADR-0009). NEUTRAL substrate — no domain/faith vocabulary.
|
|
3
|
+
|
|
4
|
+
@prefix apcnt: <https://agenticprimitives.dev/ns/content#> .
|
|
5
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
6
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
7
|
+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
8
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
9
|
+
|
|
10
|
+
# accessPolicy — gates the resolve/retrieve path.
|
|
11
|
+
apcnt:accessPolicyScheme a skos:ConceptScheme ;
|
|
12
|
+
rdfs:label "accessPolicy" ;
|
|
13
|
+
rdfs:comment "Who may retrieve a rendering: public (no entitlement) < licensed (entitlement required) < private (entitlement + issuer scope)." ;
|
|
14
|
+
skos:hasTopConcept apcnt:Public, apcnt:Licensed, apcnt:Private .
|
|
15
|
+
apcnt:Public a skos:Concept ; skos:inScheme apcnt:accessPolicyScheme ; skos:prefLabel "public" ;
|
|
16
|
+
rdfs:comment "Anyone may retrieve; descriptor + text returned without an entitlement." .
|
|
17
|
+
apcnt:Licensed a skos:Concept ; skos:inScheme apcnt:accessPolicyScheme ; skos:prefLabel "licensed" ;
|
|
18
|
+
rdfs:comment "Retrieval requires a valid Entitlement credential. Descriptor (pointer + commitment) may be public; text is gated." .
|
|
19
|
+
apcnt:Private a skos:Concept ; skos:inScheme apcnt:accessPolicyScheme ; skos:prefLabel "private" ;
|
|
20
|
+
rdfs:comment "Retrieval requires an issuer-scoped Entitlement." .
|
|
21
|
+
|
|
22
|
+
# proofPolicy — how a descriptor's authenticity/inclusion is proven.
|
|
23
|
+
apcnt:proofPolicyScheme a skos:ConceptScheme ;
|
|
24
|
+
rdfs:label "proofPolicy" ;
|
|
25
|
+
skos:hasTopConcept apcnt:Signature, apcnt:MerkleInclusion, apcnt:Zk .
|
|
26
|
+
apcnt:Signature a skos:Concept ; skos:inScheme apcnt:proofPolicyScheme ; skos:prefLabel "signature" ;
|
|
27
|
+
rdfs:comment "Issuer ERC-1271 signature over the descriptor hash." .
|
|
28
|
+
apcnt:MerkleInclusion a skos:Concept ; skos:inScheme apcnt:proofPolicyScheme ; skos:prefLabel "merkle-inclusion" ;
|
|
29
|
+
rdfs:comment "Descriptor commitment is a leaf provable under the corpusRoot." .
|
|
30
|
+
apcnt:Zk a skos:Concept ; skos:inScheme apcnt:proofPolicyScheme ; skos:prefLabel "zk" ;
|
|
31
|
+
rdfs:comment "Zero-knowledge inclusion/citation proof. RESERVED (spec 266 Phase 4)." .
|
|
32
|
+
|
|
33
|
+
# ContentDescriptorShape — encodes ADR-0033 R3 (no inline text) + issuer binding.
|
|
34
|
+
apcnt:ContentDescriptorShape a sh:NodeShape ;
|
|
35
|
+
rdfs:label "ContentDescriptor shape" ;
|
|
36
|
+
sh:targetClass apcnt:ContentDescriptor ;
|
|
37
|
+
sh:property [
|
|
38
|
+
sh:path apcnt:commitsTo ;
|
|
39
|
+
sh:minCount 1 ; sh:maxCount 1 ;
|
|
40
|
+
sh:message "A ContentDescriptor MUST carry exactly one commitment (keccak256 of the off-chain rendering)."
|
|
41
|
+
] ;
|
|
42
|
+
sh:property [
|
|
43
|
+
sh:path apcnt:issuedBy ;
|
|
44
|
+
sh:minCount 1 ; sh:maxCount 1 ;
|
|
45
|
+
sh:message "A ContentDescriptor MUST name exactly one issuer Smart Agent."
|
|
46
|
+
] ;
|
|
47
|
+
sh:property [
|
|
48
|
+
sh:path apcnt:retrievalPointer ;
|
|
49
|
+
sh:datatype xsd:string ;
|
|
50
|
+
sh:minCount 1 ; sh:maxCount 1 ;
|
|
51
|
+
sh:message "A ContentDescriptor MUST carry a retrievalPointer (a locator), NEVER the rendering text itself (ADR-0033 R3)."
|
|
52
|
+
] .
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# C-box — geo controlled vocabularies (spec 251). Closed SKOS codelists for the generic
|
|
2
|
+
# geo substrate: geo feature KINDS (on-chain-bound) + geo RELATIONS (off-chain claim SDK).
|
|
3
|
+
#
|
|
4
|
+
# LOCKSTEP (ADR-0009): the on-chain `GeoFeatureRegistry.KIND_*` constants equal
|
|
5
|
+
# keccak256(<the geoKind concept URI>) declared here; asserted by the lockstep gate.
|
|
6
|
+
#
|
|
7
|
+
# NEUTRAL public geography ONLY (spec 251 GFR-07). A feature is a generic public place —
|
|
8
|
+
# never tagged with operational/sensitivity/ministry data. Sensitivity is an OFF-chain
|
|
9
|
+
# app policy OVER neutral features. The agent↔feature ASSOCIATION is an off-chain vault
|
|
10
|
+
# credential, never on chain; there is NO on-chain skill↔geo mapping.
|
|
11
|
+
|
|
12
|
+
@prefix apg: <https://agenticprimitives.dev/ns/geo#> .
|
|
13
|
+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
14
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
15
|
+
|
|
16
|
+
# ─── geoKind — 5 values, ON-CHAIN-BOUND (GeoFeatureRegistry.KIND_*) ─────────
|
|
17
|
+
apg:geoKind a skos:ConceptScheme ;
|
|
18
|
+
rdfs:label "geoKind" ;
|
|
19
|
+
rdfs:comment "The on-chain-bound geo-feature kind. keccak256 of each concept URI equals the matching GeoFeatureRegistry.KIND_* constant (ADR-0009 lockstep). Generic public geography only." ;
|
|
20
|
+
skos:hasTopConcept apg:Planet, apg:Region, apg:Country, apg:AdminArea, apg:Custom .
|
|
21
|
+
apg:Planet a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "planet" .
|
|
22
|
+
apg:Region a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "region" .
|
|
23
|
+
apg:Country a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "country" .
|
|
24
|
+
apg:AdminArea a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "admin-area" .
|
|
25
|
+
apg:Custom a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "custom" .
|
|
26
|
+
|
|
27
|
+
# ─── geoRelation — used by the OFF-CHAIN geo claim credential (not on chain) ──
|
|
28
|
+
apg:geoRelation a skos:ConceptScheme ;
|
|
29
|
+
rdfs:label "geoRelation" ;
|
|
30
|
+
rdfs:comment "Relation a claim credential asserts between a subject SA and a geo feature. Off chain only; never an on-chain row (it would leak operational association)." ;
|
|
31
|
+
skos:hasTopConcept apg:servesWithin, apg:operatesIn, apg:licensedIn, apg:residentOf, apg:originIn .
|
|
32
|
+
apg:servesWithin a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "servesWithin" .
|
|
33
|
+
apg:operatesIn a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "operatesIn" .
|
|
34
|
+
apg:licensedIn a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "licensedIn" .
|
|
35
|
+
apg:residentOf a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "residentOf" .
|
|
36
|
+
apg:originIn a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "originIn" .
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# C-box — skill controlled vocabularies (spec 251). Closed SKOS codelists for the
|
|
2
|
+
# generic skills substrate: skill KINDS (on-chain-bound), skill RELATIONS + VISIBILITY
|
|
3
|
+
# modes (used by the off-chain claim credential SDK).
|
|
4
|
+
#
|
|
5
|
+
# LOCKSTEP (ADR-0009): the on-chain `SkillDefinitionRegistry.KIND_*` constants equal
|
|
6
|
+
# keccak256(<the skillKind concept URI>) declared here. The lockstep gate
|
|
7
|
+
# (packages/ontology test) asserts this equality.
|
|
8
|
+
#
|
|
9
|
+
# NEUTRAL substrate — NO domain/faith vocabulary (spec 251 "People groups are excluded").
|
|
10
|
+
# A skill is a generic capability concept; the agent↔skill ASSOCIATION is an off-chain
|
|
11
|
+
# vault credential, never an on-chain row.
|
|
12
|
+
|
|
13
|
+
@prefix aps: <https://agenticprimitives.dev/ns/skill#> .
|
|
14
|
+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
15
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
16
|
+
|
|
17
|
+
# ─── skillKind — 3 values, ON-CHAIN-BOUND (SkillDefinitionRegistry.KIND_*) ──
|
|
18
|
+
aps:skillKind a skos:ConceptScheme ;
|
|
19
|
+
rdfs:label "skillKind" ;
|
|
20
|
+
rdfs:comment "The on-chain-bound skill-definition kind. keccak256 of each concept URI equals the matching SkillDefinitionRegistry.KIND_* constant (ADR-0009 lockstep)." ;
|
|
21
|
+
skos:hasTopConcept aps:Leaf, aps:Domain, aps:Custom .
|
|
22
|
+
aps:Leaf a skos:Concept ; skos:inScheme aps:skillKind ; skos:prefLabel "leaf" ;
|
|
23
|
+
rdfs:comment "A leaf skill in a controlled taxonomy (e.g. an OASF leaf)." .
|
|
24
|
+
aps:Domain a skos:Concept ; skos:inScheme aps:skillKind ; skos:prefLabel "domain" ;
|
|
25
|
+
rdfs:comment "A domain/grouping concept (a non-leaf category)." .
|
|
26
|
+
aps:Custom a skos:Concept ; skos:inScheme aps:skillKind ; skos:prefLabel "custom" ;
|
|
27
|
+
rdfs:comment "A steward-defined custom skill outside the controlled set." .
|
|
28
|
+
|
|
29
|
+
# ─── skillRelation — used by the OFF-CHAIN claim credential (not on chain) ──
|
|
30
|
+
aps:skillRelation a skos:ConceptScheme ;
|
|
31
|
+
rdfs:label "skillRelation" ;
|
|
32
|
+
rdfs:comment "Relation a claim credential asserts between a subject SA and a skill definition. Lives in the credential body (off chain); not an on-chain row." ;
|
|
33
|
+
skos:hasTopConcept aps:hasSkill, aps:practicesSkill, aps:certifiedIn, aps:endorsesSkill, aps:mentorsIn, aps:canTrainOthersIn .
|
|
34
|
+
aps:hasSkill a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "hasSkill" .
|
|
35
|
+
aps:practicesSkill a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "practicesSkill" .
|
|
36
|
+
aps:certifiedIn a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "certifiedIn" .
|
|
37
|
+
aps:endorsesSkill a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "endorsesSkill" .
|
|
38
|
+
aps:mentorsIn a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "mentorsIn" .
|
|
39
|
+
aps:canTrainOthersIn a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "canTrainOthersIn" .
|
|
40
|
+
|
|
41
|
+
# ─── claimVisibility — shared by skill + geo claim credentials ──────────────
|
|
42
|
+
aps:claimVisibility a skos:ConceptScheme ;
|
|
43
|
+
rdfs:label "claimVisibility" ;
|
|
44
|
+
rdfs:comment "Visibility mode of an off-chain skill/geo claim credential." ;
|
|
45
|
+
skos:hasTopConcept aps:Public, aps:PublicCoarse, aps:PrivateCommitment, aps:PrivateZk, aps:OffchainOnly .
|
|
46
|
+
aps:Public a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "public" .
|
|
47
|
+
aps:PublicCoarse a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "public-coarse" .
|
|
48
|
+
aps:PrivateCommitment a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "private-commitment" .
|
|
49
|
+
aps:PrivateZk a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "private-zk" .
|
|
50
|
+
aps:OffchainOnly a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "offchain-only" .
|
package/context.jsonld
CHANGED
|
@@ -10,12 +10,28 @@
|
|
|
10
10
|
"aprel": "https://agenticprimitives.dev/ns/relationships#",
|
|
11
11
|
"aporg": "https://agenticprimitives.dev/ns/org#",
|
|
12
12
|
|
|
13
|
+
"apint": "https://agenticprimitives.dev/ns/intent#",
|
|
14
|
+
"apcst": "https://agenticprimitives.dev/ns/constraint#",
|
|
15
|
+
"apres": "https://agenticprimitives.dev/ns/resolution#",
|
|
16
|
+
"apagr": "https://agenticprimitives.dev/ns/agreement#",
|
|
17
|
+
"appay": "https://agenticprimitives.dev/ns/payment#",
|
|
18
|
+
"apful": "https://agenticprimitives.dev/ns/fulfillment#",
|
|
19
|
+
"apatt": "https://agenticprimitives.dev/ns/attestation#",
|
|
20
|
+
"apvc": "https://agenticprimitives.dev/ns/verifiable-credential#",
|
|
21
|
+
|
|
22
|
+
"aps": "https://agenticprimitives.dev/ns/skill#",
|
|
23
|
+
"apg": "https://agenticprimitives.dev/ns/geo#",
|
|
24
|
+
"apcnt": "https://agenticprimitives.dev/ns/content#",
|
|
25
|
+
|
|
13
26
|
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
|
14
27
|
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
|
15
28
|
"owl": "http://www.w3.org/2002/07/owl#",
|
|
16
29
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
17
30
|
"sh": "http://www.w3.org/ns/shacl#",
|
|
18
31
|
"skos": "http://www.w3.org/2004/02/skos/core#",
|
|
19
|
-
"prov": "http://www.w3.org/ns/prov#"
|
|
32
|
+
"prov": "http://www.w3.org/ns/prov#",
|
|
33
|
+
"vf": "https://w3id.org/valueflows#",
|
|
34
|
+
"ufo-c": "http://purl.org/nemo/ufo-c#",
|
|
35
|
+
"w3cvc": "https://www.w3.org/2018/credentials#"
|
|
20
36
|
}
|
|
21
37
|
}
|
package/dist/artifacts.d.ts
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const ARTIFACTS: {
|
|
7
7
|
readonly context: "context.jsonld";
|
|
8
|
-
readonly tbox: readonly ["tbox/core.ttl", "tbox/identity.ttl"];
|
|
9
|
-
readonly cbox: readonly ["cbox/canonical-agent-id-shape.shacl.ttl", "cbox/controlled-vocabularies.ttl"];
|
|
8
|
+
readonly tbox: readonly ["tbox/core.ttl", "tbox/identity.ttl", "tbox/intents.ttl", "tbox/constraints.ttl", "tbox/resolution.ttl", "tbox/agreement.ttl", "tbox/payment.ttl", "tbox/fulfillment.ttl", "tbox/attestation.ttl", "tbox/skills.ttl", "tbox/geo.ttl", "tbox/content.ttl"];
|
|
9
|
+
readonly cbox: readonly ["cbox/canonical-agent-id-shape.shacl.ttl", "cbox/controlled-vocabularies.ttl", "cbox/skill-vocabulary.ttl", "cbox/geo-vocabulary.ttl", "cbox/content-vocabulary.ttl"];
|
|
10
|
+
readonly mappings: readonly ["mappings/spine-standards.ttl"];
|
|
10
11
|
};
|
|
11
12
|
/**
|
|
12
13
|
* Resolve a shipped artifact's relative path (see {@link ARTIFACTS}) to an
|
package/dist/artifacts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;CA8BZ,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEzD"}
|
package/dist/artifacts.js
CHANGED
|
@@ -12,8 +12,34 @@ import { fileURLToPath } from 'node:url';
|
|
|
12
12
|
*/
|
|
13
13
|
export const ARTIFACTS = {
|
|
14
14
|
context: 'context.jsonld',
|
|
15
|
-
tbox: [
|
|
16
|
-
|
|
15
|
+
tbox: [
|
|
16
|
+
// Phase-1 (identity + core)
|
|
17
|
+
'tbox/core.ttl',
|
|
18
|
+
'tbox/identity.ttl',
|
|
19
|
+
// Phase-1.5 (v2 coordination substrate spine; spec 225 §11.5)
|
|
20
|
+
'tbox/intents.ttl',
|
|
21
|
+
'tbox/constraints.ttl',
|
|
22
|
+
'tbox/resolution.ttl',
|
|
23
|
+
'tbox/agreement.ttl',
|
|
24
|
+
'tbox/payment.ttl',
|
|
25
|
+
'tbox/fulfillment.ttl',
|
|
26
|
+
'tbox/attestation.ttl',
|
|
27
|
+
// Generic skills + geo substrate (spec 251)
|
|
28
|
+
'tbox/skills.ttl',
|
|
29
|
+
'tbox/geo.ttl',
|
|
30
|
+
// Generic verifiable-content substrate (spec 266)
|
|
31
|
+
'tbox/content.ttl',
|
|
32
|
+
],
|
|
33
|
+
cbox: [
|
|
34
|
+
'cbox/canonical-agent-id-shape.shacl.ttl',
|
|
35
|
+
'cbox/controlled-vocabularies.ttl',
|
|
36
|
+
// Generic skills + geo codelists — on-chain-bound kinds (lockstep, ADR-0009)
|
|
37
|
+
'cbox/skill-vocabulary.ttl',
|
|
38
|
+
'cbox/geo-vocabulary.ttl',
|
|
39
|
+
// Verifiable-content codelists + ContentDescriptor shape (spec 266)
|
|
40
|
+
'cbox/content-vocabulary.ttl',
|
|
41
|
+
],
|
|
42
|
+
mappings: ['mappings/spine-standards.ttl'],
|
|
17
43
|
};
|
|
18
44
|
/**
|
|
19
45
|
* Resolve a shipped artifact's relative path (see {@link ARTIFACTS}) to an
|
package/dist/artifacts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,EAAE;AACF,0EAA0E;AAC1E,8EAA8E;AAC9E,6EAA6E;AAC7E,yCAAyC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,EAAE;AACF,0EAA0E;AAC1E,8EAA8E;AAC9E,6EAA6E;AAC7E,yCAAyC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE;QACJ,4BAA4B;QAC5B,eAAe;QACf,mBAAmB;QACnB,8DAA8D;QAC9D,kBAAkB;QAClB,sBAAsB;QACtB,qBAAqB;QACrB,oBAAoB;QACpB,kBAAkB;QAClB,sBAAsB;QACtB,sBAAsB;QACtB,4CAA4C;QAC5C,iBAAiB;QACjB,cAAc;QACd,kDAAkD;QAClD,kBAAkB;KACnB;IACD,IAAI,EAAE;QACJ,yCAAyC;QACzC,kCAAkC;QAClC,6EAA6E;QAC7E,2BAA2B;QAC3B,yBAAyB;QACzB,oEAAoE;QACpE,6BAA6B;KAC9B;IACD,QAAQ,EAAE,CAAC,8BAA8B,CAAC;CAClC,CAAC;AAEX;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,YAAoB;IAC/C,OAAO,aAAa,CAAC,IAAI,GAAG,CAAC,MAAM,YAAY,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACvE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,12 @@ export declare const ONTOLOGY_VERSION: "0.1.0";
|
|
|
4
4
|
* Namespace IRIs, split per domain (mirrors the reference
|
|
5
5
|
* `smartagent.io/ontology/<domain>#` scheme; spec 225 §4). Pinned base:
|
|
6
6
|
* `https://agenticprimitives.dev/ns/`.
|
|
7
|
+
*
|
|
8
|
+
* Wave 1 (2026-06-02b) added the v2 coordination substrate namespaces per
|
|
9
|
+
* spec 225 §11.5 (apint / apcst / apres / apagr / appay / apful / apatt /
|
|
10
|
+
* apvc) — substrate-wide T-box vocabulary for the 15-layer coordination spine
|
|
11
|
+
* (ADR-0024). Runtime SHACL shapes for each live in their owning packages
|
|
12
|
+
* per PD-19.
|
|
7
13
|
*/
|
|
8
14
|
export declare const NS: {
|
|
9
15
|
readonly ap: "https://agenticprimitives.dev/ns/core#";
|
|
@@ -15,6 +21,17 @@ export declare const NS: {
|
|
|
15
21
|
readonly apnam: "https://agenticprimitives.dev/ns/naming#";
|
|
16
22
|
readonly aprel: "https://agenticprimitives.dev/ns/relationships#";
|
|
17
23
|
readonly aporg: "https://agenticprimitives.dev/ns/org#";
|
|
24
|
+
readonly apint: "https://agenticprimitives.dev/ns/intent#";
|
|
25
|
+
readonly apcst: "https://agenticprimitives.dev/ns/constraint#";
|
|
26
|
+
readonly apres: "https://agenticprimitives.dev/ns/resolution#";
|
|
27
|
+
readonly apagr: "https://agenticprimitives.dev/ns/agreement#";
|
|
28
|
+
readonly appay: "https://agenticprimitives.dev/ns/payment#";
|
|
29
|
+
readonly apful: "https://agenticprimitives.dev/ns/fulfillment#";
|
|
30
|
+
readonly apatt: "https://agenticprimitives.dev/ns/attestation#";
|
|
31
|
+
readonly apvc: "https://agenticprimitives.dev/ns/verifiable-credential#";
|
|
32
|
+
readonly aps: "https://agenticprimitives.dev/ns/skill#";
|
|
33
|
+
readonly apg: "https://agenticprimitives.dev/ns/geo#";
|
|
34
|
+
readonly apcnt: "https://agenticprimitives.dev/ns/content#";
|
|
18
35
|
};
|
|
19
36
|
/** Class IRIs (T-box). Each is `<namespace><LocalName>`. */
|
|
20
37
|
export declare const CLASS: {
|
|
@@ -26,6 +43,64 @@ export declare const CLASS: {
|
|
|
26
43
|
readonly NameFacet: "https://agenticprimitives.dev/ns/naming#NameFacet";
|
|
27
44
|
readonly OidcSubject: "https://agenticprimitives.dev/ns/identity#OidcSubject";
|
|
28
45
|
readonly Org: "https://agenticprimitives.dev/ns/org#Org";
|
|
46
|
+
readonly Desire: "https://agenticprimitives.dev/ns/intent#Desire";
|
|
47
|
+
readonly Intent: "https://agenticprimitives.dev/ns/intent#Intent";
|
|
48
|
+
readonly ReceiveIntent: "https://agenticprimitives.dev/ns/intent#ReceiveIntent";
|
|
49
|
+
readonly GiveIntent: "https://agenticprimitives.dev/ns/intent#GiveIntent";
|
|
50
|
+
readonly MatchInitiation: "https://agenticprimitives.dev/ns/intent#MatchInitiation";
|
|
51
|
+
readonly IntentMatch: "https://agenticprimitives.dev/ns/intent#IntentMatch";
|
|
52
|
+
readonly Commitment: "https://agenticprimitives.dev/ns/intent#Commitment";
|
|
53
|
+
readonly Proposal: "https://agenticprimitives.dev/ns/intent#Proposal";
|
|
54
|
+
readonly SolverBid: "https://agenticprimitives.dev/ns/intent#SolverBid";
|
|
55
|
+
readonly ConstraintSet: "https://agenticprimitives.dev/ns/constraint#ConstraintSet";
|
|
56
|
+
readonly Constraint: "https://agenticprimitives.dev/ns/constraint#Constraint";
|
|
57
|
+
readonly HardConstraint: "https://agenticprimitives.dev/ns/constraint#HardConstraint";
|
|
58
|
+
readonly SoftConstraint: "https://agenticprimitives.dev/ns/constraint#SoftConstraint";
|
|
59
|
+
readonly ConstraintDomain: "https://agenticprimitives.dev/ns/constraint#ConstraintDomain";
|
|
60
|
+
readonly EnumDomain: "https://agenticprimitives.dev/ns/constraint#EnumDomain";
|
|
61
|
+
readonly RangeDomain: "https://agenticprimitives.dev/ns/constraint#RangeDomain";
|
|
62
|
+
readonly SetDomain: "https://agenticprimitives.dev/ns/constraint#SetDomain";
|
|
63
|
+
readonly PredicateDomain: "https://agenticprimitives.dev/ns/constraint#PredicateDomain";
|
|
64
|
+
readonly AssumptionSet: "https://agenticprimitives.dev/ns/constraint#AssumptionSet";
|
|
65
|
+
readonly NamedAssumption: "https://agenticprimitives.dev/ns/constraint#NamedAssumption";
|
|
66
|
+
readonly ValidationRequirement: "https://agenticprimitives.dev/ns/constraint#ValidationRequirement";
|
|
67
|
+
readonly Resolver: "https://agenticprimitives.dev/ns/resolution#Resolver";
|
|
68
|
+
readonly ResolvedOrder: "https://agenticprimitives.dev/ns/resolution#ResolvedOrder";
|
|
69
|
+
readonly ResolutionReceipt: "https://agenticprimitives.dev/ns/resolution#ResolutionReceipt";
|
|
70
|
+
readonly PolicyCheckResult: "https://agenticprimitives.dev/ns/resolution#PolicyCheckResult";
|
|
71
|
+
readonly ToolCallTrace: "https://agenticprimitives.dev/ns/resolution#ToolCallTrace";
|
|
72
|
+
readonly AgreementCommitment: "https://agenticprimitives.dev/ns/agreement#AgreementCommitment";
|
|
73
|
+
readonly AgreementCredential: "https://agenticprimitives.dev/ns/agreement#AgreementCredential";
|
|
74
|
+
readonly AgreementStatus: "https://agenticprimitives.dev/ns/agreement#AgreementStatus";
|
|
75
|
+
readonly PaymentMandate: "https://agenticprimitives.dev/ns/payment#PaymentMandate";
|
|
76
|
+
readonly OpenPaymentMandate: "https://agenticprimitives.dev/ns/payment#OpenPaymentMandate";
|
|
77
|
+
readonly ClosedPaymentMandate: "https://agenticprimitives.dev/ns/payment#ClosedPaymentMandate";
|
|
78
|
+
readonly PaymentReceipt: "https://agenticprimitives.dev/ns/payment#PaymentReceipt";
|
|
79
|
+
readonly MandateConstraints: "https://agenticprimitives.dev/ns/payment#MandateConstraints";
|
|
80
|
+
readonly ContextBinding: "https://agenticprimitives.dev/ns/payment#ContextBinding";
|
|
81
|
+
readonly PaymentRail: "https://agenticprimitives.dev/ns/payment#PaymentRail";
|
|
82
|
+
readonly FulfillmentCase: "https://agenticprimitives.dev/ns/fulfillment#FulfillmentCase";
|
|
83
|
+
readonly FulfillmentTopology: "https://agenticprimitives.dev/ns/fulfillment#FulfillmentTopology";
|
|
84
|
+
readonly Task: "https://agenticprimitives.dev/ns/fulfillment#Task";
|
|
85
|
+
readonly HandoffPolicy: "https://agenticprimitives.dev/ns/fulfillment#HandoffPolicy";
|
|
86
|
+
readonly Message: "https://agenticprimitives.dev/ns/fulfillment#Message";
|
|
87
|
+
readonly Artifact: "https://agenticprimitives.dev/ns/fulfillment#Artifact";
|
|
88
|
+
readonly ArtifactKind: "https://agenticprimitives.dev/ns/fulfillment#ArtifactKind";
|
|
89
|
+
readonly IntentTraceSpan: "https://agenticprimitives.dev/ns/fulfillment#IntentTraceSpan";
|
|
90
|
+
readonly Attestation: "https://agenticprimitives.dev/ns/attestation#Attestation";
|
|
91
|
+
readonly EvidenceCredential: "https://agenticprimitives.dev/ns/attestation#EvidenceCredential";
|
|
92
|
+
readonly OutcomeCredential: "https://agenticprimitives.dev/ns/attestation#OutcomeCredential";
|
|
93
|
+
readonly ValidationCredential: "https://agenticprimitives.dev/ns/attestation#ValidationCredential";
|
|
94
|
+
readonly Validator: "https://agenticprimitives.dev/ns/attestation#Validator";
|
|
95
|
+
readonly ValidatorKind: "https://agenticprimitives.dev/ns/attestation#ValidatorKind";
|
|
96
|
+
readonly TrustUpdate: "https://agenticprimitives.dev/ns/attestation#TrustUpdate";
|
|
97
|
+
readonly AssociationCredential: "https://agenticprimitives.dev/ns/attestation#AssociationCredential";
|
|
98
|
+
readonly VerifiableCredential: "https://agenticprimitives.dev/ns/verifiable-credential#VerifiableCredential";
|
|
99
|
+
readonly CanonicalLocus: "https://agenticprimitives.dev/ns/content#CanonicalLocus";
|
|
100
|
+
readonly CorpusManifest: "https://agenticprimitives.dev/ns/content#CorpusManifest";
|
|
101
|
+
readonly ContentDescriptor: "https://agenticprimitives.dev/ns/content#ContentDescriptor";
|
|
102
|
+
readonly CitationAssertion: "https://agenticprimitives.dev/ns/content#CitationAssertion";
|
|
103
|
+
readonly Entitlement: "https://agenticprimitives.dev/ns/content#Entitlement";
|
|
29
104
|
};
|
|
30
105
|
/** Predicate / property IRIs (T-box). */
|
|
31
106
|
export declare const PREDICATE: {
|
|
@@ -37,10 +112,107 @@ export declare const PREDICATE: {
|
|
|
37
112
|
readonly resolvesTo: "https://agenticprimitives.dev/ns/naming#resolvesTo";
|
|
38
113
|
readonly memberOf: "https://agenticprimitives.dev/ns/org#memberOf";
|
|
39
114
|
readonly delegatesTo: "https://agenticprimitives.dev/ns/delegation#delegatesTo";
|
|
115
|
+
readonly direction: "https://agenticprimitives.dev/ns/intent#direction";
|
|
116
|
+
readonly object: "https://agenticprimitives.dev/ns/intent#object";
|
|
117
|
+
readonly topic: "https://agenticprimitives.dev/ns/intent#topic";
|
|
118
|
+
readonly expressedBy: "https://agenticprimitives.dev/ns/intent#expressedBy";
|
|
119
|
+
readonly addressedTo: "https://agenticprimitives.dev/ns/intent#addressedTo";
|
|
120
|
+
readonly hasConstraintSet: "https://agenticprimitives.dev/ns/intent#hasConstraintSet";
|
|
121
|
+
readonly hasAssumptionSet: "https://agenticprimitives.dev/ns/intent#hasAssumptionSet";
|
|
122
|
+
readonly expectedOutcome: "https://agenticprimitives.dev/ns/intent#expectedOutcome";
|
|
123
|
+
readonly visibility: "https://agenticprimitives.dev/ns/intent#visibility";
|
|
124
|
+
readonly status: "https://agenticprimitives.dev/ns/intent#status";
|
|
125
|
+
readonly matchedWith: "https://agenticprimitives.dev/ns/intent#matchedWith";
|
|
126
|
+
readonly variable: "https://agenticprimitives.dev/ns/constraint#variable";
|
|
127
|
+
readonly domain: "https://agenticprimitives.dev/ns/constraint#domain";
|
|
128
|
+
readonly source: "https://agenticprimitives.dev/ns/constraint#source";
|
|
129
|
+
readonly rationale: "https://agenticprimitives.dev/ns/constraint#rationale";
|
|
130
|
+
readonly strength: "https://agenticprimitives.dev/ns/constraint#strength";
|
|
131
|
+
readonly enforcement: "https://agenticprimitives.dev/ns/constraint#enforcement";
|
|
132
|
+
readonly fieldDisclosure: "https://agenticprimitives.dev/ns/constraint#fieldDisclosure";
|
|
133
|
+
readonly resolverId: "https://agenticprimitives.dev/ns/constraint#resolverId";
|
|
134
|
+
readonly trustLevel: "https://agenticprimitives.dev/ns/constraint#trustLevel";
|
|
135
|
+
readonly risk: "https://agenticprimitives.dev/ns/constraint#risk";
|
|
136
|
+
readonly evidenceRef: "https://agenticprimitives.dev/ns/constraint#evidenceRef";
|
|
137
|
+
readonly resolvedFrom: "https://agenticprimitives.dev/ns/resolution#resolvedFrom";
|
|
138
|
+
readonly canonicalConstraints: "https://agenticprimitives.dev/ns/resolution#canonicalConstraints";
|
|
139
|
+
readonly expandedAssumptions: "https://agenticprimitives.dev/ns/resolution#expandedAssumptions";
|
|
140
|
+
readonly resolverAgent: "https://agenticprimitives.dev/ns/resolution#resolverAgent";
|
|
141
|
+
readonly resolverVersion: "https://agenticprimitives.dev/ns/resolution#resolverVersion";
|
|
142
|
+
readonly modelName: "https://agenticprimitives.dev/ns/resolution#modelName";
|
|
143
|
+
readonly confidence: "https://agenticprimitives.dev/ns/resolution#confidence";
|
|
144
|
+
readonly requiresUserConfirmation: "https://agenticprimitives.dev/ns/resolution#requiresUserConfirmation";
|
|
145
|
+
readonly userConfirmedAt: "https://agenticprimitives.dev/ns/resolution#userConfirmedAt";
|
|
146
|
+
readonly policyVersion: "https://agenticprimitives.dev/ns/resolution#policyVersion";
|
|
147
|
+
readonly hasPolicyCheck: "https://agenticprimitives.dev/ns/resolution#hasPolicyCheck";
|
|
148
|
+
readonly hasToolCall: "https://agenticprimitives.dev/ns/resolution#hasToolCall";
|
|
149
|
+
readonly hasIssuer: "https://agenticprimitives.dev/ns/agreement#hasIssuer";
|
|
150
|
+
readonly hasParty: "https://agenticprimitives.dev/ns/agreement#hasParty";
|
|
151
|
+
readonly agreementCommitmentHash: "https://agenticprimitives.dev/ns/agreement#agreementCommitmentHash";
|
|
152
|
+
readonly schemaHash: "https://agenticprimitives.dev/ns/agreement#schemaHash";
|
|
153
|
+
readonly agreementStatus: "https://agenticprimitives.dev/ns/agreement#status";
|
|
154
|
+
readonly createdEpochBucket: "https://agenticprimitives.dev/ns/agreement#createdEpochBucket";
|
|
155
|
+
readonly fromIntentMatch: "https://agenticprimitives.dev/ns/agreement#fromIntentMatch";
|
|
156
|
+
readonly payer: "https://agenticprimitives.dev/ns/payment#payer";
|
|
157
|
+
readonly payee: "https://agenticprimitives.dev/ns/payment#payee";
|
|
158
|
+
readonly granter: "https://agenticprimitives.dev/ns/payment#granter";
|
|
159
|
+
readonly rail: "https://agenticprimitives.dev/ns/payment#rail";
|
|
160
|
+
readonly mode: "https://agenticprimitives.dev/ns/payment#mode";
|
|
161
|
+
readonly requiresClosedMandateForFinalCharge: "https://agenticprimitives.dev/ns/payment#requiresClosedMandateForFinalCharge";
|
|
162
|
+
readonly contextBindingIntent: "https://agenticprimitives.dev/ns/payment#contextBindingIntent";
|
|
163
|
+
readonly contextBindingAgreement: "https://agenticprimitives.dev/ns/payment#contextBindingAgreement";
|
|
164
|
+
readonly chain: "https://agenticprimitives.dev/ns/payment#chain";
|
|
165
|
+
readonly maxAggregateAmount: "https://agenticprimitives.dev/ns/payment#maxAggregateAmount";
|
|
166
|
+
readonly nonce: "https://agenticprimitives.dev/ns/payment#nonce";
|
|
167
|
+
readonly maxRedemptions: "https://agenticprimitives.dev/ns/payment#maxRedemptions";
|
|
168
|
+
readonly expiresAt: "https://agenticprimitives.dev/ns/payment#expiresAt";
|
|
169
|
+
readonly hasParentAgreement: "https://agenticprimitives.dev/ns/fulfillment#hasParentAgreement";
|
|
170
|
+
readonly topology: "https://agenticprimitives.dev/ns/fulfillment#topology";
|
|
171
|
+
readonly taskState: "https://agenticprimitives.dev/ns/fulfillment#taskState";
|
|
172
|
+
readonly assignee: "https://agenticprimitives.dev/ns/fulfillment#assignee";
|
|
173
|
+
readonly assigneeKind: "https://agenticprimitives.dev/ns/fulfillment#assigneeKind";
|
|
174
|
+
readonly permissionGrantRef: "https://agenticprimitives.dev/ns/fulfillment#permissionGrantRef";
|
|
175
|
+
readonly paymentMandateRef: "https://agenticprimitives.dev/ns/fulfillment#paymentMandateRef";
|
|
176
|
+
readonly sender: "https://agenticprimitives.dev/ns/fulfillment#sender";
|
|
177
|
+
readonly bodyRef: "https://agenticprimitives.dev/ns/fulfillment#bodyRef";
|
|
178
|
+
readonly bodyHash: "https://agenticprimitives.dev/ns/fulfillment#bodyHash";
|
|
179
|
+
readonly artifactKind: "https://agenticprimitives.dev/ns/fulfillment#artifactKind";
|
|
180
|
+
readonly disclosurePolicy: "https://agenticprimitives.dev/ns/fulfillment#disclosurePolicy";
|
|
181
|
+
readonly spanType: "https://agenticprimitives.dev/ns/fulfillment#spanType";
|
|
182
|
+
readonly parentSpan: "https://agenticprimitives.dev/ns/fulfillment#parentSpan";
|
|
183
|
+
readonly uid: "https://agenticprimitives.dev/ns/attestation#uid";
|
|
184
|
+
readonly credentialType: "https://agenticprimitives.dev/ns/attestation#credentialType";
|
|
185
|
+
readonly credentialHash: "https://agenticprimitives.dev/ns/attestation#credentialHash";
|
|
186
|
+
readonly refUID: "https://agenticprimitives.dev/ns/attestation#refUID";
|
|
187
|
+
readonly bilateralConsentRef: "https://agenticprimitives.dev/ns/attestation#bilateralConsentRef";
|
|
188
|
+
readonly basedOnIntent: "https://agenticprimitives.dev/ns/attestation#basedOnIntent";
|
|
189
|
+
readonly basedOnArtifact: "https://agenticprimitives.dev/ns/attestation#basedOnArtifact";
|
|
190
|
+
readonly citesEvidence: "https://agenticprimitives.dev/ns/attestation#citesEvidence";
|
|
191
|
+
readonly citesValidation: "https://agenticprimitives.dev/ns/attestation#citesValidation";
|
|
192
|
+
readonly validatorKind: "https://agenticprimitives.dev/ns/attestation#validatorKind";
|
|
193
|
+
readonly offchainCredentialStatusList: "https://agenticprimitives.dev/ns/attestation#offchainCredentialStatusList";
|
|
194
|
+
readonly locusOf: "https://agenticprimitives.dev/ns/content#locusOf";
|
|
195
|
+
readonly renderedBy: "https://agenticprimitives.dev/ns/content#renderedBy";
|
|
196
|
+
readonly commitsTo: "https://agenticprimitives.dev/ns/content#commitsTo";
|
|
197
|
+
readonly retrievalPointer: "https://agenticprimitives.dev/ns/content#retrievalPointer";
|
|
198
|
+
readonly corpusRoot: "https://agenticprimitives.dev/ns/content#corpusRoot";
|
|
199
|
+
readonly issuedBy: "https://agenticprimitives.dev/ns/content#issuedBy";
|
|
200
|
+
readonly accessPolicy: "https://agenticprimitives.dev/ns/content#accessPolicy";
|
|
201
|
+
readonly proofPolicy: "https://agenticprimitives.dev/ns/content#proofPolicy";
|
|
202
|
+
readonly citesLocus: "https://agenticprimitives.dev/ns/content#citesLocus";
|
|
203
|
+
readonly underEntitlement: "https://agenticprimitives.dev/ns/content#underEntitlement";
|
|
40
204
|
};
|
|
41
|
-
/** SHACL shape IRIs (C-box).
|
|
205
|
+
/** SHACL shape IRIs (C-box).
|
|
206
|
+
*
|
|
207
|
+
* NOTE: substrate-spine runtime SHACL shapes live in their OWNING packages
|
|
208
|
+
* per PD-19, NOT in this package. The shape IRIs below are only the ones
|
|
209
|
+
* the ontology package itself ships (identity / core layer); for spine
|
|
210
|
+
* shapes (intents, constraints, agreement, payment, fulfillment, credentials,
|
|
211
|
+
* a2a-task), import from the owning package.
|
|
212
|
+
*/
|
|
42
213
|
export declare const SHAPE: {
|
|
43
214
|
readonly CanonicalAgentId: "https://agenticprimitives.dev/ns/core#CanonicalAgentIdShape";
|
|
44
215
|
readonly CredentialFacet: "https://agenticprimitives.dev/ns/credential#CredentialFacetShape";
|
|
216
|
+
readonly ContentDescriptor: "https://agenticprimitives.dev/ns/content#ContentDescriptorShape";
|
|
45
217
|
};
|
|
46
218
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;CA0BL,CAAC;AAEX,4DAA4D;AAC5D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ER,CAAC;AAEX,yCAAyC;AACzC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GZ,CAAC;AAEX;;;;;;;GAOG;AACH,eAAO,MAAM,KAAK;;;;CAKR,CAAC"}
|