@wowok/agent-mcp 2.3.7 → 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.
Files changed (38) hide show
  1. package/dist/index.d.ts +1 -15838
  2. package/dist/index.js +40 -394
  3. package/dist/schema/call/bridge-handler.d.ts +5 -0
  4. package/dist/schema/call/bridge-handler.js +234 -0
  5. package/dist/schema/call/bridge.d.ts +2212 -0
  6. package/dist/schema/call/bridge.js +408 -0
  7. package/dist/schema/call/handler.js +29 -15
  8. package/dist/schema/call/index.d.ts +1 -0
  9. package/dist/schema/call/index.js +1 -0
  10. package/dist/schema/index.d.ts +1 -0
  11. package/dist/schema/index.js +1 -0
  12. package/dist/schema/messenger/index.d.ts +74 -74
  13. package/dist/schema/operations.d.ts +24302 -0
  14. package/dist/schema/operations.js +393 -0
  15. package/dist/schema-query/index.d.ts +3 -1
  16. package/dist/schema-query/index.js +63 -3
  17. package/dist/schemas/account_operation.output.json +1395 -0
  18. package/dist/schemas/bridge_operation.output.json +64 -0
  19. package/dist/schemas/bridge_operation.schema.json +547 -0
  20. package/dist/schemas/guard2file.output.json +84 -0
  21. package/dist/schemas/index.json +33 -14
  22. package/dist/schemas/local_info_operation.output.json +70 -0
  23. package/dist/schemas/local_mark_operation.output.json +114 -0
  24. package/dist/schemas/machineNode2file.output.json +89 -0
  25. package/dist/schemas/messenger_operation.output.json +1068 -0
  26. package/dist/schemas/onchain_events.output.json +513 -0
  27. package/dist/schemas/onchain_operations.output.json +1764 -0
  28. package/dist/schemas/onchain_operations.schema.json +8324 -49
  29. package/dist/schemas/onchain_table_data.output.json +1938 -0
  30. package/dist/schemas/onchain_table_data.schema.json +483 -22
  31. package/dist/schemas/query_toolkit.output.json +18 -0
  32. package/dist/schemas/query_toolkit.schema.json +454 -19
  33. package/dist/schemas/schema_query.output.json +42 -0
  34. package/dist/schemas/schema_query.schema.json +1 -0
  35. package/dist/schemas/wip_file.output.json +116 -0
  36. package/dist/schemas/wip_file.schema.json +163 -15
  37. package/dist/schemas/wowok_buildin_info.output.json +577 -0
  38. package/package.json +2 -2
@@ -0,0 +1,577 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://wowok.net/schemas/wowok_buildin_info.json",
4
+ "title": "WoWok Build-in Information",
5
+ "description": "Query WoWok protocol information",
6
+ "$ref": "#/definitions/wowok_buildin_info",
7
+ "definitions": {
8
+ "wowok_buildin_info": {
9
+ "type": "object",
10
+ "properties": {
11
+ "result": {
12
+ "anyOf": [
13
+ {
14
+ "type": "object",
15
+ "properties": {
16
+ "info": {
17
+ "type": "string",
18
+ "const": "constants"
19
+ },
20
+ "result": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "name": {
26
+ "type": "string",
27
+ "description": "Name"
28
+ },
29
+ "value": {
30
+ "type": [
31
+ "string",
32
+ "number"
33
+ ],
34
+ "description": "Value"
35
+ },
36
+ "description": {
37
+ "type": "string",
38
+ "description": "Description"
39
+ }
40
+ },
41
+ "required": [
42
+ "name",
43
+ "value",
44
+ "description"
45
+ ],
46
+ "additionalProperties": false,
47
+ "description": "Constant item"
48
+ },
49
+ "description": "Constants result"
50
+ }
51
+ },
52
+ "required": [
53
+ "info",
54
+ "result"
55
+ ],
56
+ "additionalProperties": false
57
+ },
58
+ {
59
+ "type": "object",
60
+ "properties": {
61
+ "info": {
62
+ "type": "string",
63
+ "const": "built-in permissions"
64
+ },
65
+ "result": {
66
+ "type": "array",
67
+ "items": {
68
+ "type": "object",
69
+ "properties": {
70
+ "index": {
71
+ "type": "number",
72
+ "description": "Permission index"
73
+ },
74
+ "name": {
75
+ "type": "string",
76
+ "description": "Name"
77
+ },
78
+ "description": {
79
+ "type": "string",
80
+ "description": "Description"
81
+ },
82
+ "object_type": {
83
+ "type": "string",
84
+ "description": "Object type"
85
+ }
86
+ },
87
+ "required": [
88
+ "index",
89
+ "name",
90
+ "description",
91
+ "object_type"
92
+ ],
93
+ "additionalProperties": false,
94
+ "description": "Permission info type"
95
+ },
96
+ "description": "Built-in permissions result"
97
+ }
98
+ },
99
+ "required": [
100
+ "info",
101
+ "result"
102
+ ],
103
+ "additionalProperties": false
104
+ },
105
+ {
106
+ "type": "object",
107
+ "properties": {
108
+ "info": {
109
+ "type": "string",
110
+ "const": "guard instructions"
111
+ },
112
+ "result": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "object",
116
+ "properties": {
117
+ "name": {
118
+ "type": "string",
119
+ "description": "Name of the guard instruction or query"
120
+ },
121
+ "id": {
122
+ "anyOf": [
123
+ {
124
+ "type": "integer"
125
+ },
126
+ {
127
+ "type": "integer",
128
+ "minimum": 0,
129
+ "description": "Query ID"
130
+ }
131
+ ],
132
+ "description": "ID of the guard instruction or query"
133
+ },
134
+ "description": {
135
+ "type": "string",
136
+ "description": "Description"
137
+ },
138
+ "returnType": {
139
+ "anyOf": [
140
+ {
141
+ "anyOf": [
142
+ {
143
+ "anyOf": [
144
+ {
145
+ "type": "number",
146
+ "const": 0,
147
+ "description": "Bool (0)"
148
+ },
149
+ {
150
+ "type": "number",
151
+ "const": 1,
152
+ "description": "Address (1)"
153
+ },
154
+ {
155
+ "type": "number",
156
+ "const": 2,
157
+ "description": "String (2)"
158
+ },
159
+ {
160
+ "type": "number",
161
+ "const": 3,
162
+ "description": "U8 (3)"
163
+ },
164
+ {
165
+ "type": "number",
166
+ "const": 4,
167
+ "description": "U16 (4)"
168
+ },
169
+ {
170
+ "type": "number",
171
+ "const": 5,
172
+ "description": "U32 (5)"
173
+ },
174
+ {
175
+ "type": "number",
176
+ "const": 6,
177
+ "description": "U64 (6)"
178
+ },
179
+ {
180
+ "type": "number",
181
+ "const": 7,
182
+ "description": "U128 (7)"
183
+ },
184
+ {
185
+ "type": "number",
186
+ "const": 8,
187
+ "description": "U256 (8)"
188
+ },
189
+ {
190
+ "type": "number",
191
+ "const": 9,
192
+ "description": "VecBool (9)"
193
+ },
194
+ {
195
+ "type": "number",
196
+ "const": 10,
197
+ "description": "VecAddress (10)"
198
+ },
199
+ {
200
+ "type": "number",
201
+ "const": 11,
202
+ "description": "VecString (11)"
203
+ },
204
+ {
205
+ "type": "number",
206
+ "const": 12,
207
+ "description": "VecU8 (12)"
208
+ },
209
+ {
210
+ "type": "number",
211
+ "const": 13,
212
+ "description": "VecU16 (13)"
213
+ },
214
+ {
215
+ "type": "number",
216
+ "const": 14,
217
+ "description": "VecU32 (14)"
218
+ },
219
+ {
220
+ "type": "number",
221
+ "const": 15,
222
+ "description": "VecU64 (15)"
223
+ },
224
+ {
225
+ "type": "number",
226
+ "const": 16,
227
+ "description": "VecU128 (16)"
228
+ },
229
+ {
230
+ "type": "number",
231
+ "const": 17,
232
+ "description": "VecU256 (17)"
233
+ },
234
+ {
235
+ "type": "number",
236
+ "const": 18,
237
+ "description": "VecVecU8 (18)"
238
+ },
239
+ {
240
+ "type": "string",
241
+ "const": "Bool",
242
+ "description": "Bool"
243
+ },
244
+ {
245
+ "type": "string",
246
+ "const": "Address",
247
+ "description": "Address"
248
+ },
249
+ {
250
+ "type": "string",
251
+ "const": "String",
252
+ "description": "String"
253
+ },
254
+ {
255
+ "type": "string",
256
+ "const": "U8",
257
+ "description": "U8"
258
+ },
259
+ {
260
+ "type": "string",
261
+ "const": "U16",
262
+ "description": "U16"
263
+ },
264
+ {
265
+ "type": "string",
266
+ "const": "U32",
267
+ "description": "U32"
268
+ },
269
+ {
270
+ "type": "string",
271
+ "const": "U64",
272
+ "description": "U64"
273
+ },
274
+ {
275
+ "type": "string",
276
+ "const": "U128",
277
+ "description": "U128"
278
+ },
279
+ {
280
+ "type": "string",
281
+ "const": "U256",
282
+ "description": "U256"
283
+ },
284
+ {
285
+ "type": "string",
286
+ "const": "VecBool",
287
+ "description": "VecBool"
288
+ },
289
+ {
290
+ "type": "string",
291
+ "const": "VecAddress",
292
+ "description": "VecAddress"
293
+ },
294
+ {
295
+ "type": "string",
296
+ "const": "VecString",
297
+ "description": "VecString"
298
+ },
299
+ {
300
+ "type": "string",
301
+ "const": "VecU8",
302
+ "description": "VecU8"
303
+ },
304
+ {
305
+ "type": "string",
306
+ "const": "VecU16",
307
+ "description": "VecU16"
308
+ },
309
+ {
310
+ "type": "string",
311
+ "const": "VecU32",
312
+ "description": "VecU32"
313
+ },
314
+ {
315
+ "type": "string",
316
+ "const": "VecU64",
317
+ "description": "VecU64"
318
+ },
319
+ {
320
+ "type": "string",
321
+ "const": "VecU128",
322
+ "description": "VecU128"
323
+ },
324
+ {
325
+ "type": "string",
326
+ "const": "VecU256",
327
+ "description": "VecU256"
328
+ },
329
+ {
330
+ "type": "string",
331
+ "const": "VecVecU8",
332
+ "description": "VecVecU8"
333
+ },
334
+ {
335
+ "type": "string",
336
+ "const": "bool",
337
+ "description": "bool"
338
+ },
339
+ {
340
+ "type": "string",
341
+ "const": "address",
342
+ "description": "address"
343
+ },
344
+ {
345
+ "type": "string",
346
+ "const": "string",
347
+ "description": "string"
348
+ },
349
+ {
350
+ "type": "string",
351
+ "const": "u8",
352
+ "description": "u8"
353
+ },
354
+ {
355
+ "type": "string",
356
+ "const": "u16",
357
+ "description": "u16"
358
+ },
359
+ {
360
+ "type": "string",
361
+ "const": "u32",
362
+ "description": "u32"
363
+ },
364
+ {
365
+ "type": "string",
366
+ "const": "u64",
367
+ "description": "u64"
368
+ },
369
+ {
370
+ "type": "string",
371
+ "const": "u128",
372
+ "description": "u128"
373
+ },
374
+ {
375
+ "type": "string",
376
+ "const": "u256",
377
+ "description": "u256"
378
+ },
379
+ {
380
+ "type": "string",
381
+ "const": "vecbool",
382
+ "description": "vecbool"
383
+ },
384
+ {
385
+ "type": "string",
386
+ "const": "vecaddress",
387
+ "description": "vecaddress"
388
+ },
389
+ {
390
+ "type": "string",
391
+ "const": "vecstring",
392
+ "description": "vecstring"
393
+ },
394
+ {
395
+ "type": "string",
396
+ "const": "vecu8",
397
+ "description": "vecu8"
398
+ },
399
+ {
400
+ "type": "string",
401
+ "const": "vecu16",
402
+ "description": "vecu16"
403
+ },
404
+ {
405
+ "type": "string",
406
+ "const": "vecu32",
407
+ "description": "vecu32"
408
+ },
409
+ {
410
+ "type": "string",
411
+ "const": "vecu64",
412
+ "description": "vecu64"
413
+ },
414
+ {
415
+ "type": "string",
416
+ "const": "vecu128",
417
+ "description": "vecu128"
418
+ },
419
+ {
420
+ "type": "string",
421
+ "const": "vecu256",
422
+ "description": "vecu256"
423
+ },
424
+ {
425
+ "type": "string",
426
+ "const": "vecvecu8",
427
+ "description": "vecvecu8"
428
+ }
429
+ ],
430
+ "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
431
+ },
432
+ {
433
+ "type": "number",
434
+ "const": 19,
435
+ "description": "Value (19)"
436
+ }
437
+ ],
438
+ "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
439
+ },
440
+ {
441
+ "type": "string",
442
+ "const": "Value",
443
+ "description": "Value"
444
+ }
445
+ ],
446
+ "description": "Return type for guard instruction"
447
+ },
448
+ "objectType": {
449
+ "type": "string",
450
+ "enum": [
451
+ "Permission",
452
+ "Repository",
453
+ "Arb",
454
+ "Arbitration",
455
+ "Service",
456
+ "Machine",
457
+ "Order",
458
+ "Progress",
459
+ "Payment",
460
+ "Treasury",
461
+ "Guard",
462
+ "Demand",
463
+ "Passport",
464
+ "Allocation",
465
+ "Resource",
466
+ "Reward",
467
+ "Discount",
468
+ "EntityRegistrar",
469
+ "EntityLinker",
470
+ "Proof",
471
+ "WReceivedObject",
472
+ "Contact",
473
+ "TableItem_ProgressHistory",
474
+ "TableItem_PermissionPerm",
475
+ "TableItem_DemandPresenter",
476
+ "TableItem_MachineNode",
477
+ "TableItem_TreasuryHistory",
478
+ "TableItem_RepositoryData",
479
+ "TableItem_RewardRecord",
480
+ "TableItem_EntityLinker",
481
+ "TableItem_AddressMark",
482
+ "TableItem_EntityRegistrar"
483
+ ],
484
+ "description": "Object type for guard query"
485
+ },
486
+ "parameters": {
487
+ "type": "array",
488
+ "items": {
489
+ "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/2/properties/result/items/properties/returnType"
490
+ },
491
+ "description": "Parameters for guard query"
492
+ },
493
+ "return": {
494
+ "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/2/properties/result/items/properties/returnType",
495
+ "description": "Return type for guard query"
496
+ },
497
+ "parameters_description": {
498
+ "type": "array",
499
+ "items": {
500
+ "type": "string"
501
+ },
502
+ "description": "Parameter descriptions for guard query"
503
+ }
504
+ },
505
+ "required": [
506
+ "name",
507
+ "id",
508
+ "description"
509
+ ],
510
+ "additionalProperties": false,
511
+ "description": "Guard item - either a guard instruction or a guard query"
512
+ },
513
+ "description": "Guard instructions result"
514
+ }
515
+ },
516
+ "required": [
517
+ "info",
518
+ "result"
519
+ ],
520
+ "additionalProperties": false
521
+ },
522
+ {
523
+ "type": "object",
524
+ "properties": {
525
+ "info": {
526
+ "type": "string",
527
+ "const": "current network"
528
+ },
529
+ "result": {
530
+ "type": "string",
531
+ "enum": [
532
+ "localnet",
533
+ "testnet",
534
+ "mainnet"
535
+ ],
536
+ "description": "Current network entrypoint"
537
+ }
538
+ },
539
+ "required": [
540
+ "info",
541
+ "result"
542
+ ],
543
+ "additionalProperties": false
544
+ },
545
+ {
546
+ "type": "object",
547
+ "properties": {
548
+ "info": {
549
+ "type": "string",
550
+ "const": "value types"
551
+ },
552
+ "result": {
553
+ "type": "array",
554
+ "items": {
555
+ "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/0/properties/result/items"
556
+ },
557
+ "description": "Value types result - each item contains name (string), value (string), and description showing the numeric mapping"
558
+ }
559
+ },
560
+ "required": [
561
+ "info",
562
+ "result"
563
+ ],
564
+ "additionalProperties": false
565
+ }
566
+ ],
567
+ "description": "Protocol info result"
568
+ }
569
+ },
570
+ "required": [
571
+ "result"
572
+ ],
573
+ "additionalProperties": false,
574
+ "description": "Protocol info result"
575
+ }
576
+ }
577
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wowok/agent-mcp",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  "license": "Apache-2.0",
37
37
  "dependencies": {
38
38
  "@modelcontextprotocol/sdk": "^1.29.0",
39
- "@wowok/wowok": "2.3.7",
39
+ "@wowok/wowok": "2.3.8",
40
40
  "lodash": "^4.18.1",
41
41
  "zod": "^3.25.76"
42
42
  },