@ens-node-metadata/agent 0.3.1 → 0.3.3
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 +32 -2
- package/SKILL.md +31 -21
- package/dist/{chunk-3VTAAUSG.js → chunk-6IGJKB4W.js} +5 -0
- package/dist/{chunk-UDZL55XF.js → chunk-BPAT5BZR.js} +30 -8
- package/dist/chunk-DXAESRZH.js +1122 -0
- package/dist/chunk-X6M7WZJF.js +43 -0
- package/dist/chunk-YZFATT7X.js +9 -0
- package/dist/cli.js +6 -1
- package/dist/commands/metadata/set.js +264 -11
- package/dist/commands/metadata/template.js +2 -1
- package/dist/commands/metadata/validate.js +2 -1
- package/dist/commands/registration-file/publish.js +2 -1
- package/dist/commands/registration-file/template.js +2 -0
- package/dist/commands/registration-file/validate.js +2 -1
- package/dist/commands/registry/identity/index.d.ts +3 -0
- package/dist/commands/registry/identity/index.js +7 -0
- package/dist/commands/registry/identity/query.d.ts +19 -0
- package/dist/commands/registry/identity/query.js +74 -0
- package/dist/commands/registry/identity/register.d.ts +25 -0
- package/dist/commands/registry/identity/register.js +112 -0
- package/dist/commands/registry/identity/set-uri.d.ts +25 -0
- package/dist/commands/registry/identity/set-uri.js +113 -0
- package/dist/commands/registry/identity/set-wallet.d.ts +31 -0
- package/dist/commands/registry/identity/set-wallet.js +191 -0
- package/dist/commands/registry/identity/unset-wallet.d.ts +25 -0
- package/dist/commands/registry/identity/unset-wallet.js +108 -0
- package/dist/commands/skill.js +2 -0
- package/dist/index.d.ts +83 -6
- package/dist/index.js +2 -1
- package/dist/meta-2D4D777X.js +99 -0
- package/dist/meta-3V4ARLLT.js +90 -0
- package/dist/meta-4FOJTBXM.js +99 -0
- package/dist/meta-4WYOTBTO.js +99 -0
- package/dist/meta-6ZW4JGML.js +99 -0
- package/dist/meta-CVZI45M2.js +99 -0
- package/dist/meta-GPMB2YZD.js +99 -0
- package/dist/meta-KQ3IEVWD.js +99 -0
- package/dist/meta-OVOAMXLB.js +99 -0
- package/dist/meta-PRCHJBWX.js +99 -0
- package/dist/meta-Q27UTR4Z.js +99 -0
- package/dist/meta-VOM2POTX.js +99 -0
- package/dist/schema-533SFVLQ.js +70 -0
- package/dist/schema-5VKXCUCI.js +58 -0
- package/dist/schema-FGOA4QOU.js +86 -0
- package/dist/schema-JNRQYFPA.js +79 -0
- package/dist/schema-JWSXL7CR.js +51 -0
- package/dist/schema-NESH3IQS.js +90 -0
- package/dist/schema-O4SLAGNC.js +65 -0
- package/dist/schema-SFNY6GI4.js +95 -0
- package/dist/schema-WUU2T2HE.js +53 -0
- package/dist/schema-YRD3DNDN.js +97 -0
- package/dist/schema-Z7FM6RGM.js +84 -0
- package/dist/schema-ZCETI367.js +83 -0
- package/package.json +5 -2
- package/dist/commands/registry/identity.d.ts +0 -19
- package/dist/commands/registry/identity.js +0 -91
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import "./chunk-YZFATT7X.js";
|
|
2
|
+
|
|
3
|
+
// ../schemas/published/org/versions/0.1.8/schema.json
|
|
4
|
+
var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/org/0.1.5";
|
|
5
|
+
var source = "https://github.com/0xLighthouse/ens-node-metadata";
|
|
6
|
+
var title = "Organization";
|
|
7
|
+
var version = "0.1.8";
|
|
8
|
+
var description = "A legal or organizational entity.";
|
|
9
|
+
var type = "object";
|
|
10
|
+
var properties = {
|
|
11
|
+
class: {
|
|
12
|
+
type: "string",
|
|
13
|
+
default: "Organization",
|
|
14
|
+
description: "High-level identifier of this node type",
|
|
15
|
+
examples: [
|
|
16
|
+
"Organization",
|
|
17
|
+
"Foundation",
|
|
18
|
+
"OPCo"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
name: {
|
|
22
|
+
type: "string",
|
|
23
|
+
description: "The name of this business unit"
|
|
24
|
+
},
|
|
25
|
+
avatar: {
|
|
26
|
+
type: "string",
|
|
27
|
+
description: "A URL to an image used as an avatar or logo"
|
|
28
|
+
},
|
|
29
|
+
description: {
|
|
30
|
+
type: "string",
|
|
31
|
+
description: "A description of the name"
|
|
32
|
+
},
|
|
33
|
+
url: {
|
|
34
|
+
type: "string",
|
|
35
|
+
format: "uri",
|
|
36
|
+
description: "URL of the organization"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var required = [
|
|
40
|
+
"class"
|
|
41
|
+
];
|
|
42
|
+
var recommended = [
|
|
43
|
+
"name",
|
|
44
|
+
"avatar",
|
|
45
|
+
"description",
|
|
46
|
+
"url"
|
|
47
|
+
];
|
|
48
|
+
var schema_default = {
|
|
49
|
+
$id,
|
|
50
|
+
source,
|
|
51
|
+
title,
|
|
52
|
+
version,
|
|
53
|
+
description,
|
|
54
|
+
type,
|
|
55
|
+
properties,
|
|
56
|
+
required,
|
|
57
|
+
recommended
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
$id,
|
|
61
|
+
schema_default as default,
|
|
62
|
+
description,
|
|
63
|
+
properties,
|
|
64
|
+
recommended,
|
|
65
|
+
required,
|
|
66
|
+
source,
|
|
67
|
+
title,
|
|
68
|
+
type,
|
|
69
|
+
version
|
|
70
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import "./chunk-YZFATT7X.js";
|
|
2
|
+
|
|
3
|
+
// ../schemas/published/treasury/versions/1.0.0/schema.json
|
|
4
|
+
var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/treasury/1.0.0";
|
|
5
|
+
var source = "https://github.com/0xLighthouse/ens-node-metadata";
|
|
6
|
+
var title = "Treasury";
|
|
7
|
+
var version = "1.0.0";
|
|
8
|
+
var description = "Funds and assets managed by a collective of individuals or entities.";
|
|
9
|
+
var type = "object";
|
|
10
|
+
var properties = {
|
|
11
|
+
class: {
|
|
12
|
+
type: "string",
|
|
13
|
+
default: "Treasury",
|
|
14
|
+
description: "High-level identifier of this node type",
|
|
15
|
+
examples: [
|
|
16
|
+
"Treasury",
|
|
17
|
+
"Vault"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
name: {
|
|
21
|
+
type: "string",
|
|
22
|
+
description: "The name of the treasury"
|
|
23
|
+
},
|
|
24
|
+
description: {
|
|
25
|
+
type: "string",
|
|
26
|
+
description: "A description of the name"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
var required = [
|
|
30
|
+
"class"
|
|
31
|
+
];
|
|
32
|
+
var recommended = [
|
|
33
|
+
"name",
|
|
34
|
+
"description"
|
|
35
|
+
];
|
|
36
|
+
var schema_default = {
|
|
37
|
+
$id,
|
|
38
|
+
source,
|
|
39
|
+
title,
|
|
40
|
+
version,
|
|
41
|
+
description,
|
|
42
|
+
type,
|
|
43
|
+
properties,
|
|
44
|
+
required,
|
|
45
|
+
recommended
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
$id,
|
|
49
|
+
schema_default as default,
|
|
50
|
+
description,
|
|
51
|
+
properties,
|
|
52
|
+
recommended,
|
|
53
|
+
required,
|
|
54
|
+
source,
|
|
55
|
+
title,
|
|
56
|
+
type,
|
|
57
|
+
version
|
|
58
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import "./chunk-YZFATT7X.js";
|
|
2
|
+
|
|
3
|
+
// ../schemas/published/grant/versions/1.0.0/schema.json
|
|
4
|
+
var $id = "https://github.com/0xLighthouse/ens-node-metadata/schemas/grantProgram/1.0.0";
|
|
5
|
+
var source = "https://github.com/0xLighthouse/ens-node-metadata";
|
|
6
|
+
var title = "Grant";
|
|
7
|
+
var version = "1.0.0";
|
|
8
|
+
var description = "A grant issued by an organization.";
|
|
9
|
+
var type = "object";
|
|
10
|
+
var properties = {
|
|
11
|
+
class: {
|
|
12
|
+
type: "string",
|
|
13
|
+
default: "Grant",
|
|
14
|
+
description: "High-level identifier of this node type",
|
|
15
|
+
examples: [
|
|
16
|
+
"Grant",
|
|
17
|
+
"GrantProgram"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
name: {
|
|
21
|
+
type: "string",
|
|
22
|
+
description: "The name of the grant program"
|
|
23
|
+
},
|
|
24
|
+
description: {
|
|
25
|
+
type: "string",
|
|
26
|
+
description: "Description of the grant purpose and scope"
|
|
27
|
+
},
|
|
28
|
+
url: {
|
|
29
|
+
type: "string",
|
|
30
|
+
format: "uri",
|
|
31
|
+
description: "URL of the grant program"
|
|
32
|
+
},
|
|
33
|
+
status: {
|
|
34
|
+
type: "string",
|
|
35
|
+
description: "Grant status",
|
|
36
|
+
enum: [
|
|
37
|
+
"Active",
|
|
38
|
+
"Incomplete",
|
|
39
|
+
"Pending",
|
|
40
|
+
"Completed",
|
|
41
|
+
"Cancelled"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
budget: {
|
|
45
|
+
type: "string",
|
|
46
|
+
description: "Total budget expressed as WEI eg. 100 USDC = 100 * 10^6"
|
|
47
|
+
},
|
|
48
|
+
token: {
|
|
49
|
+
type: "string",
|
|
50
|
+
description: 'Token expressed as ERC-20 token address eg. "0x0000000000000000000000000000000000000000"'
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var required = [
|
|
54
|
+
"class"
|
|
55
|
+
];
|
|
56
|
+
var recommended = [
|
|
57
|
+
"name",
|
|
58
|
+
"description",
|
|
59
|
+
"url",
|
|
60
|
+
"status",
|
|
61
|
+
"budget",
|
|
62
|
+
"token"
|
|
63
|
+
];
|
|
64
|
+
var schema_default = {
|
|
65
|
+
$id,
|
|
66
|
+
source,
|
|
67
|
+
title,
|
|
68
|
+
version,
|
|
69
|
+
description,
|
|
70
|
+
type,
|
|
71
|
+
properties,
|
|
72
|
+
required,
|
|
73
|
+
recommended
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
$id,
|
|
77
|
+
schema_default as default,
|
|
78
|
+
description,
|
|
79
|
+
properties,
|
|
80
|
+
recommended,
|
|
81
|
+
required,
|
|
82
|
+
source,
|
|
83
|
+
title,
|
|
84
|
+
type,
|
|
85
|
+
version
|
|
86
|
+
};
|
|
@@ -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
|
+
};
|