@ens-node-metadata/agent 0.3.0 → 0.3.2

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.
Files changed (54) hide show
  1. package/README.md +38 -5
  2. package/SKILL.md +31 -21
  3. package/dist/{chunk-3VTAAUSG.js → chunk-6IGJKB4W.js} +5 -0
  4. package/dist/chunk-DXAESRZH.js +1122 -0
  5. package/dist/chunk-X6M7WZJF.js +43 -0
  6. package/dist/chunk-YZFATT7X.js +9 -0
  7. package/dist/cli.js +6 -1
  8. package/dist/commands/metadata/set.js +264 -11
  9. package/dist/commands/metadata/template.js +2 -1
  10. package/dist/commands/metadata/validate.js +2 -1
  11. package/dist/commands/registration-file/publish.js +1 -0
  12. package/dist/commands/registration-file/template.js +2 -0
  13. package/dist/commands/registration-file/validate.js +1 -0
  14. package/dist/commands/registry/identity/index.d.ts +3 -0
  15. package/dist/commands/registry/identity/index.js +7 -0
  16. package/dist/commands/registry/identity/query.d.ts +19 -0
  17. package/dist/commands/registry/identity/query.js +74 -0
  18. package/dist/commands/registry/identity/register.d.ts +25 -0
  19. package/dist/commands/registry/identity/register.js +112 -0
  20. package/dist/commands/registry/identity/set-uri.d.ts +25 -0
  21. package/dist/commands/registry/identity/set-uri.js +113 -0
  22. package/dist/commands/registry/identity/set-wallet.d.ts +31 -0
  23. package/dist/commands/registry/identity/set-wallet.js +191 -0
  24. package/dist/commands/registry/identity/unset-wallet.d.ts +25 -0
  25. package/dist/commands/registry/identity/unset-wallet.js +108 -0
  26. package/dist/commands/skill.js +2 -0
  27. package/dist/index.js +1 -0
  28. package/dist/meta-2D4D777X.js +99 -0
  29. package/dist/meta-3V4ARLLT.js +90 -0
  30. package/dist/meta-4FOJTBXM.js +99 -0
  31. package/dist/meta-4WYOTBTO.js +99 -0
  32. package/dist/meta-6ZW4JGML.js +99 -0
  33. package/dist/meta-CVZI45M2.js +99 -0
  34. package/dist/meta-GPMB2YZD.js +99 -0
  35. package/dist/meta-KQ3IEVWD.js +99 -0
  36. package/dist/meta-OVOAMXLB.js +99 -0
  37. package/dist/meta-PRCHJBWX.js +99 -0
  38. package/dist/meta-Q27UTR4Z.js +99 -0
  39. package/dist/meta-VOM2POTX.js +99 -0
  40. package/dist/schema-533SFVLQ.js +70 -0
  41. package/dist/schema-5VKXCUCI.js +58 -0
  42. package/dist/schema-FGOA4QOU.js +86 -0
  43. package/dist/schema-JNRQYFPA.js +79 -0
  44. package/dist/schema-JWSXL7CR.js +51 -0
  45. package/dist/schema-NESH3IQS.js +90 -0
  46. package/dist/schema-O4SLAGNC.js +65 -0
  47. package/dist/schema-SFNY6GI4.js +95 -0
  48. package/dist/schema-WUU2T2HE.js +53 -0
  49. package/dist/schema-YRD3DNDN.js +97 -0
  50. package/dist/schema-Z7FM6RGM.js +84 -0
  51. package/dist/schema-ZCETI367.js +83 -0
  52. package/package.json +3 -1
  53. package/dist/commands/registry/identity.d.ts +0 -19
  54. package/dist/commands/registry/identity.js +0 -91
@@ -0,0 +1,79 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/contract/versions/1.1.1/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/contract/1.1.1";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Contract";
7
+ var version = "1.1.1";
8
+ var description = "Smart contract metadata profile following Enscribe smart contract metadata format.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Contract",
14
+ description: "High-level identifier of this node type"
15
+ },
16
+ alias: {
17
+ type: "string",
18
+ description: "Human-readable contract alias (ENSIP-18 alias)"
19
+ },
20
+ description: {
21
+ type: "string",
22
+ description: "Short description of the contract purpose (ENSIP-18 description)"
23
+ },
24
+ avatar: {
25
+ type: "string",
26
+ description: "Avatar URI for the contract profile (ENSIP-12 avatar)"
27
+ },
28
+ category: {
29
+ type: "string",
30
+ description: "Contract category (e.g., defi, gaming, dao, utility, proxy, factory)"
31
+ },
32
+ license: {
33
+ type: "string",
34
+ description: "Official software license identifier for the source code"
35
+ },
36
+ docs: {
37
+ type: "string",
38
+ description: "Primary documentation URL for developers and users",
39
+ format: "uri"
40
+ },
41
+ "compiled-metadata": {
42
+ type: "string",
43
+ description: "A URI to a contract metadata file as generated by a Solidity or Vyper compiler"
44
+ },
45
+ audits: {
46
+ type: "json",
47
+ description: "JSON array of third-party audit reports"
48
+ }
49
+ };
50
+ var required = [
51
+ "class"
52
+ ];
53
+ var recommended = [
54
+ "alias",
55
+ "description"
56
+ ];
57
+ var schema_default = {
58
+ $id,
59
+ source,
60
+ title,
61
+ version,
62
+ description,
63
+ type,
64
+ properties,
65
+ required,
66
+ recommended
67
+ };
68
+ export {
69
+ $id,
70
+ schema_default as default,
71
+ description,
72
+ properties,
73
+ recommended,
74
+ required,
75
+ source,
76
+ title,
77
+ type,
78
+ version
79
+ };
@@ -0,0 +1,51 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/person/versions/1.0.0/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/person/1.0.0";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Person";
7
+ var version = "1.0.0";
8
+ var description = "A person.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Person",
14
+ description: "High-level identifier of this node type",
15
+ examples: [
16
+ "Person",
17
+ "Human",
18
+ "Signer",
19
+ "Officer",
20
+ "Employee",
21
+ "Secretary"
22
+ ]
23
+ },
24
+ "full-name": {
25
+ type: "string",
26
+ description: "Full legal or preferred name"
27
+ },
28
+ title: {
29
+ type: "string",
30
+ description: "Title within the organization, if any"
31
+ }
32
+ };
33
+ var schema_default = {
34
+ $id,
35
+ source,
36
+ title,
37
+ version,
38
+ description,
39
+ type,
40
+ properties
41
+ };
42
+ export {
43
+ $id,
44
+ schema_default as default,
45
+ description,
46
+ properties,
47
+ source,
48
+ title,
49
+ type,
50
+ version
51
+ };
@@ -0,0 +1,90 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/delegate/versions/1.0.1/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/delegate/1.0.0";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Delegate";
7
+ var version = "1.0.1";
8
+ var description = "A delegate.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Delegate",
14
+ description: "High-level identifier of this node type"
15
+ },
16
+ address: {
17
+ type: "string",
18
+ format: "address",
19
+ description: "The address of the delegate"
20
+ },
21
+ "legal-name": {
22
+ type: "string",
23
+ description: 'The full legal or preferred name of the delegate (e.g. "John Doe")'
24
+ },
25
+ "display-name": {
26
+ type: "string",
27
+ description: "A canonical display name for the delegate"
28
+ },
29
+ statement: {
30
+ type: "string",
31
+ description: "Generic delegate statement "
32
+ },
33
+ "conflict-of-interest": {
34
+ type: "string",
35
+ description: "Generic conflict of interest declaration "
36
+ },
37
+ "forum-handle": {
38
+ type: "string",
39
+ description: 'Default forum handle (e.g. "johndoe")'
40
+ }
41
+ };
42
+ var patternProperties = {
43
+ "^statement(\\[[^\\]]+\\])?$": {
44
+ type: "string",
45
+ description: "Delegate statement per organization (e.g. statement[dao.eth])"
46
+ },
47
+ "^conflict-of-interest(\\[[^\\]]+\\])?$": {
48
+ type: "string",
49
+ description: "Conflict of interest declaration per organization (e.g. conflict-of-interest[dao.eth])"
50
+ },
51
+ "^forum-handle(\\[[^\\]]+\\])?$": {
52
+ type: "string",
53
+ description: "Forum handle per organization (e.g. forum-handle[dao.eth])"
54
+ }
55
+ };
56
+ var required = [
57
+ "class"
58
+ ];
59
+ var recommended = [
60
+ "address",
61
+ "display-name",
62
+ "statement",
63
+ "conflict-of-interest",
64
+ "forum-handle"
65
+ ];
66
+ var schema_default = {
67
+ $id,
68
+ source,
69
+ title,
70
+ version,
71
+ description,
72
+ type,
73
+ properties,
74
+ patternProperties,
75
+ required,
76
+ recommended
77
+ };
78
+ export {
79
+ $id,
80
+ schema_default as default,
81
+ description,
82
+ patternProperties,
83
+ properties,
84
+ recommended,
85
+ required,
86
+ source,
87
+ title,
88
+ type,
89
+ version
90
+ };
@@ -0,0 +1,65 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/globals/versions/1.0.0/schema.json
4
+ var version = "1.0.0";
5
+ var schemas = {
6
+ "ensip-5": {
7
+ $id: "https://docs.ens.domains/ensip/5",
8
+ source: "https://docs.ens.domains/ensip/5",
9
+ title: "ENSIP-5",
10
+ version: "1.0.0",
11
+ description: "A group of entities that have been empowered by a larger organization to undertake some activity.",
12
+ type: "object",
13
+ properties: {
14
+ avatar: {
15
+ type: "string",
16
+ description: "A URL to an image used as an avatar or logo"
17
+ },
18
+ description: {
19
+ type: "string",
20
+ description: "A description of the name"
21
+ },
22
+ display: {
23
+ type: "string",
24
+ description: 'A canonical display name for the ENS name; this MUST match the ENS name when its case is folded, and clients should ignore this value if it does not (e.g. "ricmoo.eth" could set this to "RicMoo.eth")'
25
+ },
26
+ email: {
27
+ type: "string",
28
+ description: "An e-mail address"
29
+ },
30
+ keywords: {
31
+ type: "string",
32
+ description: "A list of comma-separated keywords, ordered by most significant first; clients that interpresent this field may choose a threshold beyond which to ignore"
33
+ },
34
+ mail: {
35
+ type: "string",
36
+ description: "A physical mailing address"
37
+ },
38
+ notice: {
39
+ type: "string",
40
+ description: "A notice regarding this name"
41
+ },
42
+ location: {
43
+ type: "string",
44
+ description: 'A generic location (e.g. "Toronto, Canada")'
45
+ },
46
+ phone: {
47
+ type: "string",
48
+ description: "A phone number as an E.164 string"
49
+ },
50
+ url: {
51
+ type: "string",
52
+ description: "A website URL"
53
+ }
54
+ }
55
+ }
56
+ };
57
+ var schema_default = {
58
+ version,
59
+ schemas
60
+ };
61
+ export {
62
+ schema_default as default,
63
+ schemas,
64
+ version
65
+ };
@@ -0,0 +1,95 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/agent/versions/1.0.0/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/agent/1.0.0";
5
+ var source = "https://eips.ethereum.org/EIPS/eip-8004";
6
+ var title = "Agent";
7
+ var version = "1.0.0";
8
+ var description = "AI agent identity metadata aligned with ERC-8004 registration format.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Agent",
14
+ description: "High-level identifier of this node type"
15
+ },
16
+ "agent-uri": {
17
+ type: "string",
18
+ format: "uri",
19
+ description: "URI to the ERC-8004 registration file"
20
+ },
21
+ type: {
22
+ type: "string",
23
+ description: "Registration file type discriminator"
24
+ },
25
+ name: {
26
+ type: "string",
27
+ description: "Agent display name"
28
+ },
29
+ description: {
30
+ type: "string",
31
+ description: "Natural-language description of the agent"
32
+ },
33
+ services: {
34
+ type: "string",
35
+ description: "Advertised service endpoints"
36
+ },
37
+ "x402-support": {
38
+ type: "boolean",
39
+ description: "Whether x402 payment flow is supported"
40
+ },
41
+ active: {
42
+ type: "string",
43
+ format: "boolean",
44
+ description: "Whether the agent is currently active"
45
+ },
46
+ registrations: {
47
+ type: "string",
48
+ description: "Cross-chain identity registrations"
49
+ },
50
+ "supported-trust": {
51
+ type: "string",
52
+ description: "Trust models supported by the agent"
53
+ },
54
+ "agent-wallet": {
55
+ type: "string",
56
+ description: "Verified payout wallet for agent operations"
57
+ }
58
+ };
59
+ var patternProperties = {
60
+ "^service([[^]]+])?$": {
61
+ type: "string",
62
+ description: "service[name] => endpoint, per ERC-8004 eg. service[MCP] => <ENDPOINT_URL>"
63
+ }
64
+ };
65
+ var required = [
66
+ "class"
67
+ ];
68
+ var recommended = [
69
+ "agent-uri"
70
+ ];
71
+ var schema_default = {
72
+ $id,
73
+ source,
74
+ title,
75
+ version,
76
+ description,
77
+ type,
78
+ properties,
79
+ patternProperties,
80
+ required,
81
+ recommended
82
+ };
83
+ export {
84
+ $id,
85
+ schema_default as default,
86
+ description,
87
+ patternProperties,
88
+ properties,
89
+ recommended,
90
+ required,
91
+ source,
92
+ title,
93
+ type,
94
+ version
95
+ };
@@ -0,0 +1,53 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/wallet/versions/1.0.0/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/wallet/1.0.0";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Wallet";
7
+ var version = "1.0.0";
8
+ var description = "A wallet for holding or managing assets.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Wallet",
14
+ description: "High-level identifier of this node type",
15
+ examples: [
16
+ "Wallet",
17
+ "Account"
18
+ ]
19
+ },
20
+ description: {
21
+ type: "string",
22
+ description: "Indicates the purpose of the wallet"
23
+ }
24
+ };
25
+ var required = [
26
+ "class"
27
+ ];
28
+ var recommended = [
29
+ "description"
30
+ ];
31
+ var schema_default = {
32
+ $id,
33
+ source,
34
+ title,
35
+ version,
36
+ description,
37
+ type,
38
+ properties,
39
+ required,
40
+ recommended
41
+ };
42
+ export {
43
+ $id,
44
+ schema_default as default,
45
+ description,
46
+ properties,
47
+ recommended,
48
+ required,
49
+ source,
50
+ title,
51
+ type,
52
+ version
53
+ };
@@ -0,0 +1,97 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/group/versions/0.1.4/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/group/0.1.4";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Group";
7
+ var version = "0.1.4";
8
+ var description = "This node describes a group of individuals or entities with a shared purpose or responsibility.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Group",
14
+ description: "High-level identifier of this node type",
15
+ examples: [
16
+ "Group",
17
+ "Committee",
18
+ "Council",
19
+ "Workgroup",
20
+ "Team"
21
+ ]
22
+ },
23
+ name: {
24
+ type: "string",
25
+ description: "The name of the group"
26
+ },
27
+ avatar: {
28
+ type: "string",
29
+ description: "A URL to an image used as an avatar or logo"
30
+ },
31
+ description: {
32
+ type: "string",
33
+ description: "A description of the name"
34
+ },
35
+ url: {
36
+ type: "string",
37
+ format: "uri",
38
+ description: "URL of the group"
39
+ },
40
+ lead: {
41
+ type: "string",
42
+ description: "ENS name or address of the group leader"
43
+ },
44
+ "lead-title": {
45
+ type: "string",
46
+ description: "Title or role of the group leader",
47
+ examples: [
48
+ "Lead Steward",
49
+ "Chair",
50
+ "Manager",
51
+ "Owner"
52
+ ]
53
+ },
54
+ "members-title": {
55
+ type: "string",
56
+ description: "Title or role of the group members",
57
+ examples: [
58
+ "Member",
59
+ "Steward",
60
+ "Contributor",
61
+ "Participant"
62
+ ]
63
+ }
64
+ };
65
+ var required = [
66
+ "class"
67
+ ];
68
+ var recommended = [
69
+ "name",
70
+ "lead",
71
+ "avatar",
72
+ "url",
73
+ "description"
74
+ ];
75
+ var schema_default = {
76
+ $id,
77
+ source,
78
+ title,
79
+ version,
80
+ description,
81
+ type,
82
+ properties,
83
+ required,
84
+ recommended
85
+ };
86
+ export {
87
+ $id,
88
+ schema_default as default,
89
+ description,
90
+ properties,
91
+ recommended,
92
+ required,
93
+ source,
94
+ title,
95
+ type,
96
+ version
97
+ };
@@ -0,0 +1,84 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/delegate/versions/1.0.0/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/delegate/1.0.0";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Delegate";
7
+ var version = "1.0.0";
8
+ var description = "A delegate.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Delegate",
14
+ description: "High-level identifier of this node type"
15
+ },
16
+ "legal-name": {
17
+ type: "string",
18
+ description: 'The full legal or preferred name of the delegate (e.g. "John Doe")'
19
+ },
20
+ "display-name": {
21
+ type: "string",
22
+ description: "A canonical display name for the delegate"
23
+ },
24
+ statement: {
25
+ type: "string",
26
+ description: "Generic delegate statement "
27
+ },
28
+ "conflict-of-interest": {
29
+ type: "string",
30
+ description: "Generic conflict of interest declaration "
31
+ },
32
+ "forum-handle": {
33
+ type: "string",
34
+ description: 'Default forum handle (e.g. "johndoe")'
35
+ }
36
+ };
37
+ var patternProperties = {
38
+ "^statement(\\[[^\\]]+\\])?$": {
39
+ type: "string",
40
+ description: "Delegate statement per organization (e.g. statement[dao.eth])"
41
+ },
42
+ "^conflict-of-interest(\\[[^\\]]+\\])?$": {
43
+ type: "string",
44
+ description: "Conflict of interest declaration per organization (e.g. conflict-of-interest[dao.eth])"
45
+ },
46
+ "^forum-handle(\\[[^\\]]+\\])?$": {
47
+ type: "string",
48
+ description: "Forum handle per organization (e.g. forum-handle[dao.eth])"
49
+ }
50
+ };
51
+ var required = [
52
+ "class"
53
+ ];
54
+ var recommended = [
55
+ "display-name",
56
+ "statement",
57
+ "conflict-of-interest",
58
+ "forum-handle"
59
+ ];
60
+ var schema_default = {
61
+ $id,
62
+ source,
63
+ title,
64
+ version,
65
+ description,
66
+ type,
67
+ properties,
68
+ patternProperties,
69
+ required,
70
+ recommended
71
+ };
72
+ export {
73
+ $id,
74
+ schema_default as default,
75
+ description,
76
+ patternProperties,
77
+ properties,
78
+ recommended,
79
+ required,
80
+ source,
81
+ title,
82
+ type,
83
+ version
84
+ };
@@ -0,0 +1,83 @@
1
+ import "./chunk-YZFATT7X.js";
2
+
3
+ // ../schemas/published/application/versions/1.0.0/schema.json
4
+ var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/application/1.0.0";
5
+ var source = "https://github.com/0xLighthouse/ens-node-metadata";
6
+ var title = "Application";
7
+ var version = "1.0.0";
8
+ var description = "An application, service, or dApp within the organization.";
9
+ var type = "object";
10
+ var properties = {
11
+ class: {
12
+ type: "string",
13
+ default: "Application",
14
+ description: "High-level identifier of this node type",
15
+ examples: [
16
+ "Application",
17
+ "Service",
18
+ "Website"
19
+ ]
20
+ },
21
+ name: {
22
+ type: "string",
23
+ description: "The name of the application"
24
+ },
25
+ description: {
26
+ type: "string",
27
+ description: "Description of the application's purpose and functionality"
28
+ },
29
+ url: {
30
+ type: "string",
31
+ format: "uri",
32
+ description: "URL where the application is hosted or accessed"
33
+ },
34
+ repository: {
35
+ type: "string",
36
+ description: "Source code repository URL"
37
+ },
38
+ version: {
39
+ type: "string",
40
+ description: "Current version of the application"
41
+ },
42
+ status: {
43
+ type: "string",
44
+ description: "Application status",
45
+ enum: [
46
+ "Active",
47
+ "Development",
48
+ "Deprecated"
49
+ ]
50
+ }
51
+ };
52
+ var required = [
53
+ "class"
54
+ ];
55
+ var recommended = [
56
+ "name",
57
+ "description",
58
+ "url",
59
+ "status"
60
+ ];
61
+ var schema_default = {
62
+ $id,
63
+ source,
64
+ title,
65
+ version,
66
+ description,
67
+ type,
68
+ properties,
69
+ required,
70
+ recommended
71
+ };
72
+ export {
73
+ $id,
74
+ schema_default as default,
75
+ description,
76
+ properties,
77
+ recommended,
78
+ required,
79
+ source,
80
+ title,
81
+ type,
82
+ version
83
+ };