@wowok/agent-mcp 2.3.6 → 2.3.8
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/dist/index.d.ts +1 -15838
- package/dist/index.js +40 -394
- package/dist/schema/call/bridge-handler.d.ts +5 -0
- package/dist/schema/call/bridge-handler.js +234 -0
- package/dist/schema/call/bridge.d.ts +2212 -0
- package/dist/schema/call/bridge.js +408 -0
- package/dist/schema/call/handler.js +29 -15
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/messenger/index.d.ts +74 -74
- package/dist/schema/operations.d.ts +24302 -0
- package/dist/schema/operations.js +393 -0
- package/dist/schema-query/index.d.ts +3 -1
- package/dist/schema-query/index.js +63 -3
- package/dist/schemas/account_operation.output.json +1395 -0
- package/dist/schemas/bridge_operation.output.json +64 -0
- package/dist/schemas/bridge_operation.schema.json +547 -0
- package/dist/schemas/guard2file.output.json +84 -0
- package/dist/schemas/index.json +33 -14
- package/dist/schemas/local_info_operation.output.json +70 -0
- package/dist/schemas/local_mark_operation.output.json +114 -0
- package/dist/schemas/machineNode2file.output.json +89 -0
- package/dist/schemas/messenger_operation.output.json +1068 -0
- package/dist/schemas/onchain_events.output.json +513 -0
- package/dist/schemas/onchain_operations.output.json +1764 -0
- package/dist/schemas/onchain_operations.schema.json +8324 -49
- package/dist/schemas/onchain_table_data.output.json +1938 -0
- package/dist/schemas/onchain_table_data.schema.json +483 -22
- package/dist/schemas/query_toolkit.output.json +18 -0
- package/dist/schemas/query_toolkit.schema.json +454 -19
- package/dist/schemas/schema_query.output.json +42 -0
- package/dist/schemas/schema_query.schema.json +1 -0
- package/dist/schemas/wip_file.output.json +116 -0
- package/dist/schemas/wip_file.schema.json +163 -15
- package/dist/schemas/wowok_buildin_info.output.json +577 -0
- package/package.json +2 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/guard2file.json",
|
|
4
|
+
"title": "Guard to File",
|
|
5
|
+
"description": "Export Guard definition to JSON/Markdown file",
|
|
6
|
+
"$ref": "#/definitions/guard2file",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"guard2file": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"result": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"status": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "success"
|
|
19
|
+
},
|
|
20
|
+
"data": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"file_path": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Absolute path of the exported file"
|
|
26
|
+
},
|
|
27
|
+
"format": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"json",
|
|
31
|
+
"markdown"
|
|
32
|
+
],
|
|
33
|
+
"description": "Export format"
|
|
34
|
+
},
|
|
35
|
+
"guard_object": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Guard object ID"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"file_path",
|
|
42
|
+
"format",
|
|
43
|
+
"guard_object"
|
|
44
|
+
],
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"description": "Success result data"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"status",
|
|
51
|
+
"data"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"status": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"const": "error"
|
|
61
|
+
},
|
|
62
|
+
"error": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Error message"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"status",
|
|
69
|
+
"error"
|
|
70
|
+
],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"description": "Guard2File operation output schema with discriminator"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"result"
|
|
79
|
+
],
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"description": "Guard2File operation output wrapped schema"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
package/dist/schemas/index.json
CHANGED
|
@@ -2,72 +2,91 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-07-
|
|
5
|
+
"generatedAt": "2026-07-07T01:29:49.445Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
9
9
|
"title": "On-chain Operations",
|
|
10
|
-
"path": "./onchain_operations.schema.json"
|
|
10
|
+
"path": "./onchain_operations.schema.json",
|
|
11
|
+
"outputPath": "./onchain_operations.output.json"
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
"name": "account_operation",
|
|
14
15
|
"title": "Account Operations",
|
|
15
|
-
"path": "./account_operation.schema.json"
|
|
16
|
+
"path": "./account_operation.schema.json",
|
|
17
|
+
"outputPath": "./account_operation.output.json"
|
|
16
18
|
},
|
|
17
19
|
{
|
|
18
20
|
"name": "local_mark_operation",
|
|
19
21
|
"title": "Local Mark Operations",
|
|
20
|
-
"path": "./local_mark_operation.schema.json"
|
|
22
|
+
"path": "./local_mark_operation.schema.json",
|
|
23
|
+
"outputPath": "./local_mark_operation.output.json"
|
|
21
24
|
},
|
|
22
25
|
{
|
|
23
26
|
"name": "local_info_operation",
|
|
24
27
|
"title": "Local Info Operations",
|
|
25
|
-
"path": "./local_info_operation.schema.json"
|
|
28
|
+
"path": "./local_info_operation.schema.json",
|
|
29
|
+
"outputPath": "./local_info_operation.output.json"
|
|
26
30
|
},
|
|
27
31
|
{
|
|
28
32
|
"name": "wip_file",
|
|
29
33
|
"title": "WIP File Operations",
|
|
30
|
-
"path": "./wip_file.schema.json"
|
|
34
|
+
"path": "./wip_file.schema.json",
|
|
35
|
+
"outputPath": "./wip_file.output.json"
|
|
31
36
|
},
|
|
32
37
|
{
|
|
33
38
|
"name": "messenger_operation",
|
|
34
39
|
"title": "Messenger Operations",
|
|
35
|
-
"path": "./messenger_operation.schema.json"
|
|
40
|
+
"path": "./messenger_operation.schema.json",
|
|
41
|
+
"outputPath": "./messenger_operation.output.json"
|
|
36
42
|
},
|
|
37
43
|
{
|
|
38
44
|
"name": "guard2file",
|
|
39
45
|
"title": "Guard to File",
|
|
40
|
-
"path": "./guard2file.schema.json"
|
|
46
|
+
"path": "./guard2file.schema.json",
|
|
47
|
+
"outputPath": "./guard2file.output.json"
|
|
41
48
|
},
|
|
42
49
|
{
|
|
43
50
|
"name": "machineNode2file",
|
|
44
51
|
"title": "Machine Node to File",
|
|
45
|
-
"path": "./machineNode2file.schema.json"
|
|
52
|
+
"path": "./machineNode2file.schema.json",
|
|
53
|
+
"outputPath": "./machineNode2file.output.json"
|
|
46
54
|
},
|
|
47
55
|
{
|
|
48
56
|
"name": "query_toolkit",
|
|
49
57
|
"title": "Data Query Toolkit",
|
|
50
|
-
"path": "./query_toolkit.schema.json"
|
|
58
|
+
"path": "./query_toolkit.schema.json",
|
|
59
|
+
"outputPath": "./query_toolkit.output.json"
|
|
51
60
|
},
|
|
52
61
|
{
|
|
53
62
|
"name": "onchain_table_data",
|
|
54
63
|
"title": "On-chain Table Data Query",
|
|
55
|
-
"path": "./onchain_table_data.schema.json"
|
|
64
|
+
"path": "./onchain_table_data.schema.json",
|
|
65
|
+
"outputPath": "./onchain_table_data.output.json"
|
|
56
66
|
},
|
|
57
67
|
{
|
|
58
68
|
"name": "onchain_events",
|
|
59
69
|
"title": "On-chain Events",
|
|
60
|
-
"path": "./onchain_events.schema.json"
|
|
70
|
+
"path": "./onchain_events.schema.json",
|
|
71
|
+
"outputPath": "./onchain_events.output.json"
|
|
61
72
|
},
|
|
62
73
|
{
|
|
63
74
|
"name": "wowok_buildin_info",
|
|
64
75
|
"title": "WoWok Build-in Information",
|
|
65
|
-
"path": "./wowok_buildin_info.schema.json"
|
|
76
|
+
"path": "./wowok_buildin_info.schema.json",
|
|
77
|
+
"outputPath": "./wowok_buildin_info.output.json"
|
|
66
78
|
},
|
|
67
79
|
{
|
|
68
80
|
"name": "schema_query",
|
|
69
81
|
"title": "Schema Query",
|
|
70
|
-
"path": "./schema_query.schema.json"
|
|
82
|
+
"path": "./schema_query.schema.json",
|
|
83
|
+
"outputPath": "./schema_query.output.json"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "bridge_operation",
|
|
87
|
+
"title": "Bridge - Cross-Chain Operations",
|
|
88
|
+
"path": "./bridge_operation.schema.json",
|
|
89
|
+
"outputPath": "./bridge_operation.output.json"
|
|
71
90
|
}
|
|
72
91
|
],
|
|
73
92
|
"operations": [
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/local_info_operation.json",
|
|
4
|
+
"title": "Local Info Operations",
|
|
5
|
+
"description": "Manage sensitive personal information locally",
|
|
6
|
+
"$ref": "#/definitions/local_info_operation",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"local_info_operation": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"result": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"status": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "success"
|
|
19
|
+
},
|
|
20
|
+
"data": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"success": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Whether successful"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"success"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"description": "Success result data"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"status",
|
|
37
|
+
"data"
|
|
38
|
+
],
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"status": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"const": "error"
|
|
47
|
+
},
|
|
48
|
+
"error": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Error message"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"status",
|
|
55
|
+
"error"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"description": "Local info operation output schema with discriminator"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"result"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"description": "Local info operation output wrapped schema"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/local_mark_operation.json",
|
|
4
|
+
"title": "Local Mark Operations",
|
|
5
|
+
"description": "Manage ID names and tags stored locally",
|
|
6
|
+
"$ref": "#/definitions/local_mark_operation",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"local_mark_operation": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"result": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"status": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "success"
|
|
19
|
+
},
|
|
20
|
+
"data": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"clear": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Whether all marks were successfully removed"
|
|
26
|
+
},
|
|
27
|
+
"add": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"name": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"maxLength": 64,
|
|
35
|
+
"description": "Mark name (max 64 bcs characters)"
|
|
36
|
+
},
|
|
37
|
+
"address": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Valid ID: 0x prefix + 64 hex characters, or builtin ID (0x5-0x9, @0xaaa, @0xaab, @0x403, @0xacc, @0xc)"
|
|
40
|
+
},
|
|
41
|
+
"tags": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"maxLength": 64
|
|
46
|
+
},
|
|
47
|
+
"maxItems": 50,
|
|
48
|
+
"description": "Tags for categorization (max 50 tags, each max 64 bcs characters)"
|
|
49
|
+
},
|
|
50
|
+
"createdAt": {
|
|
51
|
+
"type": "number",
|
|
52
|
+
"description": "Unix timestamp (ms) when this mark was created"
|
|
53
|
+
},
|
|
54
|
+
"updatedAt": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"description": "Unix timestamp (ms) when this mark was last modified"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"address"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"description": "LOCAL PRIVATE: Local mark data structure for storing address names and tags privately on your device. This data is NEVER published to the blockchain."
|
|
64
|
+
},
|
|
65
|
+
"description": "List of added mark data"
|
|
66
|
+
},
|
|
67
|
+
"remove": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"$ref": "#/definitions/local_mark_operation/properties/result/anyOf/0/properties/data/properties/add/items"
|
|
71
|
+
},
|
|
72
|
+
"description": "List of removed mark data"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "Success result data"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"status",
|
|
81
|
+
"data"
|
|
82
|
+
],
|
|
83
|
+
"additionalProperties": false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"status": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"const": "error"
|
|
91
|
+
},
|
|
92
|
+
"error": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"description": "Error message"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"status",
|
|
99
|
+
"error"
|
|
100
|
+
],
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"description": "Local mark operation output schema with discriminator"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": [
|
|
108
|
+
"result"
|
|
109
|
+
],
|
|
110
|
+
"additionalProperties": false,
|
|
111
|
+
"description": "Local mark operation output wrapped schema"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/machineNode2file.json",
|
|
4
|
+
"title": "Machine Node to File",
|
|
5
|
+
"description": "Export Machine node definition to JSON/Markdown file",
|
|
6
|
+
"$ref": "#/definitions/machineNode2file",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"machineNode2file": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"result": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"status": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "success"
|
|
19
|
+
},
|
|
20
|
+
"data": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"file_path": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Absolute path of the exported file"
|
|
26
|
+
},
|
|
27
|
+
"format": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"json",
|
|
31
|
+
"markdown"
|
|
32
|
+
],
|
|
33
|
+
"description": "Export format"
|
|
34
|
+
},
|
|
35
|
+
"machine_object": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Machine object ID"
|
|
38
|
+
},
|
|
39
|
+
"node_count": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"description": "Number of nodes exported"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": [
|
|
45
|
+
"file_path",
|
|
46
|
+
"format",
|
|
47
|
+
"machine_object",
|
|
48
|
+
"node_count"
|
|
49
|
+
],
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"description": "Success result data"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"status",
|
|
56
|
+
"data"
|
|
57
|
+
],
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"status": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"const": "error"
|
|
66
|
+
},
|
|
67
|
+
"error": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Error message"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"status",
|
|
74
|
+
"error"
|
|
75
|
+
],
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"description": "MachineNode2File operation output"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required": [
|
|
83
|
+
"result"
|
|
84
|
+
],
|
|
85
|
+
"additionalProperties": false,
|
|
86
|
+
"description": "MachineNode2File operation output wrapped schema"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|