@wowok/agent-mcp 2.3.7 → 2.3.9
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/base.d.ts +24 -24
- 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/call/service.js +1 -1
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/local/index.d.ts +70 -70
- package/dist/schema/local/index.js +2 -2
- 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 +1397 -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 +1766 -0
- package/dist/schemas/onchain_operations.schema.json +8324 -49
- package/dist/schemas/onchain_operations_service.schema.json +1 -1
- 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 -2
|
@@ -6,22 +6,170 @@
|
|
|
6
6
|
"$ref": "#/definitions/wip_file",
|
|
7
7
|
"definitions": {
|
|
8
8
|
"wip_file": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "generate"
|
|
16
|
+
},
|
|
17
|
+
"options": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"markdown_text": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"maxLength": 10000,
|
|
23
|
+
"description": "Markdown formatted text content"
|
|
24
|
+
},
|
|
25
|
+
"images": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"source": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Image source path or URL. Supports: 1) Local file path (e.g., '/path/to/image.png', 'C:\\Users\\name\\image.jpg'), 2) Network URL (e.g., 'https://example.com/image.png', 'http://site.com/photo.jpg'), 3) Data URL (e.g., 'data:image/png;base64,iVBORw0K...')"
|
|
33
|
+
},
|
|
34
|
+
"id": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Optional image ID for reference in the WIP content. If not provided, an ID will be auto-generated based on index (e.g., 'image_0', 'image_1')"
|
|
37
|
+
},
|
|
38
|
+
"filename": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Optional file name. If not provided, will be extracted from URL path or local file name"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"source"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "Image source for WIP generation"
|
|
48
|
+
},
|
|
49
|
+
"maxItems": 10,
|
|
50
|
+
"description": "Optional image list"
|
|
51
|
+
},
|
|
52
|
+
"account": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Optional signing account (account name or address). If specified, uses Account module for signing"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"markdown_text"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"description": "WIP generation options"
|
|
62
|
+
},
|
|
63
|
+
"outputPath": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "Output file path (.wip file). If file exists, it will be overwritten"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"type",
|
|
70
|
+
"options",
|
|
71
|
+
"outputPath"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"description": "Generate WIP file from markdown text and optional images"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"type": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"const": "verify"
|
|
82
|
+
},
|
|
83
|
+
"wipFilePath": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "WIP file path to verify. Supports: 1) Local file path (e.g., '/path/to/file.wip', 'C:\\Users\\name\\doc.wip'), 2) Network URL (e.g., 'https://example.com/doc.wip', 'http://site.com/file.wip'), 3) Data URL (e.g., 'data:application/json;base64,eyJ3aXAiOi...')"
|
|
86
|
+
},
|
|
87
|
+
"hash_equal": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Optional expected hash value. If provided, the function will first verify if the file's hash matches this value. If not matched, returns hash mismatch error."
|
|
90
|
+
},
|
|
91
|
+
"requireSignature": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"description": "Optional flag to require digital signature. If true, verification will fail if WIP file has no signature"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": [
|
|
97
|
+
"type",
|
|
98
|
+
"wipFilePath"
|
|
99
|
+
],
|
|
100
|
+
"additionalProperties": false,
|
|
101
|
+
"description": "Verify WIP file integrity and signatures"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"type": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"const": "sign"
|
|
109
|
+
},
|
|
110
|
+
"wipFilePath": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "WIP file path to sign. Supports: 1) Local file path (e.g., '/path/to/file.wip'), 2) Network URL (e.g., 'https://example.com/doc.wip'). The file will be loaded, validated, and signed"
|
|
113
|
+
},
|
|
114
|
+
"account": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "Signing account (account name or address). If not specified, uses default account"
|
|
117
|
+
},
|
|
118
|
+
"outputPath": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "Output file path. If not specified, adds 'signed_' prefix to original file name (e.g., 'doc.wip' becomes 'signed_doc.wip')"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"type",
|
|
125
|
+
"wipFilePath"
|
|
126
|
+
],
|
|
127
|
+
"additionalProperties": false,
|
|
128
|
+
"description": "Sign WIP file with account"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"type": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"const": "wip2html"
|
|
136
|
+
},
|
|
137
|
+
"wipPath": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "WIP file path or directory path. Supports: 1) Single WIP file (e.g., '/path/to/file.wip'), 2) Directory containing .wip files (e.g., '/path/to/wips/'), 3) Network URL (e.g., 'https://example.com/doc.wip'). When directory is provided, all .wip files in the directory will be converted to HTML"
|
|
140
|
+
},
|
|
141
|
+
"options": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"title": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "HTML page title"
|
|
147
|
+
},
|
|
148
|
+
"theme": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"enum": [
|
|
151
|
+
"light",
|
|
152
|
+
"dark"
|
|
153
|
+
],
|
|
154
|
+
"description": "Theme style"
|
|
155
|
+
},
|
|
156
|
+
"outputPath": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "Output file path (if specified, saves to file). For single file: saves HTML to this path. For directory: saves all converted HTML files to this directory"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"description": "Conversion options"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"type",
|
|
167
|
+
"wipPath"
|
|
168
|
+
],
|
|
169
|
+
"additionalProperties": false,
|
|
170
|
+
"description": "Convert WIP file to HTML format"
|
|
19
171
|
}
|
|
20
|
-
|
|
21
|
-
"required": [
|
|
22
|
-
"type"
|
|
23
|
-
],
|
|
24
|
-
"additionalProperties": false
|
|
172
|
+
]
|
|
25
173
|
}
|
|
26
174
|
}
|
|
27
175
|
}
|