@wowok/agent-mcp 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (853) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/build-stamp.js +1 -0
  3. package/dist/chain-semantics/composition-truth.js +1 -1
  4. package/dist/chain-semantics/eval-order.js +1 -1
  5. package/dist/chain-semantics/freeze-map.js +1 -1
  6. package/dist/chain-semantics/fund-flow.js +1 -1
  7. package/dist/chain-semantics/object-graph.js +1 -1
  8. package/dist/composition/audit.js +1 -1
  9. package/dist/composition/compile.js +1 -1
  10. package/dist/composition/emit-phases.js +1 -1
  11. package/dist/composition/generate.js +1 -1
  12. package/dist/composition/guard-fill.js +1 -1
  13. package/dist/composition/input-normalize.js +1 -1
  14. package/dist/composition/materialize.js +1 -1
  15. package/dist/composition/mode-gates.js +1 -1
  16. package/dist/composition/plan.js +1 -1
  17. package/dist/composition/product-card.js +1 -1
  18. package/dist/composition/shape-expand.js +1 -0
  19. package/dist/config/judgment.js +1 -1
  20. package/dist/config/template-params.js +1 -1
  21. package/dist/data/sync/cdc.js +1 -1
  22. package/dist/data/sync/graphql-source.js +1 -1
  23. package/dist/evaluation/engine.js +1 -1
  24. package/dist/experience/realtime-feedback.js +1 -1
  25. package/dist/graph/onchain/expand.js +1 -1
  26. package/dist/graph/onchain/exposure.js +1 -1
  27. package/dist/graph/onchain/sdk-batch.js +1 -1
  28. package/dist/harness/entry-ignite-selfheal.js +1 -0
  29. package/dist/harness/forward-leg-preflight.js +1 -0
  30. package/dist/harness/recover.js +1 -1
  31. package/dist/keeper/detectors.js +1 -1
  32. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  33. package/dist/knowledge/arb-operation-face.js +1 -0
  34. package/dist/knowledge/arbitration-rail-verifier.js +1 -1
  35. package/dist/knowledge/arbitration-templates.js +1 -1
  36. package/dist/knowledge/audit-rules.d.ts +15 -0
  37. package/dist/knowledge/audit-rules.js +1 -1
  38. package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
  39. package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
  40. package/dist/knowledge/baselines/rules/arb.json.good +174 -0
  41. package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
  42. package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
  43. package/dist/knowledge/baselines/rules/contact.json.good +152 -0
  44. package/dist/knowledge/baselines/rules/demand.json.good +158 -0
  45. package/dist/knowledge/baselines/rules/graph.json.good +534 -0
  46. package/dist/knowledge/baselines/rules/guard.json +18 -5
  47. package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
  48. package/dist/knowledge/baselines/rules/machine.json.good +734 -0
  49. package/dist/knowledge/baselines/rules/oracle.json +1 -1
  50. package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
  51. package/dist/knowledge/baselines/rules/order.json.good +549 -0
  52. package/dist/knowledge/baselines/rules/payment.json.good +205 -0
  53. package/dist/knowledge/baselines/rules/permission.json.good +330 -0
  54. package/dist/knowledge/baselines/rules/personal.json.good +139 -0
  55. package/dist/knowledge/baselines/rules/plan.json +343 -1
  56. package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
  57. package/dist/knowledge/baselines/rules/progress.json.good +364 -0
  58. package/dist/knowledge/baselines/rules/proof.json.good +158 -0
  59. package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
  60. package/dist/knowledge/baselines/rules/repository.json.good +244 -0
  61. package/dist/knowledge/baselines/rules/resource.json.good +117 -0
  62. package/dist/knowledge/baselines/rules/reward.json +10 -10
  63. package/dist/knowledge/baselines/rules/reward.json.good +586 -0
  64. package/dist/knowledge/baselines/rules/service.json.good +595 -0
  65. package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
  66. package/dist/knowledge/baselines/rules/util.json.good +101 -0
  67. package/dist/knowledge/builtin-templates.d.ts +13 -1
  68. package/dist/knowledge/builtin-templates.js +1 -1
  69. package/dist/knowledge/chain-query-registry.js +1 -1
  70. package/dist/knowledge/discount-threshold.js +1 -1
  71. package/dist/knowledge/fee-param-bindings.js +1 -1
  72. package/dist/knowledge/fund-layer.d.ts +2 -0
  73. package/dist/knowledge/fund-layer.js +1 -1
  74. package/dist/knowledge/getting-started.js +1 -1
  75. package/dist/knowledge/guard-binding-table.js +1 -1
  76. package/dist/knowledge/guard-binding-verifier.js +1 -1
  77. package/dist/knowledge/guard-create-preflight.js +1 -0
  78. package/dist/knowledge/guard-field-cognition.js +1 -1
  79. package/dist/knowledge/guard-host-context.js +1 -1
  80. package/dist/knowledge/guard-leg-eval.js +1 -0
  81. package/dist/knowledge/guard-node-gates.js +1 -1
  82. package/dist/knowledge/guard-puzzle.js +1 -1
  83. package/dist/knowledge/guard-quality.js +1 -0
  84. package/dist/knowledge/guard-render.js +1 -1
  85. package/dist/knowledge/guard-risk.js +1 -1
  86. package/dist/knowledge/guard-semantic-walk.js +1 -0
  87. package/dist/knowledge/guard-templates.d.ts +1 -0
  88. package/dist/knowledge/guard-templates.js +1 -1
  89. package/dist/knowledge/guard-translation.js +1 -1
  90. package/dist/knowledge/index.js +1 -1
  91. package/dist/knowledge/industry-registry.js +1 -1
  92. package/dist/knowledge/jsonrpc-enum.js +1 -1
  93. package/dist/knowledge/param-schema.js +1 -1
  94. package/dist/knowledge/param-tiers.js +1 -1
  95. package/dist/knowledge/path-oracle/coverage.js +1 -1
  96. package/dist/knowledge/path-oracle/index.js +1 -1
  97. package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
  98. package/dist/knowledge/path-oracle/products/algora.js +1 -0
  99. package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
  100. package/dist/knowledge/path-oracle/products/amazon.js +1 -0
  101. package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
  102. package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
  103. package/dist/knowledge/path-oracle/products/contra.js +1 -0
  104. package/dist/knowledge/path-oracle/products/costco.js +1 -0
  105. package/dist/knowledge/path-oracle/products/coursera.js +1 -0
  106. package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
  107. package/dist/knowledge/path-oracle/products/etsy.js +1 -0
  108. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
  109. package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
  110. package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
  111. package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
  112. package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
  113. package/dist/knowledge/path-oracle/products/klook.js +1 -0
  114. package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
  115. package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
  116. package/dist/knowledge/path-oracle/products/patreon.js +1 -0
  117. package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
  118. package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
  119. package/dist/knowledge/path-oracle/products/shansong.js +1 -0
  120. package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
  121. package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
  122. package/dist/knowledge/path-oracle/products/upwork.js +1 -0
  123. package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
  124. package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
  125. package/dist/knowledge/pattern-resolutions.js +1 -1
  126. package/dist/knowledge/product-detail-source.js +1 -1
  127. package/dist/knowledge/product-doc-b5.js +1 -1
  128. package/dist/knowledge/product-doc-facets.js +1 -0
  129. package/dist/knowledge/projection.js +1 -1
  130. package/dist/knowledge/publish-gate.js +1 -1
  131. package/dist/knowledge/publish-surface-contract.js +1 -1
  132. package/dist/knowledge/recipient-constraint.d.ts +20 -0
  133. package/dist/knowledge/recipient-constraint.js +1 -1
  134. package/dist/knowledge/rule-declaration-types.d.ts +13 -0
  135. package/dist/knowledge/rule-declaration-types.js +1 -0
  136. package/dist/knowledge/rule-declarations.js +1 -0
  137. package/dist/knowledge/scenario-modes.d.ts +6 -0
  138. package/dist/knowledge/scenario-topology.js +1 -1
  139. package/dist/knowledge/template-loader.js +1 -1
  140. package/dist/knowledge/template-prose.js +1 -1
  141. package/dist/knowledge/template-registry.js +1 -1
  142. package/dist/knowledge/template-scanner.js +1 -1
  143. package/dist/knowledge/tools-reference.js +1 -1
  144. package/dist/monitor/MonitorLoop.js +1 -1
  145. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  146. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  147. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  148. package/dist/playbooks/service-build/object-panorama.js +1 -1
  149. package/dist/playbooks/service-build/participation-radar.js +1 -1
  150. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  151. package/dist/playbooks/service-build/service-panorama.js +1 -1
  152. package/dist/playbooks/service-build/service-quote.js +1 -1
  153. package/dist/review/index.js +1 -1
  154. package/dist/review/service.js +1 -1
  155. package/dist/safety/confirm-gate.js +1 -1
  156. package/dist/schema/benchmark-migration/index.d.ts +9 -0
  157. package/dist/schema/benchmark-migration/index.js +1 -1
  158. package/dist/schema/call/arbitration.d.ts +8 -0
  159. package/dist/schema/call/arbitration.js +1 -1
  160. package/dist/schema/call/base.d.ts +8 -0
  161. package/dist/schema/call/base.js +1 -1
  162. package/dist/schema/call/bridge.d.ts +2 -0
  163. package/dist/schema/call/error-codes.d.ts +1 -1
  164. package/dist/schema/call/error-codes.js +1 -1
  165. package/dist/schema/call/handler.d.ts +2 -1
  166. package/dist/schema/call/handler.js +1 -1
  167. package/dist/schema/call/order.d.ts +10 -0
  168. package/dist/schema/call/permission-handler.js +1 -1
  169. package/dist/schema/call/permission.js +1 -1
  170. package/dist/schema/call/progress.d.ts +15 -0
  171. package/dist/schema/call/progress.js +1 -1
  172. package/dist/schema/call/receipt.d.ts +1 -0
  173. package/dist/schema/call/receipt.js +1 -1
  174. package/dist/schema/call/repository.d.ts +12 -0
  175. package/dist/schema/call/repository.js +1 -1
  176. package/dist/schema/call/reward.js +1 -1
  177. package/dist/schema/call/semantic.d.ts +1 -0
  178. package/dist/schema/call/semantic.js +1 -1
  179. package/dist/schema/call/service.d.ts +5 -3
  180. package/dist/schema/call/service.js +1 -1
  181. package/dist/schema/common/index.js +1 -1
  182. package/dist/schema/envelope-unify.js +1 -1
  183. package/dist/schema/goal/index.d.ts +23 -0
  184. package/dist/schema/goal/planning.js +1 -1
  185. package/dist/schema/industry-pack/index.d.ts +2 -2
  186. package/dist/schema/local/index.d.ts +20 -0
  187. package/dist/schema/local/index.js +1 -1
  188. package/dist/schema/local/wip.d.ts +4 -0
  189. package/dist/schema/local/wip.js +1 -1
  190. package/dist/schema/messenger/index.d.ts +5 -0
  191. package/dist/schema/messenger/index.js +1 -1
  192. package/dist/schema/operations.d.ts +944 -1
  193. package/dist/schema/operations.js +1 -1
  194. package/dist/schema/query/bi.js +1 -1
  195. package/dist/schema/query/index.d.ts +5 -5
  196. package/dist/schema/query/index.js +1 -1
  197. package/dist/schema/schema-version.js +1 -1
  198. package/dist/schema/workspace/index.d.ts +2 -2
  199. package/dist/schema-query-impl/index.js +1 -1
  200. package/dist/schemas/account_operation.schema.json +1 -257
  201. package/dist/schemas/ask_user.schema.json +1 -78
  202. package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
  203. package/dist/schemas/bridge_operation.schema.json +1 -1069
  204. package/dist/schemas/config_operation.schema.json +1 -82
  205. package/dist/schemas/employee_operation.schema.json +1 -319
  206. package/dist/schemas/evaluation_operation.schema.json +1 -3932
  207. package/dist/schemas/goal_operation.schema.json +1 -1650
  208. package/dist/schemas/guard2file.schema.json +1 -137
  209. package/dist/schemas/index.json +1 -285
  210. package/dist/schemas/industry_pack_operation.schema.json +1 -582
  211. package/dist/schemas/intent_radar.schema.json +1 -155
  212. package/dist/schemas/keeper_operation.schema.json +1 -364
  213. package/dist/schemas/local_cache_operation.schema.json +1 -116
  214. package/dist/schemas/local_history_operation.schema.json +1 -105
  215. package/dist/schemas/local_info_operation.schema.json +1 -140
  216. package/dist/schemas/local_mark_operation.schema.json +1 -124
  217. package/dist/schemas/machineNode2file.schema.json +1 -137
  218. package/dist/schemas/messenger_operation.schema.json +1 -2068
  219. package/dist/schemas/monitor_events.schema.json +1 -87
  220. package/dist/schemas/monitor_subscription.schema.json +1 -327
  221. package/dist/schemas/onchain_events.schema.json +1 -207
  222. package/dist/schemas/onchain_operations.schema.json +1 -28699
  223. package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
  224. package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
  225. package/dist/schemas/onchain_operations_contact.schema.json +1 -988
  226. package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
  227. package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
  228. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
  229. package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
  230. package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
  231. package/dist/schemas/onchain_operations_order.schema.json +1 -1121
  232. package/dist/schemas/onchain_operations_payment.schema.json +1 -316
  233. package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
  234. package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
  235. package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
  236. package/dist/schemas/onchain_operations_proof.schema.json +1 -750
  237. package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
  238. package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
  239. package/dist/schemas/onchain_operations_service.schema.json +1 -2602
  240. package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
  241. package/dist/schemas/onchain_table_data.schema.json +1 -1146
  242. package/dist/schemas/permission_operation.schema.json +1 -43
  243. package/dist/schemas/persona_operation.schema.json +1 -10424
  244. package/dist/schemas/query_toolkit.schema.json +1 -1867
  245. package/dist/schemas/schema_query.schema.json +1 -116
  246. package/dist/schemas/service_clone_operation.schema.json +1 -49
  247. package/dist/schemas/settle_sweep.schema.json +1 -0
  248. package/dist/schemas/strategy_review_operation.schema.json +1 -66
  249. package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
  250. package/dist/schemas/watch_operation.schema.json +1 -145
  251. package/dist/schemas/wip_file.schema.json +1 -299
  252. package/dist/schemas/workflow_operation.schema.json +1 -722
  253. package/dist/schemas/workspace_operation.schema.json +1 -104
  254. package/dist/schemas/wowok_buildin_info.schema.json +1 -758
  255. package/dist/tools/handlers/benchmark-migration.js +1 -1
  256. package/dist/tools/handlers/config.js +1 -1
  257. package/dist/tools/handlers/entry-edge-recipe.js +1 -1
  258. package/dist/tools/handlers/file-export.js +1 -1
  259. package/dist/tools/handlers/local.js +1 -1
  260. package/dist/tools/handlers/messenger.js +1 -1
  261. package/dist/tools/handlers/onchain.js +1 -1
  262. package/dist/tools/handlers/pending-settlement-recipe.js +1 -0
  263. package/dist/tools/handlers/plan-recovery.js +1 -0
  264. package/dist/tools/handlers/query.js +1 -1
  265. package/dist/tools/handlers/repository-row-id.js +1 -0
  266. package/dist/tools/handlers/review-chain.js +1 -1
  267. package/dist/tools/handlers/settle-sweep.js +1 -0
  268. package/dist/tools/handlers/stale-build-check.js +1 -1
  269. package/dist/tools/handlers/submission-assembly.js +1 -1
  270. package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
  271. package/dist/tools/handlers/wip-upload.js +1 -1
  272. package/dist/tools/index.d.ts +3 -1
  273. package/dist/tools/index.js +1 -1
  274. package/dist/tools/move-fn-index.gen.js +1 -1
  275. package/dist/tools/publish-gate-state.js +1 -1
  276. package/dist/tools/registry/business.js +1 -1
  277. package/dist/tools/registry/onchain.js +1 -1
  278. package/dist/tools/shared.js +1 -1
  279. package/dist/tools/types.d.ts +1 -1
  280. package/dist/tools/wrap.js +1 -1
  281. package/package.json +11 -4
  282. package/dist/chain-semantics/composition-truth.d.ts +0 -102
  283. package/dist/chain-semantics/eval-order.d.ts +0 -17
  284. package/dist/chain-semantics/field-capability.d.ts +0 -11
  285. package/dist/chain-semantics/freeze-map.d.ts +0 -11
  286. package/dist/chain-semantics/fund-flow.d.ts +0 -10
  287. package/dist/chain-semantics/guard-verbs.d.ts +0 -22
  288. package/dist/chain-semantics/index.d.ts +0 -12
  289. package/dist/chain-semantics/object-graph.d.ts +0 -18
  290. package/dist/communication/evidence.d.ts +0 -6
  291. package/dist/communication/message-cursors.d.ts +0 -35
  292. package/dist/communication/proof-reuse.d.ts +0 -9
  293. package/dist/communication/wts-attestation.d.ts +0 -39
  294. package/dist/composition/audit.d.ts +0 -15
  295. package/dist/composition/blueprint-view.d.ts +0 -63
  296. package/dist/composition/compile.d.ts +0 -83
  297. package/dist/composition/emit-phases.d.ts +0 -234
  298. package/dist/composition/generate.d.ts +0 -40
  299. package/dist/composition/guard-fill.d.ts +0 -52
  300. package/dist/composition/inflight.d.ts +0 -86
  301. package/dist/composition/input-normalize.d.ts +0 -15
  302. package/dist/composition/materialize.d.ts +0 -78
  303. package/dist/composition/mode-gates.d.ts +0 -35
  304. package/dist/composition/param-disclosure.d.ts +0 -61
  305. package/dist/composition/plan-retry-ledger.d.ts +0 -37
  306. package/dist/composition/plan.d.ts +0 -121
  307. package/dist/composition/product-card.d.ts +0 -94
  308. package/dist/composition/reflux.d.ts +0 -28
  309. package/dist/composition/supply-chain-emit.d.ts +0 -46
  310. package/dist/config/config-audit.spec.d.ts +0 -1
  311. package/dist/config/config-audit.spec.js +0 -1
  312. package/dist/config/config-warnings.d.ts +0 -2
  313. package/dist/config/index.d.ts +0 -4
  314. package/dist/config/judgment.spec.d.ts +0 -1
  315. package/dist/config/judgment.spec.js +0 -1
  316. package/dist/config/match-policy-file.d.ts +0 -34
  317. package/dist/config/match-policy-file.spec.d.ts +0 -1
  318. package/dist/config/match-policy-file.spec.js +0 -1
  319. package/dist/config/rule-engine.spec.d.ts +0 -1
  320. package/dist/config/rule-engine.spec.js +0 -1
  321. package/dist/config/runtime.d.ts +0 -29
  322. package/dist/config/store-policy.d.ts +0 -14
  323. package/dist/config/store-policy.spec.d.ts +0 -1
  324. package/dist/config/store-policy.spec.js +0 -1
  325. package/dist/config/template-params.d.ts +0 -42
  326. package/dist/config/template-params.spec.d.ts +0 -1
  327. package/dist/config/template-params.spec.js +0 -1
  328. package/dist/customer/account-events.d.ts +0 -32
  329. package/dist/data/api/api.spec.d.ts +0 -1
  330. package/dist/data/api/api.spec.js +0 -1
  331. package/dist/data/api/cli.d.ts +0 -1
  332. package/dist/data/api/head.d.ts +0 -16
  333. package/dist/data/api/head.spec.d.ts +0 -1
  334. package/dist/data/api/head.spec.js +0 -1
  335. package/dist/data/api/index.d.ts +0 -2
  336. package/dist/data/api/match.d.ts +0 -69
  337. package/dist/data/api/match.spec.d.ts +0 -1
  338. package/dist/data/api/match.spec.js +0 -1
  339. package/dist/data/api/server.d.ts +0 -13
  340. package/dist/data/projection/cli.d.ts +0 -1
  341. package/dist/data/projection/edges.d.ts +0 -8
  342. package/dist/data/projection/edges.spec.d.ts +0 -1
  343. package/dist/data/projection/edges.spec.js +0 -1
  344. package/dist/data/projection/facets.d.ts +0 -18
  345. package/dist/data/projection/facets.spec.d.ts +0 -1
  346. package/dist/data/projection/facets.spec.js +0 -1
  347. package/dist/data/projection/facts.d.ts +0 -40
  348. package/dist/data/projection/index.d.ts +0 -6
  349. package/dist/data/projection/project.d.ts +0 -10
  350. package/dist/data/projection/projection.spec.d.ts +0 -1
  351. package/dist/data/projection/projection.spec.js +0 -1
  352. package/dist/data/projection/schema.d.ts +0 -1
  353. package/dist/data/projection/store.d.ts +0 -51
  354. package/dist/data/projection/types.d.ts +0 -169
  355. package/dist/data/sync/cdc.d.ts +0 -33
  356. package/dist/data/sync/cdc.spec.d.ts +0 -1
  357. package/dist/data/sync/cdc.spec.js +0 -1
  358. package/dist/data/sync/graphql-source.d.ts +0 -16
  359. package/dist/data/sync/index.d.ts +0 -5
  360. package/dist/data/sync/reconciler.d.ts +0 -14
  361. package/dist/data/sync/reconciler.spec.d.ts +0 -1
  362. package/dist/data/sync/reconciler.spec.js +0 -1
  363. package/dist/data/sync/schema.d.ts +0 -1
  364. package/dist/data/sync/store.d.ts +0 -24
  365. package/dist/data/sync/sync.spec.d.ts +0 -1
  366. package/dist/data/sync/sync.spec.js +0 -1
  367. package/dist/data/sync/synchronizer.d.ts +0 -10
  368. package/dist/data/sync/types.d.ts +0 -164
  369. package/dist/evaluation/acceptance.d.ts +0 -33
  370. package/dist/evaluation/architecture.spec.d.ts +0 -1
  371. package/dist/evaluation/architecture.spec.js +0 -1
  372. package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
  373. package/dist/evaluation/builtins/demand-match.d.ts +0 -16
  374. package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
  375. package/dist/evaluation/builtins/graph-service.spec.js +0 -1
  376. package/dist/evaluation/builtins/index.d.ts +0 -4
  377. package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
  378. package/dist/evaluation/builtins/purity.spec.js +0 -1
  379. package/dist/evaluation/composer.d.ts +0 -38
  380. package/dist/evaluation/facets/catalog.d.ts +0 -19
  381. package/dist/evaluation/gap.d.ts +0 -2
  382. package/dist/evaluation/guard-scan.d.ts +0 -10
  383. package/dist/evaluation/index.d.ts +0 -14
  384. package/dist/evaluation/injection.d.ts +0 -6
  385. package/dist/evaluation/location-match.d.ts +0 -42
  386. package/dist/evaluation/match-operation.d.ts +0 -23
  387. package/dist/evaluation/match-policy-resolver.d.ts +0 -9
  388. package/dist/evaluation/match-policy.spec.d.ts +0 -1
  389. package/dist/evaluation/match-policy.spec.js +0 -1
  390. package/dist/evaluation/path-reasoning.d.ts +0 -37
  391. package/dist/evaluation/standards.d.ts +0 -11
  392. package/dist/evaluation/standards.spec.d.ts +0 -1
  393. package/dist/evaluation/standards.spec.js +0 -1
  394. package/dist/evaluation/structured-lines.d.ts +0 -8
  395. package/dist/evaluation/user-injection.d.ts +0 -6
  396. package/dist/experience/experience-reuse.d.ts +0 -10
  397. package/dist/experience/index.d.ts +0 -7
  398. package/dist/experience/persistence-config.d.ts +0 -6
  399. package/dist/experience/persistence.d.ts +0 -21
  400. package/dist/experience/realtime-feedback.d.ts +0 -5
  401. package/dist/experience/user-profile.d.ts +0 -25
  402. package/dist/extensions/capability.d.ts +0 -91
  403. package/dist/extensions/industry-audit.spec.d.ts +0 -1
  404. package/dist/extensions/industry-audit.spec.js +0 -1
  405. package/dist/goal/GoalClassifier.d.ts +0 -17
  406. package/dist/goal/GoalEngine.d.ts +0 -175
  407. package/dist/goal/GoalStore.d.ts +0 -27
  408. package/dist/goal/next-steps.d.ts +0 -12
  409. package/dist/goal/plan-approval.d.ts +0 -5
  410. package/dist/goal/pursue.d.ts +0 -18
  411. package/dist/graph/base.d.ts +0 -8
  412. package/dist/graph/onchain/analyze.d.ts +0 -59
  413. package/dist/graph/onchain/analyze.spec.d.ts +0 -1
  414. package/dist/graph/onchain/analyze.spec.js +0 -1
  415. package/dist/graph/onchain/anti-cheat.d.ts +0 -69
  416. package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
  417. package/dist/graph/onchain/anti-cheat.spec.js +0 -1
  418. package/dist/graph/onchain/dataplane.d.ts +0 -44
  419. package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
  420. package/dist/graph/onchain/edge-batch.spec.js +0 -1
  421. package/dist/graph/onchain/edge-schema.d.ts +0 -69
  422. package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
  423. package/dist/graph/onchain/entity-profile.spec.js +0 -1
  424. package/dist/graph/onchain/event-history.spec.d.ts +0 -1
  425. package/dist/graph/onchain/event-history.spec.js +0 -1
  426. package/dist/graph/onchain/expand.d.ts +0 -4
  427. package/dist/graph/onchain/exploration.d.ts +0 -28
  428. package/dist/graph/onchain/exploration.spec.d.ts +0 -1
  429. package/dist/graph/onchain/exploration.spec.js +0 -1
  430. package/dist/graph/onchain/exposure.d.ts +0 -18
  431. package/dist/graph/onchain/exposure.spec.d.ts +0 -1
  432. package/dist/graph/onchain/exposure.spec.js +0 -1
  433. package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
  434. package/dist/graph/onchain/extract-deep.spec.js +0 -1
  435. package/dist/graph/onchain/extract.d.ts +0 -29
  436. package/dist/graph/onchain/facet-projection.d.ts +0 -99
  437. package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
  438. package/dist/graph/onchain/facet-projection.spec.js +0 -1
  439. package/dist/graph/onchain/facts.spec.d.ts +0 -1
  440. package/dist/graph/onchain/facts.spec.js +0 -1
  441. package/dist/graph/onchain/field-manifest.d.ts +0 -29
  442. package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
  443. package/dist/graph/onchain/field-manifest.spec.js +0 -1
  444. package/dist/graph/onchain/fixtures.d.ts +0 -80
  445. package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
  446. package/dist/graph/onchain/fixtures.spec.js +0 -1
  447. package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
  448. package/dist/graph/onchain/graph-policy.spec.js +0 -1
  449. package/dist/graph/onchain/index.d.ts +0 -29
  450. package/dist/graph/onchain/interest.d.ts +0 -10
  451. package/dist/graph/onchain/interest.spec.d.ts +0 -1
  452. package/dist/graph/onchain/interest.spec.js +0 -1
  453. package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
  454. package/dist/graph/onchain/label-lint.spec.js +0 -1
  455. package/dist/graph/onchain/names.d.ts +0 -23
  456. package/dist/graph/onchain/names.spec.d.ts +0 -1
  457. package/dist/graph/onchain/names.spec.js +0 -1
  458. package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
  459. package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
  460. package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
  461. package/dist/graph/onchain/onchain.spec.d.ts +0 -1
  462. package/dist/graph/onchain/onchain.spec.js +0 -1
  463. package/dist/graph/onchain/policy.d.ts +0 -8
  464. package/dist/graph/onchain/project-relationship.d.ts +0 -3
  465. package/dist/graph/onchain/proposal-graph.d.ts +0 -11
  466. package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
  467. package/dist/graph/onchain/proposal-graph.spec.js +0 -1
  468. package/dist/graph/onchain/sdk-batch.d.ts +0 -129
  469. package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
  470. package/dist/graph/onchain/strategy.spec.d.ts +0 -1
  471. package/dist/graph/onchain/strategy.spec.js +0 -1
  472. package/dist/graph/onchain/synthesis.d.ts +0 -20
  473. package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
  474. package/dist/graph/onchain/synthesis.spec.js +0 -1
  475. package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
  476. package/dist/graph/onchain/table-ledger.spec.js +0 -1
  477. package/dist/graph/onchain/viewport.d.ts +0 -6
  478. package/dist/harness/auto-escalation.d.ts +0 -15
  479. package/dist/intent/enrich.d.ts +0 -1
  480. package/dist/intent/index.d.ts +0 -23
  481. package/dist/intent/matcher.d.ts +0 -2
  482. package/dist/intent/store.d.ts +0 -19
  483. package/dist/intent/types.d.ts +0 -32
  484. package/dist/keeper/KeeperScan.d.ts +0 -41
  485. package/dist/keeper/KeeperStore.d.ts +0 -43
  486. package/dist/keeper/detectors.d.ts +0 -42
  487. package/dist/keeper/keeper.spec.d.ts +0 -1
  488. package/dist/keeper/keeper.spec.js +0 -1
  489. package/dist/keeper/types.d.ts +0 -67
  490. package/dist/knowledge/account-marks.d.ts +0 -36
  491. package/dist/knowledge/allocation-ledger.d.ts +0 -75
  492. package/dist/knowledge/allocation-puzzle.d.ts +0 -138
  493. package/dist/knowledge/allocation-risk.d.ts +0 -82
  494. package/dist/knowledge/allocation-templates.d.ts +0 -38
  495. package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
  496. package/dist/knowledge/anti-cheat.d.ts +0 -2
  497. package/dist/knowledge/arb-fund-facts.d.ts +0 -51
  498. package/dist/knowledge/arb-risk.d.ts +0 -39
  499. package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
  500. package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
  501. package/dist/knowledge/arbitration-risk.d.ts +0 -114
  502. package/dist/knowledge/arbitration-templates.d.ts +0 -39
  503. package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
  504. package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
  505. package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
  506. package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
  507. package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
  508. package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
  509. package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
  510. package/dist/knowledge/bridge-risk.d.ts +0 -36
  511. package/dist/knowledge/catalog-facts.d.ts +0 -4
  512. package/dist/knowledge/chain-query-registry.d.ts +0 -14
  513. package/dist/knowledge/commission-landing.d.ts +0 -26
  514. package/dist/knowledge/component-schema.d.ts +0 -64
  515. package/dist/knowledge/contact-risk.d.ts +0 -32
  516. package/dist/knowledge/contact-templates.d.ts +0 -26
  517. package/dist/knowledge/contract-invariants.d.ts +0 -54
  518. package/dist/knowledge/demand-risk.d.ts +0 -30
  519. package/dist/knowledge/discount-threshold.d.ts +0 -26
  520. package/dist/knowledge/dynamic-pricing.d.ts +0 -29
  521. package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
  522. package/dist/knowledge/event-semantics.d.ts +0 -23
  523. package/dist/knowledge/evidence-review.d.ts +0 -35
  524. package/dist/knowledge/fee-param-bindings.d.ts +0 -28
  525. package/dist/knowledge/flywheel-loop.d.ts +0 -41
  526. package/dist/knowledge/game-scenarios.d.ts +0 -21
  527. package/dist/knowledge/getting-started.d.ts +0 -37
  528. package/dist/knowledge/goal-completion.d.ts +0 -31
  529. package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
  530. package/dist/knowledge/guard-binding-table.d.ts +0 -52
  531. package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
  532. package/dist/knowledge/guard-bindings.d.ts +0 -21
  533. package/dist/knowledge/guard-blueprint.d.ts +0 -68
  534. package/dist/knowledge/guard-design-patterns.d.ts +0 -38
  535. package/dist/knowledge/guard-eval.d.ts +0 -15
  536. package/dist/knowledge/guard-field-cognition.d.ts +0 -48
  537. package/dist/knowledge/guard-host-context.d.ts +0 -24
  538. package/dist/knowledge/guard-ledger.d.ts +0 -19
  539. package/dist/knowledge/guard-leg-map.d.ts +0 -5
  540. package/dist/knowledge/guard-lint.d.ts +0 -79
  541. package/dist/knowledge/guard-node-gates.d.ts +0 -9
  542. package/dist/knowledge/guard-puzzle.d.ts +0 -188
  543. package/dist/knowledge/guard-render.d.ts +0 -71
  544. package/dist/knowledge/guard-risk.d.ts +0 -71
  545. package/dist/knowledge/guard-submission-brief.d.ts +0 -94
  546. package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
  547. package/dist/knowledge/guard-translation.d.ts +0 -58
  548. package/dist/knowledge/index.d.ts +0 -299
  549. package/dist/knowledge/industry-evolution.d.ts +0 -82
  550. package/dist/knowledge/industry-generalizer.d.ts +0 -63
  551. package/dist/knowledge/industry-rule-node.d.ts +0 -7
  552. package/dist/knowledge/industry-strategy.d.ts +0 -91
  553. package/dist/knowledge/intent-metrics.d.ts +0 -43
  554. package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
  555. package/dist/knowledge/knob-docs.d.ts +0 -5
  556. package/dist/knowledge/machine-fork-watch.d.ts +0 -9
  557. package/dist/knowledge/machine-ledger.d.ts +0 -42
  558. package/dist/knowledge/machine-puzzle.d.ts +0 -206
  559. package/dist/knowledge/machine-risk.d.ts +0 -72
  560. package/dist/knowledge/machine-templates.d.ts +0 -92
  561. package/dist/knowledge/machine-topology.d.ts +0 -116
  562. package/dist/knowledge/machine-translation.d.ts +0 -96
  563. package/dist/knowledge/market-metrics.d.ts +0 -34
  564. package/dist/knowledge/market-operations.d.ts +0 -46
  565. package/dist/knowledge/migration-preflight.d.ts +0 -27
  566. package/dist/knowledge/object-dependency.d.ts +0 -31
  567. package/dist/knowledge/operation-dictionary.d.ts +0 -18
  568. package/dist/knowledge/order-ledger.d.ts +0 -69
  569. package/dist/knowledge/order-puzzle.d.ts +0 -162
  570. package/dist/knowledge/order-risk.d.ts +0 -62
  571. package/dist/knowledge/order-templates.d.ts +0 -50
  572. package/dist/knowledge/param-schema.d.ts +0 -93
  573. package/dist/knowledge/param-tiers.d.ts +0 -27
  574. package/dist/knowledge/passport-ledger.d.ts +0 -60
  575. package/dist/knowledge/passport-templates.d.ts +0 -40
  576. package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
  577. package/dist/knowledge/path-oracle/index.d.ts +0 -5
  578. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
  579. package/dist/knowledge/path-oracle/schema.d.ts +0 -188
  580. package/dist/knowledge/pattern-resolutions.d.ts +0 -110
  581. package/dist/knowledge/payment-risk.d.ts +0 -38
  582. package/dist/knowledge/payment-tracker.d.ts +0 -63
  583. package/dist/knowledge/permission-ledger.d.ts +0 -49
  584. package/dist/knowledge/permission-puzzle.d.ts +0 -122
  585. package/dist/knowledge/permission-risk.d.ts +0 -70
  586. package/dist/knowledge/permission-templates.d.ts +0 -38
  587. package/dist/knowledge/personal-risk.d.ts +0 -36
  588. package/dist/knowledge/product-detail-source.d.ts +0 -37
  589. package/dist/knowledge/product-doc-b5.d.ts +0 -16
  590. package/dist/knowledge/progress-ledger.d.ts +0 -63
  591. package/dist/knowledge/progress-puzzle.d.ts +0 -82
  592. package/dist/knowledge/progress-risk.d.ts +0 -75
  593. package/dist/knowledge/progress-templates.d.ts +0 -38
  594. package/dist/knowledge/projection.d.ts +0 -54
  595. package/dist/knowledge/projection.spec.d.ts +0 -1
  596. package/dist/knowledge/projection.spec.js +0 -1
  597. package/dist/knowledge/proof-risk.d.ts +0 -33
  598. package/dist/knowledge/protocol-facts.d.ts +0 -17
  599. package/dist/knowledge/publish-gate.d.ts +0 -20
  600. package/dist/knowledge/publish-readiness.d.ts +0 -25
  601. package/dist/knowledge/publish-surface-contract.d.ts +0 -16
  602. package/dist/knowledge/puzzle-projections.d.ts +0 -11
  603. package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
  604. package/dist/knowledge/registrar-risk.d.ts +0 -34
  605. package/dist/knowledge/release-sentinel.d.ts +0 -12
  606. package/dist/knowledge/repository-risk.d.ts +0 -46
  607. package/dist/knowledge/repository-write-semantics.d.ts +0 -27
  608. package/dist/knowledge/reputation-rules.d.ts +0 -36
  609. package/dist/knowledge/requirement-families.d.ts +0 -13
  610. package/dist/knowledge/resource-risk.d.ts +0 -32
  611. package/dist/knowledge/reward-ledger.d.ts +0 -97
  612. package/dist/knowledge/reward-puzzle.d.ts +0 -98
  613. package/dist/knowledge/reward-risk.d.ts +0 -86
  614. package/dist/knowledge/reward-templates.d.ts +0 -25
  615. package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
  616. package/dist/knowledge/rule-outcome.d.ts +0 -5
  617. package/dist/knowledge/scenario-topology.d.ts +0 -48
  618. package/dist/knowledge/semantic-ir.d.ts +0 -136
  619. package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
  620. package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
  621. package/dist/knowledge/service-ledger.d.ts +0 -87
  622. package/dist/knowledge/service-puzzle.d.ts +0 -158
  623. package/dist/knowledge/service-risk-node.d.ts +0 -3
  624. package/dist/knowledge/service-risk.d.ts +0 -110
  625. package/dist/knowledge/service-templates.d.ts +0 -41
  626. package/dist/knowledge/settlement-semantics.d.ts +0 -1
  627. package/dist/knowledge/strategy-manuals.d.ts +0 -15
  628. package/dist/knowledge/supply-chain.d.ts +0 -35
  629. package/dist/knowledge/template-index.d.ts +0 -19
  630. package/dist/knowledge/template-loader.d.ts +0 -425
  631. package/dist/knowledge/template-nav.d.ts +0 -9
  632. package/dist/knowledge/template-prose.d.ts +0 -50
  633. package/dist/knowledge/template-registry.d.ts +0 -48
  634. package/dist/knowledge/template-scanner.d.ts +0 -158
  635. package/dist/knowledge/template-test-profiles.d.ts +0 -17
  636. package/dist/knowledge/template-validation.d.ts +0 -3
  637. package/dist/knowledge/tools-reference.d.ts +0 -17
  638. package/dist/knowledge/treasury-ledger.d.ts +0 -42
  639. package/dist/knowledge/treasury-puzzle.d.ts +0 -163
  640. package/dist/knowledge/treasury-risk.d.ts +0 -88
  641. package/dist/knowledge/treasury-templates.d.ts +0 -38
  642. package/dist/knowledge/universal-template.d.ts +0 -22
  643. package/dist/knowledge/util-risk.d.ts +0 -30
  644. package/dist/knowledge/workflow-guidance.d.ts +0 -194
  645. package/dist/knowledge/workspace-lists.d.ts +0 -61
  646. package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
  647. package/dist/monitor/SuggestionBridge.spec.js +0 -1
  648. package/dist/participation/arbitrator-interest.d.ts +0 -22
  649. package/dist/participation/demander-interest.d.ts +0 -23
  650. package/dist/participation/employee-kpi.d.ts +0 -37
  651. package/dist/participation/employee-kpi.spec.d.ts +0 -1
  652. package/dist/participation/employee-kpi.spec.js +0 -1
  653. package/dist/participation/employee-store.d.ts +0 -16
  654. package/dist/participation/game-context.d.ts +0 -25
  655. package/dist/participation/index.d.ts +0 -2
  656. package/dist/participation/node-action-advisor.d.ts +0 -68
  657. package/dist/participation/time-window.d.ts +0 -48
  658. package/dist/persona/facet-profile.d.ts +0 -33
  659. package/dist/persona/persona-audit.spec.d.ts +0 -1
  660. package/dist/persona/persona-audit.spec.js +0 -1
  661. package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
  662. package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
  663. package/dist/playbooks/service-build/facet-money.d.ts +0 -33
  664. package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
  665. package/dist/playbooks/service-build/facet-money.spec.js +0 -1
  666. package/dist/playbooks/service-build/game-theory.d.ts +0 -47
  667. package/dist/playbooks/service-build/index.d.ts +0 -15
  668. package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
  669. package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
  670. package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
  671. package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
  672. package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
  673. package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
  674. package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
  675. package/dist/playbooks/service-build/object-type.d.ts +0 -1
  676. package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
  677. package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
  678. package/dist/playbooks/service-build/process.d.ts +0 -6
  679. package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
  680. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
  681. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
  682. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
  683. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
  684. package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
  685. package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
  686. package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
  687. package/dist/playbooks/service-build/service-quote.d.ts +0 -2
  688. package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
  689. package/dist/playbooks/service-build/service-quote.spec.js +0 -1
  690. package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
  691. package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
  692. package/dist/playbooks/service-build/topology-query.d.ts +0 -25
  693. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
  694. package/dist/relationship/derivation.d.ts +0 -95
  695. package/dist/relationship/derivation.spec.d.ts +0 -1
  696. package/dist/relationship/derivation.spec.js +0 -1
  697. package/dist/relationship/incentive.d.ts +0 -38
  698. package/dist/relationship/index.d.ts +0 -4
  699. package/dist/relationship/registry.d.ts +0 -13
  700. package/dist/relationship/types.d.ts +0 -45
  701. package/dist/review/arb.d.ts +0 -4
  702. package/dist/review/demand.d.ts +0 -3
  703. package/dist/review/index.d.ts +0 -3
  704. package/dist/review/machine.d.ts +0 -3
  705. package/dist/review/order.d.ts +0 -8
  706. package/dist/review/progress.d.ts +0 -3
  707. package/dist/review/repository.d.ts +0 -3
  708. package/dist/review/service.d.ts +0 -5
  709. package/dist/review/types.d.ts +0 -163
  710. package/dist/role/derivation.d.ts +0 -35
  711. package/dist/role/index.d.ts +0 -6
  712. package/dist/role/intent.d.ts +0 -23
  713. package/dist/role/model.d.ts +0 -9
  714. package/dist/role/profiles.d.ts +0 -26
  715. package/dist/role/resolution.d.ts +0 -27
  716. package/dist/runtime/instance-registry.d.ts +0 -14
  717. package/dist/safety/index.d.ts +0 -3
  718. package/dist/schema/call/permission-handler.d.ts +0 -5
  719. package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
  720. package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
  721. package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
  722. package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
  723. package/dist/schema/envelope-unify.d.ts +0 -5
  724. package/dist/schema/goal/planning.d.ts +0 -742
  725. package/dist/schema/industry-pack/modes.d.ts +0 -447
  726. package/dist/schema/query/bi.d.ts +0 -3369
  727. package/dist/schema/utils/guard-query-utils.d.ts +0 -18
  728. package/dist/schema/utils/permission-index-utils.d.ts +0 -2
  729. package/dist/schema/utils/skills-recommendation.d.ts +0 -2
  730. package/dist/schema-query-impl/index.d.ts +0 -83
  731. package/dist/schemas/account_operation.output.json +0 -3869
  732. package/dist/schemas/ask_user.output.json +0 -54
  733. package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
  734. package/dist/schemas/bridge_operation.output.json +0 -1548
  735. package/dist/schemas/config_operation.output.json +0 -896
  736. package/dist/schemas/employee_operation.output.json +0 -307
  737. package/dist/schemas/evaluation_operation.output.json +0 -4716
  738. package/dist/schemas/guard2file.output.json +0 -83
  739. package/dist/schemas/industry_pack_operation.output.json +0 -2985
  740. package/dist/schemas/intent_radar.output.json +0 -326
  741. package/dist/schemas/keeper_operation.output.json +0 -1441
  742. package/dist/schemas/local_cache_operation.output.json +0 -1718
  743. package/dist/schemas/local_history_operation.output.json +0 -1644
  744. package/dist/schemas/local_info_operation.output.json +0 -1530
  745. package/dist/schemas/local_mark_operation.output.json +0 -1622
  746. package/dist/schemas/machineNode2file.output.json +0 -88
  747. package/dist/schemas/messenger_operation.output.json +0 -4692
  748. package/dist/schemas/monitor_events.output.json +0 -1602
  749. package/dist/schemas/monitor_subscription.output.json +0 -1629
  750. package/dist/schemas/onchain_events.output.json +0 -4053
  751. package/dist/schemas/onchain_operations.output.json +0 -7788
  752. package/dist/schemas/onchain_table_data.output.json +0 -11868
  753. package/dist/schemas/permission_operation.output.json +0 -205
  754. package/dist/schemas/persona_operation.output.json +0 -64612
  755. package/dist/schemas/query_toolkit.output.json +0 -28302
  756. package/dist/schemas/schema_query.output.json +0 -81
  757. package/dist/schemas/service_clone_operation.output.json +0 -247
  758. package/dist/schemas/strategy_review_operation.output.json +0 -532
  759. package/dist/schemas/watch_operation.output.json +0 -930
  760. package/dist/schemas/wip_file.output.json +0 -360
  761. package/dist/schemas/workflow_operation.output.json +0 -422
  762. package/dist/schemas/workspace_operation.output.json +0 -477
  763. package/dist/schemas/wowok_buildin_info.output.json +0 -2477
  764. package/dist/strategy/collectors.d.ts +0 -66
  765. package/dist/strategy/collectors.spec.d.ts +0 -1
  766. package/dist/strategy/collectors.spec.js +0 -1
  767. package/dist/strategy/index.d.ts +0 -5
  768. package/dist/strategy/metrics.d.ts +0 -20
  769. package/dist/strategy/review.d.ts +0 -48
  770. package/dist/strategy/scorecard.d.ts +0 -32
  771. package/dist/strategy/store.d.ts +0 -26
  772. package/dist/task/ProcessStore.d.ts +0 -98
  773. package/dist/task/playbook.d.ts +0 -11
  774. package/dist/task/substep-trace.d.ts +0 -91
  775. package/dist/tools/build-fingerprint.d.ts +0 -28
  776. package/dist/tools/error-catalog.d.ts +0 -17
  777. package/dist/tools/handlers/ask-user.d.ts +0 -3
  778. package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
  779. package/dist/tools/handlers/bridge.d.ts +0 -8
  780. package/dist/tools/handlers/config.d.ts +0 -2
  781. package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
  782. package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
  783. package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
  784. package/dist/tools/handlers/employee.d.ts +0 -8
  785. package/dist/tools/handlers/employee.spec.d.ts +0 -1
  786. package/dist/tools/handlers/employee.spec.js +0 -1
  787. package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
  788. package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
  789. package/dist/tools/handlers/evaluation.d.ts +0 -2
  790. package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
  791. package/dist/tools/handlers/evaluation.spec.js +0 -1
  792. package/dist/tools/handlers/file-export.d.ts +0 -3
  793. package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
  794. package/dist/tools/handlers/goal.d.ts +0 -4
  795. package/dist/tools/handlers/industry-pack.d.ts +0 -3
  796. package/dist/tools/handlers/intent-radar.d.ts +0 -2
  797. package/dist/tools/handlers/keeper.d.ts +0 -12
  798. package/dist/tools/handlers/local.d.ts +0 -6
  799. package/dist/tools/handlers/mark-namespace.d.ts +0 -30
  800. package/dist/tools/handlers/messenger.d.ts +0 -24
  801. package/dist/tools/handlers/monitor.d.ts +0 -26
  802. package/dist/tools/handlers/name-resolution.d.ts +0 -4
  803. package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
  804. package/dist/tools/handlers/name-resolution.spec.js +0 -1
  805. package/dist/tools/handlers/network.d.ts +0 -1
  806. package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
  807. package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
  808. package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
  809. package/dist/tools/handlers/onchain.d.ts +0 -132
  810. package/dist/tools/handlers/permission.d.ts +0 -2
  811. package/dist/tools/handlers/persona.d.ts +0 -4
  812. package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
  813. package/dist/tools/handlers/review-chain.d.ts +0 -19
  814. package/dist/tools/handlers/schema-query.d.ts +0 -2
  815. package/dist/tools/handlers/service-clone.d.ts +0 -20
  816. package/dist/tools/handlers/stale-build-check.d.ts +0 -9
  817. package/dist/tools/handlers/strategy-review.d.ts +0 -2
  818. package/dist/tools/handlers/submission-assembly.d.ts +0 -55
  819. package/dist/tools/handlers/watch.d.ts +0 -2
  820. package/dist/tools/handlers/winner-derivation.d.ts +0 -20
  821. package/dist/tools/handlers/wip-upload.d.ts +0 -22
  822. package/dist/tools/handlers/wip.d.ts +0 -2
  823. package/dist/tools/handlers/workflow.d.ts +0 -2
  824. package/dist/tools/handlers/workspace.d.ts +0 -4
  825. package/dist/tools/move-fn-index.gen.d.ts +0 -3
  826. package/dist/tools/publish-gate-state.d.ts +0 -5
  827. package/dist/tools/registry/agent.d.ts +0 -2
  828. package/dist/tools/registry/bridge.d.ts +0 -2
  829. package/dist/tools/registry/business.d.ts +0 -2
  830. package/dist/tools/registry/config.d.ts +0 -2
  831. package/dist/tools/registry/evaluation.d.ts +0 -2
  832. package/dist/tools/registry/files.d.ts +0 -2
  833. package/dist/tools/registry/identity.d.ts +0 -2
  834. package/dist/tools/registry/interaction.d.ts +0 -2
  835. package/dist/tools/registry/local.d.ts +0 -2
  836. package/dist/tools/registry/messenger.d.ts +0 -2
  837. package/dist/tools/registry/monitor.d.ts +0 -2
  838. package/dist/tools/registry/onchain.d.ts +0 -2
  839. package/dist/tools/registry/query.d.ts +0 -2
  840. package/dist/tools/retry.d.ts +0 -8
  841. package/dist/tools/rules-hook.d.ts +0 -5
  842. package/dist/tools/runtime-health.d.ts +0 -10
  843. package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
  844. package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
  845. package/dist/tools/sanitize-output.d.ts +0 -4
  846. package/dist/tools/sanitize-output.spec.d.ts +0 -1
  847. package/dist/tools/sanitize-output.spec.js +0 -1
  848. package/dist/tools/shared.d.ts +0 -20
  849. package/dist/tools/transport-integrity.d.ts +0 -7
  850. package/dist/tools/upgrade-check.d.ts +0 -75
  851. package/dist/tools/wip-deploy-assist.d.ts +0 -34
  852. package/dist/tools/wip-verify-ledger.d.ts +0 -16
  853. package/dist/tools/wrap.d.ts +0 -45
@@ -1,1867 +1 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/query_toolkit.json",
4
- "title": "Data Query Toolkit",
5
- "description": "Query local and on-chain data",
6
- "oneOf": [
7
- {
8
- "type": "object",
9
- "properties": {
10
- "query_type": {
11
- "type": "string",
12
- "const": "local_mark_list"
13
- },
14
- "filter": {
15
- "description": "Local mark filter",
16
- "type": "object",
17
- "properties": {
18
- "name": {
19
- "description": "Filter by mark name (supports fuzzy match)",
20
- "type": "string"
21
- },
22
- "tags": {
23
- "description": "Filter by tags - returns marks that contain ANY of the specified tags",
24
- "type": "array",
25
- "items": {
26
- "type": "string"
27
- }
28
- },
29
- "address": {
30
- "description": "Filter by address (exact match, format: 0x + 64 hex characters)",
31
- "type": "string"
32
- },
33
- "createdAt": {
34
- "description": "Filter by creation time range",
35
- "type": "object",
36
- "properties": {
37
- "gte": {
38
- "description": "Filter marks created on or after this timestamp (ms)",
39
- "type": "number"
40
- },
41
- "lte": {
42
- "description": "Filter marks created on or before this timestamp (ms)",
43
- "type": "number"
44
- }
45
- },
46
- "additionalProperties": false
47
- },
48
- "updatedAt": {
49
- "description": "Filter by update time range",
50
- "type": "object",
51
- "properties": {
52
- "gte": {
53
- "description": "Filter marks updated on or after this timestamp (ms)",
54
- "type": "number"
55
- },
56
- "lte": {
57
- "description": "Filter marks updated on or before this timestamp (ms)",
58
- "type": "number"
59
- }
60
- },
61
- "additionalProperties": false
62
- }
63
- },
64
- "additionalProperties": false
65
- }
66
- },
67
- "required": [
68
- "query_type"
69
- ],
70
- "additionalProperties": false,
71
- "description": "Query your LOCAL address book — maps human-readable names to blockchain addresses with optional tags. Use to resolve names→addresses or find addresses by tag. Returns: MarkData[] (name, address, tags, timestamps)"
72
- },
73
- {
74
- "type": "object",
75
- "properties": {
76
- "query_type": {
77
- "type": "string",
78
- "const": "account_list"
79
- },
80
- "filter": {
81
- "description": "Account filter",
82
- "type": "object",
83
- "properties": {
84
- "name": {
85
- "description": "Filter by account name (supports fuzzy match)",
86
- "type": "string"
87
- },
88
- "address": {
89
- "description": "Filter by account address (supports partial match, format: 0x + hex characters)",
90
- "type": "string"
91
- },
92
- "suspended": {
93
- "description": "Filter by suspension status. Omit to return all accounts regardless of status",
94
- "type": "boolean"
95
- },
96
- "hasMessenger": {
97
- "description": "Filter accounts with messenger enabled",
98
- "type": "boolean"
99
- },
100
- "createdAt": {
101
- "description": "Filter by creation time range",
102
- "type": "object",
103
- "properties": {
104
- "gte": {
105
- "description": "Filter accounts created on or after this timestamp (ms)",
106
- "type": "number"
107
- },
108
- "lte": {
109
- "description": "Filter accounts created on or before this timestamp (ms)",
110
- "type": "number"
111
- }
112
- },
113
- "additionalProperties": false
114
- },
115
- "updatedAt": {
116
- "description": "Filter by update time range",
117
- "type": "object",
118
- "properties": {
119
- "gte": {
120
- "description": "Filter accounts updated on or after this timestamp (ms)",
121
- "type": "number"
122
- },
123
- "lte": {
124
- "description": "Filter accounts updated on or before this timestamp (ms)",
125
- "type": "number"
126
- }
127
- },
128
- "additionalProperties": false
129
- },
130
- "includePubkey": {
131
- "description": "Include pubkey in results (default: false). Pubkey is large (~900 bytes), omit unless needed",
132
- "type": "boolean"
133
- }
134
- },
135
- "additionalProperties": false
136
- },
137
- "no_cache": {
138
- "description": "Accepted for call-shape uniformity and IGNORED — account_list is a device-local read with no cache to bypass",
139
- "type": "boolean"
140
- }
141
- },
142
- "required": [
143
- "query_type"
144
- ],
145
- "additionalProperties": false,
146
- "description": "Query your LOCAL accounts — view all accounts stored on this device (addresses, messenger status, suspension state). Use filter.includePubkey=true to also include public keys (~900 bytes each, omitted by default). Returns: AccountData[] (name, address, pubkey?, suspended, messenger, timestamps)"
147
- },
148
- {
149
- "type": "object",
150
- "properties": {
151
- "query_type": {
152
- "type": "string",
153
- "const": "local_info_list"
154
- },
155
- "filter": {
156
- "description": "Local info filter",
157
- "type": "object",
158
- "properties": {
159
- "name": {
160
- "description": "Filter by info name (supports fuzzy match)",
161
- "type": "string"
162
- },
163
- "default": {
164
- "description": "Filter by default value (supports fuzzy match)",
165
- "type": "string"
166
- },
167
- "contents": {
168
- "description": "Filter by contents - returns info that contains ANY of the specified content items",
169
- "type": "array",
170
- "items": {
171
- "type": "string"
172
- }
173
- },
174
- "createdAt": {
175
- "description": "Filter by creation time range",
176
- "type": "object",
177
- "properties": {
178
- "gte": {
179
- "description": "Filter info created on or after this timestamp (ms)",
180
- "type": "number"
181
- },
182
- "lte": {
183
- "description": "Filter info created on or before this timestamp (ms)",
184
- "type": "number"
185
- }
186
- },
187
- "additionalProperties": false
188
- },
189
- "updatedAt": {
190
- "description": "Filter by update time range",
191
- "type": "object",
192
- "properties": {
193
- "gte": {
194
- "description": "Filter info updated on or after this timestamp (ms)",
195
- "type": "number"
196
- },
197
- "lte": {
198
- "description": "Filter info updated on or before this timestamp (ms)",
199
- "type": "number"
200
- }
201
- },
202
- "additionalProperties": false
203
- }
204
- },
205
- "additionalProperties": false
206
- },
207
- "account": {
208
- "description": "Account partition to query (name or address). Local info is isolated per account; omit for the default account's partition.",
209
- "type": "string"
210
- }
211
- },
212
- "required": [
213
- "query_type"
214
- ],
215
- "additionalProperties": false,
216
- "description": "Query your LOCAL private info — sensitive data like delivery addresses, phone numbers, contacts stored ONLY on this device. Use to retrieve saved contact/delivery details. Returns: InfoData[] (name, default value, contents, timestamps)"
217
- },
218
- {
219
- "type": "object",
220
- "properties": {
221
- "query_type": {
222
- "type": "string",
223
- "const": "token_list"
224
- },
225
- "filter": {
226
- "type": "object",
227
- "properties": {
228
- "alias_or_name": {
229
- "description": "Alias or name filter",
230
- "type": "string"
231
- },
232
- "symbol": {
233
- "description": "Token symbol",
234
- "type": "string"
235
- },
236
- "type": {
237
- "description": "Token type",
238
- "type": "string"
239
- }
240
- },
241
- "additionalProperties": false,
242
- "description": "Token data filter"
243
- }
244
- },
245
- "required": [
246
- "query_type"
247
- ],
248
- "additionalProperties": false,
249
- "description": "Query cached token metadata — symbol, decimals, icon URL, description for tokens previously fetched from chain. Use to look up token info without an on-chain query. Returns: TokenTypeInfo[] (type, alias, name, symbol, decimals, iconUrl)"
250
- },
251
- {
252
- "type": "object",
253
- "properties": {
254
- "query_type": {
255
- "type": "string",
256
- "const": "account_balance"
257
- },
258
- "name_or_address": {
259
- "description": "Account name or address to query. Examples: \"my_account\", \"0xabc123...\", or \"\" for the default account. Aliases 'account' and 'address' are accepted and auto-renamed to 'name_or_address'. Defaults to '' (default account) if omitted.",
260
- "type": "string"
261
- },
262
- "balance": {
263
- "description": "Set to true to query total balance amount for the token type",
264
- "type": "boolean"
265
- },
266
- "coin": {
267
- "description": "Set to query paginated coin objects instead of balance. Use cursor/limit for pagination.",
268
- "type": "object",
269
- "properties": {
270
- "cursor": {
271
- "description": "Pagination cursor for listing coin objects",
272
- "anyOf": [
273
- {
274
- "type": "string"
275
- },
276
- {
277
- "type": "null"
278
- }
279
- ]
280
- },
281
- "limit": {
282
- "description": "Max coin objects per page",
283
- "anyOf": [
284
- {
285
- "type": "number"
286
- },
287
- {
288
- "type": "null"
289
- }
290
- ]
291
- }
292
- },
293
- "additionalProperties": false
294
- },
295
- "token_type": {
296
- "description": "Token type in Move format: 0x<package>::<module>::<struct>. Examples: \"0x2::wow::WOW\" (default). For custom tokens, use the full type string from the token's coin metadata. The Fund Processing Layer resolves precision from the official registry → cache → on-chain.",
297
- "type": "string"
298
- },
299
- "network": {
300
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
301
- "type": "string",
302
- "enum": [
303
- "localnet",
304
- "testnet",
305
- "mainnet"
306
- ]
307
- },
308
- "no_cache": {
309
- "description": "Accepted for call-shape uniformity and IGNORED — this query is always a live read; freshness provenance rides `_balance_read_freshness`",
310
- "type": "boolean"
311
- }
312
- },
313
- "required": [
314
- "query_type"
315
- ],
316
- "additionalProperties": false,
317
- "description": "Query an account's coin balance OR paginated coin objects. LIVE QUERY: the balance is always fetched fresh from the fullnode — there is NO cache, so 'no_cache' is accepted but has no effect. The response carries `_balance_read_freshness` (fetched_at + note): figures CAN differ between reads taken moments apart (live F-RQ-12: the same wallet read 9.93 / 21.88 / 56.28 WOW on three consecutive calls) — reconcile via the coin page and prove arrival via the transaction digest, never off a single read. PARAMETERS: Use 'name_or_address' to specify the account. Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Use token_type to query non-default tokens (format: 0x<package>::<module>::<struct>). If the input resolves to an ON-CHAIN OBJECT (e.g. a Treasury name), the result auto-routes: it returns the object with its 'balance' field plus a routing hint. Returns: { address, balance? | coin? | object?, hint? }"
318
- },
319
- {
320
- "type": "object",
321
- "properties": {
322
- "query_type": {
323
- "type": "string",
324
- "const": "local_names"
325
- },
326
- "addresses": {
327
- "type": "array",
328
- "items": {
329
- "type": "string"
330
- },
331
- "description": "Array of addresses to look up local names for"
332
- }
333
- },
334
- "required": [
335
- "query_type",
336
- "addresses"
337
- ],
338
- "additionalProperties": false,
339
- "description": "Query local names (account name and local mark name) for a list of addresses. Returns array of: { account?: string, local_mark?: string, address: string }"
340
- },
341
- {
342
- "type": "object",
343
- "properties": {
344
- "query_type": {
345
- "type": "string",
346
- "const": "onchain_personal_profile"
347
- },
348
- "account": {
349
- "description": "Account name or ID to query. Use empty string '' for the default account. Aliases 'name_or_address' and 'address' are accepted and auto-renamed to 'account'.",
350
- "type": "string"
351
- },
352
- "no_cache": {
353
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
354
- "type": "boolean"
355
- },
356
- "network": {
357
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
358
- "type": "string",
359
- "enum": [
360
- "localnet",
361
- "testnet",
362
- "mainnet"
363
- ]
364
- }
365
- },
366
- "required": [
367
- "query_type"
368
- ],
369
- "additionalProperties": false,
370
- "description": "Query any user's PUBLIC on-chain profile — social links, reputation (likes/dislikes), personal info records, voting history, referrer. Use to look up a user's public identity and reputation. Returns: ObjectPersonal | undefined"
371
- },
372
- {
373
- "type": "object",
374
- "properties": {
375
- "query_type": {
376
- "type": "string",
377
- "const": "onchain_objects"
378
- },
379
- "objects": {
380
- "type": "array",
381
- "items": {
382
- "type": "string",
383
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
384
- },
385
- "description": "List of object IDs (names or addresses) to query in batch"
386
- },
387
- "winner_node": {
388
- "description": "Optional adjudication node name for the winner derivation (MN5-6R ③A): when passed, every queried Progress object derives `winner_derivation` — the first account whose forward completed entry into THIS node, computed purely from the append-only Progress history (the chain stores no winner field). When omitted, the Progress's current node is used as the adjudication node. No match → `winner_derivation: null` with a note (the order has not advanced into that node).",
389
- "type": "string"
390
- },
391
- "no_cache": {
392
- "description": "Set to FALSE to allow the session cache; OMIT (or pass true) for a forced-fresh read. ⚠️ DEFAULT IS FRESH ON PURPOSE: a cached snapshot here reports a PRE-TRANSACTION value for exactly the fields an agent uses to decide whether money moved — on testnet this reported a stale `compensation_fund`, a stale `order.claimed_by`, and a stale `allocation.balance`. Only pass no_cache:false when you deliberately want a cheap repeat read of data you already know is current. The response carries `_read_freshness` (source live|session_cache, fetched_at) so a snapshot can never be mistaken for state.",
393
- "type": "boolean"
394
- },
395
- "network": {
396
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
397
- "type": "string",
398
- "enum": [
399
- "localnet",
400
- "testnet",
401
- "mainnet"
402
- ]
403
- }
404
- },
405
- "required": [
406
- "query_type",
407
- "objects"
408
- ],
409
- "additionalProperties": false,
410
- "description": "Batch query on-chain WOWOK objects by ID or name — supports Service, Machine, Order, Treasury, Reward, Arb, Personal, Contact, and more. Use to inspect one or more objects in a single call. FORCED-FRESH by default (see no_cache) and the response includes `_read_freshness` provenance. Every queried Progress object additionally carries `_winner_derivation` (MN5-6R ③A): the first account whose forward completed entry into the adjudication node (`winner_node`, default = the Progress's current node), derived purely from the Progress history — null + note when the order has not advanced there. Returns: { objects: ObjectBase[], _read_freshness: { source, no_cache, fetched_at, note } }"
411
- },
412
- {
413
- "type": "object",
414
- "properties": {
415
- "query_type": {
416
- "type": "string",
417
- "const": "onchain_received"
418
- },
419
- "name_or_address": {
420
- "anyOf": [
421
- {
422
- "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
423
- },
424
- {
425
- "type": "object",
426
- "properties": {
427
- "name_or_address": {
428
- "type": "string",
429
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
430
- },
431
- "local_mark_first": {
432
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
433
- "type": "boolean"
434
- }
435
- },
436
- "additionalProperties": false,
437
- "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
438
- }
439
- ],
440
- "description": "Name or address of the object that received payments/items - can be a string (name/address) or full object"
441
- },
442
- "type": {
443
- "description": "Type filter for querying received objects. - If undefined or null: query all types (equivalent to the old all_type=true). - If 'CoinWrapper': query CoinWrapper type for the object's token (equivalent to the old all_type=false). - If string: query specific StructType (e.g., '0x2::payment::CoinWrapper<0x2::wow::WOW>').",
444
- "anyOf": [
445
- {
446
- "type": "string"
447
- },
448
- {
449
- "type": "string",
450
- "const": "CoinWrapper"
451
- },
452
- {
453
- "type": "null"
454
- }
455
- ]
456
- },
457
- "cursor": {
458
- "description": "Pagination cursor from previous page",
459
- "anyOf": [
460
- {
461
- "type": "string"
462
- },
463
- {
464
- "type": "null"
465
- }
466
- ]
467
- },
468
- "limit": {
469
- "description": "Max records per page",
470
- "anyOf": [
471
- {
472
- "type": "number"
473
- },
474
- {
475
- "type": "null"
476
- }
477
- ]
478
- },
479
- "no_cache": {
480
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
481
- "type": "boolean"
482
- },
483
- "network": {
484
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
485
- "type": "string",
486
- "enum": [
487
- "localnet",
488
- "testnet",
489
- "mainnet"
490
- ]
491
- }
492
- },
493
- "required": [
494
- "query_type",
495
- "name_or_address"
496
- ],
497
- "additionalProperties": false,
498
- "description": "Query objects (Payments, Tokens, NFTs) received by a specific object. Use to track incoming payments or items sent to an on-chain object. Supports pagination and type filter. Returns: ReceivedBalance | ReceivedNormal[]"
499
- },
500
- {
501
- "type": "object",
502
- "properties": {
503
- "query_type": {
504
- "type": "string",
505
- "const": "onchain_transaction"
506
- },
507
- "digest": {
508
- "type": "string",
509
- "description": "Transaction digest (0x...) to verify. Use after any on-chain operation to confirm what actually happened on-chain — object changes, balance changes, gas used, success/failure status. This is the 'OperationProof' primitive for the Verify step."
510
- },
511
- "no_cache": {
512
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
513
- "type": "boolean"
514
- },
515
- "network": {
516
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
517
- "type": "string",
518
- "enum": [
519
- "localnet",
520
- "testnet",
521
- "mainnet"
522
- ]
523
- }
524
- },
525
- "required": [
526
- "query_type",
527
- "digest"
528
- ],
529
- "additionalProperties": false,
530
- "description": "Verify what a specific transaction did on-chain — the 'OperationProof' primitive. After executing any operation, call this with the returned digest to confirm: status (success/failed), object changes (created/mutated/deleted), balance changes, gas used, and events. Essential for the 5-step loop's Verify step. Returns: TransactionDetail | undefined"
531
- },
532
- {
533
- "type": "object",
534
- "properties": {
535
- "query_type": {
536
- "type": "string",
537
- "const": "onchain_block"
538
- },
539
- "block": {
540
- "type": "string",
541
- "description": "Checkpoint sequence number (e.g. \"12345\") or checkpoint digest. A checkpoint (block) is the chain's unit of finalization — use it to answer 'what happened at block N', look up block time/transaction count, or place a transaction in the global order (checkpoint sequences appear in onchain_transaction/onchain_object_history results)."
542
- },
543
- "network": {
544
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
545
- "type": "string",
546
- "enum": [
547
- "localnet",
548
- "testnet",
549
- "mainnet"
550
- ]
551
- }
552
- },
553
- "required": [
554
- "query_type",
555
- "block"
556
- ],
557
- "additionalProperties": false,
558
- "description": "Query ONE checkpoint (block) by sequence number or digest — returns the RAW fullnode checkpoint summary VERBATIM (no semantic shaping): sequence, digest, timestampMs, transaction count, epoch bindings, networkTransactions, endOfEpoch data when present. Checkpoints are immutable, so the value is authoritative forever. Distinct from onchain_transaction (per-tx proof) — use this for block-level facts. Returns: raw checkpoint summary object | undefined"
559
- },
560
- {
561
- "type": "object",
562
- "properties": {
563
- "query_type": {
564
- "type": "string",
565
- "const": "onchain_object_history"
566
- },
567
- "object": {
568
- "type": "string",
569
- "description": "Object ID (0x...) or LocalMark name. Query the provenance chain — every transaction that created, mutated, unwrapped, or deleted this object (plus transactions that consumed it as an input). The CREATING/arrival transaction IS included (ChangedObject ∪ InputObject indexes are merged), so freshly received coins and never-used objects no longer return an empty history. Use to trace how an object reached its current state."
570
- },
571
- "cursor": {
572
- "description": "Pagination cursor from previous page's next_cursor",
573
- "anyOf": [
574
- {
575
- "type": "string"
576
- },
577
- {
578
- "type": "null"
579
- }
580
- ]
581
- },
582
- "limit": {
583
- "description": "Max results per page (default 20, max 50)",
584
- "anyOf": [
585
- {
586
- "type": "number"
587
- },
588
- {
589
- "type": "null"
590
- }
591
- ]
592
- },
593
- "order": {
594
- "description": "Sort order: ascending=oldest first, descending=newest first (default)",
595
- "anyOf": [
596
- {
597
- "type": "string",
598
- "const": "ascending"
599
- },
600
- {
601
- "type": "string",
602
- "const": "descending"
603
- }
604
- ]
605
- },
606
- "no_cache": {
607
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
608
- "type": "boolean"
609
- },
610
- "network": {
611
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
612
- "type": "string",
613
- "enum": [
614
- "localnet",
615
- "testnet",
616
- "mainnet"
617
- ]
618
- }
619
- },
620
- "required": [
621
- "query_type",
622
- "object"
623
- ],
624
- "additionalProperties": false,
625
- "description": "FORENSICS TOOL — query all transactions that touched an object. WARNING: this can lead to non-convergent queries (each tx touches more objects with their own history). For AI context building, use assemble_context instead — it extracts embedded history from object states (ProgressSession.forwards, etc.) without infinite recursion. This tool is for auditing/forensics only. Returns: TransactionHistoryAnswer | undefined"
626
- },
627
- {
628
- "type": "object",
629
- "properties": {
630
- "query_type": {
631
- "type": "string",
632
- "const": "onchain_last_updated"
633
- },
634
- "objects": {
635
- "type": "array",
636
- "items": {
637
- "type": "string",
638
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
639
- },
640
- "description": "List of object IDs (names or addresses) to query in batch"
641
- },
642
- "no_cache": {
643
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
644
- "type": "boolean"
645
- },
646
- "network": {
647
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
648
- "type": "string",
649
- "enum": [
650
- "localnet",
651
- "testnet",
652
- "mainnet"
653
- ]
654
- }
655
- },
656
- "required": [
657
- "query_type",
658
- "objects"
659
- ],
660
- "additionalProperties": false,
661
- "description": "Batch query the LAST on-chain WRITE time of objects — the timestamp of the most recent transaction that touched each object (SDK query_object_last_updated, cached TTL 2 min). WARNING: this is a LAST-MODIFIED stamp, NOT the creation or arrival time, and it is silently replaced by every later write (a coin merge, a field update, any re-use). For creation/arrival provenance use onchain_object_history (its first/ascending entry includes the creating tx) or onchain_address_activity with direction='received'. Returns: { items: [{ object, timestamp_ms, digest, sender }] }"
662
- },
663
- {
664
- "type": "object",
665
- "properties": {
666
- "query_type": {
667
- "type": "string",
668
- "const": "onchain_address_activity"
669
- },
670
- "name_or_address": {
671
- "anyOf": [
672
- {
673
- "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
674
- },
675
- {
676
- "type": "object",
677
- "properties": {
678
- "name_or_address": {
679
- "type": "string",
680
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
681
- },
682
- "local_mark_first": {
683
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
684
- "type": "boolean"
685
- }
686
- },
687
- "additionalProperties": false,
688
- "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
689
- }
690
- ],
691
- "description": "Address (0x...) or account name. Query on-chain activity of this actor. Use to build a user's on-chain activity profile, verify an actor's history, or trace when funds/objects ARRIVED at an address."
692
- },
693
- "direction": {
694
- "description": "'sent' (default): transactions SENT BY this address. 'received': transactions that delivered objects/coins TO this address (inbound transfers — the route for 'when did this arrive' without knowing the sender).",
695
- "type": "string",
696
- "enum": [
697
- "sent",
698
- "received"
699
- ]
700
- },
701
- "cursor": {
702
- "description": "Pagination cursor from previous page's next_cursor",
703
- "anyOf": [
704
- {
705
- "type": "string"
706
- },
707
- {
708
- "type": "null"
709
- }
710
- ]
711
- },
712
- "limit": {
713
- "description": "Max results per page (default 20, max 50)",
714
- "anyOf": [
715
- {
716
- "type": "number"
717
- },
718
- {
719
- "type": "null"
720
- }
721
- ]
722
- },
723
- "order": {
724
- "description": "Sort order: ascending=oldest first, descending=newest first (default)",
725
- "anyOf": [
726
- {
727
- "type": "string",
728
- "const": "ascending"
729
- },
730
- {
731
- "type": "string",
732
- "const": "descending"
733
- }
734
- ]
735
- },
736
- "no_cache": {
737
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
738
- "type": "boolean"
739
- },
740
- "network": {
741
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
742
- "type": "string",
743
- "enum": [
744
- "localnet",
745
- "testnet",
746
- "mainnet"
747
- ]
748
- }
749
- },
750
- "required": [
751
- "query_type",
752
- "name_or_address"
753
- ],
754
- "additionalProperties": false,
755
- "description": "FORENSICS TOOL — query transactions sent BY an address (direction='sent', default) or inbound deliveries TO an address (direction='received'). WARNING: like onchain_object_history, this can lead to non-convergent queries. For AI context building, use assemble_context (extracts embedded history) or query_events (real-time transitions) instead. This tool is for auditing/user-activity profiling and inbound-arrival lookup only. Returns: TransactionHistoryAnswer | undefined"
756
- },
757
- {
758
- "type": "object",
759
- "properties": {
760
- "query_type": {
761
- "type": "string",
762
- "const": "token_value_convert"
763
- },
764
- "token_type": {
765
- "type": "string",
766
- "description": "Full token type in Move format: 0x<package>::<module>::<struct>. Examples: \"0x2::wow::WOW\" (9 decimals). The token's decimals drive the conversion — resolved from official registry → local cache → on-chain coin metadata."
767
- },
768
- "raw": {
769
- "description": "Raw smallest-unit value (u64, e.g. \"2200000000\") to convert TO a human unit value. Provide EXACTLY ONE of raw / unit.",
770
- "anyOf": [
771
- {
772
- "type": "string"
773
- },
774
- {
775
- "type": "number"
776
- }
777
- ]
778
- },
779
- "unit": {
780
- "description": "Human unit value (e.g. \"2.2\") to convert TO raw smallest units (u64). Provide EXACTLY ONE of raw / unit. Conversion is REFUSED when the token's decimals cannot be resolved (guessing would forge wrong on-chain values).",
781
- "anyOf": [
782
- {
783
- "type": "string"
784
- },
785
- {
786
- "type": "number"
787
- }
788
- ]
789
- },
790
- "network": {
791
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
792
- "type": "string",
793
- "enum": [
794
- "localnet",
795
- "testnet",
796
- "mainnet"
797
- ]
798
- }
799
- },
800
- "required": [
801
- "query_type",
802
- "token_type"
803
- ],
804
- "additionalProperties": false,
805
- "description": "Convert between raw on-chain smallest units (u64) and human unit values, in EITHER direction. Provide EXACTLY ONE of raw / unit (handler-validated). raw → unit: \"2200000000\" → \"2.2\" (pass-through when precision unknown). unit → raw: \"2.2\" → \"2200000000\" (REFUSED when precision unknown — never guesses decimals). Use this before displaying chain values to users, and before entering amounts for on-chain operations. Returns: { token_type, symbol?, decimals?, precision_known, direction, input, output, error?, text }"
806
- },
807
- {
808
- "type": "object",
809
- "properties": {
810
- "query_type": {
811
- "type": "string",
812
- "const": "address_profile"
813
- },
814
- "address": {
815
- "anyOf": [
816
- {
817
- "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
818
- },
819
- {
820
- "type": "object",
821
- "properties": {
822
- "name_or_address": {
823
- "type": "string",
824
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
825
- },
826
- "local_mark_first": {
827
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
828
- "type": "boolean"
829
- }
830
- },
831
- "additionalProperties": false,
832
- "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
833
- }
834
- ],
835
- "description": "Address to profile. Supports string (name/address) or object form. LocalMark names are resolved automatically. Aliases 'name_or_address' and 'account' are accepted and auto-renamed to 'address'."
836
- },
837
- "no_cache": {
838
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
839
- "type": "boolean"
840
- },
841
- "network": {
842
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
843
- "type": "string",
844
- "enum": [
845
- "localnet",
846
- "testnet",
847
- "mainnet"
848
- ]
849
- }
850
- },
851
- "required": [
852
- "query_type",
853
- "address"
854
- ],
855
- "additionalProperties": false,
856
- "description": "Unified address profile (K3 22 §P0-1): classifies the address (user / business-object type / system singleton), then batches identity + reputation (like/dislike/favor) + order membership + contact membership + permission membership + core/tx reverse bindings + the object itself into a single result. The one-stop entry for 'who/what is this address'. For Service addresses the result also merges a service_analysis block (description / payment token / shelf split / location / trust-risk / on-chain last update). Returns: AddressProfile"
857
- },
858
- {
859
- "type": "object",
860
- "properties": {
861
- "query_type": {
862
- "type": "string",
863
- "const": "address_profiles"
864
- },
865
- "addresses": {
866
- "minItems": 1,
867
- "maxItems": 50,
868
- "type": "array",
869
- "items": {
870
- "anyOf": [
871
- {
872
- "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
873
- },
874
- {
875
- "type": "object",
876
- "properties": {
877
- "name_or_address": {
878
- "type": "string",
879
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
880
- },
881
- "local_mark_first": {
882
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
883
- "type": "boolean"
884
- }
885
- },
886
- "additionalProperties": false,
887
- "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
888
- }
889
- ],
890
- "description": "Account or address lookup. Can be a simple string (recommended for AI) or full object with explicit local_mark_first control. String form auto-converts to { name_or_address: <string>, local_mark_first: true }."
891
- },
892
- "description": "Addresses to profile in ONE batch (the list form of address_profile — prefer this over N single-address calls in list views). Each entry supports string (name/address) or object form; LocalMark names are resolved automatically. Result order matches the request order; a per-address failure yields a null slot (never rejects the whole batch)."
893
- },
894
- "no_cache": {
895
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
896
- "type": "boolean"
897
- },
898
- "network": {
899
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
900
- "type": "string",
901
- "enum": [
902
- "localnet",
903
- "testnet",
904
- "mainnet"
905
- ]
906
- }
907
- },
908
- "required": [
909
- "query_type",
910
- "addresses"
911
- ],
912
- "additionalProperties": false,
913
- "description": "BATCH unified address profiles: one call for up to 50 addresses instead of N single-address round-trips. Each non-null entry carries the SAME shape as address_profile (classification + identity + reputation votes + order/contact/permission memberships + core/tx reverse bindings + the object + activity + role evidence), including the merged service_analysis block for Service addresses. Use for list views that need profiles for many rows at once. Returns: (AddressProfile | null)[]"
914
- },
915
- {
916
- "type": "object",
917
- "properties": {
918
- "query_type": {
919
- "type": "string",
920
- "const": "service_supply_chain"
921
- },
922
- "address": {
923
- "anyOf": [
924
- {
925
- "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
926
- },
927
- {
928
- "type": "object",
929
- "properties": {
930
- "name_or_address": {
931
- "type": "string",
932
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
933
- },
934
- "local_mark_first": {
935
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
936
- "type": "boolean"
937
- }
938
- },
939
- "additionalProperties": false,
940
- "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
941
- }
942
- ],
943
- "description": "Service address whose transparent sub-order purchasing graph to resolve. Supports string (name/address) or object form. LocalMark names are resolved automatically."
944
- },
945
- "no_cache": {
946
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
947
- "type": "boolean"
948
- },
949
- "network": {
950
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
951
- "type": "string",
952
- "enum": [
953
- "localnet",
954
- "testnet",
955
- "mainnet"
956
- ]
957
- }
958
- },
959
- "required": [
960
- "query_type",
961
- "address"
962
- ],
963
- "additionalProperties": false,
964
- "description": "Resolve a Service's transparent sub-order purchasing graph (K3 23 §3.6): reads the bound Machine's frozen forwards, finds purchasing-commitment Guards, and returns each forward's purchased sub-services (fixed address fields) + required sub-order proof fields (b_submission fields). Standalone capability for buyer due-diligence / compose_service / anti_cheat / merchant self-check; reused by Watch. Returns: SupplyChainGraph"
965
- },
966
- {
967
- "type": "object",
968
- "properties": {
969
- "query_type": {
970
- "type": "string",
971
- "const": "recover_created_objects"
972
- },
973
- "label": {
974
- "anyOf": [
975
- {
976
- "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
977
- },
978
- {
979
- "type": "object",
980
- "properties": {
981
- "name_or_address": {
982
- "type": "string",
983
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
984
- },
985
- "local_mark_first": {
986
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
987
- "type": "boolean"
988
- }
989
- },
990
- "additionalProperties": false,
991
- "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
992
- }
993
- ],
994
- "description": "Account name or address (0x...) whose recovery state to assemble — the SENDER of the timed-out call (a submission_unknown / timeout envelope names it in the verification header or submission_verification.sender). Supports string or object form; LocalMark names are resolved automatically."
995
- },
996
- "op": {
997
- "description": "Filter the in-flight markers by operation name: 'order_new' (order creation), 'alloc_by_guard' (distribution), or an operation_type like 'payment', 'reward', 'guard'. Omit to list every open marker.",
998
- "type": "string"
999
- },
1000
- "limit": {
1001
- "description": "Max returned-digest and activity entries (default 20).",
1002
- "type": "integer",
1003
- "minimum": 1,
1004
- "maximum": 50
1005
- },
1006
- "no_cache": {
1007
- "description": "Set to true to bypass the on-chain activity cache and fetch fresh data",
1008
- "type": "boolean"
1009
- },
1010
- "network": {
1011
- "description": "Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used.",
1012
- "type": "string",
1013
- "enum": [
1014
- "localnet",
1015
- "testnet",
1016
- "mainnet"
1017
- ]
1018
- }
1019
- },
1020
- "required": [
1021
- "query_type",
1022
- "label"
1023
- ],
1024
- "additionalProperties": false,
1025
- "description": "RECOVERY TOOL — assemble in ONE call everything needed to recover objects after a TIMED-OUT or lost-response write (W5-09, the official form of the ad-hoc recovery script). Joins three sources: (1) in-flight markers this process still holds OPEN — operations whose commit state was never observed (each carries op, target service/allocation, buyer, item count, started_at, any transport-reported digests); (2) digests this process recently RETURNED as executed receipts; (3) the account's on-chain sent-activity in the failure window. Decision rule: a marker whose digest resolves to an executed transaction → ADOPT its created objects and stop; activity shows the operation landed → adopt; markers exist but nothing on-chain → the state stayed open, a corrected resubmit is allowed; nothing anywhere → nothing landed from THIS process (other sessions/devices may still hold state — the chain remains the only truth). Returns: { label, resolved_address?, inflight_markers[], returned_digests[], landed_tombstones[], onchain_activity?, recovery_guidance }"
1026
- },
1027
- {
1028
- "type": "object",
1029
- "properties": {
1030
- "query_type": {
1031
- "type": "string",
1032
- "const": "service_panorama"
1033
- },
1034
- "object_address": {
1035
- "description": "On-chain Service object address (or LocalMark name). Required when query_type='service_panorama'. PREFERRED field name — the panorama family (service/machine/object) is unified on `object_address` (a Service IS an on-chain object); `service_address` remains accepted as a deprecated alias.",
1036
- "type": "string"
1037
- },
1038
- "service_address": {
1039
- "description": "DEPRECATED alias of object_address (accepted for call compatibility). Prefer object_address. Example: {\"query_type\": \"service_panorama\", \"object_address\": \"0xabc...\"}.",
1040
- "type": "string"
1041
- },
1042
- "context_network": {
1043
- "type": "string",
1044
- "enum": [
1045
- "testnet",
1046
- "mainnet",
1047
- "localnet"
1048
- ],
1049
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1050
- }
1051
- },
1052
- "required": [
1053
- "query_type"
1054
- ],
1055
- "additionalProperties": false,
1056
- "description": "ONE-CALL full business-intelligence context of an on-chain Service (K3 22 / Business Service tab): base data + machine workflow graph + buy_guard/permission/allocator guards + related objects + supply chain + deterministic BusinessReport + recent orders. Every section degrades gracefully — failures are reported in `data_gaps`. Read-only."
1057
- },
1058
- {
1059
- "type": "object",
1060
- "properties": {
1061
- "query_type": {
1062
- "type": "string",
1063
- "const": "service_quote"
1064
- },
1065
- "object_address": {
1066
- "description": "On-chain Service object address (or LocalMark name). Required when query_type='service_quote'. PREFERRED field name — unified with the panorama family on `object_address`; `service_address` remains accepted as a deprecated alias.",
1067
- "type": "string"
1068
- },
1069
- "service_address": {
1070
- "description": "DEPRECATED alias of object_address (accepted for call compatibility). Prefer object_address. Example: {\"query_type\": \"service_quote\", \"object_address\": \"0xabc...\"}.",
1071
- "type": "string"
1072
- },
1073
- "items": {
1074
- "description": "Basket to quote. Omit to quote EVERY sale with quantity 1 (the floor basket — order quantity is chosen at buy time, so per-unit prices are the authoritative input). Each item names its sale via `name` (exact literal) or `sale_id` (0-based index) — exactly one.",
1075
- "type": "array",
1076
- "items": {
1077
- "type": "object",
1078
- "properties": {
1079
- "name": {
1080
- "description": "Sale name exactly as configured on the Service. Required unless sale_id is given.",
1081
- "type": "string"
1082
- },
1083
- "sale_id": {
1084
- "description": "0-based index of the sale in the Service's configured sales list (same enumeration the buy tool accepts). Required unless name is given.",
1085
- "type": "integer",
1086
- "minimum": 0,
1087
- "maximum": 9007199254740991
1088
- },
1089
- "quantity": {
1090
- "default": 1,
1091
- "description": "Units of this item in the basket (default 1).",
1092
- "type": "integer",
1093
- "exclusiveMinimum": 0,
1094
- "maximum": 10000
1095
- }
1096
- },
1097
- "required": [
1098
- "quantity"
1099
- ],
1100
- "additionalProperties": false
1101
- }
1102
- },
1103
- "discount": {
1104
- "description": "C-10: Discount (coupon) object address or LocalMark name to price the basket WITH. Without it the quote is always the UNDISCOUNTED total, so a discounted buyer cannot compute the exact total_pay that order_new requires (it must equal the order total precisely — any drift aborts with E_COIN_NOT_ENOUGH). RATES subtracts total*off/10000; MINUS/FIXED subtracts min(total, off), mirroring the on-chain rule with integer floor division. Read-only: quoting does NOT consume the coupon.",
1105
- "anyOf": [
1106
- {
1107
- "type": "string"
1108
- },
1109
- {
1110
- "type": "null"
1111
- }
1112
- ]
1113
- },
1114
- "context_network": {
1115
- "type": "string",
1116
- "enum": [
1117
- "testnet",
1118
- "mainnet",
1119
- "localnet"
1120
- ],
1121
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1122
- },
1123
- "no_cache": {
1124
- "description": "A-5 freshness control, same convention as the panorama family (DEFAULT TRUE = read fresh, bypass the object cache). A quote that feeds an exact total_pay must never come from a stale cache — pass false only for high-frequency polling.",
1125
- "type": "boolean"
1126
- }
1127
- },
1128
- "required": [
1129
- "query_type"
1130
- ],
1131
- "additionalProperties": false,
1132
- "description": "READ-ONLY pre-purchase quote of a Service (finding 3.6 — order_new total_pay pre-check): per-item unit price × quantity, the basket total that order_new.buy.total_pay.balance must exactly equal (the on-chain buy aborts on any drift), and the order_allocators fee-split preview (sharing rows of the FIRST allocator — the normal payout path; guards select per-case allocators such as refund/damage, so the live split depends on which guard passes). Also previews the reward terms of every Reward hung on the Service (pool balance, per-claim amount, claim window) so a buyer never budgets on an expired or unfunded reward. Mirrors the on-chain price×quantity semantics WITHOUT calling quote on-chain and NEVER submits a transaction. Amounts are payment-token smallest units plus a human display when the token precision resolves."
1133
- },
1134
- {
1135
- "type": "object",
1136
- "properties": {
1137
- "query_type": {
1138
- "type": "string",
1139
- "const": "machine_panorama"
1140
- },
1141
- "object_address": {
1142
- "description": "On-chain object address (0x followed by 32-64 hex chars). Also accepts a LocalMark NAME (resolved automatically). H-06 fix: invalid formats are rejected at the handler level with a descriptive error.",
1143
- "type": "string"
1144
- },
1145
- "context_network": {
1146
- "type": "string",
1147
- "enum": [
1148
- "testnet",
1149
- "mainnet",
1150
- "localnet"
1151
- ],
1152
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1153
- }
1154
- },
1155
- "required": [
1156
- "query_type"
1157
- ],
1158
- "additionalProperties": false,
1159
- "description": "ONE-CALL panorama of an on-chain Machine (Business Machine tab; Machine counterpart of service_panorama): head (name/tags/description/published/paused) + the Machine's own fields (permission/um/node_count/consensus repositories) + workflow graph (nodes/edges/forwards) + Progress list from the GLOBAL tx table (0xaaf, Machine address as KEY). Read-only."
1160
- },
1161
- {
1162
- "type": "object",
1163
- "properties": {
1164
- "query_type": {
1165
- "type": "string",
1166
- "const": "object_panorama"
1167
- },
1168
- "object_address": {
1169
- "description": "On-chain object address (0x followed by 32-64 hex chars) for object_panorama. Also accepts a LocalMark NAME (resolved automatically). H-06 fix: invalid formats are rejected at the handler level with a descriptive error. F27 (gf32-mn-261103): `object` is accepted as an alias too — the write faces all take `object`, so a driver reusing one helper for reads and writes no longer trips on the key name.",
1170
- "type": "string"
1171
- },
1172
- "object": {
1173
- "description": "ALIAS of object_address (accepted for write-face key compatibility — every write tool takes `object`). Prefer object_address on query calls. Example: {\"query_type\": \"object_panorama\", \"object\": \"0xabc...\"}.",
1174
- "type": "string"
1175
- },
1176
- "filter": {
1177
- "description": "DEPRECATED alias of object_address (accepted for call compatibility; must be a plain address or LocalMark NAME string, not an object). Prefer object_address. Example: {\"query_type\": \"object_panorama\", \"object_address\": \"0xabc...\"}.",
1178
- "type": "string"
1179
- },
1180
- "wts_file_path": {
1181
- "description": "Proof objects only: local path to the .wts evidence packet to cross-check against this anchor. Returns wts_anchor_check — whether the packet's message roots match the frozen root, whether the server key matches, and whether the Proof predates the packet (a frozen Proof is what makes WTS content non-re-fabricable after the fact).",
1182
- "type": "string"
1183
- },
1184
- "context_network": {
1185
- "type": "string",
1186
- "enum": [
1187
- "testnet",
1188
- "mainnet",
1189
- "localnet"
1190
- ],
1191
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1192
- },
1193
- "no_cache": {
1194
- "description": "A-5 freshness control (amz9-ln-261023). DEFAULT TRUE: the panorama primary read bypasses the object cache and reads the chain state fresh — a post-write panorama (confirm, forward, claim, refund) must never show pre-write cache (the F-L02/F-L10 stale-after-confirm failure made agents re-confirm and misread terminal states). Pass false to opt back into the cached read for high-frequency polling where a few seconds of staleness is acceptable.",
1195
- "type": "boolean"
1196
- }
1197
- },
1198
- "required": [
1199
- "query_type"
1200
- ],
1201
- "additionalProperties": false,
1202
- "description": "ONE-CALL detail-page panorama for Progress / Demand / Order / Allocation / Arb / Repository / Proof objects (client panorama family): discriminated `object_type` + head (name/tags/description) + the object's own typed fields + type-specific extras (Demand presenters from the GLOBAL tx table, Progress session/forwards, Order fund state, Allocation pool balance + per-rail resolved recipients + Payment children, Arb votes & propositions, Repository policies, Proof anchored root + WTS cross-check). Read-only."
1203
- },
1204
- {
1205
- "type": "object",
1206
- "properties": {
1207
- "query_type": {
1208
- "type": "string",
1209
- "const": "review_pack"
1210
- },
1211
- "object_address": {
1212
- "description": "On-chain object address (0x followed by 32-64 hex chars) for review_pack. Also accepts a LocalMark NAME (resolved automatically). H-06 fix: invalid formats are rejected at the handler level with a descriptive error.",
1213
- "type": "string"
1214
- },
1215
- "context_network": {
1216
- "type": "string",
1217
- "enum": [
1218
- "testnet",
1219
- "mainnet",
1220
- "localnet"
1221
- ],
1222
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1223
- }
1224
- },
1225
- "required": [
1226
- "query_type"
1227
- ],
1228
- "additionalProperties": false,
1229
- "description": "ONE-CALL typed ReviewPack for the client's generic ReviewPackRenderer (K3 24 §5.2 / G3) — section list + typed field values; the UI-convention defaults live in the renderer, the section composition lives in the MCP assembler. Runs the matching panorama (one chain-query pass) and reshapes it. Supported types: Order, Service, Arb, Demand, Repository, Progress, Machine. Read-only."
1230
- },
1231
- {
1232
- "type": "object",
1233
- "properties": {
1234
- "query_type": {
1235
- "type": "string",
1236
- "const": "assemble_context"
1237
- },
1238
- "context_objects": {
1239
- "description": "Object IDs (0x...) or LocalMark names to assemble context for. Required when query_type='assemble_context'. The current on-chain state of each object will be queried and enriched with semantic annotations.",
1240
- "type": "array",
1241
- "items": {
1242
- "type": "string"
1243
- }
1244
- },
1245
- "include_events": {
1246
- "description": "When true, assemble_context also queries recent state-transition events (NewOrderEvent, ProgressEvent, ArbEvent, etc.). Events are the real-time transition log — convergent and bounded. Defaults to false. Note: object-embedded history (ProgressSession.forwards, Order.disputes) is ALWAYS extracted automatically — no flag needed.",
1247
- "type": "boolean"
1248
- },
1249
- "context_network": {
1250
- "type": "string",
1251
- "enum": [
1252
- "testnet",
1253
- "mainnet",
1254
- "localnet"
1255
- ],
1256
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1257
- },
1258
- "context_depth": {
1259
- "description": "BFS recursion depth for dependency expansion in assemble_context (default 0 = no expansion). When >0, the assembly recursively queries objects referenced by the center objects (permission, guard, machine, service, repositories, etc.) up to the given depth, using the same address-field extraction rules as extractAddressFields. Each level issues one batched query_objects call (≤50 IDs per batch). Cycles are detected and skipped via a visited set. Discovered dependencies are returned in `dependencies` (edge metadata) and `dependency_objects` (full object states). Recommended: 1–2 for most use cases; 3+ may pull large subgraphs (use context_include to constrain).",
1260
- "type": "integer",
1261
- "minimum": 0,
1262
- "maximum": 5
1263
- },
1264
- "context_include": {
1265
- "description": "Optional filter for dependency expansion edge types. When omitted, ALL outbound references are followed. When provided, only edges whose `field` matches one of the listed names are followed. Recognized field names (from extractAddressFields): 'permission', 'machine', 'service', 'progress', 'buy_guard', 'um', 'repositories', 'arbitrations', 'rewards', 'consensus_repositories', 'context_repositories', 'dispute', 'allocation', 'external_deposit_guard', 'external_withdraw_guard', 'allocator_guard', 'for_object', 'for_guard', 'payment', 'voting_guard', 'usage_guard', 'guard', 'write_guard', 'quote_guard', 'recipient_entity', 'order_allocators'. Example: ['permission','guard'] expands only permission/guard dependencies.",
1266
- "type": "array",
1267
- "items": {
1268
- "type": "string"
1269
- }
1270
- }
1271
- },
1272
- "required": [
1273
- "query_type"
1274
- ],
1275
- "additionalProperties": false,
1276
- "description": "Semantic context assembly (GLM5 §6, Layer 3): query on-chain object states + extract embedded history + optional events + optional BFS dependency expansion, and assemble a structured context for LLM consumption. Required: context_objects (array of object IDs/names). Read-only."
1277
- },
1278
- {
1279
- "type": "object",
1280
- "properties": {
1281
- "query_type": {
1282
- "type": "string",
1283
- "const": "reverse_map"
1284
- },
1285
- "context_objects": {
1286
- "description": "Object IDs (0x...) or LocalMark names to feed into the report. Required when query_type='reverse_map' (include the Service; add Machine/Allocation for refund-path detection).",
1287
- "type": "array",
1288
- "items": {
1289
- "type": "string"
1290
- }
1291
- },
1292
- "context_network": {
1293
- "type": "string",
1294
- "enum": [
1295
- "testnet",
1296
- "mainnet",
1297
- "localnet"
1298
- ],
1299
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1300
- },
1301
- "reverse_order_amount": {
1302
- "description": "Escrowed order amount (smallest-unit string) for reverse_map — included in the report summary as the concrete escrow mention.",
1303
- "type": "string"
1304
- }
1305
- },
1306
- "required": [
1307
- "query_type"
1308
- ],
1309
- "additionalProperties": false,
1310
- "description": "Deterministic L4→L1 business report (K3 03 reverse lane; no LLM): queries the objects, classifies into business semantics, emits merchant profile + user risk assessment + game-theory analysis. Same objects ALWAYS yield the same report. Required: context_objects (include the Service; add Machine/Allocation for refund-path detection). Read-only."
1311
- },
1312
- {
1313
- "type": "object",
1314
- "properties": {
1315
- "query_type": {
1316
- "type": "string",
1317
- "const": "participation_radar"
1318
- },
1319
- "radar_account": {
1320
- "description": "Account to analyze — address (0x...) or LocalMark name (resolved to an address). Required when query_type='participation_radar'. The perspective (customer/operator/observer) is DERIVED from on-chain data (Order.builder + PermissionPerm grants) — never asserted by this field.",
1321
- "type": "string"
1322
- },
1323
- "radar_targets": {
1324
- "description": "In-flight orders to analyze (1-20). Required when query_type='participation_radar'. Each target is analyzed independently; results are aggregated into one account dashboard.",
1325
- "minItems": 1,
1326
- "maxItems": 20,
1327
- "type": "array",
1328
- "items": {
1329
- "type": "object",
1330
- "properties": {
1331
- "progress": {
1332
- "type": "string",
1333
- "description": "Progress object address (0x...) or LocalMark name. The Progress carries the current node + bound Machine."
1334
- },
1335
- "order": {
1336
- "description": "Order object address or LocalMark name (optional but recommended — enables order-holder detection, service-level compensation/reward claims, and dispute context).",
1337
- "type": "string"
1338
- }
1339
- },
1340
- "required": [
1341
- "progress"
1342
- ],
1343
- "additionalProperties": false
1344
- }
1345
- },
1346
- "radar_include_alerts": {
1347
- "description": "Attach order-monitor alerts (progress stall / compensation fund / review & arbitration windows) to each per-order result. Default true.",
1348
- "type": "boolean"
1349
- },
1350
- "radar_review_summary": {
1351
- "description": "Merchant-side review coverage summary (REVIEW-COMPONENT-PLAN batch 4): completed orders vs orders with a structured review record. Review rows live in a caller-named Repository — gather both counts via onchain_table_data (repository rows under the 'review' key, order-keyed → one row per order, F09) and pass them in; the radar derives the merchant-side review-rate hint (high missing rate with a reward attached → reward lapsed or window too short). Omit when no review repository is bound.",
1352
- "type": "object",
1353
- "properties": {
1354
- "orders_completed": {
1355
- "type": "integer",
1356
- "minimum": 0,
1357
- "maximum": 9007199254740991
1358
- },
1359
- "reviews_written": {
1360
- "type": "integer",
1361
- "minimum": 0,
1362
- "maximum": 9007199254740991
1363
- },
1364
- "reward_bound": {
1365
- "type": "boolean"
1366
- }
1367
- },
1368
- "required": [
1369
- "orders_completed",
1370
- "reviews_written"
1371
- ],
1372
- "additionalProperties": false
1373
- },
1374
- "radar_monitor_thresholds": {
1375
- "description": "Optional per-call overrides for order-monitor alert thresholds (only used when radar_include_alerts is on). All fields optional; omitted fields keep defaults. Units: hours/days as marked per field.",
1376
- "type": "object",
1377
- "properties": {
1378
- "progress_stall_hours": {
1379
- "description": "Progress stall alert threshold in HOURS. Default 0 = auto (expected_node_duration × 2).",
1380
- "type": "number",
1381
- "exclusiveMinimum": 0
1382
- },
1383
- "compensation_drop_ratio": {
1384
- "description": "Compensation fund drop alert ratio (0-1). Default 0.3 = alert on ≥30% drop.",
1385
- "type": "number",
1386
- "minimum": 0,
1387
- "maximum": 1
1388
- },
1389
- "compensation_coverage_min": {
1390
- "description": "Minimum compensation coverage ratio vs order amount (0-1). Default 1.0 = must fully cover.",
1391
- "type": "number",
1392
- "minimum": 0,
1393
- "maximum": 1
1394
- },
1395
- "messenger_timeout_hours": {
1396
- "description": "Messenger no-reply timeout in HOURS. Default 24.",
1397
- "type": "number",
1398
- "exclusiveMinimum": 0
1399
- },
1400
- "review_window_closing_days": {
1401
- "description": "Review window near-closing alert threshold in DAYS. Default 3.",
1402
- "type": "number",
1403
- "exclusiveMinimum": 0
1404
- },
1405
- "arb_window_closing_days": {
1406
- "description": "Arbitration window near-closing alert threshold in DAYS. Default 3.",
1407
- "type": "number",
1408
- "exclusiveMinimum": 0
1409
- }
1410
- },
1411
- "additionalProperties": false
1412
- },
1413
- "context_network": {
1414
- "type": "string",
1415
- "enum": [
1416
- "testnet",
1417
- "mainnet",
1418
- "localnet"
1419
- ],
1420
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1421
- }
1422
- },
1423
- "required": [
1424
- "query_type"
1425
- ],
1426
- "additionalProperties": false,
1427
- "description": "In-flight order participation analysis for ONE account (GLM6/94): customer / operator / observer perspective derived from on-chain permission matching (never caller-asserted) — per-order operable forwards (branch choices), waiting_on roles, pending claims (reward/discount/compensation/rating), perspective-specific interest hints, aggregated account dashboard. Read-only."
1428
- },
1429
- {
1430
- "type": "object",
1431
- "properties": {
1432
- "query_type": {
1433
- "type": "string",
1434
- "const": "order_aggregate"
1435
- },
1436
- "group": {
1437
- "description": "Grouping dimension, read from each Order's own fields: 'service' (default — the crowd/group-buy pool per service), 'machine' (per workflow) or 'owner' (per ordering account).",
1438
- "type": "string",
1439
- "enum": [
1440
- "service",
1441
- "machine",
1442
- "owner"
1443
- ]
1444
- },
1445
- "group_id": {
1446
- "description": "Restrict the aggregation to ONE group value (exact address match — e.g. the Service address running a crowd-funding campaign). The funding-target verdict then reads a single row.",
1447
- "type": "string"
1448
- },
1449
- "metric": {
1450
- "description": "Numeric field to sum (default 'amount' — the Order's escrowed payment in smallest units).",
1451
- "type": "string",
1452
- "const": "amount"
1453
- },
1454
- "exclude_claimed": {
1455
- "description": "Exclude orders whose compensation has been claimed (claimed_by set). Default false — pass true so refund/compensation payouts are not double-counted toward a target.",
1456
- "type": "boolean"
1457
- },
1458
- "limit": {
1459
- "description": "Max group rows returned (default 50, max 1000). truncated flags rows beyond the limit; totals ALWAYS cover the full set regardless of the limit.",
1460
- "type": "integer",
1461
- "minimum": 1,
1462
- "maximum": 1000
1463
- },
1464
- "context_network": {
1465
- "type": "string",
1466
- "enum": [
1467
- "testnet",
1468
- "mainnet",
1469
- "localnet"
1470
- ],
1471
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1472
- }
1473
- },
1474
- "required": [
1475
- "query_type"
1476
- ],
1477
- "additionalProperties": false,
1478
- "description": "CROSS-ORDER aggregate over Order objects from the MCP index projection (S17-C / F-RQD2-06): count + exact amount sums per group, with the projection's reconciliation coverage attached. Read-side stand-in for the missing on-chain cross-order primitive — crowd/group-buy targets like '3 x 6 WOW >= 18 WOW before funding' are checked HERE until the protocol grows a native aggregate. A STALE projection refuses to answer loudly (INDEX_STALE_PROJECTION — no legacy fallback can aggregate) instead of serving a funding verdict on old data. Read-only."
1479
- },
1480
- {
1481
- "type": "object",
1482
- "properties": {
1483
- "query_type": {
1484
- "type": "string",
1485
- "const": "relationship_profile"
1486
- },
1487
- "radar_account": {
1488
- "description": "Anchor account to analyze — address (0x...) or LocalMark name. Required when query_type='relationship_profile'. ANY distributed account works (not only local accounts): the anchor is just an address; all relationships derive from on-chain power carriers.",
1489
- "type": "string"
1490
- },
1491
- "relation_kinds": {
1492
- "description": "Filter to specific relationship kinds (default: all). employment = merchant × staff (principal-agent); process_operation = machine node operators; agency = order owner × agents; transaction = customer × merchant; supply = demander × presenters; arbitration_delegation = service owner × arbitrators; dispute_resolution = arbitrator × disputants; value_distribution = payer × allocation recipients; contact_membership = communication channel members.",
1493
- "type": "array",
1494
- "items": {
1495
- "type": "string",
1496
- "enum": [
1497
- "employment",
1498
- "process_operation",
1499
- "agency",
1500
- "transaction",
1501
- "supply",
1502
- "arbitration_delegation",
1503
- "dispute_resolution",
1504
- "value_distribution",
1505
- "contact_membership"
1506
- ]
1507
- }
1508
- },
1509
- "context_network": {
1510
- "type": "string",
1511
- "enum": [
1512
- "testnet",
1513
- "mainnet",
1514
- "localnet"
1515
- ],
1516
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1517
- }
1518
- },
1519
- "required": [
1520
- "query_type"
1521
- ],
1522
- "additionalProperties": false,
1523
- "description": "Business Relationship Graph (K3/19): derive ONE account's full relationship web from on-chain power carriers (Permission memberships, Machine forwards, Orders, Demand presenters, Allocation sharing, Arbitration bindings, Contact ims). Each edge carries the three dimensions — power (what each side CAN do, and where that power lives on-chain), interest (gains/exposures, with registry-declared goal tensions like principal-agent divergence), and value flows (escrow → allocation → payment chains). Read-only; roles are DERIVED from chain data, never asserted."
1524
- },
1525
- {
1526
- "type": "object",
1527
- "properties": {
1528
- "query_type": {
1529
- "type": "string",
1530
- "const": "scenario_topology"
1531
- },
1532
- "chain_id": {
1533
- "description": "Optional scenario-chain id (chain.standard_ecommerce | chain.procurement_tender | chain.data_subscription | chain.collaborative_operations). When given, only that chain is returned; otherwise ALL scenario chains + bridges are returned.",
1534
- "type": "string"
1535
- }
1536
- },
1537
- "required": [
1538
- "query_type"
1539
- ],
1540
- "additionalProperties": false,
1541
- "description": "Scenario Topology knowledge (K3 03 §3.5 / Part 2): the STATIC registry of how WoWok objects INTEGRATE each other. Bridges weld object pairs into a capability that belongs to no single object (e.g. Demand.present(service) grants MATCHMAKING); chains compose bridges into whole applications (e.g. standard e-commerce, procurement tender). Pure knowledge, read-only — no on-chain reads. Use to explain HOW a business scenario is assembled from on-chain objects and why the integration (not the objects themselves) yields the capability."
1542
- },
1543
- {
1544
- "type": "object",
1545
- "properties": {
1546
- "query_type": {
1547
- "type": "string",
1548
- "const": "workspace_lists"
1549
- },
1550
- "no_cache": {
1551
- "description": "Set to true to bypass both the aggregation cache and the SDK chain-read cache.",
1552
- "type": "boolean"
1553
- },
1554
- "context_network": {
1555
- "type": "string",
1556
- "enum": [
1557
- "testnet",
1558
- "mainnet",
1559
- "localnet"
1560
- ],
1561
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1562
- },
1563
- "account": {
1564
- "description": "Scope the aggregation to ONE account address (the client's current account). Omit to aggregate across ALL local accounts.",
1565
- "type": "string"
1566
- },
1567
- "light": {
1568
- "description": "Set to true for the fast first-paint phase: rows carry address / type / name / time only, skipping the per-object enrichment (dead-object probe, registrar votes, per-family extras). Used for progressive list loading; the client merges the full result afterwards.",
1569
- "type": "boolean"
1570
- }
1571
- },
1572
- "required": [
1573
- "query_type"
1574
- ],
1575
- "additionalProperties": false,
1576
- "description": "ONE-CALL workspace object lists for ONE account (client Quick Access workspace buckets) — pass `account` to scope to the current account; omit to aggregate across ALL local accounts: treasuries / repositories / contacts / machines / rewards come from the unified permission reverse chain (account → EntityPermission @0xaad → permission-keyed ObjectLinkerCore @0xaae, the ONE source every permission-bearing object family writes to) plus account-keyed EntityContact memberships (@0xaa9) for contacts; others = account-keyed ObjectLinkerTx (@0xaaf) touches, deduplicated, minus all classified business types. Each item: object address + type + local name + time. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."
1577
- },
1578
- {
1579
- "type": "object",
1580
- "properties": {
1581
- "query_type": {
1582
- "type": "string",
1583
- "const": "marks_of_account"
1584
- },
1585
- "no_cache": {
1586
- "description": "Set to true to bypass both the aggregation cache and the SDK chain-read cache.",
1587
- "type": "boolean"
1588
- },
1589
- "context_network": {
1590
- "type": "string",
1591
- "enum": [
1592
- "testnet",
1593
- "mainnet",
1594
- "localnet"
1595
- ],
1596
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1597
- },
1598
- "account": {
1599
- "description": "Scope to ONE account address (the client's current account). Omit to merge across ALL local accounts.",
1600
- "type": "string"
1601
- },
1602
- "light": {
1603
- "description": "Set to true for the fast first-paint phase: rows carry address / type only (vote_kinds is empty until the full result), skipping the per-target registrar-vote reads + object enrichment. Used for progressive list loading; the client merges the full result afterwards.",
1604
- "type": "boolean"
1605
- }
1606
- },
1607
- "required": [
1608
- "query_type"
1609
- ],
1610
- "additionalProperties": false,
1611
- "description": "Like / Favor list for ONE account (client Quick Access 'Like / Favor' tab) — every address (object OR plain user) the account has EVER liked / disliked / favored, deduplicated, with the CURRENT active vote kinds per target. Deterministic source: the voter's own Resource mark table, cross-read with the target's EntityLinker votes for the 'marked at' clock. Fully-toggled-off targets are dropped. Each row: address + tags (like/dislike/favor) + time + object_type (null = plain user) + local name / description / tags. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."
1612
- },
1613
- {
1614
- "type": "object",
1615
- "properties": {
1616
- "query_type": {
1617
- "type": "string",
1618
- "const": "migration_preflight"
1619
- },
1620
- "no_cache": {
1621
- "description": "Set to true to bypass the SDK chain-read cache.",
1622
- "type": "boolean"
1623
- },
1624
- "account": {
1625
- "type": "string",
1626
- "description": "Account address (or name) to check. Required when query_type='migration_preflight'."
1627
- },
1628
- "source_network": {
1629
- "description": "Source network to detect an existing build (default 'testnet').",
1630
- "type": "string",
1631
- "enum": [
1632
- "testnet",
1633
- "mainnet",
1634
- "localnet"
1635
- ]
1636
- },
1637
- "target_network": {
1638
- "description": "Target network for the migration (default 'mainnet').",
1639
- "type": "string",
1640
- "enum": [
1641
- "testnet",
1642
- "mainnet",
1643
- "localnet"
1644
- ]
1645
- }
1646
- },
1647
- "required": [
1648
- "query_type",
1649
- "account"
1650
- ],
1651
- "additionalProperties": false,
1652
- "description": "Cross-network build detection + mainnet customization preflight (first-touch migration): detect whether the account has already built Services/Machines/etc. on the source network (default testnet), report the same on the target network (default mainnet), and return a business-facing checklist of the key settings to confirm/change when migrating — payment token, location, arbitration, WIP, gas. Read-only."
1653
- },
1654
- {
1655
- "type": "object",
1656
- "properties": {
1657
- "query_type": {
1658
- "type": "string",
1659
- "const": "onchain_topology"
1660
- },
1661
- "focus": {
1662
- "description": "Seed of the topology — an on-chain address (EOA 0x00… or any object 0x10..0x24/0xf1) or a LocalMark name (resolved automatically). Required when query_type='onchain_topology'. The read-side topology kernel expands OUTWARD from this seed over the machine-readable EdgeSchema: holder fields, global reverse indexes (orders/permissions/bindings/votes), Machine node tables (the workflow graph) and derived money-flow edges.",
1663
- "type": "string"
1664
- },
1665
- "context_network": {
1666
- "type": "string",
1667
- "enum": [
1668
- "testnet",
1669
- "mainnet",
1670
- "localnet"
1671
- ],
1672
- "description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
1673
- },
1674
- "intent": {
1675
- "description": "SEMANTIC exploration strategy (G3) — what this topology call is trying to establish. Deterministically shapes the edge whitelist, per-family depth caps and budget: full_map=complete structural map; order_health=order lifecycle+completion+disputes; fund_flow=payments+allocation waterfall+guard-gated splits; workflow=Machine node graphs+transitions+progress; counterparty=who is on the other side (buyer/seller/agents/operators); reputation=votes+arbitration record+contacts; permission=permission groups+bindings+entity tables; supply_chain=multi-leg allocation/sub-order settlement; arbitration=dispute cases+voters; demand_match=demand presenters+guards+rewards. When omitted, defaults come from the persona system (role default intents < account persona preference), then industry templates; every applied layer is reported in result.strategy.trace.",
1676
- "type": "string",
1677
- "enum": [
1678
- "full_map",
1679
- "order_health",
1680
- "fund_flow",
1681
- "workflow",
1682
- "counterparty",
1683
- "reputation",
1684
- "permission",
1685
- "supply_chain",
1686
- "arbitration",
1687
- "demand_match"
1688
- ]
1689
- },
1690
- "role": {
1691
- "description": "Identity lens for the default strategy: the persona role whose default intents and RoleProfile.topology preference drive the exploration when 'intent' is omitted (e.g. prospect → counterparty+reputation+fund_flow due diligence).",
1692
- "type": "string",
1693
- "enum": [
1694
- "merchant",
1695
- "customer",
1696
- "demander",
1697
- "prospect",
1698
- "supplier",
1699
- "collaborator",
1700
- "arbitrator"
1701
- ]
1702
- },
1703
- "industry": {
1704
- "description": "Industry template lens (freelance/rental/education/travel/subscription/retail or a registered pack industry): shapes per-family depth caps — e.g. rental deepens money edges (deposit round-trip), travel deepens workflow (multi-leg trips).",
1705
- "type": "string"
1706
- },
1707
- "context_account": {
1708
- "description": "Optional EOA address whose persona record supplies the identity-specific exploration preference (RoleProfile.topology). Omit to use the system persona. Also serves as the OBSERVER of the G2 role-interest view when interest_role is set.",
1709
- "type": "string"
1710
- },
1711
- "interest_role": {
1712
- "description": "G2 role interest view — project THIS CommercialRole's complete interest view (interest-assessment stakes + node-game actions + counterparties + risk reminders) for context_account (or the seed when it is an EOA) over the same expanded graph. The view is returned as result.role_interest and as one IR:<role> finding carrying the same structured payload. Scoring comes exclusively from the evaluation game modules; when omitted, defaults to the persona 'role' lens if provided.",
1713
- "type": "string",
1714
- "enum": [
1715
- "merchant",
1716
- "customer",
1717
- "demander",
1718
- "prospect",
1719
- "supplier",
1720
- "collaborator",
1721
- "arbitrator",
1722
- "neutral",
1723
- "system"
1724
- ]
1725
- },
1726
- "facets": {
1727
- "description": "Per-call facet overrides keyed by the ten facet ids (fund_safety/reputation/arbitration/fulfillment/offering_price/workflow/fund_flow/supply_chain/permission/my_stakes). Highest-precedence lens over the role, industry and persona defaults; unknown facet ids are ignored.",
1728
- "type": "object",
1729
- "propertyNames": {
1730
- "type": "string"
1731
- },
1732
- "additionalProperties": {
1733
- "type": "object",
1734
- "properties": {
1735
- "visible": {
1736
- "description": "Hide the facet from the returned items (default visible).",
1737
- "type": "boolean"
1738
- },
1739
- "order": {
1740
- "description": "Explicit reading-order rank.",
1741
- "type": "integer",
1742
- "exclusiveMinimum": 0,
1743
- "maximum": 9007199254740991
1744
- },
1745
- "weight": {
1746
- "description": "Facet emphasis — distributed to bound rules by document-default proportions (single scoring channel).",
1747
- "type": "number",
1748
- "minimum": 0
1749
- },
1750
- "threshold": {
1751
- "description": "Card-highlight hint only; never an engine gate.",
1752
- "type": "number",
1753
- "minimum": 0,
1754
- "maximum": 100
1755
- }
1756
- },
1757
- "additionalProperties": false
1758
- }
1759
- },
1760
- "no_cache": {
1761
- "description": "Set true to bypass the SDK chain-read cache. In-call batching/dedup still applies.",
1762
- "type": "boolean"
1763
- },
1764
- "analyze": {
1765
- "description": "Run the registered graph Analyzer suite (R/A/O/G — risk / structural-arbitrage / opportunity / game) over the NEUTRAL viewport and return objective findings. Default true; set false for raw topology only. Findings are facts + structural suggestions, never scores — scoring stays in the game-theory modules.",
1766
- "type": "boolean"
1767
- },
1768
- "analyzer_kinds": {
1769
- "description": "Filter analyzer kinds when analyze=true (default: all four): risk=R rules, arbitrage=A structural-arbitrage, opportunity=O, game=G objective situations.",
1770
- "type": "array",
1771
- "items": {
1772
- "type": "string",
1773
- "enum": [
1774
- "risk",
1775
- "arbitrage",
1776
- "opportunity",
1777
- "game"
1778
- ]
1779
- }
1780
- },
1781
- "only_analyzers": {
1782
- "description": "Run ONLY these analyzer ids (whitelist, e.g. ['R1','G2']). The full registered id list is returned in `analyzers` of every response.",
1783
- "type": "array",
1784
- "items": {
1785
- "type": "string"
1786
- }
1787
- },
1788
- "include_raw": {
1789
- "description": "Attach each node's full raw on-chain object as nodes[].raw. Default false — nodes then carry only kind/object_type/coin_type/state/depth, keeping the payload compact.",
1790
- "type": "boolean"
1791
- },
1792
- "table_edges": {
1793
- "description": "Dynamic-table edges to expand (channel B). Default ['machine.node'] — expands every reached Machine's workflow node table and DERIVES the wf.transition graph. Add 'permission.entity' for permission-group members (EOA/Guard + perm indices) and 'demand.presenter' for demand proposals.",
1794
- "type": "array",
1795
- "items": {
1796
- "type": "string",
1797
- "enum": [
1798
- "machine.node",
1799
- "permission.entity",
1800
- "demand.presenter"
1801
- ]
1802
- }
1803
- },
1804
- "event_edges": {
1805
- "description": "Event-derived history edges to expand (channel D, append-only streams, windowless). Default: none (events are opt-in only). 'service.order_history' walks the shop's complete NewOrderEvent stream (beyond the FIFO 5200 shop-order window); 'eoa.order_history' the orders the account created as transacting buyer; 'arb.history' every dispute case an arbitration service handled. Page-budget truncation is reported (windowed confidence), never silent.",
1806
- "type": "array",
1807
- "items": {
1808
- "type": "string",
1809
- "enum": [
1810
- "service.order_history",
1811
- "eoa.order_history",
1812
- "arb.history"
1813
- ]
1814
- }
1815
- },
1816
- "schema_hops": {
1817
- "description": "Per-edge-schema traversal caps: how many times an edge of this schema may be crossed on any seed→object path, e.g. {'guard.relies':1}. Only narrows contract-level caps; 0 blocks the schema entirely. Unknown schema ids and out-of-range values are dropped (reported in strategy.trace).",
1818
- "type": "object",
1819
- "propertyNames": {
1820
- "type": "string"
1821
- },
1822
- "additionalProperties": {
1823
- "type": "integer",
1824
- "minimum": 0,
1825
- "maximum": 8
1826
- }
1827
- },
1828
- "budget": {
1829
- "description": "Optional expansion-budget overrides. Every fetch stays batched (<=50 ids/request) regardless of these caps; exhaustion is reported honestly in budget_exhausted.",
1830
- "type": "object",
1831
- "properties": {
1832
- "max_depth": {
1833
- "description": "BFS wave depth (default 4).",
1834
- "type": "integer",
1835
- "minimum": 0,
1836
- "maximum": 8
1837
- },
1838
- "max_nodes": {
1839
- "description": "Hard node cap (default 500).",
1840
- "type": "integer",
1841
- "minimum": 1,
1842
- "maximum": 3000
1843
- },
1844
- "max_rpcs": {
1845
- "description": "Hard logical RPC-batch cap; each batch carries at most 50 ids (default 120).",
1846
- "type": "integer",
1847
- "minimum": 1,
1848
- "maximum": 400
1849
- },
1850
- "max_fanout": {
1851
- "description": "Per-node fanout cap per edge schema (default 60).",
1852
- "type": "integer",
1853
- "minimum": 1,
1854
- "maximum": 5200
1855
- }
1856
- },
1857
- "additionalProperties": false
1858
- }
1859
- },
1860
- "required": [
1861
- "query_type"
1862
- ],
1863
- "additionalProperties": false,
1864
- "description": "Read-only on-chain TOPOLOGY network around ONE seed address: batched multi-hop BFS over the machine-readable EdgeSchema (never per-id RPC; objects / EOA keyed fields / tables / events use four separate batched channels). Returns nodes + typed edges (family F=field / R=reverse-index / W=workflow / M=money-flow / S=social) with per-edge retention semantics (complete / bounded_exact / membership / bounded_window / derived), the STRUCTURAL workflow subgraph of each reached Machine (incl. its structural terminal set), structural completion of every Order reached, R/A/O/G analyzer findings, and truncation / data-gap / budget honesty markers. Read-only."
1865
- }
1866
- ]
1867
- }
1
+ {"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://wowok.net/schemas/query_toolkit.json","title":"Data Query Toolkit","description":"Query local and on-chain data","oneOf":[{"type":"object","properties":{"query_type":{"type":"string","const":"local_mark_list"},"filter":{"description":"Local mark filter","type":"object","properties":{"name":{"description":"Filter by mark name (supports fuzzy match)","type":"string"},"tags":{"description":"Filter by tags - returns marks that contain ANY of the specified tags","type":"array","items":{"type":"string"}},"address":{"description":"Filter by address (exact match, format: 0x + 64 hex characters)","type":"string"},"createdAt":{"description":"Filter by creation time range","type":"object","properties":{"gte":{"description":"Filter marks created on or after this timestamp (ms)","type":"number"},"lte":{"description":"Filter marks created on or before this timestamp (ms)","type":"number"}},"additionalProperties":false},"updatedAt":{"description":"Filter by update time range","type":"object","properties":{"gte":{"description":"Filter marks updated on or after this timestamp (ms)","type":"number"},"lte":{"description":"Filter marks updated on or before this timestamp (ms)","type":"number"}},"additionalProperties":false}},"additionalProperties":false}},"required":["query_type"],"additionalProperties":false,"description":"Query your LOCAL address book — maps human-readable names to blockchain addresses with optional tags. Use to resolve names→addresses or find addresses by tag. Returns: MarkData[] (name, address, tags, timestamps)"},{"type":"object","properties":{"query_type":{"type":"string","const":"account_list"},"filter":{"description":"Account filter","type":"object","properties":{"name":{"description":"Filter by account name (supports fuzzy match)","type":"string"},"address":{"description":"Filter by account address (supports partial match, format: 0x + hex characters)","type":"string"},"suspended":{"description":"Filter by suspension status. Omit to return all accounts regardless of status","type":"boolean"},"hasMessenger":{"description":"Filter accounts with messenger enabled","type":"boolean"},"createdAt":{"description":"Filter by creation time range","type":"object","properties":{"gte":{"description":"Filter accounts created on or after this timestamp (ms)","type":"number"},"lte":{"description":"Filter accounts created on or before this timestamp (ms)","type":"number"}},"additionalProperties":false},"updatedAt":{"description":"Filter by update time range","type":"object","properties":{"gte":{"description":"Filter accounts updated on or after this timestamp (ms)","type":"number"},"lte":{"description":"Filter accounts updated on or before this timestamp (ms)","type":"number"}},"additionalProperties":false},"includePubkey":{"description":"Include pubkey in results (default: false). Pubkey is large (~900 bytes), omit unless needed","type":"boolean"}},"additionalProperties":false},"no_cache":{"description":"Accepted for call-shape uniformity and IGNORED — account_list is a device-local read with no cache to bypass","type":"boolean"}},"required":["query_type"],"additionalProperties":false,"description":"Query your LOCAL accounts — view all accounts stored on this device (addresses, messenger status, suspension state). Use filter.includePubkey=true to also include public keys (~900 bytes each, omitted by default). Returns: AccountData[] (name, address, pubkey?, suspended, messenger, timestamps)"},{"type":"object","properties":{"query_type":{"type":"string","const":"local_info_list"},"filter":{"description":"Local info filter","type":"object","properties":{"name":{"description":"Filter by info name (supports fuzzy match)","type":"string"},"default":{"description":"Filter by default value (supports fuzzy match)","type":"string"},"contents":{"description":"Filter by contents - returns info that contains ANY of the specified content items","type":"array","items":{"type":"string"}},"createdAt":{"description":"Filter by creation time range","type":"object","properties":{"gte":{"description":"Filter info created on or after this timestamp (ms)","type":"number"},"lte":{"description":"Filter info created on or before this timestamp (ms)","type":"number"}},"additionalProperties":false},"updatedAt":{"description":"Filter by update time range","type":"object","properties":{"gte":{"description":"Filter info updated on or after this timestamp (ms)","type":"number"},"lte":{"description":"Filter info updated on or before this timestamp (ms)","type":"number"}},"additionalProperties":false}},"additionalProperties":false},"account":{"description":"Account partition to query (name or address). Local info is isolated per account; omit for the default account's partition.","type":"string"}},"required":["query_type"],"additionalProperties":false,"description":"Query your LOCAL private info — sensitive data like delivery addresses, phone numbers, contacts stored ONLY on this device. Use to retrieve saved contact/delivery details. Returns: InfoData[] (name, default value, contents, timestamps)"},{"type":"object","properties":{"query_type":{"type":"string","const":"token_list"},"filter":{"type":"object","properties":{"alias_or_name":{"description":"Alias or name filter","type":"string"},"symbol":{"description":"Token symbol","type":"string"},"type":{"description":"Token type","type":"string"}},"additionalProperties":false,"description":"Token data filter"}},"required":["query_type"],"additionalProperties":false,"description":"Query cached token metadata — symbol, decimals, icon URL, description for tokens previously fetched from chain. Use to look up token info without an on-chain query. Returns: TokenTypeInfo[] (type, alias, name, symbol, decimals, iconUrl)"},{"type":"object","properties":{"query_type":{"type":"string","const":"account_balance"},"name_or_address":{"description":"Account name or address to query. Examples: \"my_account\", \"0xabc123...\", or \"\" for the default account. Aliases 'account' and 'address' are accepted and auto-renamed to 'name_or_address'. Defaults to '' (default account) if omitted.","type":"string"},"balance":{"description":"Set to true to query total balance amount for the token type","type":"boolean"},"coin":{"description":"Set to query paginated coin objects instead of balance. Use cursor/limit for pagination.","type":"object","properties":{"cursor":{"description":"Pagination cursor for listing coin objects","anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"description":"Max coin objects per page","anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},"token_type":{"description":"Token type in Move format: 0x<package>::<module>::<struct>. Examples: \"0x2::wow::WOW\" (default). For custom tokens, use the full type string from the token's coin metadata. The Fund Processing Layer resolves precision from the official registry → cache → on-chain.","type":"string"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]},"no_cache":{"description":"Accepted for call-shape uniformity and IGNORED — this query is always a live read; freshness provenance rides `_balance_read_freshness`","type":"boolean"}},"required":["query_type"],"additionalProperties":false,"description":"Query an account's coin balance OR paginated coin objects. LIVE QUERY: the balance is always fetched fresh from the fullnode — there is NO cache, so 'no_cache' is accepted but has no effect. The response carries `_balance_read_freshness` (fetched_at + note): figures CAN differ between reads taken moments apart (live F-RQ-12: the same wallet read 9.93 / 21.88 / 56.28 WOW on three consecutive calls) — reconcile via the coin page and prove arrival via the transaction digest, never off a single read. PARAMETERS: Use 'name_or_address' to specify the account. Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Use token_type to query non-default tokens (format: 0x<package>::<module>::<struct>). If the input resolves to an ON-CHAIN OBJECT (e.g. a Treasury name), the result auto-routes: it returns the object with its 'balance' field plus a routing hint. Returns: { address, balance? | coin? | object?, hint? }"},{"type":"object","properties":{"query_type":{"type":"string","const":"local_names"},"addresses":{"type":"array","items":{"type":"string"},"description":"Array of addresses to look up local names for"}},"required":["query_type","addresses"],"additionalProperties":false,"description":"Query local names (account name and local mark name) for a list of addresses. Returns array of: { account?: string, local_mark?: string, address: string }"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_personal_profile"},"account":{"description":"Account name or ID to query. Use empty string '' for the default account. Aliases 'name_or_address' and 'address' are accepted and auto-renamed to 'account'.","type":"string"},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type"],"additionalProperties":false,"description":"Query any user's PUBLIC on-chain profile — social links, reputation (likes/dislikes), personal info records, voting history, referrer. Use to look up a user's public identity and reputation. Returns: ObjectPersonal | undefined"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_objects"},"objects":{"type":"array","items":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"description":"List of object IDs (names or addresses) to query in batch"},"winner_node":{"description":"Optional adjudication node name for the winner derivation (MN5-6R ③A): when passed, every queried Progress object derives `winner_derivation` — the first account whose forward completed entry into THIS node, computed purely from the append-only Progress history (the chain stores no winner field). When omitted, the Progress's current node is used as the adjudication node. No match → `winner_derivation: null` with a note (the order has not advanced into that node).","type":"string"},"no_cache":{"description":"Set to FALSE to allow the session cache; OMIT (or pass true) for a forced-fresh read. ⚠️ DEFAULT IS FRESH ON PURPOSE: a cached snapshot here reports a PRE-TRANSACTION value for exactly the fields an agent uses to decide whether money moved — on testnet this reported a stale `compensation_fund`, a stale `order.claimed_by`, and a stale `allocation.balance`. Only pass no_cache:false when you deliberately want a cheap repeat read of data you already know is current. The response carries `_read_freshness` (source live|session_cache, fetched_at) so a snapshot can never be mistaken for state.","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","objects"],"additionalProperties":false,"description":"Batch query on-chain WOWOK objects by ID or name — supports Service, Machine, Order, Treasury, Reward, Arb, Personal, Contact, and more. Use to inspect one or more objects in a single call. FORCED-FRESH by default (see no_cache) and the response includes `_read_freshness` provenance. Every queried Progress object additionally carries `_winner_derivation` (MN5-6R ③A): the first account whose forward completed entry into the adjudication node (`winner_node`, default = the Progress's current node), derived purely from the Progress history — null + note when the order has not advanced there. Returns: { objects: ObjectBase[], _read_freshness: { source, no_cache, fetched_at, note } }"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_received"},"name_or_address":{"anyOf":[{"description":"Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"},{"type":"object","properties":{"name_or_address":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"local_mark_first":{"description":"Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks","type":"boolean"}},"additionalProperties":false,"description":"Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."}],"description":"Name or address of the object that received payments/items - can be a string (name/address) or full object"},"type":{"description":"Type filter for querying received objects. - If undefined or null: query all types (equivalent to the old all_type=true). - If 'CoinWrapper': query CoinWrapper type for the object's token (equivalent to the old all_type=false). - If string: query specific StructType (e.g., '0x2::payment::CoinWrapper<0x2::wow::WOW>').","anyOf":[{"type":"string"},{"type":"string","const":"CoinWrapper"},{"type":"null"}]},"cursor":{"description":"Pagination cursor from previous page","anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"description":"Max records per page","anyOf":[{"type":"number"},{"type":"null"}]},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","name_or_address"],"additionalProperties":false,"description":"Query objects (Payments, Tokens, NFTs) received by a specific object. Use to track incoming payments or items sent to an on-chain object. Supports pagination and type filter. Returns: ReceivedBalance | ReceivedNormal[]"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_transaction"},"digest":{"type":"string","description":"Transaction digest (0x...) to verify. Use after any on-chain operation to confirm what actually happened on-chain — object changes, balance changes, gas used, success/failure status. This is the 'OperationProof' primitive for the Verify step."},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","digest"],"additionalProperties":false,"description":"Verify what a specific transaction did on-chain — the 'OperationProof' primitive. After executing any operation, call this with the returned digest to confirm: status (success/failed), object changes (created/mutated/deleted), balance changes, gas used, and events. Essential for the 5-step loop's Verify step. Returns: TransactionDetail | undefined"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_block"},"block":{"type":"string","description":"Checkpoint sequence number (e.g. \"12345\") or checkpoint digest. A checkpoint (block) is the chain's unit of finalization — use it to answer 'what happened at block N', look up block time/transaction count, or place a transaction in the global order (checkpoint sequences appear in onchain_transaction/onchain_object_history results)."},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","block"],"additionalProperties":false,"description":"Query ONE checkpoint (block) by sequence number or digest — returns the RAW fullnode checkpoint summary VERBATIM (no semantic shaping): sequence, digest, timestampMs, transaction count, epoch bindings, networkTransactions, endOfEpoch data when present. Checkpoints are immutable, so the value is authoritative forever. Distinct from onchain_transaction (per-tx proof) — use this for block-level facts. Returns: raw checkpoint summary object | undefined"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_object_history"},"object":{"type":"string","description":"Object ID (0x...) or LocalMark name. Query the provenance chain — every transaction that created, mutated, unwrapped, or deleted this object (plus transactions that consumed it as an input). The CREATING/arrival transaction IS included (ChangedObject ∪ InputObject indexes are merged), so freshly received coins and never-used objects no longer return an empty history. Use to trace how an object reached its current state."},"cursor":{"description":"Pagination cursor from previous page's next_cursor","anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"description":"Max results per page (default 20, max 50)","anyOf":[{"type":"number"},{"type":"null"}]},"order":{"description":"Sort order: ascending=oldest first, descending=newest first (default)","anyOf":[{"type":"string","const":"ascending"},{"type":"string","const":"descending"}]},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","object"],"additionalProperties":false,"description":"FORENSICS TOOL — query all transactions that touched an object. WARNING: this can lead to non-convergent queries (each tx touches more objects with their own history). For AI context building, use assemble_context instead — it extracts embedded history from object states (ProgressSession.forwards, etc.) without infinite recursion. This tool is for auditing/forensics only. Returns: TransactionHistoryAnswer | undefined"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_last_updated"},"objects":{"type":"array","items":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"description":"List of object IDs (names or addresses) to query in batch"},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","objects"],"additionalProperties":false,"description":"Batch query the LAST on-chain WRITE time of objects — the timestamp of the most recent transaction that touched each object (SDK query_object_last_updated, cached TTL 2 min). WARNING: this is a LAST-MODIFIED stamp, NOT the creation or arrival time, and it is silently replaced by every later write (a coin merge, a field update, any re-use). For creation/arrival provenance use onchain_object_history (its first/ascending entry includes the creating tx) or onchain_address_activity with direction='received'. Returns: { items: [{ object, timestamp_ms, digest, sender }] }"},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_address_activity"},"name_or_address":{"anyOf":[{"description":"Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"},{"type":"object","properties":{"name_or_address":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"local_mark_first":{"description":"Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks","type":"boolean"}},"additionalProperties":false,"description":"Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."}],"description":"Address (0x...) or account name. Query on-chain activity of this actor. Use to build a user's on-chain activity profile, verify an actor's history, or trace when funds/objects ARRIVED at an address."},"direction":{"description":"'sent' (default): transactions SENT BY this address. 'received': transactions that delivered objects/coins TO this address (inbound transfers — the route for 'when did this arrive' without knowing the sender).","type":"string","enum":["sent","received"]},"cursor":{"description":"Pagination cursor from previous page's next_cursor","anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"description":"Max results per page (default 20, max 50)","anyOf":[{"type":"number"},{"type":"null"}]},"order":{"description":"Sort order: ascending=oldest first, descending=newest first (default)","anyOf":[{"type":"string","const":"ascending"},{"type":"string","const":"descending"}]},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","name_or_address"],"additionalProperties":false,"description":"FORENSICS TOOL — query transactions sent BY an address (direction='sent', default) or inbound deliveries TO an address (direction='received'). WARNING: like onchain_object_history, this can lead to non-convergent queries. For AI context building, use assemble_context (extracts embedded history) or query_events (real-time transitions) instead. This tool is for auditing/user-activity profiling and inbound-arrival lookup only. Returns: TransactionHistoryAnswer | undefined"},{"type":"object","properties":{"query_type":{"type":"string","const":"token_value_convert"},"token_type":{"type":"string","description":"Full token type in Move format: 0x<package>::<module>::<struct>. Examples: \"0x2::wow::WOW\" (9 decimals). The token's decimals drive the conversion — resolved from official registry → local cache → on-chain coin metadata."},"raw":{"description":"Raw smallest-unit value (u64, e.g. \"2200000000\") to convert TO a human unit value. Provide EXACTLY ONE of raw / unit.","anyOf":[{"type":"string"},{"type":"number"}]},"unit":{"description":"Human unit value (e.g. \"2.2\") to convert TO raw smallest units (u64). Provide EXACTLY ONE of raw / unit. Conversion is REFUSED when the token's decimals cannot be resolved (guessing would forge wrong on-chain values).","anyOf":[{"type":"string"},{"type":"number"}]},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","token_type"],"additionalProperties":false,"description":"Convert between raw on-chain smallest units (u64) and human unit values, in EITHER direction. Provide EXACTLY ONE of raw / unit (handler-validated). raw → unit: \"2200000000\" → \"2.2\" (pass-through when precision unknown). unit → raw: \"2.2\" → \"2200000000\" (REFUSED when precision unknown — never guesses decimals). Use this before displaying chain values to users, and before entering amounts for on-chain operations. Returns: { token_type, symbol?, decimals?, precision_known, direction, input, output, error?, text }"},{"type":"object","properties":{"query_type":{"type":"string","const":"address_profile"},"address":{"anyOf":[{"description":"Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"},{"type":"object","properties":{"name_or_address":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"local_mark_first":{"description":"Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks","type":"boolean"}},"additionalProperties":false,"description":"Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."}],"description":"Address to profile. Supports string (name/address) or object form. LocalMark names are resolved automatically. Aliases 'name_or_address' and 'account' are accepted and auto-renamed to 'address'."},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","address"],"additionalProperties":false,"description":"Unified address profile (K3 22 §P0-1): classifies the address (user / business-object type / system singleton), then batches identity + reputation (like/dislike/favor) + order membership + contact membership + permission membership + core/tx reverse bindings + the object itself into a single result. The one-stop entry for 'who/what is this address'. For Service addresses the result also merges a service_analysis block (description / payment token / shelf split / location / trust-risk / on-chain last update). Returns: AddressProfile"},{"type":"object","properties":{"query_type":{"type":"string","const":"address_profiles"},"addresses":{"minItems":1,"maxItems":50,"type":"array","items":{"anyOf":[{"description":"Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"},{"type":"object","properties":{"name_or_address":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"local_mark_first":{"description":"Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks","type":"boolean"}},"additionalProperties":false,"description":"Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."}],"description":"Account or address lookup. Can be a simple string (recommended for AI) or full object with explicit local_mark_first control. String form auto-converts to { name_or_address: <string>, local_mark_first: true }."},"description":"Addresses to profile in ONE batch (the list form of address_profile — prefer this over N single-address calls in list views). Each entry supports string (name/address) or object form; LocalMark names are resolved automatically. Result order matches the request order; a per-address failure yields a null slot (never rejects the whole batch)."},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","addresses"],"additionalProperties":false,"description":"BATCH unified address profiles: one call for up to 50 addresses instead of N single-address round-trips. Each non-null entry carries the SAME shape as address_profile (classification + identity + reputation votes + order/contact/permission memberships + core/tx reverse bindings + the object + activity + role evidence), including the merged service_analysis block for Service addresses. Use for list views that need profiles for many rows at once. Returns: (AddressProfile | null)[]"},{"type":"object","properties":{"query_type":{"type":"string","const":"service_supply_chain"},"address":{"anyOf":[{"description":"Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"},{"type":"object","properties":{"name_or_address":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"local_mark_first":{"description":"Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks","type":"boolean"}},"additionalProperties":false,"description":"Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."}],"description":"Service address whose transparent sub-order purchasing graph to resolve. Supports string (name/address) or object form. LocalMark names are resolved automatically."},"no_cache":{"description":"Set to true to bypass cache and fetch fresh on-chain data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","address"],"additionalProperties":false,"description":"Resolve a Service's transparent sub-order purchasing graph (K3 23 §3.6): reads the bound Machine's frozen forwards, finds purchasing-commitment Guards, and returns each forward's purchased sub-services (fixed address fields) + required sub-order proof fields (b_submission fields). Standalone capability for buyer due-diligence / compose_service / anti_cheat / merchant self-check; reused by Watch. Returns: SupplyChainGraph"},{"type":"object","properties":{"query_type":{"type":"string","const":"recover_created_objects"},"label":{"anyOf":[{"description":"Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"},{"type":"object","properties":{"name_or_address":{"type":"string","description":"Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."},"local_mark_first":{"description":"Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks","type":"boolean"}},"additionalProperties":false,"description":"Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."}],"description":"Account name or address (0x...) whose recovery state to assemble — the SENDER of the timed-out call (a submission_unknown / timeout envelope names it in the verification header or submission_verification.sender). Supports string or object form; LocalMark names are resolved automatically."},"op":{"description":"Filter the in-flight markers by operation name: 'order_new' (order creation), 'alloc_by_guard' (distribution), or an operation_type like 'payment', 'reward', 'guard'. Omit to list every open marker.","type":"string"},"limit":{"description":"Max returned-digest and activity entries (default 20).","type":"integer","minimum":1,"maximum":50},"no_cache":{"description":"Set to true to bypass the on-chain activity cache and fetch fresh data","type":"boolean"},"network":{"description":"Network to query: 'localnet' | 'mainnet' | 'testnet'. If omitted, the SDK's current default network is used.","type":"string","enum":["localnet","testnet","mainnet"]}},"required":["query_type","label"],"additionalProperties":false,"description":"RECOVERY TOOL — assemble in ONE call everything needed to recover objects after a TIMED-OUT or lost-response write (W5-09, the official form of the ad-hoc recovery script). Joins three sources: (1) in-flight markers this process still holds OPEN — operations whose commit state was never observed (each carries op, target service/allocation, buyer, item count, started_at, any transport-reported digests); (2) digests this process recently RETURNED as executed receipts; (3) the account's on-chain sent-activity in the failure window. Decision rule: a marker whose digest resolves to an executed transaction → ADOPT its created objects and stop; activity shows the operation landed → adopt; markers exist but nothing on-chain → the state stayed open, a corrected resubmit is allowed; nothing anywhere → nothing landed from THIS process (other sessions/devices may still hold state — the chain remains the only truth). Returns: { label, resolved_address?, inflight_markers[], returned_digests[], landed_tombstones[], onchain_activity?, recovery_guidance }"},{"type":"object","properties":{"query_type":{"type":"string","const":"service_panorama"},"object_address":{"description":"On-chain Service object address (or LocalMark name). Required when query_type='service_panorama'. PREFERRED field name — the panorama family (service/machine/object) is unified on `object_address` (a Service IS an on-chain object); `service_address` remains accepted as a deprecated alias.","type":"string"},"service_address":{"description":"DEPRECATED alias of object_address (accepted for call compatibility). Prefer object_address. Example: {\"query_type\": \"service_panorama\", \"object_address\": \"0xabc...\"}.","type":"string"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."}},"required":["query_type"],"additionalProperties":false,"description":"ONE-CALL full business-intelligence context of an on-chain Service (K3 22 / Business Service tab): base data + machine workflow graph + buy_guard/permission/allocator guards + related objects + supply chain + deterministic BusinessReport + recent orders. Every section degrades gracefully — failures are reported in `data_gaps`. Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"service_quote"},"object_address":{"description":"On-chain Service object address (or LocalMark name). Required when query_type='service_quote'. PREFERRED field name — unified with the panorama family on `object_address`; `service_address` remains accepted as a deprecated alias.","type":"string"},"service_address":{"description":"DEPRECATED alias of object_address (accepted for call compatibility). Prefer object_address. Example: {\"query_type\": \"service_quote\", \"object_address\": \"0xabc...\"}.","type":"string"},"items":{"description":"Basket to quote. Omit to quote EVERY sale with quantity 1 (the floor basket — order quantity is chosen at buy time, so per-unit prices are the authoritative input). Each item names its sale via `name` (exact literal) or `sale_id` (0-based index) — exactly one.","type":"array","items":{"type":"object","properties":{"name":{"description":"Sale name exactly as configured on the Service. Required unless sale_id is given.","type":"string"},"sale_id":{"description":"0-based index of the sale in the Service's configured sales list (same enumeration the buy tool accepts). Required unless name is given.","type":"integer","minimum":0,"maximum":9007199254740991},"quantity":{"default":1,"description":"Units of this item in the basket (default 1).","type":"integer","exclusiveMinimum":0,"maximum":10000}},"required":["quantity"],"additionalProperties":false}},"discount":{"description":"C-10: Discount (coupon) object address or LocalMark name to price the basket WITH. Without it the quote is always the UNDISCOUNTED total, so a discounted buyer cannot compute the exact total_pay that order_new requires (it must equal the order total precisely — any drift aborts with E_COIN_NOT_ENOUGH). RATES subtracts total*off/10000; MINUS/FIXED subtracts min(total, off), mirroring the on-chain rule with integer floor division. Read-only: quoting does NOT consume the coupon.","anyOf":[{"type":"string"},{"type":"null"}]},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"no_cache":{"description":"A-5 freshness control, same convention as the panorama family (DEFAULT TRUE = read fresh, bypass the object cache). A quote that feeds an exact total_pay must never come from a stale cache — pass false only for high-frequency polling.","type":"boolean"},"buyer":{"description":"Prospective buyer address (or LocalMark name) — the per-buyer-cap probe subject. Required only for the per_buyer_cap check; the rest of the quote is buyer-independent.","type":"string"},"per_buyer_cap":{"description":"Merchant-declared per-buyer purchase cap (max predicate-matching rows per buyer under the cap key; template fee_params per_buyer_cap; UNSET/absent = unlimited — no cap check runs). Advisory PRE-ORDER disclosure only: the on-chain purchase entry has NO cap hook yet (buy pre-hook pending a separate board decision) — the chain itself will not refuse an over-cap buy today.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"per_buyer_cap_repository":{"description":"Repository object address (or LocalMark name) whose per-key ledger the cap counts against (e.g. the group-buy Round Repository). Required for the per_buyer_cap check.","type":"string"},"per_buyer_cap_key":{"description":"Repository policy key the cap counts under (e.g. the campaign contribution key). Required for the per_buyer_cap check.","type":"string"}},"required":["query_type"],"additionalProperties":false,"description":"READ-ONLY pre-purchase quote of a Service (finding 3.6 — order_new total_pay pre-check): per-item unit price × quantity, the basket total that order_new.buy.total_pay.balance must exactly equal (the on-chain buy aborts on any drift), and the order_allocators fee-split preview (sharing rows of the FIRST allocator — the normal payout path; guards select per-case allocators such as refund/damage, so the live split depends on which guard passes). Also previews the reward terms of every Reward hung on the Service (pool balance, per-claim amount, claim window) so a buyer never budgets on an expired or unfunded reward. Mirrors the on-chain price×quantity semantics WITHOUT calling quote on-chain and NEVER submits a transaction. Amounts are payment-token smallest units plus a human display when the token precision resolves."},{"type":"object","properties":{"query_type":{"type":"string","const":"machine_panorama"},"object_address":{"description":"On-chain object address (0x followed by 32-64 hex chars). Also accepts a LocalMark NAME (resolved automatically). H-06 fix: invalid formats are rejected at the handler level with a descriptive error.","type":"string"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."}},"required":["query_type"],"additionalProperties":false,"description":"ONE-CALL panorama of an on-chain Machine (Business Machine tab; Machine counterpart of service_panorama): head (name/tags/description/published/paused) + the Machine's own fields (permission/um/node_count/consensus repositories) + workflow graph (nodes/edges/forwards) + Progress list from the GLOBAL tx table (0xaaf, Machine address as KEY). Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"object_panorama"},"object_address":{"description":"On-chain object address (0x followed by 32-64 hex chars) for object_panorama. Also accepts a LocalMark NAME (resolved automatically). H-06 fix: invalid formats are rejected at the handler level with a descriptive error. F27 (gf32-mn-261103): `object` is accepted as an alias too — the write faces all take `object`, so a driver reusing one helper for reads and writes no longer trips on the key name.","type":"string"},"object":{"description":"ALIAS of object_address (accepted for write-face key compatibility — every write tool takes `object`). Prefer object_address on query calls. Example: {\"query_type\": \"object_panorama\", \"object\": \"0xabc...\"}.","type":"string"},"filter":{"description":"DEPRECATED alias of object_address (accepted for call compatibility; must be a plain address or LocalMark NAME string, not an object). Prefer object_address. Example: {\"query_type\": \"object_panorama\", \"object_address\": \"0xabc...\"}.","type":"string"},"wts_file_path":{"description":"Proof objects only: local path to the .wts evidence packet to cross-check against this anchor. Returns wts_anchor_check — whether the packet's message roots match the frozen root, whether the server key matches, and whether the Proof predates the packet (a frozen Proof is what makes WTS content non-re-fabricable after the fact).","type":"string"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"no_cache":{"description":"A-5 freshness control (amz9-ln-261023). DEFAULT TRUE: the panorama primary read bypasses the object cache and reads the chain state fresh — a post-write panorama (confirm, forward, claim, refund) must never show pre-write cache (the F-L02/F-L10 stale-after-confirm failure made agents re-confirm and misread terminal states). Pass false to opt back into the cached read for high-frequency polling where a few seconds of staleness is acceptable.","type":"boolean"}},"required":["query_type"],"additionalProperties":false,"description":"ONE-CALL detail-page panorama for Progress / Demand / Order / Allocation / Arb / Repository / Proof objects (client panorama family): discriminated `object_type` + head (name/tags/description) + the object's own typed fields + type-specific extras (Demand presenters from the GLOBAL tx table, Progress session/forwards, Order fund state, Allocation pool balance + per-rail resolved recipients + Payment children, Arb votes & propositions, Repository policies, Proof anchored root + WTS cross-check). Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"review_pack"},"object_address":{"description":"On-chain object address (0x followed by 32-64 hex chars) for review_pack. Also accepts a LocalMark NAME (resolved automatically). H-06 fix: invalid formats are rejected at the handler level with a descriptive error.","type":"string"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."}},"required":["query_type"],"additionalProperties":false,"description":"ONE-CALL typed ReviewPack for the client's generic ReviewPackRenderer (K3 24 §5.2 / G3) — section list + typed field values; the UI-convention defaults live in the renderer, the section composition lives in the MCP assembler. Runs the matching panorama (one chain-query pass) and reshapes it. Supported types: Order, Service, Arb, Demand, Repository, Progress, Machine. Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"assemble_context"},"context_objects":{"description":"Object IDs (0x...) or LocalMark names to assemble context for. Required when query_type='assemble_context'. The current on-chain state of each object will be queried and enriched with semantic annotations.","type":"array","items":{"type":"string"}},"include_events":{"description":"When true, assemble_context also queries recent state-transition events (NewOrderEvent, ProgressEvent, ArbEvent, etc.). Events are the real-time transition log — convergent and bounded. Defaults to false. Note: object-embedded history (ProgressSession.forwards, Order.disputes) is ALWAYS extracted automatically — no flag needed.","type":"boolean"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"context_depth":{"description":"BFS recursion depth for dependency expansion in assemble_context (default 0 = no expansion). When >0, the assembly recursively queries objects referenced by the center objects (permission, guard, machine, service, repositories, etc.) up to the given depth, using the same address-field extraction rules as extractAddressFields. Each level issues one batched query_objects call (≤50 IDs per batch). Cycles are detected and skipped via a visited set. Discovered dependencies are returned in `dependencies` (edge metadata) and `dependency_objects` (full object states). Recommended: 1–2 for most use cases; 3+ may pull large subgraphs (use context_include to constrain).","type":"integer","minimum":0,"maximum":5},"context_include":{"description":"Optional filter for dependency expansion edge types. When omitted, ALL outbound references are followed. When provided, only edges whose `field` matches one of the listed names are followed. Recognized field names (from extractAddressFields): 'permission', 'machine', 'service', 'progress', 'buy_guard', 'um', 'repositories', 'arbitrations', 'rewards', 'consensus_repositories', 'context_repositories', 'dispute', 'allocation', 'external_deposit_guard', 'external_withdraw_guard', 'allocator_guard', 'for_object', 'for_guard', 'payment', 'voting_guard', 'usage_guard', 'guard', 'write_guard', 'quote_guard', 'recipient_entity', 'order_allocators'. Example: ['permission','guard'] expands only permission/guard dependencies.","type":"array","items":{"type":"string"}}},"required":["query_type"],"additionalProperties":false,"description":"Semantic context assembly (GLM5 §6, Layer 3): query on-chain object states + extract embedded history + optional events + optional BFS dependency expansion, and assemble a structured context for LLM consumption. Required: context_objects (array of object IDs/names). Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"reverse_map"},"context_objects":{"description":"Object IDs (0x...) or LocalMark names to feed into the report. Required when query_type='reverse_map' (include the Service; add Machine/Allocation for refund-path detection).","type":"array","items":{"type":"string"}},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"reverse_order_amount":{"description":"Escrowed order amount (smallest-unit string) for reverse_map — included in the report summary as the concrete escrow mention.","type":"string"}},"required":["query_type"],"additionalProperties":false,"description":"Deterministic L4→L1 business report (K3 03 reverse lane; no LLM): queries the objects, classifies into business semantics, emits merchant profile + user risk assessment + game-theory analysis. Same objects ALWAYS yield the same report. Required: context_objects (include the Service; add Machine/Allocation for refund-path detection). Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"participation_radar"},"radar_account":{"description":"Account to analyze — address (0x...) or LocalMark name (resolved to an address). Required when query_type='participation_radar'. The perspective (customer/operator/observer) is DERIVED from on-chain data (Order.builder + PermissionPerm grants) — never asserted by this field.","type":"string"},"radar_targets":{"description":"In-flight orders to analyze (1-20). Required when query_type='participation_radar'. Each target is analyzed independently; results are aggregated into one account dashboard.","minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"progress":{"type":"string","description":"Progress object address (0x...) or LocalMark name. The Progress carries the current node + bound Machine."},"order":{"description":"Order object address or LocalMark name (optional but recommended — enables order-holder detection, service-level compensation/reward claims, and dispute context).","type":"string"}},"required":["progress"],"additionalProperties":false}},"radar_include_alerts":{"description":"Attach order-monitor alerts (progress stall / compensation fund / review & arbitration windows) to each per-order result. Default true.","type":"boolean"},"radar_review_summary":{"description":"Merchant-side review coverage summary (REVIEW-COMPONENT-PLAN batch 4): completed orders vs orders with a structured review record. Review rows live in a caller-named Repository — gather both counts via onchain_table_data (repository rows under the 'review' key, order-keyed → one row per order, F09) and pass them in; the radar derives the merchant-side review-rate hint (high missing rate with a reward attached → reward lapsed or window too short). Omit when no review repository is bound.","type":"object","properties":{"orders_completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"reviews_written":{"type":"integer","minimum":0,"maximum":9007199254740991},"reward_bound":{"type":"boolean"}},"required":["orders_completed","reviews_written"],"additionalProperties":false},"radar_monitor_thresholds":{"description":"Optional per-call overrides for order-monitor alert thresholds (only used when radar_include_alerts is on). All fields optional; omitted fields keep defaults. Units: hours/days as marked per field.","type":"object","properties":{"progress_stall_hours":{"description":"Progress stall alert threshold in HOURS. Default 0 = auto (expected_node_duration × 2).","type":"number","exclusiveMinimum":0},"compensation_drop_ratio":{"description":"Compensation fund drop alert ratio (0-1). Default 0.3 = alert on ≥30% drop.","type":"number","minimum":0,"maximum":1},"compensation_coverage_min":{"description":"Minimum compensation coverage ratio vs order amount (0-1). Default 1.0 = must fully cover.","type":"number","minimum":0,"maximum":1},"messenger_timeout_hours":{"description":"Messenger no-reply timeout in HOURS. Default 24.","type":"number","exclusiveMinimum":0},"review_window_closing_days":{"description":"Review window near-closing alert threshold in DAYS. Default 3.","type":"number","exclusiveMinimum":0},"arb_window_closing_days":{"description":"Arbitration window near-closing alert threshold in DAYS. Default 3.","type":"number","exclusiveMinimum":0}},"additionalProperties":false},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."}},"required":["query_type"],"additionalProperties":false,"description":"In-flight order participation analysis for ONE account (GLM6/94): customer / operator / observer perspective derived from on-chain permission matching (never caller-asserted) — per-order operable forwards (branch choices), waiting_on roles, pending claims (reward/discount/compensation/rating), perspective-specific interest hints, aggregated account dashboard. Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"order_aggregate"},"group":{"description":"Grouping dimension, read from each Order's own fields: 'service' (default — the crowd/group-buy pool per service), 'machine' (per workflow) or 'owner' (per ordering account).","type":"string","enum":["service","machine","owner"]},"group_id":{"description":"Restrict the aggregation to ONE group value (exact address match — e.g. the Service address running a crowd-funding campaign). The funding-target verdict then reads a single row.","type":"string"},"metric":{"description":"Numeric field to sum (default 'amount' — the Order's escrowed payment in smallest units).","type":"string","const":"amount"},"exclude_claimed":{"description":"Exclude orders whose compensation has been claimed (claimed_by set). Default false — pass true so refund/compensation payouts are not double-counted toward a target.","type":"boolean"},"limit":{"description":"Max group rows returned (default 50, max 1000). truncated flags rows beyond the limit; totals ALWAYS cover the full set regardless of the limit.","type":"integer","minimum":1,"maximum":1000},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."}},"required":["query_type"],"additionalProperties":false,"description":"CROSS-ORDER aggregate over Order objects from the MCP index projection (S17-C / F-RQD2-06): count + exact amount sums per group, with the projection's reconciliation coverage attached. Read-side stand-in for the missing on-chain cross-order primitive — crowd/group-buy targets like '3 x 6 WOW >= 18 WOW before funding' are checked HERE until the protocol grows a native aggregate. A STALE projection refuses to answer loudly (INDEX_STALE_PROJECTION — no legacy fallback can aggregate) instead of serving a funding verdict on old data. Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"relationship_profile"},"radar_account":{"description":"Anchor account to analyze — address (0x...) or LocalMark name. Required when query_type='relationship_profile'. ANY distributed account works (not only local accounts): the anchor is just an address; all relationships derive from on-chain power carriers.","type":"string"},"relation_kinds":{"description":"Filter to specific relationship kinds (default: all). employment = merchant × staff (principal-agent); process_operation = machine node operators; agency = order owner × agents; transaction = customer × merchant; supply = demander × presenters; arbitration_delegation = service owner × arbitrators; dispute_resolution = arbitrator × disputants; value_distribution = payer × allocation recipients; contact_membership = communication channel members.","type":"array","items":{"type":"string","enum":["employment","process_operation","agency","transaction","supply","arbitration_delegation","dispute_resolution","value_distribution","contact_membership"]}},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."}},"required":["query_type"],"additionalProperties":false,"description":"Business Relationship Graph (K3/19): derive ONE account's full relationship web from on-chain power carriers (Permission memberships, Machine forwards, Orders, Demand presenters, Allocation sharing, Arbitration bindings, Contact ims). Each edge carries the three dimensions — power (what each side CAN do, and where that power lives on-chain), interest (gains/exposures, with registry-declared goal tensions like principal-agent divergence), and value flows (escrow → allocation → payment chains). Read-only; roles are DERIVED from chain data, never asserted."},{"type":"object","properties":{"query_type":{"type":"string","const":"scenario_topology"},"chain_id":{"description":"Optional scenario-chain id (chain.standard_ecommerce | chain.procurement_tender | chain.data_subscription | chain.collaborative_operations). When given, only that chain is returned; otherwise ALL scenario chains + bridges are returned.","type":"string"}},"required":["query_type"],"additionalProperties":false,"description":"Scenario Topology knowledge (K3 03 §3.5 / Part 2): the STATIC registry of how WoWok objects INTEGRATE each other. Bridges weld object pairs into a capability that belongs to no single object (e.g. Demand.present(service) grants MATCHMAKING); chains compose bridges into whole applications (e.g. standard e-commerce, procurement tender). Pure knowledge, read-only — no on-chain reads. Use to explain HOW a business scenario is assembled from on-chain objects and why the integration (not the objects themselves) yields the capability."},{"type":"object","properties":{"query_type":{"type":"string","const":"workspace_lists"},"no_cache":{"description":"Set to true to bypass both the aggregation cache and the SDK chain-read cache.","type":"boolean"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"account":{"description":"Scope the aggregation to ONE account address (the client's current account). Omit to aggregate across ALL local accounts.","type":"string"},"light":{"description":"Set to true for the fast first-paint phase: rows carry address / type / name / time only, skipping the per-object enrichment (dead-object probe, registrar votes, per-family extras). Used for progressive list loading; the client merges the full result afterwards.","type":"boolean"}},"required":["query_type"],"additionalProperties":false,"description":"ONE-CALL workspace object lists for ONE account (client Quick Access workspace buckets) — pass `account` to scope to the current account; omit to aggregate across ALL local accounts: treasuries / repositories / contacts / machines / rewards come from the unified permission reverse chain (account → EntityPermission @0xaad → permission-keyed ObjectLinkerCore @0xaae, the ONE source every permission-bearing object family writes to) plus account-keyed EntityContact memberships (@0xaa9) for contacts; others = account-keyed ObjectLinkerTx (@0xaaf) touches, deduplicated, minus all classified business types. Each item: object address + type + local name + time. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"marks_of_account"},"no_cache":{"description":"Set to true to bypass both the aggregation cache and the SDK chain-read cache.","type":"boolean"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"account":{"description":"Scope to ONE account address (the client's current account). Omit to merge across ALL local accounts.","type":"string"},"light":{"description":"Set to true for the fast first-paint phase: rows carry address / type only (vote_kinds is empty until the full result), skipping the per-target registrar-vote reads + object enrichment. Used for progressive list loading; the client merges the full result afterwards.","type":"boolean"}},"required":["query_type"],"additionalProperties":false,"description":"Like / Favor list for ONE account (client Quick Access 'Like / Favor' tab) — every address (object OR plain user) the account has EVER liked / disliked / favored, deduplicated, with the CURRENT active vote kinds per target. Deterministic source: the voter's own Resource mark table, cross-read with the target's EntityLinker votes for the 'marked at' clock. Fully-toggled-off targets are dropped. Each row: address + tags (like/dislike/favor) + time + object_type (null = plain user) + local name / description / tags. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"migration_preflight"},"no_cache":{"description":"Set to true to bypass the SDK chain-read cache.","type":"boolean"},"account":{"type":"string","description":"Account address (or name) to check. Required when query_type='migration_preflight'."},"source_network":{"description":"Source network to detect an existing build (default 'testnet').","type":"string","enum":["testnet","mainnet","localnet"]},"target_network":{"description":"Target network for the migration (default 'mainnet').","type":"string","enum":["testnet","mainnet","localnet"]}},"required":["query_type","account"],"additionalProperties":false,"description":"Cross-network build detection + mainnet customization preflight (first-touch migration): detect whether the account has already built Services/Machines/etc. on the source network (default testnet), report the same on the target network (default mainnet), and return a business-facing checklist of the key settings to confirm/change when migrating — payment token, location, arbitration, WIP, gas. Read-only."},{"type":"object","properties":{"query_type":{"type":"string","const":"onchain_topology"},"focus":{"description":"Seed of the topology — an on-chain address (EOA 0x00… or any object 0x10..0x24/0xf1) or a LocalMark name (resolved automatically). Required when query_type='onchain_topology'. The read-side topology kernel expands OUTWARD from this seed over the machine-readable EdgeSchema: holder fields, global reverse indexes (orders/permissions/bindings/votes), Machine node tables (the workflow graph) and derived money-flow edges.","type":"string"},"context_network":{"type":"string","enum":["testnet","mainnet","localnet"],"description":"Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."},"intent":{"description":"SEMANTIC exploration strategy (G3) — what this topology call is trying to establish. Deterministically shapes the edge whitelist, per-family depth caps and budget: full_map=complete structural map; order_health=order lifecycle+completion+disputes; fund_flow=payments+allocation waterfall+guard-gated splits; workflow=Machine node graphs+transitions+progress; counterparty=who is on the other side (buyer/seller/agents/operators); reputation=votes+arbitration record+contacts; permission=permission groups+bindings+entity tables; supply_chain=multi-leg allocation/sub-order settlement; arbitration=dispute cases+voters; demand_match=demand presenters+guards+rewards. When omitted, defaults come from the persona system (role default intents < account persona preference), then industry templates; every applied layer is reported in result.strategy.trace.","type":"string","enum":["full_map","order_health","fund_flow","workflow","counterparty","reputation","permission","supply_chain","arbitration","demand_match"]},"role":{"description":"Identity lens for the default strategy: the persona role whose default intents and RoleProfile.topology preference drive the exploration when 'intent' is omitted (e.g. prospect → counterparty+reputation+fund_flow due diligence).","type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industry":{"description":"Industry template lens (freelance/rental/education/travel/subscription/retail or a registered pack industry): shapes per-family depth caps — e.g. rental deepens money edges (deposit round-trip), travel deepens workflow (multi-leg trips).","type":"string"},"context_account":{"description":"Optional EOA address whose persona record supplies the identity-specific exploration preference (RoleProfile.topology). Omit to use the system persona. Also serves as the OBSERVER of the G2 role-interest view when interest_role is set.","type":"string"},"interest_role":{"description":"G2 role interest view — project THIS CommercialRole's complete interest view (interest-assessment stakes + node-game actions + counterparties + risk reminders) for context_account (or the seed when it is an EOA) over the same expanded graph. The view is returned as result.role_interest and as one IR:<role> finding carrying the same structured payload. Scoring comes exclusively from the evaluation game modules; when omitted, defaults to the persona 'role' lens if provided.","type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator","neutral","system"]},"facets":{"description":"Per-call facet overrides keyed by the ten facet ids (fund_safety/reputation/arbitration/fulfillment/offering_price/workflow/fund_flow/supply_chain/permission/my_stakes). Highest-precedence lens over the role, industry and persona defaults; unknown facet ids are ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"visible":{"description":"Hide the facet from the returned items (default visible).","type":"boolean"},"order":{"description":"Explicit reading-order rank.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"weight":{"description":"Facet emphasis — distributed to bound rules by document-default proportions (single scoring channel).","type":"number","minimum":0},"threshold":{"description":"Card-highlight hint only; never an engine gate.","type":"number","minimum":0,"maximum":100}},"additionalProperties":false}},"no_cache":{"description":"Set true to bypass the SDK chain-read cache. In-call batching/dedup still applies.","type":"boolean"},"analyze":{"description":"Run the registered graph Analyzer suite (R/A/O/G — risk / structural-arbitrage / opportunity / game) over the NEUTRAL viewport and return objective findings. Default true; set false for raw topology only. Findings are facts + structural suggestions, never scores — scoring stays in the game-theory modules.","type":"boolean"},"analyzer_kinds":{"description":"Filter analyzer kinds when analyze=true (default: all four): risk=R rules, arbitrage=A structural-arbitrage, opportunity=O, game=G objective situations.","type":"array","items":{"type":"string","enum":["risk","arbitrage","opportunity","game"]}},"only_analyzers":{"description":"Run ONLY these analyzer ids (whitelist, e.g. ['R1','G2']). The full registered id list is returned in `analyzers` of every response.","type":"array","items":{"type":"string"}},"include_raw":{"description":"Attach each node's full raw on-chain object as nodes[].raw. Default false — nodes then carry only kind/object_type/coin_type/state/depth, keeping the payload compact.","type":"boolean"},"table_edges":{"description":"Dynamic-table edges to expand (channel B). Default ['machine.node'] — expands every reached Machine's workflow node table and DERIVES the wf.transition graph. Add 'permission.entity' for permission-group members (EOA/Guard + perm indices) and 'demand.presenter' for demand proposals.","type":"array","items":{"type":"string","enum":["machine.node","permission.entity","demand.presenter"]}},"event_edges":{"description":"Event-derived history edges to expand (channel D, append-only streams, windowless). Default: none (events are opt-in only). 'service.order_history' walks the shop's complete NewOrderEvent stream (beyond the FIFO 5200 shop-order window); 'eoa.order_history' the orders the account created as transacting buyer; 'arb.history' every dispute case an arbitration service handled. Page-budget truncation is reported (windowed confidence), never silent.","type":"array","items":{"type":"string","enum":["service.order_history","eoa.order_history","arb.history"]}},"schema_hops":{"description":"Per-edge-schema traversal caps: how many times an edge of this schema may be crossed on any seed→object path, e.g. {'guard.relies':1}. Only narrows contract-level caps; 0 blocks the schema entirely. Unknown schema ids and out-of-range values are dropped (reported in strategy.trace).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":8}},"budget":{"description":"Optional expansion-budget overrides. Every fetch stays batched (<=50 ids/request) regardless of these caps; exhaustion is reported honestly in budget_exhausted.","type":"object","properties":{"max_depth":{"description":"BFS wave depth (default 4).","type":"integer","minimum":0,"maximum":8},"max_nodes":{"description":"Hard node cap (default 500).","type":"integer","minimum":1,"maximum":3000},"max_rpcs":{"description":"Hard logical RPC-batch cap; each batch carries at most 50 ids (default 120).","type":"integer","minimum":1,"maximum":400},"max_fanout":{"description":"Per-node fanout cap per edge schema (default 60).","type":"integer","minimum":1,"maximum":5200}},"additionalProperties":false}},"required":["query_type"],"additionalProperties":false,"description":"Read-only on-chain TOPOLOGY network around ONE seed address: batched multi-hop BFS over the machine-readable EdgeSchema (never per-id RPC; objects / EOA keyed fields / tables / events use four separate batched channels). Returns nodes + typed edges (family F=field / R=reverse-index / W=workflow / M=money-flow / S=social) with per-edge retention semantics (complete / bounded_exact / membership / bounded_window / derived), the STRUCTURAL workflow subgraph of each reached Machine (incl. its structural terminal set), structural completion of every Order reached, R/A/O/G analyzer findings, and truncation / data-gap / budget honesty markers. Read-only."}]}