@agenticprimitives/agent-naming 1.0.0-alpha.4 → 1.0.0-alpha.40
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/AUDIT.md +15 -4
- package/CLAUDE.md +40 -53
- package/README.md +57 -54
- package/dist/abis.d.ts +641 -0
- package/dist/abis.d.ts.map +1 -1
- package/dist/abis.js +96 -0
- package/dist/abis.js.map +1 -1
- package/dist/claim.d.ts +71 -0
- package/dist/claim.d.ts.map +1 -0
- package/dist/claim.js +73 -0
- package/dist/claim.js.map +1 -0
- package/dist/client.d.ts +36 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +197 -10
- package/dist/client.js.map +1 -1
- package/dist/constants.d.ts +55 -5
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +128 -4
- package/dist/constants.js.map +1 -1
- package/dist/custody.d.ts +54 -2
- package/dist/custody.d.ts.map +1 -1
- package/dist/custody.js +140 -4
- package/dist/custody.js.map +1 -1
- package/dist/dns.d.ts +91 -0
- package/dist/dns.d.ts.map +1 -0
- package/dist/dns.js +196 -0
- package/dist/dns.js.map +1 -0
- package/dist/federated.d.ts +31 -0
- package/dist/federated.d.ts.map +1 -0
- package/dist/federated.js +54 -0
- package/dist/federated.js.map +1 -0
- package/dist/grammar.d.ts +62 -0
- package/dist/grammar.d.ts.map +1 -0
- package/dist/grammar.js +165 -0
- package/dist/grammar.js.map +1 -0
- package/dist/hash.d.ts +14 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +22 -0
- package/dist/hash.js.map +1 -0
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -8
- package/dist/index.js.map +1 -1
- package/dist/issuance.d.ts +70 -0
- package/dist/issuance.d.ts.map +1 -0
- package/dist/issuance.js +65 -0
- package/dist/issuance.js.map +1 -0
- package/dist/label.d.ts +10 -0
- package/dist/label.d.ts.map +1 -0
- package/dist/label.js +39 -0
- package/dist/label.js.map +1 -0
- package/dist/namehash.d.ts +12 -24
- package/dist/namehash.d.ts.map +1 -1
- package/dist/namehash.js +13 -36
- package/dist/namehash.js.map +1 -1
- package/dist/normalize.d.ts +9 -17
- package/dist/normalize.d.ts.map +1 -1
- package/dist/normalize.js +11 -48
- package/dist/normalize.js.map +1 -1
- package/dist/price.d.ts +74 -0
- package/dist/price.d.ts.map +1 -0
- package/dist/price.js +58 -0
- package/dist/price.js.map +1 -0
- package/dist/records.d.ts +44 -3
- package/dist/records.d.ts.map +1 -1
- package/dist/records.js +203 -4
- package/dist/records.js.map +1 -1
- package/dist/types.d.ts +108 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/vertical.d.ts +43 -0
- package/dist/vertical.d.ts.map +1 -0
- package/dist/vertical.js +40 -0
- package/dist/vertical.js.map +1 -0
- package/docs/api.md +15 -3
- package/docs/concepts.md +1 -1
- package/docs/migration.md +1 -1
- package/package.json +24 -15
package/docs/concepts.md
CHANGED
|
@@ -43,7 +43,7 @@ This avoids Unicode spoofing until a full IDN/punycode policy exists.
|
|
|
43
43
|
|
|
44
44
|
## Node And Namehash
|
|
45
45
|
|
|
46
|
-
A node is the
|
|
46
|
+
A node is the recursive `bytes32` namehash (`keccak256(parentNode || labelhash)`) of a normalized name.
|
|
47
47
|
|
|
48
48
|
```ts
|
|
49
49
|
namehash('agent');
|
package/docs/migration.md
CHANGED
|
@@ -90,4 +90,4 @@ Expected future migration areas:
|
|
|
90
90
|
- Generated API docs or manifest-doc synchronization.
|
|
91
91
|
- Example typecheck enforcement.
|
|
92
92
|
- Stable deployment address package.
|
|
93
|
-
- Optional compatibility layer for external
|
|
93
|
+
- Optional compatibility layer for external on-chain name resolvers.
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticprimitives/agent-naming",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
4
|
-
"description": "Agent Naming Service SDK:
|
|
3
|
+
"version": "1.0.0-alpha.40",
|
|
4
|
+
"description": "Agent Naming Service SDK: typed hierarchical naming for Smart Agents (.me .org .team .svc .workspace .treasury — a suffix names the derived agent type; spec 346). Owns name grammar + normalization, namehash/labelhash, records schemas, the DNS/A2A endpoint projection, claim validation, and the AgentNamingClient (resolve / typed resolve / reverse / registry). Speaks naming-domain vocabulary only — no delegation / caveat / custody concepts.",
|
|
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/agent-naming"
|
|
10
18
|
},
|
|
11
|
-
"homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/agent-naming",
|
|
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",
|
|
@@ -43,28 +47,33 @@
|
|
|
43
47
|
"access": "public"
|
|
44
48
|
},
|
|
45
49
|
"peerDependencies": {
|
|
46
|
-
"viem": "^2.
|
|
47
|
-
"@agenticprimitives/agent-account": "1.0.0-alpha.
|
|
48
|
-
"@agenticprimitives/connect-auth": "1.0.0-alpha.
|
|
49
|
-
"@agenticprimitives/types": "1.0.0-alpha.
|
|
50
|
+
"viem": "^2.52.2",
|
|
51
|
+
"@agenticprimitives/agent-account": "^1.0.0-alpha.40",
|
|
52
|
+
"@agenticprimitives/connect-auth": "^1.0.0-alpha.40",
|
|
53
|
+
"@agenticprimitives/types": "^1.0.0-alpha.40"
|
|
50
54
|
},
|
|
51
55
|
"devDependencies": {
|
|
52
56
|
"@types/node": "^22.7.0",
|
|
53
|
-
"vitest": "^
|
|
57
|
+
"vitest": "^4.1.11"
|
|
54
58
|
},
|
|
55
59
|
"keywords": [
|
|
56
60
|
"agent",
|
|
57
61
|
"naming",
|
|
58
|
-
"
|
|
62
|
+
"namehash",
|
|
59
63
|
"smart-agent",
|
|
60
|
-
"agentic"
|
|
64
|
+
"agentic",
|
|
65
|
+
"agentic-primitives",
|
|
66
|
+
"agenticprimitives",
|
|
67
|
+
"ai-agents",
|
|
68
|
+
"agent-authority",
|
|
69
|
+
"agentic-trust"
|
|
61
70
|
],
|
|
62
71
|
"scripts": {
|
|
63
72
|
"build": "tsc -p tsconfig.build.json",
|
|
64
73
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
65
74
|
"test": "vitest run",
|
|
66
|
-
"test:unit": "vitest run test/normalize.test.ts test/namehash.test.ts test/records.test.ts",
|
|
67
|
-
"test:integration": "vitest run test/integration.test.ts",
|
|
75
|
+
"test:unit": "vitest run test/normalize.test.ts test/namehash.test.ts test/records.test.ts test/grammar.test.ts test/dns.test.ts test/claim.test.ts test/custody.test.ts test/issuance.test.ts test/vertical.test.ts test/federated.test.ts --passWithNoTests",
|
|
76
|
+
"test:integration": "vitest run test/integration.test.ts --passWithNoTests",
|
|
68
77
|
"test:watch": "vitest",
|
|
69
78
|
"clean": "rm -rf dist"
|
|
70
79
|
}
|