@wowok/agent-mcp 2.7.2 → 2.7.4

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 (383) hide show
  1. package/dist/config/runtime.js +1 -1
  2. package/dist/customer/account-events.d.ts +32 -0
  3. package/dist/customer/account-events.js +1 -0
  4. package/dist/customer/customer-advice.d.ts +1 -0
  5. package/dist/customer/customer-advice.js +1 -1
  6. package/dist/customer/info-puzzle.js +1 -1
  7. package/dist/customer/order-strategy.d.ts +1 -1
  8. package/dist/customer/reminder-system.d.ts +2 -0
  9. package/dist/customer/reminder-system.js +1 -1
  10. package/dist/customer/risk-assessment.d.ts +1 -0
  11. package/dist/customer/risk-assessment.js +1 -1
  12. package/dist/customer/types.d.ts +2 -0
  13. package/dist/evaluation/builtins/arbitration-score.d.ts +41 -0
  14. package/dist/evaluation/builtins/arbitration-score.js +1 -0
  15. package/dist/evaluation/builtins/index.d.ts +1 -0
  16. package/dist/evaluation/builtins/index.js +1 -1
  17. package/dist/evaluation/category-match-rules.d.ts +30 -0
  18. package/dist/evaluation/category-match-rules.js +1 -0
  19. package/dist/evaluation/engine.js +1 -1
  20. package/dist/evaluation/extract.js +1 -1
  21. package/dist/evaluation/index.d.ts +1 -0
  22. package/dist/evaluation/index.js +1 -1
  23. package/dist/evaluation/location-match.d.ts +42 -0
  24. package/dist/evaluation/location-match.js +1 -0
  25. package/dist/evaluation/path-reasoning.d.ts +35 -0
  26. package/dist/evaluation/path-reasoning.js +1 -0
  27. package/dist/evaluation/region.d.ts +6 -0
  28. package/dist/evaluation/region.js +1 -1
  29. package/dist/evaluation/types.d.ts +17 -0
  30. package/dist/experience/realtime-feedback.js +1 -1
  31. package/dist/experience/user-profile.d.ts +1 -1
  32. package/dist/extensions/index.d.ts +6 -0
  33. package/dist/extensions/index.js +1 -1
  34. package/dist/extensions/industry-layers.d.ts +75 -0
  35. package/dist/extensions/industry-layers.js +1 -0
  36. package/dist/extensions/industry-pack.d.ts +105 -0
  37. package/dist/extensions/industry-pack.js +1 -0
  38. package/dist/extensions/metric-registry.js +1 -1
  39. package/dist/extensions/mode-evaluator.d.ts +1 -1
  40. package/dist/extensions/registry.d.ts +1 -0
  41. package/dist/extensions/registry.js +1 -1
  42. package/dist/graph/base.d.ts +8 -0
  43. package/dist/graph/base.js +1 -0
  44. package/dist/harness/index.d.ts +1 -0
  45. package/dist/harness/index.js +1 -1
  46. package/dist/harness/plan.d.ts +2 -0
  47. package/dist/harness/plan.js +1 -1
  48. package/dist/harness/recover.d.ts +1 -1
  49. package/dist/harness/types.d.ts +2 -3
  50. package/dist/index.js +1 -1
  51. package/dist/knowledge/allocation-confirm.js +1 -1
  52. package/dist/knowledge/anti-cheat.d.ts +37 -0
  53. package/dist/knowledge/anti-cheat.js +1 -0
  54. package/dist/knowledge/arb-confirm.d.ts +28 -0
  55. package/dist/knowledge/arb-confirm.js +1 -0
  56. package/dist/knowledge/arb-translation.d.ts +48 -0
  57. package/dist/knowledge/arb-translation.js +1 -0
  58. package/dist/knowledge/arbitration-context.js +1 -1
  59. package/dist/knowledge/arbitration-ledger.js +1 -1
  60. package/dist/knowledge/bridge-confirm.d.ts +26 -0
  61. package/dist/knowledge/bridge-confirm.js +1 -0
  62. package/dist/knowledge/bridge-translation.d.ts +37 -0
  63. package/dist/knowledge/bridge-translation.js +1 -0
  64. package/dist/knowledge/contact-confirm.d.ts +27 -0
  65. package/dist/knowledge/contact-confirm.js +1 -0
  66. package/dist/knowledge/contact-translation.d.ts +39 -0
  67. package/dist/knowledge/contact-translation.js +1 -0
  68. package/dist/knowledge/demand-confirm.js +1 -1
  69. package/dist/knowledge/demand-context.d.ts +17 -0
  70. package/dist/knowledge/demand-context.js +1 -0
  71. package/dist/knowledge/demand-ledger.d.ts +26 -0
  72. package/dist/knowledge/demand-ledger.js +1 -0
  73. package/dist/knowledge/demand-puzzle.d.ts +29 -0
  74. package/dist/knowledge/demand-puzzle.js +1 -0
  75. package/dist/knowledge/demand-risk.js +1 -1
  76. package/dist/knowledge/demand-templates.d.ts +12 -0
  77. package/dist/knowledge/demand-templates.js +1 -0
  78. package/dist/knowledge/demand-translation.js +1 -1
  79. package/dist/knowledge/deployment-scanner.js +1 -1
  80. package/dist/knowledge/evidence-review.d.ts +12 -0
  81. package/dist/knowledge/evidence-review.js +1 -0
  82. package/dist/knowledge/examples-scanner-cli.js +1 -1
  83. package/dist/knowledge/examples-scanner.js +1 -1
  84. package/dist/knowledge/flywheel-loop.d.ts +0 -1
  85. package/dist/knowledge/flywheel-loop.js +1 -1
  86. package/dist/knowledge/guard-design-patterns.js +1 -1
  87. package/dist/knowledge/guard-migration.d.ts +1 -1
  88. package/dist/knowledge/index.d.ts +71 -3
  89. package/dist/knowledge/index.js +1 -1
  90. package/dist/knowledge/industry-registry.js +1 -1
  91. package/dist/knowledge/machine-render.js +1 -1
  92. package/dist/knowledge/market-metrics.d.ts +12 -0
  93. package/dist/knowledge/market-metrics.js +1 -0
  94. package/dist/knowledge/market-operations.d.ts +46 -0
  95. package/dist/knowledge/market-operations.js +1 -0
  96. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  97. package/dist/knowledge/mcp-schema-audit.d.ts +22 -22
  98. package/dist/knowledge/mcp-schema-audit.js +1 -1
  99. package/dist/knowledge/onchain-constants.d.ts +2 -2
  100. package/dist/knowledge/onchain-constants.js +1 -1
  101. package/dist/knowledge/payment-confirm.d.ts +26 -0
  102. package/dist/knowledge/payment-confirm.js +1 -0
  103. package/dist/knowledge/payment-risk.js +1 -1
  104. package/dist/knowledge/payment-translation.d.ts +37 -0
  105. package/dist/knowledge/payment-translation.js +1 -0
  106. package/dist/knowledge/permission-context.d.ts +11 -0
  107. package/dist/knowledge/permission-context.js +1 -1
  108. package/dist/knowledge/permission-ledger.d.ts +11 -0
  109. package/dist/knowledge/permission-ledger.js +1 -1
  110. package/dist/knowledge/personal-confirm.d.ts +29 -0
  111. package/dist/knowledge/personal-confirm.js +1 -0
  112. package/dist/knowledge/personal-risk.js +1 -1
  113. package/dist/knowledge/personal-translation.d.ts +37 -0
  114. package/dist/knowledge/personal-translation.js +1 -0
  115. package/dist/knowledge/process-model.d.ts +1 -11
  116. package/dist/knowledge/process-model.js +1 -1
  117. package/dist/knowledge/progress-ledger.js +1 -1
  118. package/dist/knowledge/progress-risk.js +1 -1
  119. package/dist/knowledge/progress-templates.js +1 -1
  120. package/dist/knowledge/progress-translation.js +1 -1
  121. package/dist/knowledge/proof-context.d.ts +17 -0
  122. package/dist/knowledge/proof-context.js +1 -0
  123. package/dist/knowledge/proof-ledger.d.ts +34 -0
  124. package/dist/knowledge/proof-ledger.js +1 -0
  125. package/dist/knowledge/proof-puzzle.d.ts +35 -0
  126. package/dist/knowledge/proof-puzzle.js +1 -0
  127. package/dist/knowledge/proof-templates.d.ts +22 -0
  128. package/dist/knowledge/proof-templates.js +1 -0
  129. package/dist/knowledge/registrar-confirm.d.ts +26 -0
  130. package/dist/knowledge/registrar-confirm.js +1 -0
  131. package/dist/knowledge/registrar-risk.js +1 -1
  132. package/dist/knowledge/registrar-translation.d.ts +37 -0
  133. package/dist/knowledge/registrar-translation.js +1 -0
  134. package/dist/knowledge/repository-context.d.ts +12 -0
  135. package/dist/knowledge/repository-context.js +1 -0
  136. package/dist/knowledge/repository-ledger.d.ts +25 -0
  137. package/dist/knowledge/repository-ledger.js +1 -0
  138. package/dist/knowledge/repository-puzzle.d.ts +30 -0
  139. package/dist/knowledge/repository-puzzle.js +1 -0
  140. package/dist/knowledge/repository-templates.d.ts +14 -0
  141. package/dist/knowledge/repository-templates.js +1 -0
  142. package/dist/knowledge/resource-confirm.d.ts +25 -0
  143. package/dist/knowledge/resource-confirm.js +1 -0
  144. package/dist/knowledge/resource-translation.d.ts +37 -0
  145. package/dist/knowledge/resource-translation.js +1 -0
  146. package/dist/knowledge/reward-context.d.ts +2 -2
  147. package/dist/knowledge/reward-ledger.js +1 -1
  148. package/dist/knowledge/reward-translation.js +1 -1
  149. package/dist/knowledge/safety-rules.d.ts +1 -0
  150. package/dist/knowledge/safety-rules.js +1 -1
  151. package/dist/knowledge/service-risk.d.ts +1 -1
  152. package/dist/knowledge/service-risk.js +1 -1
  153. package/dist/knowledge/template-registry.js +1 -1
  154. package/dist/knowledge/tools-reference.js +1 -1
  155. package/dist/knowledge/treasury-context.d.ts +1 -1
  156. package/dist/knowledge/treasury-context.js +1 -1
  157. package/dist/knowledge/treasury-ledger.js +1 -1
  158. package/dist/knowledge/treasury-risk.js +1 -1
  159. package/dist/knowledge/universal-template.d.ts +22 -0
  160. package/dist/knowledge/universal-template.js +1 -0
  161. package/dist/knowledge/util-confirm.d.ts +24 -0
  162. package/dist/knowledge/util-confirm.js +1 -0
  163. package/dist/knowledge/util-risk.js +1 -1
  164. package/dist/knowledge/util-translation.d.ts +39 -0
  165. package/dist/knowledge/util-translation.js +1 -0
  166. package/dist/knowledge/workflow-guidance.d.ts +180 -0
  167. package/dist/knowledge/workflow-guidance.js +1 -0
  168. package/dist/participation/employee-kpi.d.ts +25 -0
  169. package/dist/participation/employee-kpi.js +1 -0
  170. package/dist/participation/employee-store.d.ts +16 -0
  171. package/dist/participation/employee-store.js +1 -0
  172. package/dist/participation/index.d.ts +2 -0
  173. package/dist/participation/index.js +1 -0
  174. package/dist/persona/defaults.js +1 -1
  175. package/dist/persona/index.d.ts +9 -2
  176. package/dist/persona/index.js +1 -1
  177. package/dist/persona/local-region.d.ts +20 -0
  178. package/dist/persona/local-region.js +1 -0
  179. package/dist/persona/model.js +1 -1
  180. package/dist/persona/overrides.d.ts +10 -0
  181. package/dist/persona/overrides.js +1 -0
  182. package/dist/persona/pack-personae.d.ts +11 -0
  183. package/dist/persona/pack-personae.js +1 -0
  184. package/dist/persona/strategy-intent.d.ts +20 -0
  185. package/dist/persona/strategy-intent.js +1 -0
  186. package/dist/persona/types.d.ts +3 -1
  187. package/dist/project/business-puzzle.d.ts +1 -1
  188. package/dist/project/business-puzzle.js +1 -1
  189. package/dist/project/deployment-doc.js +1 -1
  190. package/dist/project/edit-planner.js +1 -1
  191. package/dist/project/evaluation.d.ts +37 -1
  192. package/dist/project/evaluation.js +1 -1
  193. package/dist/project/graph-builder.d.ts +2 -2
  194. package/dist/project/graph-builder.js +1 -1
  195. package/dist/project/graph.d.ts +3 -6
  196. package/dist/project/handlers.d.ts +33 -2
  197. package/dist/project/handlers.js +1 -1
  198. package/dist/project/index.d.ts +1 -0
  199. package/dist/project/index.js +1 -1
  200. package/dist/project/merchant-guide.d.ts +19 -0
  201. package/dist/project/merchant-guide.js +1 -1
  202. package/dist/project/mode-actions.js +1 -1
  203. package/dist/project/rollback-policy.js +1 -1
  204. package/dist/project/semantic-assembler.d.ts +2 -2
  205. package/dist/project/semantic-assembler.js +1 -1
  206. package/dist/project/semantic-graph.d.ts +3 -5
  207. package/dist/project/workflow-design-assessment.d.ts +24 -0
  208. package/dist/project/workflow-design-assessment.js +1 -0
  209. package/dist/safety/confirm-gate.d.ts +1 -1
  210. package/dist/safety/confirm-gate.js +1 -1
  211. package/dist/schema/call/allocation.d.ts +186 -1385
  212. package/dist/schema/call/arbitration.d.ts +272 -1871
  213. package/dist/schema/call/base.d.ts +1831 -9076
  214. package/dist/schema/call/base.js +1 -1
  215. package/dist/schema/call/bridge.d.ts +911 -3171
  216. package/dist/schema/call/contact.d.ts +135 -931
  217. package/dist/schema/call/demand.d.ts +164 -1194
  218. package/dist/schema/call/guard.d.ts +298 -1140
  219. package/dist/schema/call/guard.js +1 -1
  220. package/dist/schema/call/machine.d.ts +459 -5403
  221. package/dist/schema/call/machine.js +1 -1
  222. package/dist/schema/call/order.d.ts +137 -844
  223. package/dist/schema/call/payment.d.ts +74 -561
  224. package/dist/schema/call/permission.d.ts +335 -2791
  225. package/dist/schema/call/personal.d.ts +227 -1814
  226. package/dist/schema/call/progress.d.ts +140 -843
  227. package/dist/schema/call/proof.d.ts +42 -258
  228. package/dist/schema/call/repository.d.ts +324 -2222
  229. package/dist/schema/call/reward.d.ts +153 -1183
  230. package/dist/schema/call/semantic.js +1 -1
  231. package/dist/schema/call/service.d.ts +376 -3431
  232. package/dist/schema/call/treasury.d.ts +252 -2158
  233. package/dist/schema/common/index.d.ts +222 -697
  234. package/dist/schema/common/index.js +1 -1
  235. package/dist/schema/config/index.d.ts +18 -161
  236. package/dist/schema/employee/index.d.ts +99 -0
  237. package/dist/schema/employee/index.js +1 -0
  238. package/dist/schema/evaluation/index.d.ts +1035 -3918
  239. package/dist/schema/evaluation/index.js +1 -1
  240. package/dist/schema/index.d.ts +5 -0
  241. package/dist/schema/index.js +1 -1
  242. package/dist/schema/industry-pack/index.d.ts +132 -0
  243. package/dist/schema/industry-pack/index.js +1 -0
  244. package/dist/schema/intent-radar/index.d.ts +92 -245
  245. package/dist/schema/intent-radar/index.js +1 -1
  246. package/dist/schema/local/index.d.ts +2045 -18080
  247. package/dist/schema/local/index.js +1 -1
  248. package/dist/schema/local/wip.d.ts +61 -651
  249. package/dist/schema/local/wip.js +1 -1
  250. package/dist/schema/messenger/index.d.ts +949 -5557
  251. package/dist/schema/messenger/index.js +1 -1
  252. package/dist/schema/operations.d.ts +3168 -26468
  253. package/dist/schema/operations.js +1 -1
  254. package/dist/schema/permission/index.d.ts +121 -0
  255. package/dist/schema/permission/index.js +1 -0
  256. package/dist/schema/persona/index.d.ts +469 -1820
  257. package/dist/schema/persona/index.js +1 -1
  258. package/dist/schema/project/index.d.ts +1023 -8450
  259. package/dist/schema/project/index.js +1 -1
  260. package/dist/schema/query/index.d.ts +12121 -75556
  261. package/dist/schema/query/index.js +1 -1
  262. package/dist/schema/schema-query/index.d.ts +35 -98
  263. package/dist/schema/schema-query/index.js +1 -1
  264. package/dist/schema/schema-version.js +1 -1
  265. package/dist/schema/task-status.d.ts +26 -132
  266. package/dist/schema/trust/index.d.ts +194 -1290
  267. package/dist/schema/utils/guard-parser.js +1 -1
  268. package/dist/schema/utils/node-parser.js +1 -1
  269. package/dist/schema/utils/skills-recommendation.d.ts +1 -0
  270. package/dist/schema/utils/skills-recommendation.js +1 -1
  271. package/dist/schema/workflow/index.d.ts +161 -0
  272. package/dist/schema/workflow/index.js +1 -0
  273. package/dist/schema/workspace/index.d.ts +69 -0
  274. package/dist/schema/workspace/index.js +1 -0
  275. package/dist/{schema-query → schema-query-impl}/index.js +1 -1
  276. package/dist/schemas/account_operation.output.json +3147 -1655
  277. package/dist/schemas/account_operation.schema.json +225 -218
  278. package/dist/schemas/bridge_operation.output.json +1168 -653
  279. package/dist/schemas/bridge_operation.schema.json +736 -504
  280. package/dist/schemas/config_operation.output.json +185 -179
  281. package/dist/schemas/config_operation.schema.json +21 -26
  282. package/dist/schemas/employee_operation.output.json +207 -0
  283. package/dist/schemas/employee_operation.schema.json +176 -0
  284. package/dist/schemas/evaluation_operation.output.json +2268 -601
  285. package/dist/schemas/evaluation_operation.schema.json +2919 -787
  286. package/dist/schemas/guard2file.output.json +58 -64
  287. package/dist/schemas/guard2file.schema.json +79 -81
  288. package/dist/schemas/index.json +41 -11
  289. package/dist/schemas/industry_pack_operation.output.json +594 -0
  290. package/dist/schemas/industry_pack_operation.schema.json +55 -0
  291. package/dist/schemas/intent_radar.output.json +275 -203
  292. package/dist/schemas/intent_radar.schema.json +124 -126
  293. package/dist/schemas/local_info_operation.output.json +1174 -660
  294. package/dist/schemas/local_info_operation.schema.json +119 -125
  295. package/dist/schemas/local_mark_operation.output.json +1239 -692
  296. package/dist/schemas/local_mark_operation.schema.json +91 -96
  297. package/dist/schemas/machineNode2file.output.json +63 -69
  298. package/dist/schemas/machineNode2file.schema.json +79 -81
  299. package/dist/schemas/messenger_operation.output.json +2722 -1531
  300. package/dist/schemas/messenger_operation.schema.json +1482 -1264
  301. package/dist/schemas/onchain_events.output.json +2590 -978
  302. package/dist/schemas/onchain_events.schema.json +117 -99
  303. package/dist/schemas/onchain_operations.output.json +3957 -2312
  304. package/dist/schemas/onchain_operations.schema.json +20799 -9285
  305. package/dist/schemas/onchain_operations_allocation.schema.json +171 -107
  306. package/dist/schemas/onchain_operations_arbitration.schema.json +233 -146
  307. package/dist/schemas/onchain_operations_contact.schema.json +129 -90
  308. package/dist/schemas/onchain_operations_demand.schema.json +170 -112
  309. package/dist/schemas/onchain_operations_gen_passport.schema.json +61 -646
  310. package/dist/schemas/onchain_operations_gen_proof.schema.json +40 -172
  311. package/dist/schemas/onchain_operations_guard.schema.json +3765 -294
  312. package/dist/schemas/onchain_operations_machine.schema.json +536 -163
  313. package/dist/schemas/onchain_operations_order.schema.json +126 -96
  314. package/dist/schemas/onchain_operations_payment.schema.json +82 -67
  315. package/dist/schemas/onchain_operations_permission.schema.json +331 -93
  316. package/dist/schemas/onchain_operations_personal.schema.json +636 -96
  317. package/dist/schemas/onchain_operations_progress.schema.json +125 -92
  318. package/dist/schemas/onchain_operations_proof.schema.json +76 -69
  319. package/dist/schemas/onchain_operations_repository.schema.json +636 -249
  320. package/dist/schemas/onchain_operations_reward.schema.json +218 -108
  321. package/dist/schemas/onchain_operations_service.schema.json +678 -220
  322. package/dist/schemas/onchain_operations_treasury.schema.json +401 -135
  323. package/dist/schemas/onchain_table_data.output.json +6833 -2432
  324. package/dist/schemas/onchain_table_data.schema.json +684 -417
  325. package/dist/schemas/permission_operation.output.json +173 -0
  326. package/dist/schemas/permission_operation.schema.json +39 -0
  327. package/dist/schemas/persona_operation.output.json +1568 -268
  328. package/dist/schemas/persona_operation.schema.json +346 -205
  329. package/dist/schemas/project_operation.output.json +6922 -5132
  330. package/dist/schemas/project_operation.schema.json +1050 -1020
  331. package/dist/schemas/query_task_status.output.json +195 -99
  332. package/dist/schemas/query_task_status.schema.json +12 -18
  333. package/dist/schemas/query_toolkit.output.json +18862 -14561
  334. package/dist/schemas/query_toolkit.schema.json +614 -522
  335. package/dist/schemas/schema_query.output.json +127 -129
  336. package/dist/schemas/schema_query.schema.json +64 -69
  337. package/dist/schemas/trust_score.output.json +678 -587
  338. package/dist/schemas/trust_score.schema.json +289 -277
  339. package/dist/schemas/wip_file.output.json +116 -124
  340. package/dist/schemas/wip_file.schema.json +142 -143
  341. package/dist/schemas/workflow_operation.output.json +164 -0
  342. package/dist/schemas/workflow_operation.schema.json +116 -0
  343. package/dist/schemas/workspace_operation.output.json +277 -0
  344. package/dist/schemas/workspace_operation.schema.json +45 -0
  345. package/dist/schemas/wowok_buildin_info.output.json +1682 -844
  346. package/dist/schemas/wowok_buildin_info.schema.json +576 -526
  347. package/dist/tools/handlers/bridge.d.ts +8 -1
  348. package/dist/tools/handlers/bridge.js +1 -1
  349. package/dist/tools/handlers/config.js +1 -1
  350. package/dist/tools/handlers/employee.d.ts +2 -0
  351. package/dist/tools/handlers/employee.js +1 -0
  352. package/dist/tools/handlers/evaluation.js +1 -1
  353. package/dist/tools/handlers/file-export.js +1 -1
  354. package/dist/tools/handlers/industry-pack.d.ts +2 -0
  355. package/dist/tools/handlers/industry-pack.js +1 -0
  356. package/dist/tools/handlers/onchain.js +1 -1
  357. package/dist/tools/handlers/permission.d.ts +2 -0
  358. package/dist/tools/handlers/permission.js +1 -0
  359. package/dist/tools/handlers/persona.js +1 -1
  360. package/dist/tools/handlers/project.js +1 -1
  361. package/dist/tools/handlers/query.js +1 -1
  362. package/dist/tools/handlers/schema-query.js +1 -1
  363. package/dist/tools/handlers/trust.js +1 -1
  364. package/dist/tools/handlers/wip.js +1 -1
  365. package/dist/tools/handlers/workflow.d.ts +2 -0
  366. package/dist/tools/handlers/workflow.js +1 -0
  367. package/dist/tools/handlers/workspace.d.ts +4 -0
  368. package/dist/tools/handlers/workspace.js +1 -0
  369. package/dist/tools/index.d.ts +2 -1
  370. package/dist/tools/index.js +1 -1
  371. package/dist/tools/rules-hook.d.ts +1 -1
  372. package/dist/tools/rules-hook.js +1 -1
  373. package/dist/tools/shared.d.ts +1 -1
  374. package/dist/tools/shared.js +1 -1
  375. package/dist/tools/types.d.ts +2 -1
  376. package/package.json +4 -5
  377. package/dist/knowledge/arbitration-trust.d.ts +0 -24
  378. package/dist/knowledge/arbitration-trust.js +0 -1
  379. package/dist/schema/call/bridge-handler.d.ts +0 -8
  380. package/dist/schema/call/bridge-handler.js +0 -1
  381. package/dist/schema/sync-layer4.d.ts +0 -21
  382. package/dist/schema/sync-layer4.js +0 -1
  383. /package/dist/{schema-query → schema-query-impl}/index.d.ts +0 -0
@@ -1,982 +1,1820 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/wowok_buildin_info.json",
3
+ "$id": "https://wowok.net/schemas/wowok_buildin_info.output.json",
4
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"
5
+ "description": "Protocol info result",
6
+ "type": "object",
7
+ "properties": {
8
+ "result": {
9
+ "oneOf": [
10
+ {
11
+ "type": "object",
12
+ "properties": {
13
+ "info": {
14
+ "type": "string",
15
+ "const": "constants"
16
+ },
17
+ "result": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "name": {
23
+ "type": "string",
24
+ "description": "Name"
25
+ },
26
+ "value": {
27
+ "anyOf": [
28
+ {
29
+ "type": "string"
35
30
  },
36
- "description": {
37
- "type": "string",
38
- "description": "Description"
31
+ {
32
+ "type": "number"
39
33
  }
40
- },
41
- "required": [
42
- "name",
43
- "value",
44
- "description"
45
34
  ],
46
- "additionalProperties": false,
47
- "description": "Constant item"
35
+ "description": "Value"
48
36
  },
49
- "description": "Constants result"
50
- }
37
+ "description": {
38
+ "type": "string",
39
+ "description": "Description"
40
+ }
41
+ },
42
+ "required": [
43
+ "name",
44
+ "value",
45
+ "description"
46
+ ],
47
+ "additionalProperties": false,
48
+ "description": "Constant item"
51
49
  },
52
- "required": [
53
- "info",
54
- "result"
55
- ],
56
- "additionalProperties": false
50
+ "description": "Constants result"
51
+ }
52
+ },
53
+ "required": [
54
+ "info",
55
+ "result"
56
+ ],
57
+ "additionalProperties": false
58
+ },
59
+ {
60
+ "type": "object",
61
+ "properties": {
62
+ "info": {
63
+ "type": "string",
64
+ "const": "built-in permissions"
57
65
  },
58
- {
59
- "type": "object",
60
- "properties": {
61
- "info": {
62
- "type": "string",
63
- "const": "built-in permissions"
66
+ "result": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "object",
70
+ "properties": {
71
+ "index": {
72
+ "type": "number",
73
+ "description": "Permission index (e.g. 315 for service.compensation_fund_deposit)"
74
+ },
75
+ "name": {
76
+ "type": "string",
77
+ "description": "Permission name (e.g. \"service.compensation_fund_deposit\")"
78
+ },
79
+ "description": {
80
+ "type": "string",
81
+ "description": "Description of what this permission allows"
82
+ },
83
+ "object_type": {
84
+ "type": "string",
85
+ "description": "Object type this permission belongs to (e.g. \"Service\", \"Arbitration\")"
86
+ },
87
+ "operation": {
88
+ "description": "The SDK/MCP operation field name that triggers this permission check (e.g. \"compensation_fund_add\", \"publish\", \"pause\"). Undefined for permissions with no direct Call*_Data field (e.g. \"*.new\" permissions). Use this to answer: \"What permission does operation X require?\" by filtering with {operation: \"compensation_fund_add\"}.",
89
+ "type": "string"
90
+ }
64
91
  },
65
- "result": {
66
- "type": "array",
67
- "items": {
68
- "type": "object",
69
- "properties": {
70
- "index": {
71
- "type": "number",
72
- "description": "Permission index (e.g. 315 for service.compensation_fund_deposit)"
73
- },
74
- "name": {
75
- "type": "string",
76
- "description": "Permission name (e.g. \"service.compensation_fund_deposit\")"
77
- },
78
- "description": {
79
- "type": "string",
80
- "description": "Description of what this permission allows"
81
- },
82
- "object_type": {
83
- "type": "string",
84
- "description": "Object type this permission belongs to (e.g. \"Service\", \"Arbitration\")"
85
- },
86
- "operation": {
87
- "type": "string",
88
- "description": "The SDK/MCP operation field name that triggers this permission check (e.g. \"compensation_fund_add\", \"publish\", \"pause\"). Undefined for permissions with no direct Call*_Data field (e.g. \"*.new\" permissions). Use this to answer: \"What permission does operation X require?\" by filtering with {operation: \"compensation_fund_add\"}."
89
- }
90
- },
91
- "required": [
92
- "index",
93
- "name",
94
- "description",
95
- "object_type"
92
+ "required": [
93
+ "index",
94
+ "name",
95
+ "description",
96
+ "object_type"
97
+ ],
98
+ "additionalProperties": false,
99
+ "description": "Permission info type — includes the operation field name that maps to this permission, so AI can look up required permissions by operation name."
100
+ },
101
+ "description": "Built-in permissions result. Each item includes an optional \"operation\" field mapping to the SDK/MCP field name that triggers this permission."
102
+ }
103
+ },
104
+ "required": [
105
+ "info",
106
+ "result"
107
+ ],
108
+ "additionalProperties": false
109
+ },
110
+ {
111
+ "type": "object",
112
+ "properties": {
113
+ "info": {
114
+ "type": "string",
115
+ "const": "common mistakes"
116
+ },
117
+ "result": {
118
+ "type": "array",
119
+ "items": {
120
+ "type": "object",
121
+ "properties": {
122
+ "object_type": {
123
+ "type": "string",
124
+ "description": "The object type this mistake applies to (e.g. \"Service\", \"Arbitration\")"
125
+ },
126
+ "operation": {
127
+ "type": "string",
128
+ "description": "The operation field name this mistake applies to (e.g. \"compensation_fund_add\", \"voting_deadline\")"
129
+ },
130
+ "category": {
131
+ "type": "string",
132
+ "enum": [
133
+ "field_name",
134
+ "unit",
135
+ "value_range",
136
+ "workflow",
137
+ "timing"
96
138
  ],
97
- "additionalProperties": false,
98
- "description": "Permission info type — includes the operation field name that maps to this permission, so AI can look up required permissions by operation name."
139
+ "description": "Category of the mistake: field_name (wrong field name), unit (wrong unit like seconds vs ms), value_range (wrong expected value), workflow (wrong operation order), timing (wrong time constraint)"
99
140
  },
100
- "description": "Built-in permissions result. Each item includes an optional \"operation\" field mapping to the SDK/MCP field name that triggers this permission."
101
- }
141
+ "mistake": {
142
+ "type": "string",
143
+ "description": "Short description of the mistake"
144
+ },
145
+ "correct_usage": {
146
+ "type": "string",
147
+ "description": "The correct usage pattern"
148
+ },
149
+ "wrong_example": {
150
+ "type": "string",
151
+ "description": "Example of the wrong usage"
152
+ },
153
+ "correct_example": {
154
+ "type": "string",
155
+ "description": "Example of the correct usage"
156
+ }
157
+ },
158
+ "required": [
159
+ "object_type",
160
+ "operation",
161
+ "category",
162
+ "mistake",
163
+ "correct_usage",
164
+ "wrong_example",
165
+ "correct_example"
166
+ ],
167
+ "additionalProperties": false,
168
+ "description": "A known common mistake for an on-chain operation. Use this to proactively warn users before they submit a transaction."
102
169
  },
103
- "required": [
104
- "info",
105
- "result"
106
- ],
107
- "additionalProperties": false
170
+ "description": "Common mistakes result. Each item documents a known pitfall (wrong field name, wrong unit, wrong workflow order, etc.) with wrong/correct examples."
171
+ }
172
+ },
173
+ "required": [
174
+ "info",
175
+ "result"
176
+ ],
177
+ "additionalProperties": false
178
+ },
179
+ {
180
+ "type": "object",
181
+ "properties": {
182
+ "info": {
183
+ "type": "string",
184
+ "const": "guard instructions"
108
185
  },
109
- {
110
- "type": "object",
111
- "properties": {
112
- "info": {
113
- "type": "string",
114
- "const": "common mistakes"
115
- },
116
- "result": {
117
- "type": "array",
118
- "items": {
119
- "type": "object",
120
- "properties": {
121
- "object_type": {
122
- "type": "string",
123
- "description": "The object type this mistake applies to (e.g. \"Service\", \"Arbitration\")"
124
- },
125
- "operation": {
126
- "type": "string",
127
- "description": "The operation field name this mistake applies to (e.g. \"compensation_fund_add\", \"voting_deadline\")"
128
- },
129
- "category": {
130
- "type": "string",
131
- "enum": [
132
- "field_name",
133
- "unit",
134
- "value_range",
135
- "workflow",
136
- "timing"
137
- ],
138
- "description": "Category of the mistake: field_name (wrong field name), unit (wrong unit like seconds vs ms), value_range (wrong expected value), workflow (wrong operation order), timing (wrong time constraint)"
139
- },
140
- "mistake": {
141
- "type": "string",
142
- "description": "Short description of the mistake"
143
- },
144
- "correct_usage": {
145
- "type": "string",
146
- "description": "The correct usage pattern"
147
- },
148
- "wrong_example": {
149
- "type": "string",
150
- "description": "Example of the wrong usage"
186
+ "result": {
187
+ "type": "array",
188
+ "items": {
189
+ "type": "object",
190
+ "properties": {
191
+ "name": {
192
+ "type": "string",
193
+ "description": "Name of the guard instruction or query"
194
+ },
195
+ "id": {
196
+ "anyOf": [
197
+ {
198
+ "type": "integer",
199
+ "minimum": -9007199254740991,
200
+ "maximum": 9007199254740991
151
201
  },
152
- "correct_example": {
153
- "type": "string",
154
- "description": "Example of the correct usage"
202
+ {
203
+ "type": "integer",
204
+ "minimum": 0,
205
+ "maximum": 9007199254740991,
206
+ "description": "Query ID"
155
207
  }
156
- },
157
- "required": [
158
- "object_type",
159
- "operation",
160
- "category",
161
- "mistake",
162
- "correct_usage",
163
- "wrong_example",
164
- "correct_example"
165
208
  ],
166
- "additionalProperties": false,
167
- "description": "A known common mistake for an on-chain operation. Use this to proactively warn users before they submit a transaction."
209
+ "description": "ID of the guard instruction or query"
168
210
  },
169
- "description": "Common mistakes result. Each item documents a known pitfall (wrong field name, wrong unit, wrong workflow order, etc.) with wrong/correct examples."
170
- }
171
- },
172
- "required": [
173
- "info",
174
- "result"
175
- ],
176
- "additionalProperties": false
177
- },
178
- {
179
- "type": "object",
180
- "properties": {
181
- "info": {
182
- "type": "string",
183
- "const": "guard instructions"
184
- },
185
- "result": {
186
- "type": "array",
187
- "items": {
188
- "type": "object",
189
- "properties": {
190
- "name": {
191
- "type": "string",
192
- "description": "Name of the guard instruction or query"
193
- },
194
- "id": {
211
+ "description": {
212
+ "type": "string",
213
+ "description": "Description"
214
+ },
215
+ "returnType": {
216
+ "description": "Return type for guard instruction",
217
+ "anyOf": [
218
+ {
195
219
  "anyOf": [
196
220
  {
197
- "type": "integer"
221
+ "anyOf": [
222
+ {
223
+ "type": "number",
224
+ "const": 0,
225
+ "description": "Bool (0)"
226
+ },
227
+ {
228
+ "type": "number",
229
+ "const": 1,
230
+ "description": "Address (1)"
231
+ },
232
+ {
233
+ "type": "number",
234
+ "const": 2,
235
+ "description": "String (2)"
236
+ },
237
+ {
238
+ "type": "number",
239
+ "const": 3,
240
+ "description": "U8 (3)"
241
+ },
242
+ {
243
+ "type": "number",
244
+ "const": 4,
245
+ "description": "U16 (4)"
246
+ },
247
+ {
248
+ "type": "number",
249
+ "const": 5,
250
+ "description": "U32 (5)"
251
+ },
252
+ {
253
+ "type": "number",
254
+ "const": 6,
255
+ "description": "U64 (6)"
256
+ },
257
+ {
258
+ "type": "number",
259
+ "const": 7,
260
+ "description": "U128 (7)"
261
+ },
262
+ {
263
+ "type": "number",
264
+ "const": 8,
265
+ "description": "U256 (8)"
266
+ },
267
+ {
268
+ "type": "number",
269
+ "const": 9,
270
+ "description": "VecBool (9)"
271
+ },
272
+ {
273
+ "type": "number",
274
+ "const": 10,
275
+ "description": "VecAddress (10)"
276
+ },
277
+ {
278
+ "type": "number",
279
+ "const": 11,
280
+ "description": "VecString (11)"
281
+ },
282
+ {
283
+ "type": "number",
284
+ "const": 12,
285
+ "description": "VecU8 (12)"
286
+ },
287
+ {
288
+ "type": "number",
289
+ "const": 13,
290
+ "description": "VecU16 (13)"
291
+ },
292
+ {
293
+ "type": "number",
294
+ "const": 14,
295
+ "description": "VecU32 (14)"
296
+ },
297
+ {
298
+ "type": "number",
299
+ "const": 15,
300
+ "description": "VecU64 (15)"
301
+ },
302
+ {
303
+ "type": "number",
304
+ "const": 16,
305
+ "description": "VecU128 (16)"
306
+ },
307
+ {
308
+ "type": "number",
309
+ "const": 17,
310
+ "description": "VecU256 (17)"
311
+ },
312
+ {
313
+ "type": "number",
314
+ "const": 18,
315
+ "description": "VecVecU8 (18)"
316
+ },
317
+ {
318
+ "type": "string",
319
+ "const": "Bool",
320
+ "description": "Bool"
321
+ },
322
+ {
323
+ "type": "string",
324
+ "const": "Address",
325
+ "description": "Address"
326
+ },
327
+ {
328
+ "type": "string",
329
+ "const": "String",
330
+ "description": "String"
331
+ },
332
+ {
333
+ "type": "string",
334
+ "const": "U8",
335
+ "description": "U8"
336
+ },
337
+ {
338
+ "type": "string",
339
+ "const": "U16",
340
+ "description": "U16"
341
+ },
342
+ {
343
+ "type": "string",
344
+ "const": "U32",
345
+ "description": "U32"
346
+ },
347
+ {
348
+ "type": "string",
349
+ "const": "U64",
350
+ "description": "U64"
351
+ },
352
+ {
353
+ "type": "string",
354
+ "const": "U128",
355
+ "description": "U128"
356
+ },
357
+ {
358
+ "type": "string",
359
+ "const": "U256",
360
+ "description": "U256"
361
+ },
362
+ {
363
+ "type": "string",
364
+ "const": "VecBool",
365
+ "description": "VecBool"
366
+ },
367
+ {
368
+ "type": "string",
369
+ "const": "VecAddress",
370
+ "description": "VecAddress"
371
+ },
372
+ {
373
+ "type": "string",
374
+ "const": "VecString",
375
+ "description": "VecString"
376
+ },
377
+ {
378
+ "type": "string",
379
+ "const": "VecU8",
380
+ "description": "VecU8"
381
+ },
382
+ {
383
+ "type": "string",
384
+ "const": "VecU16",
385
+ "description": "VecU16"
386
+ },
387
+ {
388
+ "type": "string",
389
+ "const": "VecU32",
390
+ "description": "VecU32"
391
+ },
392
+ {
393
+ "type": "string",
394
+ "const": "VecU64",
395
+ "description": "VecU64"
396
+ },
397
+ {
398
+ "type": "string",
399
+ "const": "VecU128",
400
+ "description": "VecU128"
401
+ },
402
+ {
403
+ "type": "string",
404
+ "const": "VecU256",
405
+ "description": "VecU256"
406
+ },
407
+ {
408
+ "type": "string",
409
+ "const": "VecVecU8",
410
+ "description": "VecVecU8"
411
+ },
412
+ {
413
+ "type": "string",
414
+ "const": "bool",
415
+ "description": "bool"
416
+ },
417
+ {
418
+ "type": "string",
419
+ "const": "address",
420
+ "description": "address"
421
+ },
422
+ {
423
+ "type": "string",
424
+ "const": "string",
425
+ "description": "string"
426
+ },
427
+ {
428
+ "type": "string",
429
+ "const": "u8",
430
+ "description": "u8"
431
+ },
432
+ {
433
+ "type": "string",
434
+ "const": "u16",
435
+ "description": "u16"
436
+ },
437
+ {
438
+ "type": "string",
439
+ "const": "u32",
440
+ "description": "u32"
441
+ },
442
+ {
443
+ "type": "string",
444
+ "const": "u64",
445
+ "description": "u64"
446
+ },
447
+ {
448
+ "type": "string",
449
+ "const": "u128",
450
+ "description": "u128"
451
+ },
452
+ {
453
+ "type": "string",
454
+ "const": "u256",
455
+ "description": "u256"
456
+ },
457
+ {
458
+ "type": "string",
459
+ "const": "vecbool",
460
+ "description": "vecbool"
461
+ },
462
+ {
463
+ "type": "string",
464
+ "const": "vecaddress",
465
+ "description": "vecaddress"
466
+ },
467
+ {
468
+ "type": "string",
469
+ "const": "vecstring",
470
+ "description": "vecstring"
471
+ },
472
+ {
473
+ "type": "string",
474
+ "const": "vecu8",
475
+ "description": "vecu8"
476
+ },
477
+ {
478
+ "type": "string",
479
+ "const": "vecu16",
480
+ "description": "vecu16"
481
+ },
482
+ {
483
+ "type": "string",
484
+ "const": "vecu32",
485
+ "description": "vecu32"
486
+ },
487
+ {
488
+ "type": "string",
489
+ "const": "vecu64",
490
+ "description": "vecu64"
491
+ },
492
+ {
493
+ "type": "string",
494
+ "const": "vecu128",
495
+ "description": "vecu128"
496
+ },
497
+ {
498
+ "type": "string",
499
+ "const": "vecu256",
500
+ "description": "vecu256"
501
+ },
502
+ {
503
+ "type": "string",
504
+ "const": "vecvecu8",
505
+ "description": "vecvecu8"
506
+ }
507
+ ],
508
+ "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
198
509
  },
199
510
  {
200
- "type": "integer",
201
- "minimum": 0,
202
- "description": "Query ID"
511
+ "type": "number",
512
+ "const": 19,
513
+ "description": "Value (19)"
203
514
  }
204
- ],
205
- "description": "ID of the guard instruction or query"
515
+ ]
206
516
  },
207
- "description": {
517
+ {
208
518
  "type": "string",
209
- "description": "Description"
210
- },
211
- "returnType": {
519
+ "const": "Value",
520
+ "description": "Value"
521
+ }
522
+ ]
523
+ },
524
+ "objectType": {
525
+ "description": "Object type for guard query",
526
+ "type": "string",
527
+ "enum": [
528
+ "Permission",
529
+ "Repository",
530
+ "Arb",
531
+ "Arbitration",
532
+ "Service",
533
+ "Machine",
534
+ "Order",
535
+ "Progress",
536
+ "Payment",
537
+ "Treasury",
538
+ "Guard",
539
+ "Demand",
540
+ "Passport",
541
+ "Allocation",
542
+ "Resource",
543
+ "Reward",
544
+ "Discount",
545
+ "EntityRegistrar",
546
+ "EntityLinker",
547
+ "Proof",
548
+ "WReceivedObject",
549
+ "Contact",
550
+ "TableItem_ProgressHistory",
551
+ "TableItem_PermissionPerm",
552
+ "TableItem_DemandPresenter",
553
+ "TableItem_MachineNode",
554
+ "TableItem_TreasuryHistory",
555
+ "TableItem_RepositoryData",
556
+ "TableItem_RewardRecord",
557
+ "TableItem_EntityLinker",
558
+ "TableItem_AddressMark",
559
+ "TableItem_EntityRegistrar"
560
+ ]
561
+ },
562
+ "parameters": {
563
+ "description": "Parameters for guard query",
564
+ "type": "array",
565
+ "items": {
566
+ "anyOf": [
567
+ {
568
+ "anyOf": [
569
+ {
570
+ "anyOf": [
571
+ {
572
+ "type": "number",
573
+ "const": 0,
574
+ "description": "Bool (0)"
575
+ },
576
+ {
577
+ "type": "number",
578
+ "const": 1,
579
+ "description": "Address (1)"
580
+ },
581
+ {
582
+ "type": "number",
583
+ "const": 2,
584
+ "description": "String (2)"
585
+ },
586
+ {
587
+ "type": "number",
588
+ "const": 3,
589
+ "description": "U8 (3)"
590
+ },
591
+ {
592
+ "type": "number",
593
+ "const": 4,
594
+ "description": "U16 (4)"
595
+ },
596
+ {
597
+ "type": "number",
598
+ "const": 5,
599
+ "description": "U32 (5)"
600
+ },
601
+ {
602
+ "type": "number",
603
+ "const": 6,
604
+ "description": "U64 (6)"
605
+ },
606
+ {
607
+ "type": "number",
608
+ "const": 7,
609
+ "description": "U128 (7)"
610
+ },
611
+ {
612
+ "type": "number",
613
+ "const": 8,
614
+ "description": "U256 (8)"
615
+ },
616
+ {
617
+ "type": "number",
618
+ "const": 9,
619
+ "description": "VecBool (9)"
620
+ },
621
+ {
622
+ "type": "number",
623
+ "const": 10,
624
+ "description": "VecAddress (10)"
625
+ },
626
+ {
627
+ "type": "number",
628
+ "const": 11,
629
+ "description": "VecString (11)"
630
+ },
631
+ {
632
+ "type": "number",
633
+ "const": 12,
634
+ "description": "VecU8 (12)"
635
+ },
636
+ {
637
+ "type": "number",
638
+ "const": 13,
639
+ "description": "VecU16 (13)"
640
+ },
641
+ {
642
+ "type": "number",
643
+ "const": 14,
644
+ "description": "VecU32 (14)"
645
+ },
646
+ {
647
+ "type": "number",
648
+ "const": 15,
649
+ "description": "VecU64 (15)"
650
+ },
651
+ {
652
+ "type": "number",
653
+ "const": 16,
654
+ "description": "VecU128 (16)"
655
+ },
656
+ {
657
+ "type": "number",
658
+ "const": 17,
659
+ "description": "VecU256 (17)"
660
+ },
661
+ {
662
+ "type": "number",
663
+ "const": 18,
664
+ "description": "VecVecU8 (18)"
665
+ },
666
+ {
667
+ "type": "string",
668
+ "const": "Bool",
669
+ "description": "Bool"
670
+ },
671
+ {
672
+ "type": "string",
673
+ "const": "Address",
674
+ "description": "Address"
675
+ },
676
+ {
677
+ "type": "string",
678
+ "const": "String",
679
+ "description": "String"
680
+ },
681
+ {
682
+ "type": "string",
683
+ "const": "U8",
684
+ "description": "U8"
685
+ },
686
+ {
687
+ "type": "string",
688
+ "const": "U16",
689
+ "description": "U16"
690
+ },
691
+ {
692
+ "type": "string",
693
+ "const": "U32",
694
+ "description": "U32"
695
+ },
696
+ {
697
+ "type": "string",
698
+ "const": "U64",
699
+ "description": "U64"
700
+ },
701
+ {
702
+ "type": "string",
703
+ "const": "U128",
704
+ "description": "U128"
705
+ },
706
+ {
707
+ "type": "string",
708
+ "const": "U256",
709
+ "description": "U256"
710
+ },
711
+ {
712
+ "type": "string",
713
+ "const": "VecBool",
714
+ "description": "VecBool"
715
+ },
716
+ {
717
+ "type": "string",
718
+ "const": "VecAddress",
719
+ "description": "VecAddress"
720
+ },
721
+ {
722
+ "type": "string",
723
+ "const": "VecString",
724
+ "description": "VecString"
725
+ },
726
+ {
727
+ "type": "string",
728
+ "const": "VecU8",
729
+ "description": "VecU8"
730
+ },
731
+ {
732
+ "type": "string",
733
+ "const": "VecU16",
734
+ "description": "VecU16"
735
+ },
736
+ {
737
+ "type": "string",
738
+ "const": "VecU32",
739
+ "description": "VecU32"
740
+ },
741
+ {
742
+ "type": "string",
743
+ "const": "VecU64",
744
+ "description": "VecU64"
745
+ },
746
+ {
747
+ "type": "string",
748
+ "const": "VecU128",
749
+ "description": "VecU128"
750
+ },
751
+ {
752
+ "type": "string",
753
+ "const": "VecU256",
754
+ "description": "VecU256"
755
+ },
756
+ {
757
+ "type": "string",
758
+ "const": "VecVecU8",
759
+ "description": "VecVecU8"
760
+ },
761
+ {
762
+ "type": "string",
763
+ "const": "bool",
764
+ "description": "bool"
765
+ },
766
+ {
767
+ "type": "string",
768
+ "const": "address",
769
+ "description": "address"
770
+ },
771
+ {
772
+ "type": "string",
773
+ "const": "string",
774
+ "description": "string"
775
+ },
776
+ {
777
+ "type": "string",
778
+ "const": "u8",
779
+ "description": "u8"
780
+ },
781
+ {
782
+ "type": "string",
783
+ "const": "u16",
784
+ "description": "u16"
785
+ },
786
+ {
787
+ "type": "string",
788
+ "const": "u32",
789
+ "description": "u32"
790
+ },
791
+ {
792
+ "type": "string",
793
+ "const": "u64",
794
+ "description": "u64"
795
+ },
796
+ {
797
+ "type": "string",
798
+ "const": "u128",
799
+ "description": "u128"
800
+ },
801
+ {
802
+ "type": "string",
803
+ "const": "u256",
804
+ "description": "u256"
805
+ },
806
+ {
807
+ "type": "string",
808
+ "const": "vecbool",
809
+ "description": "vecbool"
810
+ },
811
+ {
812
+ "type": "string",
813
+ "const": "vecaddress",
814
+ "description": "vecaddress"
815
+ },
816
+ {
817
+ "type": "string",
818
+ "const": "vecstring",
819
+ "description": "vecstring"
820
+ },
821
+ {
822
+ "type": "string",
823
+ "const": "vecu8",
824
+ "description": "vecu8"
825
+ },
826
+ {
827
+ "type": "string",
828
+ "const": "vecu16",
829
+ "description": "vecu16"
830
+ },
831
+ {
832
+ "type": "string",
833
+ "const": "vecu32",
834
+ "description": "vecu32"
835
+ },
836
+ {
837
+ "type": "string",
838
+ "const": "vecu64",
839
+ "description": "vecu64"
840
+ },
841
+ {
842
+ "type": "string",
843
+ "const": "vecu128",
844
+ "description": "vecu128"
845
+ },
846
+ {
847
+ "type": "string",
848
+ "const": "vecu256",
849
+ "description": "vecu256"
850
+ },
851
+ {
852
+ "type": "string",
853
+ "const": "vecvecu8",
854
+ "description": "vecvecu8"
855
+ }
856
+ ],
857
+ "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
858
+ },
859
+ {
860
+ "type": "number",
861
+ "const": 19,
862
+ "description": "Value (19)"
863
+ }
864
+ ]
865
+ },
866
+ {
867
+ "type": "string",
868
+ "const": "Value",
869
+ "description": "Value"
870
+ }
871
+ ],
872
+ "description": "Value type (number or string, e.g., 6 or 'U64')"
873
+ }
874
+ },
875
+ "return": {
876
+ "description": "Return type for guard query",
877
+ "anyOf": [
878
+ {
212
879
  "anyOf": [
213
880
  {
214
881
  "anyOf": [
215
882
  {
216
- "anyOf": [
217
- {
218
- "type": "number",
219
- "const": 0,
220
- "description": "Bool (0)"
221
- },
222
- {
223
- "type": "number",
224
- "const": 1,
225
- "description": "Address (1)"
226
- },
227
- {
228
- "type": "number",
229
- "const": 2,
230
- "description": "String (2)"
231
- },
232
- {
233
- "type": "number",
234
- "const": 3,
235
- "description": "U8 (3)"
236
- },
237
- {
238
- "type": "number",
239
- "const": 4,
240
- "description": "U16 (4)"
241
- },
242
- {
243
- "type": "number",
244
- "const": 5,
245
- "description": "U32 (5)"
246
- },
247
- {
248
- "type": "number",
249
- "const": 6,
250
- "description": "U64 (6)"
251
- },
252
- {
253
- "type": "number",
254
- "const": 7,
255
- "description": "U128 (7)"
256
- },
257
- {
258
- "type": "number",
259
- "const": 8,
260
- "description": "U256 (8)"
261
- },
262
- {
263
- "type": "number",
264
- "const": 9,
265
- "description": "VecBool (9)"
266
- },
267
- {
268
- "type": "number",
269
- "const": 10,
270
- "description": "VecAddress (10)"
271
- },
272
- {
273
- "type": "number",
274
- "const": 11,
275
- "description": "VecString (11)"
276
- },
277
- {
278
- "type": "number",
279
- "const": 12,
280
- "description": "VecU8 (12)"
281
- },
282
- {
283
- "type": "number",
284
- "const": 13,
285
- "description": "VecU16 (13)"
286
- },
287
- {
288
- "type": "number",
289
- "const": 14,
290
- "description": "VecU32 (14)"
291
- },
292
- {
293
- "type": "number",
294
- "const": 15,
295
- "description": "VecU64 (15)"
296
- },
297
- {
298
- "type": "number",
299
- "const": 16,
300
- "description": "VecU128 (16)"
301
- },
302
- {
303
- "type": "number",
304
- "const": 17,
305
- "description": "VecU256 (17)"
306
- },
307
- {
308
- "type": "number",
309
- "const": 18,
310
- "description": "VecVecU8 (18)"
311
- },
312
- {
313
- "type": "string",
314
- "const": "Bool",
315
- "description": "Bool"
316
- },
317
- {
318
- "type": "string",
319
- "const": "Address",
320
- "description": "Address"
321
- },
322
- {
323
- "type": "string",
324
- "const": "String",
325
- "description": "String"
326
- },
327
- {
328
- "type": "string",
329
- "const": "U8",
330
- "description": "U8"
331
- },
332
- {
333
- "type": "string",
334
- "const": "U16",
335
- "description": "U16"
336
- },
337
- {
338
- "type": "string",
339
- "const": "U32",
340
- "description": "U32"
341
- },
342
- {
343
- "type": "string",
344
- "const": "U64",
345
- "description": "U64"
346
- },
347
- {
348
- "type": "string",
349
- "const": "U128",
350
- "description": "U128"
351
- },
352
- {
353
- "type": "string",
354
- "const": "U256",
355
- "description": "U256"
356
- },
357
- {
358
- "type": "string",
359
- "const": "VecBool",
360
- "description": "VecBool"
361
- },
362
- {
363
- "type": "string",
364
- "const": "VecAddress",
365
- "description": "VecAddress"
366
- },
367
- {
368
- "type": "string",
369
- "const": "VecString",
370
- "description": "VecString"
371
- },
372
- {
373
- "type": "string",
374
- "const": "VecU8",
375
- "description": "VecU8"
376
- },
377
- {
378
- "type": "string",
379
- "const": "VecU16",
380
- "description": "VecU16"
381
- },
382
- {
383
- "type": "string",
384
- "const": "VecU32",
385
- "description": "VecU32"
386
- },
387
- {
388
- "type": "string",
389
- "const": "VecU64",
390
- "description": "VecU64"
391
- },
392
- {
393
- "type": "string",
394
- "const": "VecU128",
395
- "description": "VecU128"
396
- },
397
- {
398
- "type": "string",
399
- "const": "VecU256",
400
- "description": "VecU256"
401
- },
402
- {
403
- "type": "string",
404
- "const": "VecVecU8",
405
- "description": "VecVecU8"
406
- },
407
- {
408
- "type": "string",
409
- "const": "bool",
410
- "description": "bool"
411
- },
412
- {
413
- "type": "string",
414
- "const": "address",
415
- "description": "address"
416
- },
417
- {
418
- "type": "string",
419
- "const": "string",
420
- "description": "string"
421
- },
422
- {
423
- "type": "string",
424
- "const": "u8",
425
- "description": "u8"
426
- },
427
- {
428
- "type": "string",
429
- "const": "u16",
430
- "description": "u16"
431
- },
432
- {
433
- "type": "string",
434
- "const": "u32",
435
- "description": "u32"
436
- },
437
- {
438
- "type": "string",
439
- "const": "u64",
440
- "description": "u64"
441
- },
442
- {
443
- "type": "string",
444
- "const": "u128",
445
- "description": "u128"
446
- },
447
- {
448
- "type": "string",
449
- "const": "u256",
450
- "description": "u256"
451
- },
452
- {
453
- "type": "string",
454
- "const": "vecbool",
455
- "description": "vecbool"
456
- },
457
- {
458
- "type": "string",
459
- "const": "vecaddress",
460
- "description": "vecaddress"
461
- },
462
- {
463
- "type": "string",
464
- "const": "vecstring",
465
- "description": "vecstring"
466
- },
467
- {
468
- "type": "string",
469
- "const": "vecu8",
470
- "description": "vecu8"
471
- },
472
- {
473
- "type": "string",
474
- "const": "vecu16",
475
- "description": "vecu16"
476
- },
477
- {
478
- "type": "string",
479
- "const": "vecu32",
480
- "description": "vecu32"
481
- },
482
- {
483
- "type": "string",
484
- "const": "vecu64",
485
- "description": "vecu64"
486
- },
487
- {
488
- "type": "string",
489
- "const": "vecu128",
490
- "description": "vecu128"
491
- },
492
- {
493
- "type": "string",
494
- "const": "vecu256",
495
- "description": "vecu256"
496
- },
497
- {
498
- "type": "string",
499
- "const": "vecvecu8",
500
- "description": "vecvecu8"
501
- }
502
- ],
503
- "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
504
- },
505
- {
506
- "type": "number",
507
- "const": 19,
508
- "description": "Value (19)"
883
+ "type": "number",
884
+ "const": 0,
885
+ "description": "Bool (0)"
886
+ },
887
+ {
888
+ "type": "number",
889
+ "const": 1,
890
+ "description": "Address (1)"
891
+ },
892
+ {
893
+ "type": "number",
894
+ "const": 2,
895
+ "description": "String (2)"
896
+ },
897
+ {
898
+ "type": "number",
899
+ "const": 3,
900
+ "description": "U8 (3)"
901
+ },
902
+ {
903
+ "type": "number",
904
+ "const": 4,
905
+ "description": "U16 (4)"
906
+ },
907
+ {
908
+ "type": "number",
909
+ "const": 5,
910
+ "description": "U32 (5)"
911
+ },
912
+ {
913
+ "type": "number",
914
+ "const": 6,
915
+ "description": "U64 (6)"
916
+ },
917
+ {
918
+ "type": "number",
919
+ "const": 7,
920
+ "description": "U128 (7)"
921
+ },
922
+ {
923
+ "type": "number",
924
+ "const": 8,
925
+ "description": "U256 (8)"
926
+ },
927
+ {
928
+ "type": "number",
929
+ "const": 9,
930
+ "description": "VecBool (9)"
931
+ },
932
+ {
933
+ "type": "number",
934
+ "const": 10,
935
+ "description": "VecAddress (10)"
936
+ },
937
+ {
938
+ "type": "number",
939
+ "const": 11,
940
+ "description": "VecString (11)"
941
+ },
942
+ {
943
+ "type": "number",
944
+ "const": 12,
945
+ "description": "VecU8 (12)"
946
+ },
947
+ {
948
+ "type": "number",
949
+ "const": 13,
950
+ "description": "VecU16 (13)"
951
+ },
952
+ {
953
+ "type": "number",
954
+ "const": 14,
955
+ "description": "VecU32 (14)"
956
+ },
957
+ {
958
+ "type": "number",
959
+ "const": 15,
960
+ "description": "VecU64 (15)"
961
+ },
962
+ {
963
+ "type": "number",
964
+ "const": 16,
965
+ "description": "VecU128 (16)"
966
+ },
967
+ {
968
+ "type": "number",
969
+ "const": 17,
970
+ "description": "VecU256 (17)"
971
+ },
972
+ {
973
+ "type": "number",
974
+ "const": 18,
975
+ "description": "VecVecU8 (18)"
976
+ },
977
+ {
978
+ "type": "string",
979
+ "const": "Bool",
980
+ "description": "Bool"
981
+ },
982
+ {
983
+ "type": "string",
984
+ "const": "Address",
985
+ "description": "Address"
986
+ },
987
+ {
988
+ "type": "string",
989
+ "const": "String",
990
+ "description": "String"
991
+ },
992
+ {
993
+ "type": "string",
994
+ "const": "U8",
995
+ "description": "U8"
996
+ },
997
+ {
998
+ "type": "string",
999
+ "const": "U16",
1000
+ "description": "U16"
1001
+ },
1002
+ {
1003
+ "type": "string",
1004
+ "const": "U32",
1005
+ "description": "U32"
1006
+ },
1007
+ {
1008
+ "type": "string",
1009
+ "const": "U64",
1010
+ "description": "U64"
1011
+ },
1012
+ {
1013
+ "type": "string",
1014
+ "const": "U128",
1015
+ "description": "U128"
1016
+ },
1017
+ {
1018
+ "type": "string",
1019
+ "const": "U256",
1020
+ "description": "U256"
1021
+ },
1022
+ {
1023
+ "type": "string",
1024
+ "const": "VecBool",
1025
+ "description": "VecBool"
1026
+ },
1027
+ {
1028
+ "type": "string",
1029
+ "const": "VecAddress",
1030
+ "description": "VecAddress"
1031
+ },
1032
+ {
1033
+ "type": "string",
1034
+ "const": "VecString",
1035
+ "description": "VecString"
1036
+ },
1037
+ {
1038
+ "type": "string",
1039
+ "const": "VecU8",
1040
+ "description": "VecU8"
1041
+ },
1042
+ {
1043
+ "type": "string",
1044
+ "const": "VecU16",
1045
+ "description": "VecU16"
1046
+ },
1047
+ {
1048
+ "type": "string",
1049
+ "const": "VecU32",
1050
+ "description": "VecU32"
1051
+ },
1052
+ {
1053
+ "type": "string",
1054
+ "const": "VecU64",
1055
+ "description": "VecU64"
1056
+ },
1057
+ {
1058
+ "type": "string",
1059
+ "const": "VecU128",
1060
+ "description": "VecU128"
1061
+ },
1062
+ {
1063
+ "type": "string",
1064
+ "const": "VecU256",
1065
+ "description": "VecU256"
1066
+ },
1067
+ {
1068
+ "type": "string",
1069
+ "const": "VecVecU8",
1070
+ "description": "VecVecU8"
1071
+ },
1072
+ {
1073
+ "type": "string",
1074
+ "const": "bool",
1075
+ "description": "bool"
1076
+ },
1077
+ {
1078
+ "type": "string",
1079
+ "const": "address",
1080
+ "description": "address"
1081
+ },
1082
+ {
1083
+ "type": "string",
1084
+ "const": "string",
1085
+ "description": "string"
1086
+ },
1087
+ {
1088
+ "type": "string",
1089
+ "const": "u8",
1090
+ "description": "u8"
1091
+ },
1092
+ {
1093
+ "type": "string",
1094
+ "const": "u16",
1095
+ "description": "u16"
1096
+ },
1097
+ {
1098
+ "type": "string",
1099
+ "const": "u32",
1100
+ "description": "u32"
1101
+ },
1102
+ {
1103
+ "type": "string",
1104
+ "const": "u64",
1105
+ "description": "u64"
1106
+ },
1107
+ {
1108
+ "type": "string",
1109
+ "const": "u128",
1110
+ "description": "u128"
1111
+ },
1112
+ {
1113
+ "type": "string",
1114
+ "const": "u256",
1115
+ "description": "u256"
1116
+ },
1117
+ {
1118
+ "type": "string",
1119
+ "const": "vecbool",
1120
+ "description": "vecbool"
1121
+ },
1122
+ {
1123
+ "type": "string",
1124
+ "const": "vecaddress",
1125
+ "description": "vecaddress"
1126
+ },
1127
+ {
1128
+ "type": "string",
1129
+ "const": "vecstring",
1130
+ "description": "vecstring"
1131
+ },
1132
+ {
1133
+ "type": "string",
1134
+ "const": "vecu8",
1135
+ "description": "vecu8"
1136
+ },
1137
+ {
1138
+ "type": "string",
1139
+ "const": "vecu16",
1140
+ "description": "vecu16"
1141
+ },
1142
+ {
1143
+ "type": "string",
1144
+ "const": "vecu32",
1145
+ "description": "vecu32"
1146
+ },
1147
+ {
1148
+ "type": "string",
1149
+ "const": "vecu64",
1150
+ "description": "vecu64"
1151
+ },
1152
+ {
1153
+ "type": "string",
1154
+ "const": "vecu128",
1155
+ "description": "vecu128"
1156
+ },
1157
+ {
1158
+ "type": "string",
1159
+ "const": "vecu256",
1160
+ "description": "vecu256"
1161
+ },
1162
+ {
1163
+ "type": "string",
1164
+ "const": "vecvecu8",
1165
+ "description": "vecvecu8"
509
1166
  }
510
1167
  ],
511
1168
  "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
512
1169
  },
513
1170
  {
514
- "type": "string",
515
- "const": "Value",
516
- "description": "Value"
1171
+ "type": "number",
1172
+ "const": 19,
1173
+ "description": "Value (19)"
517
1174
  }
518
- ],
519
- "description": "Return type for guard instruction"
1175
+ ]
520
1176
  },
521
- "objectType": {
1177
+ {
522
1178
  "type": "string",
523
- "enum": [
524
- "Permission",
525
- "Repository",
526
- "Arb",
527
- "Arbitration",
528
- "Service",
529
- "Machine",
530
- "Order",
531
- "Progress",
532
- "Payment",
533
- "Treasury",
534
- "Guard",
535
- "Demand",
536
- "Passport",
537
- "Allocation",
538
- "Resource",
539
- "Reward",
540
- "Discount",
541
- "EntityRegistrar",
542
- "EntityLinker",
543
- "Proof",
544
- "WReceivedObject",
545
- "Contact",
546
- "TableItem_ProgressHistory",
547
- "TableItem_PermissionPerm",
548
- "TableItem_DemandPresenter",
549
- "TableItem_MachineNode",
550
- "TableItem_TreasuryHistory",
551
- "TableItem_RepositoryData",
552
- "TableItem_RewardRecord",
553
- "TableItem_EntityLinker",
554
- "TableItem_AddressMark",
555
- "TableItem_EntityRegistrar"
556
- ],
557
- "description": "Object type for guard query"
558
- },
559
- "parameters": {
560
- "type": "array",
561
- "items": {
562
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/3/properties/result/items/properties/returnType"
563
- },
564
- "description": "Parameters for guard query"
565
- },
566
- "return": {
567
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/3/properties/result/items/properties/returnType",
568
- "description": "Return type for guard query"
569
- },
570
- "parameters_description": {
571
- "type": "array",
572
- "items": {
573
- "type": "string"
574
- },
575
- "description": "Parameter descriptions for guard query"
1179
+ "const": "Value",
1180
+ "description": "Value"
576
1181
  }
577
- },
578
- "required": [
579
- "name",
580
- "id",
581
- "description"
582
- ],
583
- "additionalProperties": false,
584
- "description": "Guard item - either a guard instruction or a guard query"
1182
+ ]
585
1183
  },
586
- "description": "Guard instructions result"
587
- }
1184
+ "parameters_description": {
1185
+ "description": "Parameter descriptions for guard query",
1186
+ "type": "array",
1187
+ "items": {
1188
+ "type": "string"
1189
+ }
1190
+ }
1191
+ },
1192
+ "required": [
1193
+ "name",
1194
+ "id",
1195
+ "description"
1196
+ ],
1197
+ "additionalProperties": false,
1198
+ "description": "Guard item - either a guard instruction or a guard query"
588
1199
  },
589
- "required": [
590
- "info",
591
- "result"
1200
+ "description": "Guard instructions result"
1201
+ }
1202
+ },
1203
+ "required": [
1204
+ "info",
1205
+ "result"
1206
+ ],
1207
+ "additionalProperties": false
1208
+ },
1209
+ {
1210
+ "type": "object",
1211
+ "properties": {
1212
+ "info": {
1213
+ "type": "string",
1214
+ "const": "current network"
1215
+ },
1216
+ "result": {
1217
+ "type": "string",
1218
+ "enum": [
1219
+ "localnet",
1220
+ "testnet",
1221
+ "mainnet"
592
1222
  ],
593
- "additionalProperties": false
1223
+ "description": "Current network entrypoint"
1224
+ }
1225
+ },
1226
+ "required": [
1227
+ "info",
1228
+ "result"
1229
+ ],
1230
+ "additionalProperties": false
1231
+ },
1232
+ {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "info": {
1236
+ "type": "string",
1237
+ "const": "value types"
594
1238
  },
595
- {
596
- "type": "object",
597
- "properties": {
598
- "info": {
599
- "type": "string",
600
- "const": "current network"
1239
+ "result": {
1240
+ "type": "array",
1241
+ "items": {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "name": {
1245
+ "type": "string",
1246
+ "description": "Name"
1247
+ },
1248
+ "value": {
1249
+ "anyOf": [
1250
+ {
1251
+ "type": "string"
1252
+ },
1253
+ {
1254
+ "type": "number"
1255
+ }
1256
+ ],
1257
+ "description": "Value"
1258
+ },
1259
+ "description": {
1260
+ "type": "string",
1261
+ "description": "Description"
1262
+ }
601
1263
  },
602
- "result": {
603
- "type": "string",
604
- "enum": [
605
- "localnet",
606
- "testnet",
607
- "mainnet"
608
- ],
609
- "description": "Current network entrypoint"
610
- }
1264
+ "required": [
1265
+ "name",
1266
+ "value",
1267
+ "description"
1268
+ ],
1269
+ "additionalProperties": false,
1270
+ "description": "Constant item"
611
1271
  },
612
- "required": [
613
- "info",
614
- "result"
615
- ],
616
- "additionalProperties": false
1272
+ "description": "Value types result - each item contains name (string), value (string), and description showing the numeric mapping"
1273
+ }
1274
+ },
1275
+ "required": [
1276
+ "info",
1277
+ "result"
1278
+ ],
1279
+ "additionalProperties": false
1280
+ },
1281
+ {
1282
+ "type": "object",
1283
+ "properties": {
1284
+ "info": {
1285
+ "type": "string",
1286
+ "const": "mainnet bridge tokens"
617
1287
  },
618
- {
619
- "type": "object",
620
- "properties": {
621
- "info": {
622
- "type": "string",
623
- "const": "value types"
624
- },
625
- "result": {
626
- "type": "array",
627
- "items": {
628
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/0/properties/result/items"
1288
+ "result": {
1289
+ "type": "array",
1290
+ "items": {
1291
+ "type": "object",
1292
+ "properties": {
1293
+ "tokenId": {
1294
+ "type": "number",
1295
+ "description": "On-chain token ID (mainnet: WBTC=1, ETH/WETH=2, USDC=3, USDT=4)"
629
1296
  },
630
- "description": "Value types result - each item contains name (string), value (string), and description showing the numeric mapping"
631
- }
1297
+ "symbol": {
1298
+ "type": "string",
1299
+ "description": "Token symbol/abbreviation (ETH, WETH, WBTC, USDC, USDT)"
1300
+ },
1301
+ "wowTypeTag": {
1302
+ "type": "string",
1303
+ "description": "WOW-side token type tag (format: {address}::{module}::{struct}, e.g. \"0x2::wow::WOW\", \"0x...::usdt::USDT\"). IMPORTANT: This value can be used directly as the `type_parameter` for Service / Treasury / Reward / Allocation objects to set their payment token. e.g. use USDT's wowTypeTag to create a Service that accepts USDT payments. To discover all available tokens, query this info type."
1304
+ },
1305
+ "evmAddress": {
1306
+ "type": "string",
1307
+ "description": "EVM-side contract address (0x000...000 for native ETH; ERC20 contract address otherwise)"
1308
+ },
1309
+ "evmDecimals": {
1310
+ "type": "number",
1311
+ "description": "EVM-side decimals (ETH/WETH=18, WBTC=8, USDC/USDT=6)"
1312
+ },
1313
+ "wowDecimals": {
1314
+ "type": "number",
1315
+ "description": "WOW-side decimals (ETH/WBTC=8, USDC/USDT=6)"
1316
+ },
1317
+ "evmChains": {
1318
+ "description": "Bridge protocol chain IDs where this token is available (e.g. 10 = ETH mainnet)",
1319
+ "type": "array",
1320
+ "items": {
1321
+ "type": "number"
1322
+ }
1323
+ },
1324
+ "description": {
1325
+ "description": "Token description",
1326
+ "type": "string"
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "tokenId",
1331
+ "symbol",
1332
+ "wowTypeTag",
1333
+ "evmAddress",
1334
+ "evmDecimals",
1335
+ "wowDecimals"
1336
+ ],
1337
+ "additionalProperties": false,
1338
+ "description": "Mainnet Bridge token info"
632
1339
  },
633
- "required": [
634
- "info",
635
- "result"
636
- ],
637
- "additionalProperties": false
1340
+ "description": "Mainnet Bridge tokens result - each item contains tokenId, symbol, wowTypeTag, evmAddress, evmDecimals, wowDecimals, evmChains, and description"
1341
+ }
1342
+ },
1343
+ "required": [
1344
+ "info",
1345
+ "result"
1346
+ ],
1347
+ "additionalProperties": false
1348
+ },
1349
+ {
1350
+ "type": "object",
1351
+ "properties": {
1352
+ "info": {
1353
+ "type": "string",
1354
+ "const": "funding guidance"
638
1355
  },
639
- {
1356
+ "result": {
640
1357
  "type": "object",
641
1358
  "properties": {
642
- "info": {
1359
+ "overview": {
643
1360
  "type": "string",
644
- "const": "mainnet bridge tokens"
1361
+ "description": "Overview of how to obtain WOW gas and payment tokens"
645
1362
  },
646
- "result": {
647
- "type": "array",
648
- "items": {
649
- "type": "object",
650
- "properties": {
651
- "tokenId": {
652
- "type": "number",
653
- "description": "On-chain token ID (mainnet: WBTC=1, ETH/WETH=2, USDC=3, USDT=4)"
654
- },
655
- "symbol": {
656
- "type": "string",
657
- "description": "Token symbol/abbreviation (ETH, WETH, WBTC, USDC, USDT)"
658
- },
659
- "wowTypeTag": {
660
- "type": "string",
661
- "description": "WOW-side token type tag (format: {address}::{module}::{struct}, e.g. \"0x2::wow::WOW\", \"0x...::usdt::USDT\"). IMPORTANT: This value can be used directly as the `type_parameter` for Service / Treasury / Reward / Allocation objects to set their payment token. e.g. use USDT's wowTypeTag to create a Service that accepts USDT payments. To discover all available tokens, query this info type."
662
- },
663
- "evmAddress": {
664
- "type": "string",
665
- "description": "EVM-side contract address (0x000...000 for native ETH; ERC20 contract address otherwise)"
666
- },
667
- "evmDecimals": {
668
- "type": "number",
669
- "description": "EVM-side decimals (ETH/WETH=18, WBTC=8, USDC/USDT=6)"
670
- },
671
- "wowDecimals": {
672
- "type": "number",
673
- "description": "WOW-side decimals (ETH/WBTC=8, USDC/USDT=6)"
1363
+ "testnet": {
1364
+ "type": "object",
1365
+ "properties": {
1366
+ "token": {
1367
+ "type": "string",
1368
+ "description": "Testnet token (WOW)"
1369
+ },
1370
+ "method": {
1371
+ "type": "string",
1372
+ "const": "faucet",
1373
+ "description": "Testnet funding method (faucet)"
1374
+ },
1375
+ "faucet_url": {
1376
+ "type": "string",
1377
+ "description": "Testnet faucet URL"
1378
+ },
1379
+ "note": {
1380
+ "type": "string",
1381
+ "description": "Testnet funding note: all merchant/order testing can use WOW"
1382
+ }
1383
+ },
1384
+ "required": [
1385
+ "token",
1386
+ "method",
1387
+ "faucet_url",
1388
+ "note"
1389
+ ],
1390
+ "additionalProperties": false
1391
+ },
1392
+ "mainnet": {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "method": {
1396
+ "type": "string",
1397
+ "const": "eth_bridge",
1398
+ "description": "Mainnet funding method (ETH mainnet cross-chain bridge)"
1399
+ },
1400
+ "supported_tokens": {
1401
+ "type": "array",
1402
+ "items": {
1403
+ "type": "string"
674
1404
  },
675
- "evmChains": {
676
- "type": "array",
677
- "items": {
678
- "type": "number"
679
- },
680
- "description": "Bridge protocol chain IDs where this token is available (e.g. 10 = ETH mainnet)"
1405
+ "description": "Tokens supported by the mainnet bridge (ETH/USDT/USDC/WBTC)"
1406
+ },
1407
+ "steps": {
1408
+ "type": "array",
1409
+ "items": {
1410
+ "type": "string"
681
1411
  },
682
- "description": {
683
- "type": "string",
684
- "description": "Token description"
685
- }
1412
+ "description": "Step-by-step mainnet funding flow: query active EVM account → transfer from external wallet → confirm balance → cross-chain to WOW"
1413
+ }
1414
+ },
1415
+ "required": [
1416
+ "method",
1417
+ "supported_tokens",
1418
+ "steps"
1419
+ ],
1420
+ "additionalProperties": false
1421
+ },
1422
+ "airdrop": {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "url": {
1426
+ "type": "string",
1427
+ "description": "WOW mainnet airdrop URL"
686
1428
  },
687
- "required": [
688
- "tokenId",
689
- "symbol",
690
- "wowTypeTag",
691
- "evmAddress",
692
- "evmDecimals",
693
- "wowDecimals"
694
- ],
695
- "additionalProperties": false,
696
- "description": "Mainnet Bridge token info"
1429
+ "status": {
1430
+ "type": "string",
1431
+ "description": "Airdrop status (under construction)"
1432
+ }
697
1433
  },
698
- "description": "Mainnet Bridge tokens result - each item contains tokenId, symbol, wowTypeTag, evmAddress, evmDecimals, wowDecimals, evmChains, and description"
1434
+ "required": [
1435
+ "url",
1436
+ "status"
1437
+ ],
1438
+ "additionalProperties": false
1439
+ },
1440
+ "payment_token": {
1441
+ "type": "object",
1442
+ "properties": {
1443
+ "testnet_default": {
1444
+ "type": "string",
1445
+ "description": "Default testnet payment token (WOW)"
1446
+ },
1447
+ "mainnet_option": {
1448
+ "type": "string",
1449
+ "description": "Mainnet payment token option (USDT and other stablecoins)"
1450
+ },
1451
+ "migration_note": {
1452
+ "type": "string",
1453
+ "description": "Guidance: ask whether to switch payment token when migrating testnet → mainnet"
1454
+ }
1455
+ },
1456
+ "required": [
1457
+ "testnet_default",
1458
+ "mainnet_option",
1459
+ "migration_note"
1460
+ ],
1461
+ "additionalProperties": false
699
1462
  }
700
1463
  },
701
1464
  "required": [
702
- "info",
703
- "result"
1465
+ "overview",
1466
+ "testnet",
1467
+ "mainnet",
1468
+ "airdrop",
1469
+ "payment_token"
704
1470
  ],
705
- "additionalProperties": false
1471
+ "additionalProperties": false,
1472
+ "description": "Funding guidance result - testnet faucet / mainnet bridge / airdrop / payment-token guidance"
1473
+ }
1474
+ },
1475
+ "required": [
1476
+ "info",
1477
+ "result"
1478
+ ],
1479
+ "additionalProperties": false
1480
+ },
1481
+ {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "info": {
1485
+ "type": "string",
1486
+ "const": "upgrade_check"
706
1487
  },
707
- {
1488
+ "result": {
708
1489
  "type": "object",
709
1490
  "properties": {
710
- "info": {
711
- "type": "string",
712
- "const": "funding guidance"
713
- },
714
- "result": {
1491
+ "mcp": {
715
1492
  "type": "object",
716
1493
  "properties": {
717
- "overview": {
718
- "type": "string",
719
- "description": "Overview of how to obtain WOW gas and payment tokens"
720
- },
721
- "testnet": {
722
- "type": "object",
723
- "properties": {
724
- "token": {
725
- "type": "string",
726
- "description": "Testnet token (WOW)"
727
- },
728
- "method": {
729
- "type": "string",
730
- "const": "faucet",
731
- "description": "Testnet funding method (faucet)"
732
- },
733
- "faucet_url": {
734
- "type": "string",
735
- "description": "Testnet faucet URL"
1494
+ "current": {
1495
+ "anyOf": [
1496
+ {
1497
+ "type": "string"
736
1498
  },
737
- "note": {
738
- "type": "string",
739
- "description": "Testnet funding note: all merchant/order testing can use WOW"
1499
+ {
1500
+ "type": "null"
740
1501
  }
741
- },
742
- "required": [
743
- "token",
744
- "method",
745
- "faucet_url",
746
- "note"
747
1502
  ],
748
- "additionalProperties": false
1503
+ "description": "Currently installed/running version"
749
1504
  },
750
- "mainnet": {
751
- "type": "object",
752
- "properties": {
753
- "method": {
754
- "type": "string",
755
- "const": "eth_bridge",
756
- "description": "Mainnet funding method (ETH mainnet cross-chain bridge)"
757
- },
758
- "supported_tokens": {
759
- "type": "array",
760
- "items": {
761
- "type": "string"
762
- },
763
- "description": "Tokens supported by the mainnet bridge (ETH/USDT/USDC/WBTC)"
1505
+ "latest": {
1506
+ "anyOf": [
1507
+ {
1508
+ "type": "string"
764
1509
  },
765
- "steps": {
766
- "type": "array",
767
- "items": {
768
- "type": "string"
769
- },
770
- "description": "Step-by-step mainnet funding flow: query active EVM account → transfer from external wallet → confirm balance → cross-chain to WOW"
1510
+ {
1511
+ "type": "null"
771
1512
  }
772
- },
773
- "required": [
774
- "method",
775
- "supported_tokens",
776
- "steps"
777
1513
  ],
778
- "additionalProperties": false
1514
+ "description": "Latest published npm version (null when offline/unreachable)"
779
1515
  },
780
- "airdrop": {
781
- "type": "object",
782
- "properties": {
783
- "url": {
784
- "type": "string",
785
- "description": "WOW mainnet airdrop URL"
1516
+ "outdated": {
1517
+ "type": "boolean",
1518
+ "description": "true when a newer version is available"
1519
+ }
1520
+ },
1521
+ "required": [
1522
+ "current",
1523
+ "latest",
1524
+ "outdated"
1525
+ ],
1526
+ "additionalProperties": false,
1527
+ "description": "WoWok MCP server version comparison"
1528
+ },
1529
+ "sdk": {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "current": {
1533
+ "anyOf": [
1534
+ {
1535
+ "type": "string"
786
1536
  },
787
- "status": {
788
- "type": "string",
789
- "description": "Airdrop status (under construction)"
1537
+ {
1538
+ "type": "null"
790
1539
  }
791
- },
792
- "required": [
793
- "url",
794
- "status"
795
1540
  ],
796
- "additionalProperties": false
1541
+ "description": "Currently installed/running version"
797
1542
  },
798
- "payment_token": {
799
- "type": "object",
800
- "properties": {
801
- "testnet_default": {
802
- "type": "string",
803
- "description": "Default testnet payment token (WOW)"
1543
+ "latest": {
1544
+ "anyOf": [
1545
+ {
1546
+ "type": "string"
804
1547
  },
805
- "mainnet_option": {
806
- "type": "string",
807
- "description": "Mainnet payment token option (USDT and other stablecoins)"
1548
+ {
1549
+ "type": "null"
1550
+ }
1551
+ ],
1552
+ "description": "Latest published npm version (null when offline/unreachable)"
1553
+ },
1554
+ "outdated": {
1555
+ "type": "boolean",
1556
+ "description": "true when a newer version is available"
1557
+ }
1558
+ },
1559
+ "required": [
1560
+ "current",
1561
+ "latest",
1562
+ "outdated"
1563
+ ],
1564
+ "additionalProperties": false,
1565
+ "description": "WoWok SDK version comparison"
1566
+ },
1567
+ "client_installed": {
1568
+ "type": "boolean",
1569
+ "description": "Whether the WoWok desktop client is installed"
1570
+ },
1571
+ "client_install_hint": {
1572
+ "anyOf": [
1573
+ {
1574
+ "type": "string"
1575
+ },
1576
+ {
1577
+ "type": "null"
1578
+ }
1579
+ ],
1580
+ "description": "Where to get the desktop client (e.g. download URL)"
1581
+ },
1582
+ "upgrade_available": {
1583
+ "type": "boolean",
1584
+ "description": "true when any component is outdated"
1585
+ },
1586
+ "reminder": {
1587
+ "type": "object",
1588
+ "properties": {
1589
+ "type": {
1590
+ "type": "string",
1591
+ "enum": [
1592
+ "upgrade",
1593
+ "install_client",
1594
+ "none"
1595
+ ],
1596
+ "description": "Reminder kind"
1597
+ },
1598
+ "due": {
1599
+ "type": "boolean",
1600
+ "description": "Whether to surface the reminder in this conversation"
1601
+ },
1602
+ "message": {
1603
+ "anyOf": [
1604
+ {
1605
+ "type": "string"
808
1606
  },
809
- "migration_note": {
810
- "type": "string",
811
- "description": "Guidance: ask whether to switch payment token when migrating testnet → mainnet"
1607
+ {
1608
+ "type": "null"
812
1609
  }
813
- },
814
- "required": [
815
- "testnet_default",
816
- "mainnet_option",
817
- "migration_note"
818
1610
  ],
819
- "additionalProperties": false
1611
+ "description": "Ready-to-use, benefit-focused reminder message; null when not due"
820
1612
  }
821
1613
  },
822
1614
  "required": [
823
- "overview",
824
- "testnet",
825
- "mainnet",
826
- "airdrop",
827
- "payment_token"
1615
+ "type",
1616
+ "due",
1617
+ "message"
828
1618
  ],
829
1619
  "additionalProperties": false,
830
- "description": "Funding guidance result - testnet faucet / mainnet bridge / airdrop / payment-token guidance"
1620
+ "description": "Reminder decision"
1621
+ },
1622
+ "checked_at": {
1623
+ "type": "string",
1624
+ "description": "ISO timestamp of the check"
831
1625
  }
832
1626
  },
833
1627
  "required": [
834
- "info",
835
- "result"
1628
+ "mcp",
1629
+ "sdk",
1630
+ "client_installed",
1631
+ "client_install_hint",
1632
+ "upgrade_available",
1633
+ "reminder",
1634
+ "checked_at"
836
1635
  ],
837
- "additionalProperties": false
1636
+ "additionalProperties": false,
1637
+ "description": "Upgrade & client-install reminder check result"
1638
+ }
1639
+ },
1640
+ "required": [
1641
+ "info",
1642
+ "result"
1643
+ ],
1644
+ "additionalProperties": false
1645
+ },
1646
+ {
1647
+ "type": "object",
1648
+ "properties": {
1649
+ "info": {
1650
+ "type": "string",
1651
+ "const": "universal_template"
838
1652
  },
839
- {
1653
+ "result": {
840
1654
  "type": "object",
841
1655
  "properties": {
842
- "info": {
1656
+ "template": {
1657
+ "type": "string",
1658
+ "const": "universal",
1659
+ "description": "Template kind"
1660
+ },
1661
+ "version": {
843
1662
  "type": "string",
844
- "const": "upgrade_check"
1663
+ "description": "Template version"
845
1664
  },
846
- "result": {
1665
+ "anti_cheat_baseline": {
847
1666
  "type": "object",
848
1667
  "properties": {
849
- "mcp": {
1668
+ "fake_orders": {
850
1669
  "type": "object",
851
1670
  "properties": {
852
- "current": {
853
- "type": [
854
- "string",
855
- "null"
856
- ],
857
- "description": "Currently installed/running version"
1671
+ "enabled": {
1672
+ "type": "boolean"
858
1673
  },
859
- "latest": {
860
- "type": [
861
- "string",
862
- "null"
863
- ],
864
- "description": "Latest published npm version (null when offline/unreachable)"
865
- },
866
- "outdated": {
867
- "type": "boolean",
868
- "description": "true when a newer version is available"
1674
+ "rules": {
1675
+ "type": "array",
1676
+ "items": {
1677
+ "type": "string"
1678
+ }
869
1679
  }
870
1680
  },
871
1681
  "required": [
872
- "current",
873
- "latest",
874
- "outdated"
1682
+ "enabled",
1683
+ "rules"
875
1684
  ],
876
- "additionalProperties": false,
877
- "description": "WoWok MCP server version comparison"
1685
+ "additionalProperties": false
878
1686
  },
879
- "sdk": {
1687
+ "fake_reviews": {
880
1688
  "type": "object",
881
1689
  "properties": {
882
- "current": {
883
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/8/properties/result/properties/mcp/properties/current"
1690
+ "enabled": {
1691
+ "type": "boolean"
884
1692
  },
885
- "latest": {
886
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/8/properties/result/properties/mcp/properties/latest"
887
- },
888
- "outdated": {
889
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/8/properties/result/properties/mcp/properties/outdated"
1693
+ "rules": {
1694
+ "type": "array",
1695
+ "items": {
1696
+ "type": "string"
1697
+ }
890
1698
  }
891
1699
  },
892
1700
  "required": [
893
- "current",
894
- "latest",
895
- "outdated"
1701
+ "enabled",
1702
+ "rules"
896
1703
  ],
897
- "additionalProperties": false,
898
- "description": "WoWok SDK version comparison"
899
- },
900
- "client_installed": {
901
- "type": "boolean",
902
- "description": "Whether the WoWok desktop client is installed"
1704
+ "additionalProperties": false
903
1705
  },
904
- "client_install_hint": {
905
- "type": [
906
- "string",
907
- "null"
1706
+ "shell_merchant": {
1707
+ "type": "object",
1708
+ "properties": {
1709
+ "enabled": {
1710
+ "type": "boolean"
1711
+ },
1712
+ "rules": {
1713
+ "type": "array",
1714
+ "items": {
1715
+ "type": "string"
1716
+ }
1717
+ }
1718
+ },
1719
+ "required": [
1720
+ "enabled",
1721
+ "rules"
908
1722
  ],
909
- "description": "Where to get the desktop client (e.g. download URL)"
910
- },
911
- "upgrade_available": {
912
- "type": "boolean",
913
- "description": "true when any component is outdated"
1723
+ "additionalProperties": false
914
1724
  },
915
- "reminder": {
1725
+ "reputation_trade": {
916
1726
  "type": "object",
917
1727
  "properties": {
918
- "type": {
919
- "type": "string",
920
- "enum": [
921
- "upgrade",
922
- "install_client",
923
- "none"
924
- ],
925
- "description": "Reminder kind"
1728
+ "enabled": {
1729
+ "type": "boolean"
926
1730
  },
927
- "due": {
928
- "type": "boolean",
929
- "description": "Whether to surface the reminder in this conversation"
930
- },
931
- "message": {
932
- "type": [
933
- "string",
934
- "null"
935
- ],
936
- "description": "Ready-to-use, benefit-focused reminder message; null when not due"
1731
+ "rules": {
1732
+ "type": "array",
1733
+ "items": {
1734
+ "type": "string"
1735
+ }
937
1736
  }
938
1737
  },
939
1738
  "required": [
940
- "type",
941
- "due",
942
- "message"
1739
+ "enabled",
1740
+ "rules"
943
1741
  ],
944
- "additionalProperties": false,
945
- "description": "Reminder decision"
946
- },
947
- "checked_at": {
948
- "type": "string",
949
- "description": "ISO timestamp of the check"
1742
+ "additionalProperties": false
950
1743
  }
951
1744
  },
952
1745
  "required": [
953
- "mcp",
954
- "sdk",
955
- "client_installed",
956
- "client_install_hint",
957
- "upgrade_available",
958
- "reminder",
959
- "checked_at"
1746
+ "fake_orders",
1747
+ "fake_reviews",
1748
+ "shell_merchant",
1749
+ "reputation_trade"
960
1750
  ],
961
1751
  "additionalProperties": false,
962
- "description": "Upgrade & client-install reminder check result"
1752
+ "description": "Anti-cheat detector baselines"
1753
+ },
1754
+ "pricing_redlines": {
1755
+ "type": "array",
1756
+ "items": {
1757
+ "type": "string"
1758
+ },
1759
+ "description": "Forbidden dynamic-pricing mode names"
1760
+ },
1761
+ "governance_redlines": {
1762
+ "type": "array",
1763
+ "items": {
1764
+ "type": "string"
1765
+ },
1766
+ "description": "Governance red lines"
1767
+ },
1768
+ "quality_signals": {
1769
+ "type": "array",
1770
+ "items": {
1771
+ "type": "string"
1772
+ },
1773
+ "description": "Quality signal identifiers"
1774
+ },
1775
+ "consumer_journey": {
1776
+ "type": "array",
1777
+ "items": {
1778
+ "type": "string"
1779
+ },
1780
+ "description": "Consumer journey stages"
1781
+ },
1782
+ "north_star_metric": {
1783
+ "type": "string",
1784
+ "description": "North-star metric id"
1785
+ },
1786
+ "revenue_boundary": {
1787
+ "type": "string",
1788
+ "description": "Sustainable revenue boundary"
963
1789
  }
964
1790
  },
965
1791
  "required": [
966
- "info",
967
- "result"
1792
+ "template",
1793
+ "version",
1794
+ "anti_cheat_baseline",
1795
+ "pricing_redlines",
1796
+ "governance_redlines",
1797
+ "quality_signals",
1798
+ "consumer_journey",
1799
+ "north_star_metric",
1800
+ "revenue_boundary"
968
1801
  ],
969
- "additionalProperties": false
1802
+ "additionalProperties": false,
1803
+ "description": "Universal Template data (anti-cheat baseline, pricing/governance red lines, quality signals, consumer journey, north-star metric)"
970
1804
  }
1805
+ },
1806
+ "required": [
1807
+ "info",
1808
+ "result"
971
1809
  ],
972
- "description": "Protocol info result"
1810
+ "additionalProperties": false
973
1811
  }
974
- },
975
- "required": [
976
- "result"
977
1812
  ],
978
- "additionalProperties": false,
979
1813
  "description": "Protocol info result"
980
1814
  }
981
- }
1815
+ },
1816
+ "required": [
1817
+ "result"
1818
+ ],
1819
+ "additionalProperties": false
982
1820
  }