@wowok/agent-mcp 3.0.1 → 3.0.2

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 (44) hide show
  1. package/dist/intent/types.d.ts +1 -1
  2. package/dist/intent/types.js +1 -1
  3. package/dist/knowledge/event-semantics.js +1 -1
  4. package/dist/knowledge/event-semantics.spec.js +1 -1
  5. package/dist/knowledge/migration-preflight.d.ts +27 -0
  6. package/dist/knowledge/migration-preflight.js +1 -0
  7. package/dist/knowledge/template-registry.js +1 -1
  8. package/dist/monitor/MonitorLoop.js +1 -1
  9. package/dist/monitor/normalize.js +1 -1
  10. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  11. package/dist/playbooks/service-build/mode-actions.d.ts +19 -0
  12. package/dist/playbooks/service-build/mode-actions.js +1 -1
  13. package/dist/safety/confirm-gate.js +1 -1
  14. package/dist/schema/call/semantic.js +1 -1
  15. package/dist/schema/common/index.js +1 -1
  16. package/dist/schema/industry-pack/index.d.ts +42 -0
  17. package/dist/schema/industry-pack/modes.d.ts +42 -0
  18. package/dist/schema/industry-pack/modes.js +1 -1
  19. package/dist/schema/intent-radar/index.d.ts +3 -0
  20. package/dist/schema/intent-radar/index.js +1 -1
  21. package/dist/schema/local/index.js +1 -1
  22. package/dist/schema/operations.d.ts +28 -0
  23. package/dist/schema/query/bi.d.ts +89 -0
  24. package/dist/schema/query/bi.js +1 -1
  25. package/dist/schema/query/index.d.ts +48 -48
  26. package/dist/schema/query/index.js +1 -1
  27. package/dist/schema/schema-version.js +1 -1
  28. package/dist/schema-query-impl/index.js +1 -1
  29. package/dist/schemas/index.json +1 -1
  30. package/dist/schemas/industry_pack_operation.output.json +162 -6
  31. package/dist/schemas/intent_radar.output.json +2 -0
  32. package/dist/schemas/intent_radar.schema.json +1 -0
  33. package/dist/schemas/onchain_events.output.json +55 -11
  34. package/dist/schemas/onchain_events.schema.json +4 -0
  35. package/dist/schemas/onchain_table_data.output.json +41 -0
  36. package/dist/schemas/query_toolkit.output.json +183 -0
  37. package/dist/schemas/query_toolkit.schema.json +41 -0
  38. package/dist/tools/handlers/config.js +1 -1
  39. package/dist/tools/handlers/intent-radar.js +1 -1
  40. package/dist/tools/handlers/onchain.js +1 -1
  41. package/dist/tools/handlers/query.js +1 -1
  42. package/dist/tools/registry/query.js +1 -1
  43. package/dist/tools/shared.js +1 -1
  44. package/package.json +2 -2
@@ -77,6 +77,10 @@
77
77
  "type": "string",
78
78
  "const": "ServiceEvent"
79
79
  },
80
+ {
81
+ "type": "string",
82
+ "const": "ArbitrationEvent"
83
+ },
80
84
  {
81
85
  "type": "string",
82
86
  "const": "DemandChangedEvent"
@@ -113,7 +117,7 @@
113
117
  "type": "string"
114
118
  }
115
119
  ],
116
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
120
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
117
121
  },
118
122
  "type_raw": {
119
123
  "type": "string",
@@ -207,6 +211,10 @@
207
211
  "type": "string",
208
212
  "const": "ServiceEvent"
209
213
  },
214
+ {
215
+ "type": "string",
216
+ "const": "ArbitrationEvent"
217
+ },
210
218
  {
211
219
  "type": "string",
212
220
  "const": "DemandChangedEvent"
@@ -243,7 +251,7 @@
243
251
  "type": "string"
244
252
  }
245
253
  ],
246
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
254
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
247
255
  },
248
256
  "type_raw": {
249
257
  "type": "string",
@@ -394,6 +402,10 @@
394
402
  "type": "string",
395
403
  "const": "ServiceEvent"
396
404
  },
405
+ {
406
+ "type": "string",
407
+ "const": "ArbitrationEvent"
408
+ },
397
409
  {
398
410
  "type": "string",
399
411
  "const": "DemandChangedEvent"
@@ -430,7 +442,7 @@
430
442
  "type": "string"
431
443
  }
432
444
  ],
433
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
445
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
434
446
  },
435
447
  "type_raw": {
436
448
  "type": "string",
@@ -579,6 +591,10 @@
579
591
  "type": "string",
580
592
  "const": "ServiceEvent"
581
593
  },
594
+ {
595
+ "type": "string",
596
+ "const": "ArbitrationEvent"
597
+ },
582
598
  {
583
599
  "type": "string",
584
600
  "const": "DemandChangedEvent"
@@ -615,7 +631,7 @@
615
631
  "type": "string"
616
632
  }
617
633
  ],
618
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
634
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
619
635
  },
620
636
  "type_raw": {
621
637
  "type": "string",
@@ -757,6 +773,10 @@
757
773
  "type": "string",
758
774
  "const": "ServiceEvent"
759
775
  },
776
+ {
777
+ "type": "string",
778
+ "const": "ArbitrationEvent"
779
+ },
760
780
  {
761
781
  "type": "string",
762
782
  "const": "DemandChangedEvent"
@@ -793,7 +813,7 @@
793
813
  "type": "string"
794
814
  }
795
815
  ],
796
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
816
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
797
817
  },
798
818
  "type_raw": {
799
819
  "type": "string",
@@ -908,6 +928,10 @@
908
928
  "type": "string",
909
929
  "const": "ServiceEvent"
910
930
  },
931
+ {
932
+ "type": "string",
933
+ "const": "ArbitrationEvent"
934
+ },
911
935
  {
912
936
  "type": "string",
913
937
  "const": "DemandChangedEvent"
@@ -944,7 +968,7 @@
944
968
  "type": "string"
945
969
  }
946
970
  ],
947
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
971
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
948
972
  },
949
973
  "type_raw": {
950
974
  "type": "string",
@@ -1070,6 +1094,10 @@
1070
1094
  "type": "string",
1071
1095
  "const": "ServiceEvent"
1072
1096
  },
1097
+ {
1098
+ "type": "string",
1099
+ "const": "ArbitrationEvent"
1100
+ },
1073
1101
  {
1074
1102
  "type": "string",
1075
1103
  "const": "DemandChangedEvent"
@@ -1106,7 +1134,7 @@
1106
1134
  "type": "string"
1107
1135
  }
1108
1136
  ],
1109
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1137
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1110
1138
  },
1111
1139
  "type_raw": {
1112
1140
  "type": "string",
@@ -1221,6 +1249,10 @@
1221
1249
  "type": "string",
1222
1250
  "const": "ServiceEvent"
1223
1251
  },
1252
+ {
1253
+ "type": "string",
1254
+ "const": "ArbitrationEvent"
1255
+ },
1224
1256
  {
1225
1257
  "type": "string",
1226
1258
  "const": "DemandChangedEvent"
@@ -1257,7 +1289,7 @@
1257
1289
  "type": "string"
1258
1290
  }
1259
1291
  ],
1260
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1292
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1261
1293
  },
1262
1294
  "type_raw": {
1263
1295
  "type": "string",
@@ -1366,6 +1398,10 @@
1366
1398
  "type": "string",
1367
1399
  "const": "ServiceEvent"
1368
1400
  },
1401
+ {
1402
+ "type": "string",
1403
+ "const": "ArbitrationEvent"
1404
+ },
1369
1405
  {
1370
1406
  "type": "string",
1371
1407
  "const": "DemandChangedEvent"
@@ -1402,7 +1438,7 @@
1402
1438
  "type": "string"
1403
1439
  }
1404
1440
  ],
1405
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1441
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1406
1442
  },
1407
1443
  "type_raw": {
1408
1444
  "type": "string",
@@ -1519,6 +1555,10 @@
1519
1555
  "type": "string",
1520
1556
  "const": "ServiceEvent"
1521
1557
  },
1558
+ {
1559
+ "type": "string",
1560
+ "const": "ArbitrationEvent"
1561
+ },
1522
1562
  {
1523
1563
  "type": "string",
1524
1564
  "const": "DemandChangedEvent"
@@ -1555,7 +1595,7 @@
1555
1595
  "type": "string"
1556
1596
  }
1557
1597
  ],
1558
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1598
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1559
1599
  },
1560
1600
  "type_raw": {
1561
1601
  "type": "string",
@@ -1672,6 +1712,10 @@
1672
1712
  "type": "string",
1673
1713
  "const": "ServiceEvent"
1674
1714
  },
1715
+ {
1716
+ "type": "string",
1717
+ "const": "ArbitrationEvent"
1718
+ },
1675
1719
  {
1676
1720
  "type": "string",
1677
1721
  "const": "DemandChangedEvent"
@@ -1708,7 +1752,7 @@
1708
1752
  "type": "string"
1709
1753
  }
1710
1754
  ],
1711
- "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1755
+ "description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, ArbitrationEvent, DemandChangedEvent, VoteEvent, FeedbackEvent, AllocationEvent, TreasuryEvent, RewardClaimEvent, RewardFundEvent, NewPaymentEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent'). See the Event Semantics Registry (knowledge/event-semantics.ts) for every event's trigger logic, parameter meanings, and business semantics — especially NewPaymentEvent (the universal fund-flow receipt: from_object is the internal-only funding-source object — Treasury/Allocation/Service — set by the framework, never by user code)."
1712
1756
  },
1713
1757
  "type_raw": {
1714
1758
  "type": "string",
@@ -35,6 +35,10 @@
35
35
  "type": "string",
36
36
  "const": "ServiceEvent"
37
37
  },
38
+ {
39
+ "type": "string",
40
+ "const": "ArbitrationEvent"
41
+ },
38
42
  {
39
43
  "type": "string",
40
44
  "const": "DemandChangedEvent"
@@ -9479,6 +9479,47 @@
9479
9479
  ],
9480
9480
  "additionalProperties": false,
9481
9481
  "description": "Like / Favor list for ONE account (client Quick Access 'Like / Favor' tab) — every address (object OR plain user) the account has EVER liked / disliked / favored, deduplicated, with the CURRENT active vote kinds per target. Deterministic source: the voter's own Resource mark table (registrar.move handle_vote → resource::tag_set), cross-read with the target's EntityLinker votes for the 'marked at' clock. Fully-toggled-off targets are dropped. Each row: address + tags (like/dislike/favor) + time + object_type (null = plain user) + local name / description / tags. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."
9482
+ },
9483
+ {
9484
+ "type": "object",
9485
+ "properties": {
9486
+ "query_type": {
9487
+ "type": "string",
9488
+ "const": "migration_preflight"
9489
+ },
9490
+ "no_cache": {
9491
+ "description": "Set to true to bypass the SDK chain-read cache.",
9492
+ "type": "boolean"
9493
+ },
9494
+ "account": {
9495
+ "type": "string",
9496
+ "description": "Account address (or name) to check. Required when query_type='migration_preflight'."
9497
+ },
9498
+ "source_network": {
9499
+ "description": "Source network to detect an existing build (default 'testnet').",
9500
+ "type": "string",
9501
+ "enum": [
9502
+ "testnet",
9503
+ "mainnet",
9504
+ "localnet"
9505
+ ]
9506
+ },
9507
+ "target_network": {
9508
+ "description": "Target network for the migration (default 'mainnet').",
9509
+ "type": "string",
9510
+ "enum": [
9511
+ "testnet",
9512
+ "mainnet",
9513
+ "localnet"
9514
+ ]
9515
+ }
9516
+ },
9517
+ "required": [
9518
+ "query_type",
9519
+ "account"
9520
+ ],
9521
+ "additionalProperties": false,
9522
+ "description": "Cross-network build detection + mainnet customization preflight (first-touch migration): detect whether the account has already built Services/Machines/etc. on the source network (default testnet), report the same on the target network (default mainnet), and return a business-facing checklist of the key settings to confirm/change when migrating — payment token, location, arbitration, WIP, gas. Read-only."
9482
9523
  }
9483
9524
  ]
9484
9525
  },
@@ -17835,6 +17835,189 @@
17835
17835
  "result"
17836
17836
  ],
17837
17837
  "additionalProperties": false
17838
+ },
17839
+ {
17840
+ "type": "object",
17841
+ "properties": {
17842
+ "query_type": {
17843
+ "type": "string",
17844
+ "const": "migration_preflight"
17845
+ },
17846
+ "result": {
17847
+ "type": "object",
17848
+ "properties": {
17849
+ "action": {
17850
+ "type": "string",
17851
+ "const": "migration_preflight"
17852
+ },
17853
+ "account": {
17854
+ "type": "string"
17855
+ },
17856
+ "source_network": {
17857
+ "type": "string"
17858
+ },
17859
+ "target_network": {
17860
+ "type": "string"
17861
+ },
17862
+ "source": {
17863
+ "type": "object",
17864
+ "properties": {
17865
+ "network": {
17866
+ "type": "string"
17867
+ },
17868
+ "has_build": {
17869
+ "type": "boolean",
17870
+ "description": "True when the account has built at least one object on this network."
17871
+ },
17872
+ "permissions": {
17873
+ "type": "array",
17874
+ "items": {
17875
+ "type": "string"
17876
+ }
17877
+ },
17878
+ "services": {
17879
+ "type": "array",
17880
+ "items": {
17881
+ "type": "string"
17882
+ }
17883
+ },
17884
+ "machines": {
17885
+ "type": "array",
17886
+ "items": {
17887
+ "type": "string"
17888
+ }
17889
+ },
17890
+ "treasuries": {
17891
+ "type": "array",
17892
+ "items": {
17893
+ "type": "string"
17894
+ }
17895
+ },
17896
+ "rewards": {
17897
+ "type": "array",
17898
+ "items": {
17899
+ "type": "string"
17900
+ }
17901
+ },
17902
+ "contacts": {
17903
+ "type": "array",
17904
+ "items": {
17905
+ "type": "string"
17906
+ }
17907
+ },
17908
+ "arbitrations": {
17909
+ "type": "array",
17910
+ "items": {
17911
+ "type": "string"
17912
+ }
17913
+ }
17914
+ },
17915
+ "required": [
17916
+ "network",
17917
+ "has_build",
17918
+ "permissions",
17919
+ "services",
17920
+ "machines",
17921
+ "treasuries",
17922
+ "rewards",
17923
+ "contacts",
17924
+ "arbitrations"
17925
+ ],
17926
+ "additionalProperties": false,
17927
+ "description": "Build status on the source network (e.g. testnet)."
17928
+ },
17929
+ "target": {
17930
+ "type": "object",
17931
+ "properties": {
17932
+ "network": {
17933
+ "type": "string"
17934
+ },
17935
+ "has_build": {
17936
+ "type": "boolean",
17937
+ "description": "True when the account has built at least one object on this network."
17938
+ },
17939
+ "permissions": {
17940
+ "type": "array",
17941
+ "items": {
17942
+ "type": "string"
17943
+ }
17944
+ },
17945
+ "services": {
17946
+ "type": "array",
17947
+ "items": {
17948
+ "type": "string"
17949
+ }
17950
+ },
17951
+ "machines": {
17952
+ "type": "array",
17953
+ "items": {
17954
+ "type": "string"
17955
+ }
17956
+ },
17957
+ "treasuries": {
17958
+ "type": "array",
17959
+ "items": {
17960
+ "type": "string"
17961
+ }
17962
+ },
17963
+ "rewards": {
17964
+ "type": "array",
17965
+ "items": {
17966
+ "type": "string"
17967
+ }
17968
+ },
17969
+ "contacts": {
17970
+ "type": "array",
17971
+ "items": {
17972
+ "type": "string"
17973
+ }
17974
+ },
17975
+ "arbitrations": {
17976
+ "type": "array",
17977
+ "items": {
17978
+ "type": "string"
17979
+ }
17980
+ }
17981
+ },
17982
+ "required": [
17983
+ "network",
17984
+ "has_build",
17985
+ "permissions",
17986
+ "services",
17987
+ "machines",
17988
+ "treasuries",
17989
+ "rewards",
17990
+ "contacts",
17991
+ "arbitrations"
17992
+ ],
17993
+ "additionalProperties": false,
17994
+ "description": "Build status on the target network (e.g. mainnet)."
17995
+ },
17996
+ "migration_checklist": {
17997
+ "type": "array",
17998
+ "items": {
17999
+ "type": "string"
18000
+ },
18001
+ "description": "Key settings to confirm/change when migrating testnet → mainnet (payment token, location, arbitration, WIP, gas)."
18002
+ }
18003
+ },
18004
+ "required": [
18005
+ "action",
18006
+ "account",
18007
+ "source_network",
18008
+ "target_network",
18009
+ "source",
18010
+ "target",
18011
+ "migration_checklist"
18012
+ ],
18013
+ "additionalProperties": false
18014
+ }
18015
+ },
18016
+ "required": [
18017
+ "query_type",
18018
+ "result"
18019
+ ],
18020
+ "additionalProperties": false
17838
18021
  }
17839
18022
  ]
17840
18023
  },
@@ -1325,6 +1325,47 @@
1325
1325
  ],
1326
1326
  "additionalProperties": false,
1327
1327
  "description": "Like / Favor list for ONE account (client Quick Access 'Like / Favor' tab) — every address (object OR plain user) the account has EVER liked / disliked / favored, deduplicated, with the CURRENT active vote kinds per target. Deterministic source: the voter's own Resource mark table (registrar.move handle_vote → resource::tag_set), cross-read with the target's EntityLinker votes for the 'marked at' clock. Fully-toggled-off targets are dropped. Each row: address + tags (like/dislike/favor) + time + object_type (null = plain user) + local name / description / tags. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."
1328
+ },
1329
+ {
1330
+ "type": "object",
1331
+ "properties": {
1332
+ "query_type": {
1333
+ "type": "string",
1334
+ "const": "migration_preflight"
1335
+ },
1336
+ "no_cache": {
1337
+ "description": "Set to true to bypass the SDK chain-read cache.",
1338
+ "type": "boolean"
1339
+ },
1340
+ "account": {
1341
+ "type": "string",
1342
+ "description": "Account address (or name) to check. Required when query_type='migration_preflight'."
1343
+ },
1344
+ "source_network": {
1345
+ "description": "Source network to detect an existing build (default 'testnet').",
1346
+ "type": "string",
1347
+ "enum": [
1348
+ "testnet",
1349
+ "mainnet",
1350
+ "localnet"
1351
+ ]
1352
+ },
1353
+ "target_network": {
1354
+ "description": "Target network for the migration (default 'mainnet').",
1355
+ "type": "string",
1356
+ "enum": [
1357
+ "testnet",
1358
+ "mainnet",
1359
+ "localnet"
1360
+ ]
1361
+ }
1362
+ },
1363
+ "required": [
1364
+ "query_type",
1365
+ "account"
1366
+ ],
1367
+ "additionalProperties": false,
1368
+ "description": "Cross-network build detection + mainnet customization preflight (first-touch migration): detect whether the account has already built Services/Machines/etc. on the source network (default testnet), report the same on the target network (default mainnet), and return a business-facing checklist of the key settings to confirm/change when migrating — payment token, location, arbitration, WIP, gas. Read-only."
1328
1369
  }
1329
1370
  ]
1330
1371
  }
@@ -1 +1 @@
1
- import{listServices,getServiceInfo,toggle as a400a,setEnabled as a400b,reset as a400c}from'../../config/index.js';import{strictParse}from'../../schema/index.js';import{ConfigOperationInputSchema}from'../../schema/config/index.js';export async function handleConfigOperation(a){const b=strictParse(ConfigOperationInputSchema,a,'config_operation\x20input'),{action:c,service:d}=b;let e;switch(c){case'list':e={'action':'list','services':listServices()};break;case'toggle':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20toggle');const f=d,g=getServiceInfo(f);if(!g)throw new Error('Unknown\x20service:\x20'+f+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');const h=a400a(f);e={'action':'toggle','service':f,'enabled':h,'reminder':g['reminder']};break;}case'enable':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20enable');const i=d,j=getServiceInfo(i);if(!j)throw new Error('Unknown\x20service:\x20'+i+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a400b(i,!![]),e={'action':'enable','service':i,'enabled':!![],'reminder':j['reminder']};break;}case'disable':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20disable');const k=d,l=getServiceInfo(k);if(!l)throw new Error('Unknown\x20service:\x20'+k+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a400b(k,![]),e={'action':'disable','service':k,'enabled':![],'reminder':l['reminder']};break;}case'reset':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20reset');const m=d,n=getServiceInfo(m);if(!n)throw new Error('Unknown\x20service:\x20'+m+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a400c(m),e={'action':'reset','service':m,'enabled':getServiceInfo(m)?.['enabled'],'reminder':n['reminder'],'reset':!![]};break;}case'info':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20info');const o=d,p=getServiceInfo(o);if(!p)throw new Error('Unknown\x20service:\x20'+o+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');e={'action':'info',...p};break;}default:throw new Error('Unknown\x20config_operation\x20action:\x20'+String(c));}return{'content':[{'type':'text','text':JSON['stringify']({'result':e})}],'structuredContent':{'result':e}};}
1
+ import{listServices,getServiceInfo,toggle as a401a,setEnabled as a401b,reset as a401c}from'../../config/index.js';import{strictParse}from'../../schema/index.js';import{ConfigOperationInputSchema}from'../../schema/config/index.js';export async function handleConfigOperation(a){const b=strictParse(ConfigOperationInputSchema,a,'config_operation\x20input'),{action:c,service:d}=b;let e;switch(c){case'list':e={'action':'list','services':listServices()};break;case'toggle':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20toggle');const f=d,g=getServiceInfo(f);if(!g)throw new Error('Unknown\x20service:\x20'+f+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');const h=a401a(f);e={'action':'toggle','service':f,'enabled':h,'reminder':g['reminder']};break;}case'enable':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20enable');const i=d,j=getServiceInfo(i);if(!j)throw new Error('Unknown\x20service:\x20'+i+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a401b(i,!![]),e={'action':'enable','service':i,'enabled':!![],'reminder':j['reminder']};break;}case'disable':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20disable');const k=d,l=getServiceInfo(k);if(!l)throw new Error('Unknown\x20service:\x20'+k+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a401b(k,![]),e={'action':'disable','service':k,'enabled':![],'reminder':l['reminder']};break;}case'reset':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20reset');const m=d,n=getServiceInfo(m);if(!n)throw new Error('Unknown\x20service:\x20'+m+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a401c(m),e={'action':'reset','service':m,'enabled':getServiceInfo(m)?.['enabled'],'reminder':n['reminder'],'reset':!![]};break;}case'info':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20info');const o=d,p=getServiceInfo(o);if(!p)throw new Error('Unknown\x20service:\x20'+o+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');e={'action':'info',...p};break;}default:throw new Error('Unknown\x20config_operation\x20action:\x20'+String(c));}return{'content':[{'type':'text','text':JSON['stringify']({'result':e})}],'structuredContent':{'result':e}};}
@@ -1 +1 @@
1
- import{strictParse}from'../../schema/index.js';import{IntentRadarInputSchema}from'../../schema/intent-radar/index.js';import{createIntent,listIntents,matchAllIntents,matchIntent,removeIntent}from'../../intent/index.js';import{enrichEventsWithObjectText}from'../../intent/enrich.js';import{query_events}from'@wowok/wowok';const AUTO_PULL_TYPES=['ServiceEvent','DemandChangedEvent','DemandPresentEvent','NewOrderEvent','ProgressEvent','ArbEvent','VoteEvent','DemandFeedbackEvent','NewEntityEvent','NewPaymentEvent','AllocationEvent','TreasuryEvent','RewardClaimEvent','RewardFundEvent'];async function pullRecentEvents(a,b){const c=[];for(const d of AUTO_PULL_TYPES){try{const e=await query_events({'type':d,'cursor':null,'limit':b,'order':'descending','no_cache':![],'network':a}),f=e?.['data'];if(Array['isArray'](f))c['push'](...f);}catch{}}return c;}export async function handleIntentRadar(a){const b=strictParse(IntentRadarInputSchema,a,'intent_radar\x20input');let c;switch(b['action']){case'save':{const d=await createIntent({'intent':b['intent'],'account':b['account'],'role':b['role'],'target_types':b['target_types']});c={'action':'save','intent':d};break;}case'list':{c={'action':'list','intents':await listIntents(b['account'])};break;}case'remove':{c={'action':'remove','removed':await removeIntent(b['id'])};break;}case'match':{let e=b['events']??[];e['length']===0x0&&(e=await pullRecentEvents(b['network'],b['limit']??0x5));e=await enrichEventsWithObjectText(e,b['network']);const f=b['intent_id']?[await matchIntent(b['intent_id'],e)]['filter'](g=>g!==null):await matchAllIntents(e,b['account']);c={'action':'match','results':f};break;}default:throw new Error('Unknown\x20intent_radar\x20action');}return{'content':[{'type':'text','text':JSON['stringify']({'result':c})}],'structuredContent':{'result':c}};}
1
+ import{strictParse}from'../../schema/index.js';import{IntentRadarInputSchema}from'../../schema/intent-radar/index.js';import{createIntent,listIntents,matchAllIntents,matchIntent,removeIntent}from'../../intent/index.js';import{enrichEventsWithObjectText}from'../../intent/enrich.js';import{query_events}from'@wowok/wowok';const AUTO_PULL_TYPES=['ServiceEvent','ArbitrationEvent','DemandChangedEvent','DemandPresentEvent','NewOrderEvent','ProgressEvent','ArbEvent','VoteEvent','DemandFeedbackEvent','NewEntityEvent','NewPaymentEvent','AllocationEvent','TreasuryEvent','RewardClaimEvent','RewardFundEvent'];async function pullRecentEvents(a,b){const c=[];for(const d of AUTO_PULL_TYPES){try{const e=await query_events({'type':d,'cursor':null,'limit':b,'order':'descending','no_cache':![],'network':a}),f=e?.['data'];if(Array['isArray'](f))c['push'](...f);}catch{}}return c;}export async function handleIntentRadar(a){const b=strictParse(IntentRadarInputSchema,a,'intent_radar\x20input');let c;switch(b['action']){case'save':{const d=await createIntent({'intent':b['intent'],'account':b['account'],'role':b['role'],'target_types':b['target_types']});c={'action':'save','intent':d};break;}case'list':{c={'action':'list','intents':await listIntents(b['account'])};break;}case'remove':{c={'action':'remove','removed':await removeIntent(b['id'])};break;}case'match':{let e=b['events']??[];e['length']===0x0&&(e=await pullRecentEvents(b['network'],b['limit']??0x5));e=await enrichEventsWithObjectText(e,b['network']);const f=b['intent_id']?[await matchIntent(b['intent_id'],e)]['filter'](g=>g!==null):await matchAllIntents(e,b['account']);c={'action':'match','results':f};break;}default:throw new Error('Unknown\x20intent_radar\x20action');}return{'content':[{'type':'text','text':JSON['stringify']({'result':c})}],'structuredContent':{'result':c}};}