@wowok/agent-mcp 2.2.22 → 2.3.1

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 (57) hide show
  1. package/dist/index.d.ts +86 -126
  2. package/dist/schema/call/allocation.d.ts +1 -1
  3. package/dist/schema/call/arbitration.d.ts +1 -1
  4. package/dist/schema/call/arbitration.js +1 -1
  5. package/dist/schema/call/base.d.ts +1 -1
  6. package/dist/schema/call/contact.d.ts +1 -1
  7. package/dist/schema/call/demand.d.ts +1 -1
  8. package/dist/schema/call/demand.js +1 -1
  9. package/dist/schema/call/guard.d.ts +3 -3
  10. package/dist/schema/call/machine.d.ts +4 -4
  11. package/dist/schema/call/machine.js +1 -1
  12. package/dist/schema/call/order.d.ts +15 -15
  13. package/dist/schema/call/order.js +1 -1
  14. package/dist/schema/call/payment.d.ts +1 -1
  15. package/dist/schema/call/permission.d.ts +1 -1
  16. package/dist/schema/call/permission.js +1 -1
  17. package/dist/schema/call/personal.d.ts +1 -1
  18. package/dist/schema/call/progress.d.ts +1 -1
  19. package/dist/schema/call/proof.d.ts +13 -98
  20. package/dist/schema/call/proof.js +3 -3
  21. package/dist/schema/call/repository.d.ts +79 -79
  22. package/dist/schema/call/repository.js +4 -3
  23. package/dist/schema/call/reward.d.ts +1 -1
  24. package/dist/schema/call/reward.js +1 -1
  25. package/dist/schema/call/service.d.ts +46 -46
  26. package/dist/schema/call/service.js +3 -3
  27. package/dist/schema/call/treasury.d.ts +9 -69
  28. package/dist/schema/call/treasury.js +1 -1
  29. package/dist/schema/common/index.d.ts +3 -3
  30. package/dist/schema/common/index.js +2 -0
  31. package/dist/schema/local/index.d.ts +11 -11
  32. package/dist/schema/messenger/index.d.ts +1 -1
  33. package/dist/schema/query/index.d.ts +58 -58
  34. package/dist/schema/query/index.js +2 -2
  35. package/dist/schemas/account_operation.schema.json +4 -2
  36. package/dist/schemas/guard2file.schema.json +2 -1
  37. package/dist/schemas/index.json +1 -1
  38. package/dist/schemas/machineNode2file.schema.json +2 -1
  39. package/dist/schemas/messenger_operation.schema.json +2 -1
  40. package/dist/schemas/onchain_events.schema.json +2 -1
  41. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  42. package/dist/schemas/onchain_operations_arbitration.schema.json +3 -2
  43. package/dist/schemas/onchain_operations_contact.schema.json +2 -1
  44. package/dist/schemas/onchain_operations_demand.schema.json +3 -2
  45. package/dist/schemas/onchain_operations_gen_passport.schema.json +4 -2
  46. package/dist/schemas/onchain_operations_guard.schema.json +2 -1
  47. package/dist/schemas/onchain_operations_machine.schema.json +10 -5
  48. package/dist/schemas/onchain_operations_order.schema.json +6 -5
  49. package/dist/schemas/onchain_operations_payment.schema.json +2 -1
  50. package/dist/schemas/onchain_operations_permission.schema.json +3 -2
  51. package/dist/schemas/onchain_operations_personal.schema.json +2 -1
  52. package/dist/schemas/onchain_operations_progress.schema.json +2 -1
  53. package/dist/schemas/onchain_operations_repository.schema.json +9 -5
  54. package/dist/schemas/onchain_operations_reward.schema.json +3 -2
  55. package/dist/schemas/onchain_operations_service.schema.json +6 -2
  56. package/dist/schemas/onchain_operations_treasury.schema.json +4 -3
  57. package/package.json +2 -2
@@ -329,7 +329,8 @@
329
329
  "type": "string",
330
330
  "enum": [
331
331
  "localnet",
332
- "testnet"
332
+ "testnet",
333
+ "devnet"
333
334
  ],
334
335
  "description": "Network entrypoint: Specifies which network the operation occurs on"
335
336
  },
@@ -428,7 +428,7 @@
428
428
  "type": "null"
429
429
  }
430
430
  ],
431
- "description": "Contact object."
431
+ "description": "Contact object ID or name."
432
432
  }
433
433
  },
434
434
  "required": [
@@ -460,7 +460,8 @@
460
460
  "type": "string",
461
461
  "enum": [
462
462
  "localnet",
463
- "testnet"
463
+ "testnet",
464
+ "devnet"
464
465
  ],
465
466
  "description": "Network entrypoint: Specifies which network the operation occurs on"
466
467
  },
@@ -575,7 +575,8 @@
575
575
  "type": "string",
576
576
  "enum": [
577
577
  "localnet",
578
- "testnet"
578
+ "testnet",
579
+ "devnet"
579
580
  ],
580
581
  "description": "Network entrypoint: Specifies which network the operation occurs on"
581
582
  },
@@ -617,7 +618,8 @@
617
618
  "type": "string",
618
619
  "enum": [
619
620
  "localnet",
620
- "testnet"
621
+ "testnet",
622
+ "devnet"
621
623
  ],
622
624
  "description": "Network entrypoint: Specifies which network the operation occurs on"
623
625
  },
@@ -189,7 +189,8 @@
189
189
  "type": "string",
190
190
  "enum": [
191
191
  "localnet",
192
- "testnet"
192
+ "testnet",
193
+ "devnet"
193
194
  ],
194
195
  "description": "Network entrypoint: Specifies which network the operation occurs on"
195
196
  },
@@ -748,11 +748,15 @@
748
748
  "description": "Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object."
749
749
  },
750
750
  "um": {
751
- "type": [
752
- "string",
753
- "null"
751
+ "anyOf": [
752
+ {
753
+ "$ref": "#/definitions/data/properties/progress_new/properties/task/anyOf/0"
754
+ },
755
+ {
756
+ "type": "null"
757
+ }
754
758
  ],
755
- "description": "Contact object."
759
+ "description": "Contact object ID or name."
756
760
  }
757
761
  },
758
762
  "required": [
@@ -784,7 +788,8 @@
784
788
  "type": "string",
785
789
  "enum": [
786
790
  "localnet",
787
- "testnet"
791
+ "testnet",
792
+ "devnet"
788
793
  ],
789
794
  "description": "Network entrypoint: Specifies which network the operation occurs on"
790
795
  },
@@ -33,7 +33,7 @@
33
33
  "type": "string",
34
34
  "description": "Order object ID or name."
35
35
  },
36
- "agents": {
36
+ "agent": {
37
37
  "type": "object",
38
38
  "properties": {
39
39
  "entities": {
@@ -63,12 +63,12 @@
63
63
  "entities"
64
64
  ],
65
65
  "additionalProperties": false,
66
- "description": "Order agents. Agents can operate the order, such as canceling the order, modifying the order status, etc.; but cannot receive the funds received by the order."
66
+ "description": "Order agent. Agents can operate the order, such as canceling the order, modifying the order status, etc.; but cannot receive the funds received by the order."
67
67
  },
68
68
  "required_info": {
69
69
  "anyOf": [
70
70
  {
71
- "$ref": "#/definitions/data/properties/agents/properties/entities/items/properties/name_or_address"
71
+ "$ref": "#/definitions/data/properties/agent/properties/entities/items/properties/name_or_address"
72
72
  },
73
73
  {
74
74
  "type": "null"
@@ -273,7 +273,7 @@
273
273
  "description": "Unwrap CoinWrapper objects or other objects received by the order and transfer them to the order owner"
274
274
  },
275
275
  "transfer_to": {
276
- "$ref": "#/definitions/data/properties/agents/properties/entities/items",
276
+ "$ref": "#/definitions/data/properties/agent/properties/entities/items",
277
277
  "description": "Set new owner of the order. Requires order owner permission to set."
278
278
  }
279
279
  },
@@ -306,7 +306,8 @@
306
306
  "type": "string",
307
307
  "enum": [
308
308
  "localnet",
309
- "testnet"
309
+ "testnet",
310
+ "devnet"
310
311
  ],
311
312
  "description": "Network entrypoint: Specifies which network the operation occurs on"
312
313
  },
@@ -193,7 +193,8 @@
193
193
  "type": "string",
194
194
  "enum": [
195
195
  "localnet",
196
- "testnet"
196
+ "testnet",
197
+ "devnet"
197
198
  ],
198
199
  "description": "Network entrypoint: Specifies which network the operation occurs on"
199
200
  },
@@ -535,7 +535,7 @@
535
535
  "type": "null"
536
536
  }
537
537
  ],
538
- "description": "Contact object."
538
+ "description": "Contact object ID or name."
539
539
  }
540
540
  },
541
541
  "additionalProperties": false,
@@ -564,7 +564,8 @@
564
564
  "type": "string",
565
565
  "enum": [
566
566
  "localnet",
567
- "testnet"
567
+ "testnet",
568
+ "devnet"
568
569
  ],
569
570
  "description": "Network entrypoint: Specifies which network the operation occurs on"
570
571
  },
@@ -758,7 +758,8 @@
758
758
  "type": "string",
759
759
  "enum": [
760
760
  "localnet",
761
- "testnet"
761
+ "testnet",
762
+ "devnet"
762
763
  ],
763
764
  "description": "Network entrypoint: Specifies which network the operation occurs on"
764
765
  },
@@ -227,7 +227,8 @@
227
227
  "type": "string",
228
228
  "enum": [
229
229
  "localnet",
230
- "testnet"
230
+ "testnet",
231
+ "devnet"
231
232
  ],
232
233
  "description": "Network entrypoint: Specifies which network the operation occurs on"
233
234
  },
@@ -751,13 +751,16 @@
751
751
  "id": {
752
752
  "anyOf": [
753
753
  {
754
- "$ref": "#/definitions/data/properties/data_add/anyOf/0/properties/data/anyOf/0/anyOf/1/anyOf/0"
754
+ "type": "string"
755
+ },
756
+ {
757
+ "type": "number"
755
758
  },
756
759
  {
757
- "type": "integer"
760
+ "$ref": "#/definitions/data/properties/data_add/anyOf/0/properties/data/anyOf/0/anyOf/1/anyOf/0"
758
761
  }
759
762
  ],
760
- "description": "Data item ID. If a number (such as time) is specified, it will be automatically converted to an address or ID type."
763
+ "description": "Data item ID. Supports: plain string(bigint), number (such as timestamp), or AccountOrMark_Address format."
761
764
  },
762
765
  "data": {
763
766
  "$ref": "#/definitions/data/properties/data_add/anyOf/0/properties/data"
@@ -1016,7 +1019,7 @@
1016
1019
  "type": "null"
1017
1020
  }
1018
1021
  ],
1019
- "description": "Contact object."
1022
+ "description": "Contact object ID or name."
1020
1023
  }
1021
1024
  },
1022
1025
  "required": [
@@ -1048,7 +1051,8 @@
1048
1051
  "type": "string",
1049
1052
  "enum": [
1050
1053
  "localnet",
1051
- "testnet"
1054
+ "testnet",
1055
+ "devnet"
1052
1056
  ],
1053
1057
  "description": "Network entrypoint: Specifies which network the operation occurs on"
1054
1058
  },
@@ -399,7 +399,7 @@
399
399
  "type": "null"
400
400
  }
401
401
  ],
402
- "description": "Contact object."
402
+ "description": "Contact object ID or name."
403
403
  }
404
404
  },
405
405
  "required": [
@@ -431,7 +431,8 @@
431
431
  "type": "string",
432
432
  "enum": [
433
433
  "localnet",
434
- "testnet"
434
+ "testnet",
435
+ "devnet"
435
436
  ],
436
437
  "description": "Network entrypoint: Specifies which network the operation occurs on"
437
438
  },
@@ -553,7 +553,10 @@
553
553
  "name",
554
554
  "discount_type",
555
555
  "discount_value",
556
- "recipient"
556
+ "time_ms_end",
557
+ "count",
558
+ "recipient",
559
+ "transferable"
557
560
  ],
558
561
  "additionalProperties": false,
559
562
  "description": "Issue discount."
@@ -887,7 +890,8 @@
887
890
  "type": "string",
888
891
  "enum": [
889
892
  "localnet",
890
- "testnet"
893
+ "testnet",
894
+ "devnet"
891
895
  ],
892
896
  "description": "Network entrypoint: Specifies which network the operation occurs on"
893
897
  },
@@ -593,13 +593,13 @@
593
593
  "um": {
594
594
  "anyOf": [
595
595
  {
596
- "$ref": "#/definitions/data/properties/deposit/properties/namedNewPayment"
596
+ "$ref": "#/definitions/data/properties/withdraw/properties/recipient/properties/name_or_address"
597
597
  },
598
598
  {
599
599
  "type": "null"
600
600
  }
601
601
  ],
602
- "description": "Contact object."
602
+ "description": "Contact object ID or name."
603
603
  }
604
604
  },
605
605
  "required": [
@@ -631,7 +631,8 @@
631
631
  "type": "string",
632
632
  "enum": [
633
633
  "localnet",
634
- "testnet"
634
+ "testnet",
635
+ "devnet"
635
636
  ],
636
637
  "description": "Network entrypoint: Specifies which network the operation occurs on"
637
638
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wowok/agent-mcp",
3
- "version": "2.2.22",
3
+ "version": "2.3.1",
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",
@@ -37,7 +37,7 @@
37
37
  "license": "Apache-2.0",
38
38
  "dependencies": {
39
39
  "@modelcontextprotocol/sdk": "^1.29.0",
40
- "@wowok/wowok": "2.2.16",
40
+ "@wowok/wowok": "2.3.1",
41
41
  "lodash": "^4.18.1",
42
42
  "zod": "^3.25.76"
43
43
  },