@wowok/agent-mcp 2.7.1 → 2.7.3

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 (597) hide show
  1. package/dist/config/index.js +1 -1
  2. package/dist/config/runtime.js +1 -238
  3. package/dist/customer/account-events.d.ts +32 -0
  4. package/dist/customer/account-events.js +1 -0
  5. package/dist/customer/customer-advice.d.ts +1 -0
  6. package/dist/customer/customer-advice.js +1 -130
  7. package/dist/customer/index.js +1 -11
  8. package/dist/customer/industry-risks.js +1 -438
  9. package/dist/customer/info-puzzle.js +1 -681
  10. package/dist/customer/order-monitor.js +1 -328
  11. package/dist/customer/order-strategy.d.ts +1 -1
  12. package/dist/customer/order-strategy.js +1 -373
  13. package/dist/customer/post-purchase.js +1 -351
  14. package/dist/customer/preorder-compare.js +1 -34
  15. package/dist/customer/reminder-system.d.ts +2 -0
  16. package/dist/customer/reminder-system.js +1 -316
  17. package/dist/customer/risk-assessment.d.ts +1 -0
  18. package/dist/customer/risk-assessment.js +1 -397
  19. package/dist/customer/types.d.ts +2 -0
  20. package/dist/customer/types.js +1 -13
  21. package/dist/customer/user-preferences.js +1 -460
  22. package/dist/evaluation/arbitration-game.d.ts +9 -2
  23. package/dist/evaluation/arbitration-game.js +1 -48
  24. package/dist/evaluation/builtins/arbitration-score.d.ts +41 -0
  25. package/dist/evaluation/builtins/arbitration-score.js +1 -0
  26. package/dist/evaluation/builtins/demand-match.js +1 -153
  27. package/dist/evaluation/builtins/index.d.ts +1 -0
  28. package/dist/evaluation/builtins/index.js +1 -10
  29. package/dist/evaluation/builtins/service-risk.js +1 -55
  30. package/dist/evaluation/capability.js +1 -13
  31. package/dist/evaluation/category-match-rules.d.ts +30 -0
  32. package/dist/evaluation/category-match-rules.js +1 -0
  33. package/dist/evaluation/composer.js +1 -40
  34. package/dist/evaluation/engine.js +1 -175
  35. package/dist/evaluation/extract.js +1 -115
  36. package/dist/evaluation/game-strategy.d.ts +27 -0
  37. package/dist/evaluation/game-strategy.js +1 -0
  38. package/dist/evaluation/gap.js +1 -100
  39. package/dist/evaluation/index.d.ts +2 -0
  40. package/dist/evaluation/index.js +1 -11
  41. package/dist/evaluation/location-match.d.ts +42 -0
  42. package/dist/evaluation/location-match.js +1 -0
  43. package/dist/evaluation/node-game.d.ts +31 -3
  44. package/dist/evaluation/node-game.js +1 -57
  45. package/dist/evaluation/path-reasoning.d.ts +35 -0
  46. package/dist/evaluation/path-reasoning.js +1 -0
  47. package/dist/evaluation/region.d.ts +6 -0
  48. package/dist/evaluation/region.js +1 -36
  49. package/dist/evaluation/types.d.ts +18 -0
  50. package/dist/evaluation/types.js +1 -1
  51. package/dist/evaluation/user-injection.js +1 -27
  52. package/dist/experience/experience-reuse.js +1 -103
  53. package/dist/experience/index.js +1 -5
  54. package/dist/experience/intent-distill.js +1 -83
  55. package/dist/experience/realtime-feedback.js +1 -94
  56. package/dist/experience/types.js +1 -1
  57. package/dist/experience/user-profile.d.ts +1 -1
  58. package/dist/experience/user-profile.js +1 -171
  59. package/dist/extensions/business-modules.js +1 -287
  60. package/dist/extensions/capability-manifest.js +1 -781
  61. package/dist/extensions/constraint-registry.js +1 -198
  62. package/dist/extensions/index.d.ts +6 -0
  63. package/dist/extensions/index.js +1 -6
  64. package/dist/extensions/industry-layers.d.ts +75 -0
  65. package/dist/extensions/industry-layers.js +1 -0
  66. package/dist/extensions/industry-pack.d.ts +105 -0
  67. package/dist/extensions/industry-pack.js +1 -0
  68. package/dist/extensions/metric-registry.js +1 -257
  69. package/dist/extensions/mode-evaluator.d.ts +1 -1
  70. package/dist/extensions/mode-evaluator.js +1 -170
  71. package/dist/extensions/modes.js +1 -499
  72. package/dist/extensions/registry.d.ts +1 -0
  73. package/dist/extensions/registry.js +1 -717
  74. package/dist/extensions/types.js +1 -1
  75. package/dist/graph/base.d.ts +8 -0
  76. package/dist/graph/base.js +1 -0
  77. package/dist/harness/auto-escalation.js +1 -68
  78. package/dist/harness/checkpoint.js +1 -129
  79. package/dist/harness/index.d.ts +1 -0
  80. package/dist/harness/index.js +1 -78
  81. package/dist/harness/plan.d.ts +2 -0
  82. package/dist/harness/plan.js +1 -315
  83. package/dist/harness/recover.d.ts +1 -1
  84. package/dist/harness/recover.js +1 -139
  85. package/dist/harness/types.d.ts +2 -3
  86. package/dist/harness/types.js +1 -1
  87. package/dist/harness/verify.js +1 -237
  88. package/dist/index.js +1 -273
  89. package/dist/intent/enrich.js +1 -67
  90. package/dist/intent/index.js +1 -60
  91. package/dist/intent/matcher.js +1 -81
  92. package/dist/intent/store.js +1 -55
  93. package/dist/intent/types.js +1 -10
  94. package/dist/knowledge/acquisition-flywheel.js +1 -192
  95. package/dist/knowledge/allocation-confirm.js +1 -534
  96. package/dist/knowledge/allocation-context.js +1 -249
  97. package/dist/knowledge/allocation-ledger.js +1 -463
  98. package/dist/knowledge/allocation-puzzle.js +1 -298
  99. package/dist/knowledge/allocation-risk.js +1 -568
  100. package/dist/knowledge/allocation-templates.js +1 -970
  101. package/dist/knowledge/allocation-translation.js +1 -585
  102. package/dist/knowledge/anti-cheat.d.ts +37 -0
  103. package/dist/knowledge/anti-cheat.js +1 -0
  104. package/dist/knowledge/arb-confirm.d.ts +28 -0
  105. package/dist/knowledge/arb-confirm.js +1 -0
  106. package/dist/knowledge/arb-risk.js +1 -210
  107. package/dist/knowledge/arb-translation.d.ts +48 -0
  108. package/dist/knowledge/arb-translation.js +1 -0
  109. package/dist/knowledge/arbitration-confirm.js +1 -559
  110. package/dist/knowledge/arbitration-context.js +1 -505
  111. package/dist/knowledge/arbitration-ledger.js +1 -521
  112. package/dist/knowledge/arbitration-puzzle.js +1 -304
  113. package/dist/knowledge/arbitration-risk.js +1 -423
  114. package/dist/knowledge/arbitration-templates.js +1 -276
  115. package/dist/knowledge/arbitration-translation.js +1 -487
  116. package/dist/knowledge/audit-rules.js +1 -141
  117. package/dist/knowledge/bridge-confirm.d.ts +26 -0
  118. package/dist/knowledge/bridge-confirm.js +1 -0
  119. package/dist/knowledge/bridge-risk.js +1 -263
  120. package/dist/knowledge/bridge-translation.d.ts +37 -0
  121. package/dist/knowledge/bridge-translation.js +1 -0
  122. package/dist/knowledge/contact-confirm.d.ts +27 -0
  123. package/dist/knowledge/contact-confirm.js +1 -0
  124. package/dist/knowledge/contact-risk.js +1 -200
  125. package/dist/knowledge/contact-templates.js +1 -60
  126. package/dist/knowledge/contact-translation.d.ts +39 -0
  127. package/dist/knowledge/contact-translation.js +1 -0
  128. package/dist/knowledge/demand-confirm.js +1 -206
  129. package/dist/knowledge/demand-context.d.ts +17 -0
  130. package/dist/knowledge/demand-context.js +1 -0
  131. package/dist/knowledge/demand-ledger.d.ts +26 -0
  132. package/dist/knowledge/demand-ledger.js +1 -0
  133. package/dist/knowledge/demand-matching.js +1 -132
  134. package/dist/knowledge/demand-puzzle.d.ts +29 -0
  135. package/dist/knowledge/demand-puzzle.js +1 -0
  136. package/dist/knowledge/demand-risk.js +1 -240
  137. package/dist/knowledge/demand-templates.d.ts +12 -0
  138. package/dist/knowledge/demand-templates.js +1 -0
  139. package/dist/knowledge/demand-translation.js +1 -354
  140. package/dist/knowledge/deployment-scanner.js +1 -823
  141. package/dist/knowledge/dynamic-pricing.js +1 -87
  142. package/dist/knowledge/evidence-review.d.ts +12 -0
  143. package/dist/knowledge/evidence-review.js +1 -0
  144. package/dist/knowledge/examples-scanner-cli.js +1 -26
  145. package/dist/knowledge/examples-scanner.js +1 -843
  146. package/dist/knowledge/flywheel-loop.d.ts +0 -1
  147. package/dist/knowledge/flywheel-loop.js +1 -404
  148. package/dist/knowledge/fund-layer.js +1 -973
  149. package/dist/knowledge/glossary.js +1 -211
  150. package/dist/knowledge/guard-confirm.js +1 -406
  151. package/dist/knowledge/guard-context.js +1 -287
  152. package/dist/knowledge/guard-design-patterns.js +1 -360
  153. package/dist/knowledge/guard-ledger.js +1 -260
  154. package/dist/knowledge/guard-lint.js +1 -670
  155. package/dist/knowledge/guard-migration.d.ts +1 -1
  156. package/dist/knowledge/guard-migration.js +1 -228
  157. package/dist/knowledge/guard-puzzle.js +1 -805
  158. package/dist/knowledge/guard-render.js +1 -700
  159. package/dist/knowledge/guard-risk.js +1 -1879
  160. package/dist/knowledge/guard-submission-prompt.js +1 -171
  161. package/dist/knowledge/guard-templates.js +1 -1105
  162. package/dist/knowledge/guard-translation.js +1 -1119
  163. package/dist/knowledge/index.d.ts +71 -3
  164. package/dist/knowledge/index.js +1 -436
  165. package/dist/knowledge/industry-evolution.js +1 -323
  166. package/dist/knowledge/industry-generalizer.js +1 -381
  167. package/dist/knowledge/industry-registry.js +1 -174
  168. package/dist/knowledge/intent-metrics.d.ts +4 -3
  169. package/dist/knowledge/intent-metrics.js +1 -566
  170. package/dist/knowledge/machine-confirm.js +1 -559
  171. package/dist/knowledge/machine-context.js +1 -833
  172. package/dist/knowledge/machine-ledger.js +1 -338
  173. package/dist/knowledge/machine-puzzle.js +1 -494
  174. package/dist/knowledge/machine-render.js +1 -565
  175. package/dist/knowledge/machine-risk.js +1 -669
  176. package/dist/knowledge/machine-templates.js +1 -1597
  177. package/dist/knowledge/machine-topology.js +1 -234
  178. package/dist/knowledge/machine-translation.js +1 -513
  179. package/dist/knowledge/market-metrics.d.ts +12 -0
  180. package/dist/knowledge/market-metrics.js +1 -0
  181. package/dist/knowledge/market-operations.d.ts +46 -0
  182. package/dist/knowledge/market-operations.js +1 -0
  183. package/dist/knowledge/mcp-schema-audit-cli.js +1 -45
  184. package/dist/knowledge/mcp-schema-audit.d.ts +22 -22
  185. package/dist/knowledge/mcp-schema-audit.js +1 -777
  186. package/dist/knowledge/onchain-constants.js +1 -35
  187. package/dist/knowledge/order-confirm.js +1 -573
  188. package/dist/knowledge/order-context.js +1 -390
  189. package/dist/knowledge/order-ledger.js +1 -341
  190. package/dist/knowledge/order-puzzle.js +1 -255
  191. package/dist/knowledge/order-risk.js +1 -653
  192. package/dist/knowledge/order-templates.js +1 -368
  193. package/dist/knowledge/order-translation.js +1 -550
  194. package/dist/knowledge/overrides-loader.js +1 -65
  195. package/dist/knowledge/passport-confirm.js +1 -531
  196. package/dist/knowledge/passport-context.js +1 -306
  197. package/dist/knowledge/passport-ledger.js +1 -282
  198. package/dist/knowledge/passport-puzzle.js +1 -333
  199. package/dist/knowledge/passport-risk.js +1 -450
  200. package/dist/knowledge/passport-templates.js +1 -568
  201. package/dist/knowledge/passport-translation.js +1 -516
  202. package/dist/knowledge/payment-confirm.d.ts +26 -0
  203. package/dist/knowledge/payment-confirm.js +1 -0
  204. package/dist/knowledge/payment-risk.js +1 -249
  205. package/dist/knowledge/payment-translation.d.ts +37 -0
  206. package/dist/knowledge/payment-translation.js +1 -0
  207. package/dist/knowledge/permission-confirm.js +1 -426
  208. package/dist/knowledge/permission-context.js +1 -224
  209. package/dist/knowledge/permission-ledger.d.ts +11 -0
  210. package/dist/knowledge/permission-ledger.js +1 -403
  211. package/dist/knowledge/permission-puzzle.js +1 -173
  212. package/dist/knowledge/permission-risk.js +1 -411
  213. package/dist/knowledge/permission-templates.js +1 -234
  214. package/dist/knowledge/permission-translation.js +1 -350
  215. package/dist/knowledge/personal-confirm.d.ts +29 -0
  216. package/dist/knowledge/personal-confirm.js +1 -0
  217. package/dist/knowledge/personal-risk.js +1 -212
  218. package/dist/knowledge/personal-translation.d.ts +37 -0
  219. package/dist/knowledge/personal-translation.js +1 -0
  220. package/dist/knowledge/process-model.d.ts +1 -11
  221. package/dist/knowledge/process-model.js +1 -160
  222. package/dist/knowledge/progress-confirm.js +1 -456
  223. package/dist/knowledge/progress-context.js +1 -452
  224. package/dist/knowledge/progress-ledger.js +1 -330
  225. package/dist/knowledge/progress-puzzle.js +1 -219
  226. package/dist/knowledge/progress-risk.js +1 -461
  227. package/dist/knowledge/progress-templates.js +1 -228
  228. package/dist/knowledge/progress-translation.js +1 -405
  229. package/dist/knowledge/proof-confirm.js +1 -187
  230. package/dist/knowledge/proof-context.d.ts +17 -0
  231. package/dist/knowledge/proof-context.js +1 -0
  232. package/dist/knowledge/proof-ledger.d.ts +34 -0
  233. package/dist/knowledge/proof-ledger.js +1 -0
  234. package/dist/knowledge/proof-puzzle.d.ts +35 -0
  235. package/dist/knowledge/proof-puzzle.js +1 -0
  236. package/dist/knowledge/proof-risk.js +1 -207
  237. package/dist/knowledge/proof-templates.d.ts +22 -0
  238. package/dist/knowledge/proof-templates.js +1 -0
  239. package/dist/knowledge/proof-translation.js +1 -283
  240. package/dist/knowledge/registrar-confirm.d.ts +26 -0
  241. package/dist/knowledge/registrar-confirm.js +1 -0
  242. package/dist/knowledge/registrar-risk.js +1 -217
  243. package/dist/knowledge/registrar-translation.d.ts +37 -0
  244. package/dist/knowledge/registrar-translation.js +1 -0
  245. package/dist/knowledge/repository-confirm.js +1 -286
  246. package/dist/knowledge/repository-context.d.ts +12 -0
  247. package/dist/knowledge/repository-context.js +1 -0
  248. package/dist/knowledge/repository-ledger.d.ts +25 -0
  249. package/dist/knowledge/repository-ledger.js +1 -0
  250. package/dist/knowledge/repository-puzzle.d.ts +30 -0
  251. package/dist/knowledge/repository-puzzle.js +1 -0
  252. package/dist/knowledge/repository-risk.js +1 -373
  253. package/dist/knowledge/repository-templates.d.ts +14 -0
  254. package/dist/knowledge/repository-templates.js +1 -0
  255. package/dist/knowledge/repository-translation.js +1 -445
  256. package/dist/knowledge/reputation-rules.js +1 -99
  257. package/dist/knowledge/resource-confirm.d.ts +25 -0
  258. package/dist/knowledge/resource-confirm.js +1 -0
  259. package/dist/knowledge/resource-risk.js +1 -157
  260. package/dist/knowledge/resource-translation.d.ts +37 -0
  261. package/dist/knowledge/resource-translation.js +1 -0
  262. package/dist/knowledge/reward-confirm.js +1 -526
  263. package/dist/knowledge/reward-context.d.ts +2 -2
  264. package/dist/knowledge/reward-context.js +1 -504
  265. package/dist/knowledge/reward-ledger.js +1 -502
  266. package/dist/knowledge/reward-puzzle.js +1 -300
  267. package/dist/knowledge/reward-risk.js +1 -627
  268. package/dist/knowledge/reward-templates.js +1 -197
  269. package/dist/knowledge/reward-translation.js +1 -501
  270. package/dist/knowledge/safety-rules.d.ts +1 -0
  271. package/dist/knowledge/safety-rules.js +1 -404
  272. package/dist/knowledge/scenario-modes.js +1 -321
  273. package/dist/knowledge/service-confirm.js +1 -807
  274. package/dist/knowledge/service-context.js +1 -403
  275. package/dist/knowledge/service-ledger.js +1 -609
  276. package/dist/knowledge/service-puzzle.js +1 -236
  277. package/dist/knowledge/service-risk.d.ts +1 -1
  278. package/dist/knowledge/service-risk.js +1 -651
  279. package/dist/knowledge/service-templates.js +1 -456
  280. package/dist/knowledge/service-translation.js +1 -622
  281. package/dist/knowledge/template-registry.js +1 -353
  282. package/dist/knowledge/tool-constraints.js +1 -195
  283. package/dist/knowledge/tools-reference.js +1 -178
  284. package/dist/knowledge/treasury-confirm.js +1 -512
  285. package/dist/knowledge/treasury-context.js +1 -363
  286. package/dist/knowledge/treasury-ledger.js +1 -300
  287. package/dist/knowledge/treasury-puzzle.js +1 -216
  288. package/dist/knowledge/treasury-risk.js +1 -440
  289. package/dist/knowledge/treasury-templates.js +1 -358
  290. package/dist/knowledge/treasury-translation.js +1 -498
  291. package/dist/knowledge/trust-metrics.js +1 -198
  292. package/dist/knowledge/universal-template.d.ts +22 -0
  293. package/dist/knowledge/universal-template.js +1 -0
  294. package/dist/knowledge/util-confirm.d.ts +24 -0
  295. package/dist/knowledge/util-confirm.js +1 -0
  296. package/dist/knowledge/util-risk.js +1 -135
  297. package/dist/knowledge/util-translation.d.ts +38 -0
  298. package/dist/knowledge/util-translation.js +1 -0
  299. package/dist/knowledge/workflow-guidance.d.ts +116 -0
  300. package/dist/knowledge/workflow-guidance.js +1 -0
  301. package/dist/loop-engineering/aggregate.js +1 -132
  302. package/dist/loop-engineering/context-collect.js +1 -83
  303. package/dist/loop-engineering/diagnose.js +1 -273
  304. package/dist/loop-engineering/improve.js +1 -405
  305. package/dist/loop-engineering/index.js +1 -4
  306. package/dist/loop-engineering/pipeline.js +1 -56
  307. package/dist/mode-market/index.js +1 -3
  308. package/dist/mode-market/registry.js +1 -124
  309. package/dist/mode-market/review.js +1 -214
  310. package/dist/mode-market/submission.js +1 -85
  311. package/dist/participation/collaborator-interest.d.ts +23 -0
  312. package/dist/participation/collaborator-interest.js +1 -0
  313. package/dist/participation/customer-interest.d.ts +25 -0
  314. package/dist/participation/customer-interest.js +1 -0
  315. package/dist/participation/employee-kpi.d.ts +25 -0
  316. package/dist/participation/employee-kpi.js +1 -0
  317. package/dist/participation/employee-store.d.ts +16 -0
  318. package/dist/participation/employee-store.js +1 -0
  319. package/dist/participation/index.d.ts +2 -0
  320. package/dist/participation/index.js +1 -0
  321. package/dist/participation/merchant-interest.js +1 -100
  322. package/dist/participation/radar-core.d.ts +13 -3
  323. package/dist/participation/radar-core.js +1 -269
  324. package/dist/participation/supplier-interest.d.ts +25 -0
  325. package/dist/participation/supplier-interest.js +1 -0
  326. package/dist/persona/analyzer.js +1 -66
  327. package/dist/persona/bridge.js +1 -86
  328. package/dist/persona/defaults.js +1 -195
  329. package/dist/persona/experience-bridge.js +1 -23
  330. package/dist/persona/index.d.ts +9 -2
  331. package/dist/persona/index.js +1 -71
  332. package/dist/persona/local-region.d.ts +20 -0
  333. package/dist/persona/local-region.js +1 -0
  334. package/dist/persona/model.js +1 -111
  335. package/dist/persona/overrides.d.ts +10 -0
  336. package/dist/persona/overrides.js +1 -0
  337. package/dist/persona/pack-personae.d.ts +11 -0
  338. package/dist/persona/pack-personae.js +1 -0
  339. package/dist/persona/store.js +1 -62
  340. package/dist/persona/strategy-intent.d.ts +20 -0
  341. package/dist/persona/strategy-intent.js +1 -0
  342. package/dist/persona/types.d.ts +6 -2
  343. package/dist/persona/types.js +1 -5
  344. package/dist/project/business-puzzle.d.ts +1 -1
  345. package/dist/project/business-puzzle.js +1 -383
  346. package/dist/project/context-assembly.js +1 -254
  347. package/dist/project/deployment-bridge.js +1 -120
  348. package/dist/project/deployment-doc.js +1 -1126
  349. package/dist/project/edit-planner.js +1 -1342
  350. package/dist/project/evaluation.d.ts +37 -1
  351. package/dist/project/evaluation.js +1 -2011
  352. package/dist/project/game-theory.js +1 -177
  353. package/dist/project/graph-builder.js +1 -656
  354. package/dist/project/graph.d.ts +3 -6
  355. package/dist/project/graph.js +1 -340
  356. package/dist/project/handlers.d.ts +33 -2
  357. package/dist/project/handlers.js +1 -1784
  358. package/dist/project/index.d.ts +2 -0
  359. package/dist/project/index.js +1 -301
  360. package/dist/project/intent-analyzer.js +1 -149
  361. package/dist/project/machine-nodes.js +1 -36
  362. package/dist/project/merchant-guide.d.ts +19 -0
  363. package/dist/project/merchant-guide.js +1 -264
  364. package/dist/project/migration.js +1 -125
  365. package/dist/project/mode-actions.js +1 -309
  366. package/dist/project/namespace.js +1 -206
  367. package/dist/project/participation-radar.js +1 -428
  368. package/dist/project/pipeline-actions.js +1 -109
  369. package/dist/project/project-store.js +1 -422
  370. package/dist/project/query.js +1 -153
  371. package/dist/project/reverse-mapping.d.ts +34 -0
  372. package/dist/project/reverse-mapping.js +1 -0
  373. package/dist/project/risk-aggregator.js +1 -295
  374. package/dist/project/rollback-policy.js +1 -290
  375. package/dist/project/semantic-assembler.js +1 -345
  376. package/dist/project/semantic-graph.d.ts +3 -5
  377. package/dist/project/semantic-graph.js +1 -292
  378. package/dist/project/stage-gate.js +1 -369
  379. package/dist/project/substep-trace.js +1 -332
  380. package/dist/project/task-tracker.js +1 -78
  381. package/dist/project/workflow-design-assessment.d.ts +24 -0
  382. package/dist/project/workflow-design-assessment.js +1 -0
  383. package/dist/role/derivation.d.ts +18 -0
  384. package/dist/role/derivation.js +1 -0
  385. package/dist/role/index.d.ts +5 -0
  386. package/dist/role/index.js +1 -0
  387. package/dist/role/model.d.ts +8 -0
  388. package/dist/role/model.js +1 -0
  389. package/dist/role/resolution.d.ts +11 -0
  390. package/dist/role/resolution.js +1 -0
  391. package/dist/role/types.d.ts +11 -0
  392. package/dist/role/types.js +1 -0
  393. package/dist/rules.js +1 -52
  394. package/dist/safety/confirm-gate.d.ts +1 -1
  395. package/dist/safety/confirm-gate.js +1 -88
  396. package/dist/safety/index.js +1 -3
  397. package/dist/safety/preview.js +1 -52
  398. package/dist/schema/call/allocation.d.ts +186 -1385
  399. package/dist/schema/call/allocation.js +1 -34
  400. package/dist/schema/call/arbitration.d.ts +272 -1871
  401. package/dist/schema/call/arbitration.js +1 -113
  402. package/dist/schema/call/base.d.ts +1831 -9076
  403. package/dist/schema/call/base.js +1 -370
  404. package/dist/schema/call/bridge.d.ts +911 -3171
  405. package/dist/schema/call/bridge.js +1 -458
  406. package/dist/schema/call/contact.d.ts +135 -931
  407. package/dist/schema/call/contact.js +1 -37
  408. package/dist/schema/call/demand.d.ts +164 -1194
  409. package/dist/schema/call/demand.js +1 -47
  410. package/dist/schema/call/guard.d.ts +298 -1140
  411. package/dist/schema/call/guard.js +1 -161
  412. package/dist/schema/call/handler.js +1 -322
  413. package/dist/schema/call/index.js +1 -20
  414. package/dist/schema/call/machine.d.ts +459 -5403
  415. package/dist/schema/call/machine.js +1 -193
  416. package/dist/schema/call/order.d.ts +137 -844
  417. package/dist/schema/call/order.js +1 -35
  418. package/dist/schema/call/payment.d.ts +74 -561
  419. package/dist/schema/call/payment.js +1 -37
  420. package/dist/schema/call/permission-handler.js +1 -54
  421. package/dist/schema/call/permission.d.ts +335 -2791
  422. package/dist/schema/call/permission.js +1 -105
  423. package/dist/schema/call/personal.d.ts +227 -1814
  424. package/dist/schema/call/personal.js +1 -78
  425. package/dist/schema/call/progress.d.ts +140 -843
  426. package/dist/schema/call/progress.js +1 -47
  427. package/dist/schema/call/proof.d.ts +42 -258
  428. package/dist/schema/call/proof.js +1 -33
  429. package/dist/schema/call/repository.d.ts +324 -2222
  430. package/dist/schema/call/repository.js +1 -77
  431. package/dist/schema/call/reward.d.ts +153 -1183
  432. package/dist/schema/call/reward.js +1 -30
  433. package/dist/schema/call/semantic.js +1 -1679
  434. package/dist/schema/call/service.d.ts +376 -3431
  435. package/dist/schema/call/service.js +1 -184
  436. package/dist/schema/call/treasury.d.ts +252 -2158
  437. package/dist/schema/call/treasury.js +1 -71
  438. package/dist/schema/common/index.d.ts +222 -697
  439. package/dist/schema/common/index.js +1 -407
  440. package/dist/schema/config/index.d.ts +18 -161
  441. package/dist/schema/config/index.js +1 -68
  442. package/dist/schema/employee/index.d.ts +99 -0
  443. package/dist/schema/employee/index.js +1 -0
  444. package/dist/schema/evaluation/index.d.ts +1062 -3748
  445. package/dist/schema/evaluation/index.js +1 -356
  446. package/dist/schema/index.d.ts +3 -0
  447. package/dist/schema/index.js +1 -17
  448. package/dist/schema/industry-pack/index.d.ts +132 -0
  449. package/dist/schema/industry-pack/index.js +1 -0
  450. package/dist/schema/intent-radar/index.d.ts +92 -245
  451. package/dist/schema/intent-radar/index.js +1 -89
  452. package/dist/schema/local/index.d.ts +2045 -18080
  453. package/dist/schema/local/index.js +1 -927
  454. package/dist/schema/local/wip.d.ts +61 -651
  455. package/dist/schema/local/wip.js +1 -187
  456. package/dist/schema/messenger/index.d.ts +949 -5557
  457. package/dist/schema/messenger/index.js +1 -475
  458. package/dist/schema/operations.d.ts +2969 -26518
  459. package/dist/schema/operations.js +1 -520
  460. package/dist/schema/persona/index.d.ts +469 -1820
  461. package/dist/schema/persona/index.js +1 -148
  462. package/dist/schema/project/index.d.ts +1027 -8408
  463. package/dist/schema/project/index.js +1 -2057
  464. package/dist/schema/query/index.d.ts +12041 -75261
  465. package/dist/schema/query/index.js +1 -1646
  466. package/dist/schema/schema-query/index.d.ts +35 -98
  467. package/dist/schema/schema-query/index.js +1 -104
  468. package/dist/schema/schema-version.js +1 -76
  469. package/dist/schema/task-status.d.ts +26 -132
  470. package/dist/schema/task-status.js +1 -36
  471. package/dist/schema/trust/index.d.ts +194 -1290
  472. package/dist/schema/trust/index.js +1 -314
  473. package/dist/schema/utils/guard-parser.js +1 -419
  474. package/dist/schema/utils/guard-query-utils.js +1 -46
  475. package/dist/schema/utils/node-parser.js +1 -369
  476. package/dist/schema/utils/object-type-utils.js +1 -35
  477. package/dist/schema/utils/permission-index-utils.js +1 -7
  478. package/dist/schema/utils/permission-machine-check.js +1 -121
  479. package/dist/schema/utils/skills-recommendation.d.ts +1 -0
  480. package/dist/schema/utils/skills-recommendation.js +1 -77
  481. package/dist/schema/workspace/index.d.ts +69 -0
  482. package/dist/schema/workspace/index.js +1 -0
  483. package/dist/schema-query-impl/index.js +1 -0
  484. package/dist/schemas/account_operation.output.json +3147 -1652
  485. package/dist/schemas/account_operation.schema.json +225 -218
  486. package/dist/schemas/bridge_operation.output.json +1168 -650
  487. package/dist/schemas/bridge_operation.schema.json +736 -504
  488. package/dist/schemas/config_operation.output.json +185 -179
  489. package/dist/schemas/config_operation.schema.json +21 -26
  490. package/dist/schemas/employee_operation.output.json +207 -0
  491. package/dist/schemas/employee_operation.schema.json +176 -0
  492. package/dist/schemas/evaluation_operation.output.json +2329 -557
  493. package/dist/schemas/evaluation_operation.schema.json +2939 -720
  494. package/dist/schemas/guard2file.output.json +58 -64
  495. package/dist/schemas/guard2file.schema.json +79 -81
  496. package/dist/schemas/index.json +29 -11
  497. package/dist/schemas/industry_pack_operation.output.json +594 -0
  498. package/dist/schemas/industry_pack_operation.schema.json +55 -0
  499. package/dist/schemas/intent_radar.output.json +275 -200
  500. package/dist/schemas/intent_radar.schema.json +124 -123
  501. package/dist/schemas/local_info_operation.output.json +1174 -657
  502. package/dist/schemas/local_info_operation.schema.json +119 -125
  503. package/dist/schemas/local_mark_operation.output.json +1239 -689
  504. package/dist/schemas/local_mark_operation.schema.json +91 -96
  505. package/dist/schemas/machineNode2file.output.json +63 -69
  506. package/dist/schemas/machineNode2file.schema.json +79 -81
  507. package/dist/schemas/messenger_operation.output.json +2722 -1528
  508. package/dist/schemas/messenger_operation.schema.json +1482 -1264
  509. package/dist/schemas/onchain_events.output.json +2590 -975
  510. package/dist/schemas/onchain_events.schema.json +117 -99
  511. package/dist/schemas/onchain_operations.output.json +3957 -2309
  512. package/dist/schemas/onchain_operations.schema.json +20799 -9285
  513. package/dist/schemas/onchain_operations_allocation.schema.json +172 -108
  514. package/dist/schemas/onchain_operations_arbitration.schema.json +233 -146
  515. package/dist/schemas/onchain_operations_contact.schema.json +129 -90
  516. package/dist/schemas/onchain_operations_demand.schema.json +170 -112
  517. package/dist/schemas/onchain_operations_gen_passport.schema.json +61 -646
  518. package/dist/schemas/onchain_operations_gen_proof.schema.json +40 -172
  519. package/dist/schemas/onchain_operations_guard.schema.json +3765 -294
  520. package/dist/schemas/onchain_operations_machine.schema.json +537 -164
  521. package/dist/schemas/onchain_operations_order.schema.json +126 -96
  522. package/dist/schemas/onchain_operations_payment.schema.json +82 -67
  523. package/dist/schemas/onchain_operations_permission.schema.json +331 -93
  524. package/dist/schemas/onchain_operations_personal.schema.json +636 -96
  525. package/dist/schemas/onchain_operations_progress.schema.json +125 -92
  526. package/dist/schemas/onchain_operations_proof.schema.json +76 -69
  527. package/dist/schemas/onchain_operations_repository.schema.json +636 -249
  528. package/dist/schemas/onchain_operations_reward.schema.json +218 -108
  529. package/dist/schemas/onchain_operations_service.schema.json +679 -221
  530. package/dist/schemas/onchain_operations_treasury.schema.json +401 -135
  531. package/dist/schemas/onchain_table_data.output.json +6018 -2430
  532. package/dist/schemas/onchain_table_data.schema.json +544 -430
  533. package/dist/schemas/persona_operation.output.json +1568 -265
  534. package/dist/schemas/persona_operation.schema.json +346 -202
  535. package/dist/schemas/project_operation.output.json +6957 -5147
  536. package/dist/schemas/project_operation.schema.json +1050 -1020
  537. package/dist/schemas/query_task_status.output.json +195 -99
  538. package/dist/schemas/query_task_status.schema.json +12 -18
  539. package/dist/schemas/query_toolkit.output.json +18870 -14566
  540. package/dist/schemas/query_toolkit.schema.json +614 -522
  541. package/dist/schemas/schema_query.output.json +127 -129
  542. package/dist/schemas/schema_query.schema.json +64 -69
  543. package/dist/schemas/trust_score.output.json +678 -587
  544. package/dist/schemas/trust_score.schema.json +289 -277
  545. package/dist/schemas/wip_file.output.json +116 -124
  546. package/dist/schemas/wip_file.schema.json +142 -143
  547. package/dist/schemas/workspace_operation.output.json +277 -0
  548. package/dist/schemas/workspace_operation.schema.json +45 -0
  549. package/dist/schemas/wowok_buildin_info.output.json +1693 -723
  550. package/dist/schemas/wowok_buildin_info.schema.json +576 -512
  551. package/dist/telemetry/index.js +1 -112
  552. package/dist/telemetry/redact.js +1 -23
  553. package/dist/telemetry/storage.js +1 -80
  554. package/dist/tools/handlers/bridge.d.ts +8 -1
  555. package/dist/tools/handlers/bridge.js +1 -1
  556. package/dist/tools/handlers/config.js +1 -74
  557. package/dist/tools/handlers/employee.d.ts +2 -0
  558. package/dist/tools/handlers/employee.js +1 -0
  559. package/dist/tools/handlers/evaluation.js +1 -123
  560. package/dist/tools/handlers/file-export.js +1 -90
  561. package/dist/tools/handlers/industry-pack.d.ts +2 -0
  562. package/dist/tools/handlers/industry-pack.js +1 -0
  563. package/dist/tools/handlers/intent-radar.js +1 -76
  564. package/dist/tools/handlers/local.js +1 -53
  565. package/dist/tools/handlers/messenger.js +1 -188
  566. package/dist/tools/handlers/onchain.js +1 -1180
  567. package/dist/tools/handlers/persona.js +1 -89
  568. package/dist/tools/handlers/project.js +1 -211
  569. package/dist/tools/handlers/query.js +1 -434
  570. package/dist/tools/handlers/schema-query.js +1 -176
  571. package/dist/tools/handlers/task-status.js +1 -26
  572. package/dist/tools/handlers/trust.js +1 -380
  573. package/dist/tools/handlers/wip.js +1 -90
  574. package/dist/tools/handlers/workspace.d.ts +2 -0
  575. package/dist/tools/handlers/workspace.js +1 -0
  576. package/dist/tools/index.d.ts +2 -1
  577. package/dist/tools/index.js +1 -1382
  578. package/dist/tools/retry.js +1 -85
  579. package/dist/tools/rules-hook.d.ts +1 -1
  580. package/dist/tools/rules-hook.js +1 -23
  581. package/dist/tools/shared.d.ts +1 -1
  582. package/dist/tools/shared.js +1 -130
  583. package/dist/tools/types.d.ts +2 -1
  584. package/dist/tools/types.js +1 -1
  585. package/dist/tools/upgrade-check.d.ts +19 -0
  586. package/dist/tools/upgrade-check.js +1 -0
  587. package/dist/tools/wip-deploy-assist.js +1 -306
  588. package/dist/tools/wrap.js +1 -500
  589. package/package.json +7 -6
  590. package/dist/knowledge/arbitration-trust.d.ts +0 -24
  591. package/dist/knowledge/arbitration-trust.js +0 -117
  592. package/dist/schema/call/bridge-handler.d.ts +0 -8
  593. package/dist/schema/call/bridge-handler.js +0 -265
  594. package/dist/schema/sync-layer4.d.ts +0 -21
  595. package/dist/schema/sync-layer4.js +0 -286
  596. package/dist/schema-query/index.js +0 -810
  597. /package/dist/{schema-query → schema-query-impl}/index.d.ts +0 -0
@@ -1,850 +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"
1179
+ "const": "Value",
1180
+ "description": "Value"
1181
+ }
1182
+ ]
1183
+ },
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"
1199
+ },
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"
1222
+ ],
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"
1238
+ },
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"
569
1252
  },
570
- "parameters_description": {
571
- "type": "array",
572
- "items": {
573
- "type": "string"
574
- },
575
- "description": "Parameter descriptions for guard query"
1253
+ {
1254
+ "type": "number"
576
1255
  }
577
- },
578
- "required": [
579
- "name",
580
- "id",
581
- "description"
582
1256
  ],
583
- "additionalProperties": false,
584
- "description": "Guard item - either a guard instruction or a guard query"
1257
+ "description": "Value"
585
1258
  },
586
- "description": "Guard instructions result"
587
- }
1259
+ "description": {
1260
+ "type": "string",
1261
+ "description": "Description"
1262
+ }
1263
+ },
1264
+ "required": [
1265
+ "name",
1266
+ "value",
1267
+ "description"
1268
+ ],
1269
+ "additionalProperties": false,
1270
+ "description": "Constant item"
588
1271
  },
589
- "required": [
590
- "info",
591
- "result"
592
- ],
593
- "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"
594
1287
  },
595
- {
596
- "type": "object",
597
- "properties": {
598
- "info": {
599
- "type": "string",
600
- "const": "current network"
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)"
1296
+ },
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
+ }
601
1328
  },
602
- "result": {
603
- "type": "string",
604
- "enum": [
605
- "localnet",
606
- "testnet",
607
- "mainnet"
608
- ],
609
- "description": "Current network entrypoint"
610
- }
1329
+ "required": [
1330
+ "tokenId",
1331
+ "symbol",
1332
+ "wowTypeTag",
1333
+ "evmAddress",
1334
+ "evmDecimals",
1335
+ "wowDecimals"
1336
+ ],
1337
+ "additionalProperties": false,
1338
+ "description": "Mainnet Bridge token info"
611
1339
  },
612
- "required": [
613
- "info",
614
- "result"
615
- ],
616
- "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"
617
1355
  },
618
- {
1356
+ "result": {
619
1357
  "type": "object",
620
1358
  "properties": {
621
- "info": {
1359
+ "overview": {
622
1360
  "type": "string",
623
- "const": "value types"
1361
+ "description": "Overview of how to obtain WOW gas and payment tokens"
624
1362
  },
625
- "result": {
626
- "type": "array",
627
- "items": {
628
- "$ref": "#/definitions/wowok_buildin_info/properties/result/anyOf/0/properties/result/items"
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"
1404
+ },
1405
+ "description": "Tokens supported by the mainnet bridge (ETH/USDT/USDC/WBTC)"
1406
+ },
1407
+ "steps": {
1408
+ "type": "array",
1409
+ "items": {
1410
+ "type": "string"
1411
+ },
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"
1428
+ },
1429
+ "status": {
1430
+ "type": "string",
1431
+ "description": "Airdrop status (under construction)"
1432
+ }
1433
+ },
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
+ }
629
1455
  },
630
- "description": "Value types result - each item contains name (string), value (string), and description showing the numeric mapping"
1456
+ "required": [
1457
+ "testnet_default",
1458
+ "mainnet_option",
1459
+ "migration_note"
1460
+ ],
1461
+ "additionalProperties": false
631
1462
  }
632
1463
  },
633
1464
  "required": [
634
- "info",
635
- "result"
1465
+ "overview",
1466
+ "testnet",
1467
+ "mainnet",
1468
+ "airdrop",
1469
+ "payment_token"
636
1470
  ],
637
- "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"
638
1487
  },
639
- {
1488
+ "result": {
640
1489
  "type": "object",
641
1490
  "properties": {
642
- "info": {
643
- "type": "string",
644
- "const": "mainnet bridge tokens"
1491
+ "mcp": {
1492
+ "type": "object",
1493
+ "properties": {
1494
+ "current": {
1495
+ "anyOf": [
1496
+ {
1497
+ "type": "string"
1498
+ },
1499
+ {
1500
+ "type": "null"
1501
+ }
1502
+ ],
1503
+ "description": "Currently installed/running version"
1504
+ },
1505
+ "latest": {
1506
+ "anyOf": [
1507
+ {
1508
+ "type": "string"
1509
+ },
1510
+ {
1511
+ "type": "null"
1512
+ }
1513
+ ],
1514
+ "description": "Latest published npm version (null when offline/unreachable)"
1515
+ },
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"
645
1528
  },
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)"
674
- },
675
- "evmChains": {
676
- "type": "array",
677
- "items": {
678
- "type": "number"
1529
+ "sdk": {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "current": {
1533
+ "anyOf": [
1534
+ {
1535
+ "type": "string"
679
1536
  },
680
- "description": "Bridge protocol chain IDs where this token is available (e.g. 10 = ETH mainnet)"
681
- },
682
- "description": {
683
- "type": "string",
684
- "description": "Token description"
685
- }
1537
+ {
1538
+ "type": "null"
1539
+ }
1540
+ ],
1541
+ "description": "Currently installed/running version"
686
1542
  },
687
- "required": [
688
- "tokenId",
689
- "symbol",
690
- "wowTypeTag",
691
- "evmAddress",
692
- "evmDecimals",
693
- "wowDecimals"
694
- ],
695
- "additionalProperties": false,
696
- "description": "Mainnet Bridge token info"
1543
+ "latest": {
1544
+ "anyOf": [
1545
+ {
1546
+ "type": "string"
1547
+ },
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"
1606
+ },
1607
+ {
1608
+ "type": "null"
1609
+ }
1610
+ ],
1611
+ "description": "Ready-to-use, benefit-focused reminder message; null when not due"
1612
+ }
697
1613
  },
698
- "description": "Mainnet Bridge tokens result - each item contains tokenId, symbol, wowTypeTag, evmAddress, evmDecimals, wowDecimals, evmChains, and description"
1614
+ "required": [
1615
+ "type",
1616
+ "due",
1617
+ "message"
1618
+ ],
1619
+ "additionalProperties": false,
1620
+ "description": "Reminder decision"
1621
+ },
1622
+ "checked_at": {
1623
+ "type": "string",
1624
+ "description": "ISO timestamp of the check"
699
1625
  }
700
1626
  },
701
1627
  "required": [
702
- "info",
703
- "result"
1628
+ "mcp",
1629
+ "sdk",
1630
+ "client_installed",
1631
+ "client_install_hint",
1632
+ "upgrade_available",
1633
+ "reminder",
1634
+ "checked_at"
704
1635
  ],
705
- "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"
706
1652
  },
707
- {
1653
+ "result": {
708
1654
  "type": "object",
709
1655
  "properties": {
710
- "info": {
1656
+ "template": {
711
1657
  "type": "string",
712
- "const": "funding guidance"
1658
+ "const": "universal",
1659
+ "description": "Template kind"
713
1660
  },
714
- "result": {
1661
+ "version": {
1662
+ "type": "string",
1663
+ "description": "Template version"
1664
+ },
1665
+ "anti_cheat_baseline": {
715
1666
  "type": "object",
716
1667
  "properties": {
717
- "overview": {
718
- "type": "string",
719
- "description": "Overview of how to obtain WOW gas and payment tokens"
720
- },
721
- "testnet": {
1668
+ "fake_orders": {
722
1669
  "type": "object",
723
1670
  "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"
1671
+ "enabled": {
1672
+ "type": "boolean"
736
1673
  },
737
- "note": {
738
- "type": "string",
739
- "description": "Testnet funding note: all merchant/order testing can use WOW"
1674
+ "rules": {
1675
+ "type": "array",
1676
+ "items": {
1677
+ "type": "string"
1678
+ }
740
1679
  }
741
1680
  },
742
1681
  "required": [
743
- "token",
744
- "method",
745
- "faucet_url",
746
- "note"
1682
+ "enabled",
1683
+ "rules"
747
1684
  ],
748
1685
  "additionalProperties": false
749
1686
  },
750
- "mainnet": {
1687
+ "fake_reviews": {
751
1688
  "type": "object",
752
1689
  "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)"
1690
+ "enabled": {
1691
+ "type": "boolean"
764
1692
  },
765
- "steps": {
1693
+ "rules": {
766
1694
  "type": "array",
767
1695
  "items": {
768
1696
  "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"
1697
+ }
771
1698
  }
772
1699
  },
773
1700
  "required": [
774
- "method",
775
- "supported_tokens",
776
- "steps"
1701
+ "enabled",
1702
+ "rules"
777
1703
  ],
778
1704
  "additionalProperties": false
779
1705
  },
780
- "airdrop": {
1706
+ "shell_merchant": {
781
1707
  "type": "object",
782
1708
  "properties": {
783
- "url": {
784
- "type": "string",
785
- "description": "WOW mainnet airdrop URL"
1709
+ "enabled": {
1710
+ "type": "boolean"
786
1711
  },
787
- "status": {
788
- "type": "string",
789
- "description": "Airdrop status (under construction)"
1712
+ "rules": {
1713
+ "type": "array",
1714
+ "items": {
1715
+ "type": "string"
1716
+ }
790
1717
  }
791
1718
  },
792
1719
  "required": [
793
- "url",
794
- "status"
1720
+ "enabled",
1721
+ "rules"
795
1722
  ],
796
1723
  "additionalProperties": false
797
1724
  },
798
- "payment_token": {
1725
+ "reputation_trade": {
799
1726
  "type": "object",
800
1727
  "properties": {
801
- "testnet_default": {
802
- "type": "string",
803
- "description": "Default testnet payment token (WOW)"
804
- },
805
- "mainnet_option": {
806
- "type": "string",
807
- "description": "Mainnet payment token option (USDT and other stablecoins)"
1728
+ "enabled": {
1729
+ "type": "boolean"
808
1730
  },
809
- "migration_note": {
810
- "type": "string",
811
- "description": "Guidance: ask whether to switch payment token when migrating testnet → mainnet"
1731
+ "rules": {
1732
+ "type": "array",
1733
+ "items": {
1734
+ "type": "string"
1735
+ }
812
1736
  }
813
1737
  },
814
1738
  "required": [
815
- "testnet_default",
816
- "mainnet_option",
817
- "migration_note"
1739
+ "enabled",
1740
+ "rules"
818
1741
  ],
819
1742
  "additionalProperties": false
820
1743
  }
821
1744
  },
822
1745
  "required": [
823
- "overview",
824
- "testnet",
825
- "mainnet",
826
- "airdrop",
827
- "payment_token"
1746
+ "fake_orders",
1747
+ "fake_reviews",
1748
+ "shell_merchant",
1749
+ "reputation_trade"
828
1750
  ],
829
1751
  "additionalProperties": false,
830
- "description": "Funding guidance result - testnet faucet / mainnet bridge / airdrop / payment-token guidance"
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"
831
1789
  }
832
1790
  },
833
1791
  "required": [
834
- "info",
835
- "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"
836
1801
  ],
837
- "additionalProperties": false
1802
+ "additionalProperties": false,
1803
+ "description": "Universal Template data (anti-cheat baseline, pricing/governance red lines, quality signals, consumer journey, north-star metric)"
838
1804
  }
1805
+ },
1806
+ "required": [
1807
+ "info",
1808
+ "result"
839
1809
  ],
840
- "description": "Protocol info result"
1810
+ "additionalProperties": false
841
1811
  }
842
- },
843
- "required": [
844
- "result"
845
1812
  ],
846
- "additionalProperties": false,
847
1813
  "description": "Protocol info result"
848
1814
  }
849
- }
1815
+ },
1816
+ "required": [
1817
+ "result"
1818
+ ],
1819
+ "additionalProperties": false
850
1820
  }