@wowok/agent-mcp 3.0.4 → 3.0.5

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 (248) hide show
  1. package/dist/evaluation/path-reasoning.d.ts +4 -2
  2. package/dist/evaluation/path-reasoning.js +1 -1
  3. package/dist/extensions/constraint-registry.d.ts +2 -2
  4. package/dist/extensions/constraint-registry.js +1 -1
  5. package/dist/extensions/custom-registry-file.d.ts +22 -0
  6. package/dist/extensions/custom-registry-file.js +1 -0
  7. package/dist/extensions/index.d.ts +2 -1
  8. package/dist/extensions/index.js +1 -1
  9. package/dist/extensions/industry-pack.d.ts +7 -0
  10. package/dist/extensions/industry-pack.js +1 -1
  11. package/dist/extensions/metric-registry.d.ts +2 -2
  12. package/dist/extensions/metric-registry.js +1 -1
  13. package/dist/extensions/modes.js +1 -1
  14. package/dist/extensions/registry.d.ts +2 -2
  15. package/dist/extensions/registry.js +1 -1
  16. package/dist/extensions/types.d.ts +4 -0
  17. package/dist/goal/GoalEngine.d.ts +13 -1
  18. package/dist/goal/GoalEngine.js +1 -1
  19. package/dist/goal/next-steps.d.ts +12 -0
  20. package/dist/goal/next-steps.js +1 -0
  21. package/dist/goal/pursue.d.ts +18 -0
  22. package/dist/goal/pursue.js +1 -0
  23. package/dist/goal/types.d.ts +72 -0
  24. package/dist/goal/types.js +1 -1
  25. package/dist/graph/onchain/analyze.d.ts +44 -0
  26. package/dist/graph/onchain/analyze.js +1 -0
  27. package/dist/graph/onchain/analyze.spec.d.ts +1 -0
  28. package/dist/graph/onchain/analyze.spec.js +1 -0
  29. package/dist/graph/onchain/anti-cheat.d.ts +39 -0
  30. package/dist/graph/onchain/anti-cheat.js +1 -0
  31. package/dist/graph/onchain/anti-cheat.spec.d.ts +1 -0
  32. package/dist/graph/onchain/anti-cheat.spec.js +1 -0
  33. package/dist/graph/onchain/dataplane.d.ts +44 -0
  34. package/dist/graph/onchain/dataplane.js +1 -0
  35. package/dist/graph/onchain/edge-schema.d.ts +60 -0
  36. package/dist/graph/onchain/edge-schema.js +1 -0
  37. package/dist/graph/onchain/expand.d.ts +4 -0
  38. package/dist/graph/onchain/expand.js +1 -0
  39. package/dist/graph/onchain/extract.d.ts +21 -0
  40. package/dist/graph/onchain/extract.js +1 -0
  41. package/dist/graph/onchain/index.d.ts +17 -0
  42. package/dist/graph/onchain/index.js +1 -0
  43. package/dist/graph/onchain/interest.d.ts +10 -0
  44. package/dist/graph/onchain/interest.js +1 -0
  45. package/dist/graph/onchain/interest.spec.d.ts +1 -0
  46. package/dist/graph/onchain/interest.spec.js +1 -0
  47. package/dist/graph/onchain/onchain.spec.d.ts +1 -0
  48. package/dist/graph/onchain/onchain.spec.js +1 -0
  49. package/dist/graph/onchain/order-status.d.ts +53 -0
  50. package/dist/graph/onchain/order-status.js +1 -0
  51. package/dist/graph/onchain/project-relationship.d.ts +3 -0
  52. package/dist/graph/onchain/project-relationship.js +1 -0
  53. package/dist/graph/onchain/sdk-batch.d.ts +117 -0
  54. package/dist/graph/onchain/sdk-batch.js +1 -0
  55. package/dist/graph/onchain/sdk-dataplane.d.ts +40 -0
  56. package/dist/graph/onchain/sdk-dataplane.js +1 -0
  57. package/dist/graph/onchain/strategy.d.ts +54 -0
  58. package/dist/graph/onchain/strategy.js +1 -0
  59. package/dist/graph/onchain/strategy.spec.d.ts +1 -0
  60. package/dist/graph/onchain/strategy.spec.js +1 -0
  61. package/dist/graph/onchain/types.d.ts +238 -0
  62. package/dist/graph/onchain/types.js +1 -0
  63. package/dist/graph/onchain/viewport.d.ts +5 -0
  64. package/dist/graph/onchain/viewport.js +1 -0
  65. package/dist/harness/recover.js +1 -1
  66. package/dist/index.js +1 -1
  67. package/dist/intent/enrich.js +1 -1
  68. package/dist/keeper/detectors.d.ts +1 -1
  69. package/dist/keeper/detectors.js +1 -1
  70. package/dist/knowledge/account-marks.js +1 -1
  71. package/dist/knowledge/anti-cheat.d.ts +2 -37
  72. package/dist/knowledge/anti-cheat.js +1 -1
  73. package/dist/knowledge/contract-invariants.js +1 -1
  74. package/dist/knowledge/getting-started.d.ts +37 -0
  75. package/dist/knowledge/getting-started.js +1 -0
  76. package/dist/knowledge/goal-completion.js +1 -1
  77. package/dist/knowledge/guard-render.d.ts +1 -0
  78. package/dist/knowledge/guard-render.js +1 -1
  79. package/dist/knowledge/guard-submission-brief.d.ts +83 -0
  80. package/dist/knowledge/guard-submission-brief.js +1 -0
  81. package/dist/knowledge/guard-submission-prompt.d.ts +13 -0
  82. package/dist/knowledge/guard-submission-prompt.js +1 -1
  83. package/dist/knowledge/index.d.ts +6 -4
  84. package/dist/knowledge/index.js +1 -1
  85. package/dist/knowledge/industry-registry.js +1 -1
  86. package/dist/knowledge/industry-strategy.d.ts +91 -0
  87. package/dist/knowledge/industry-strategy.js +1 -0
  88. package/dist/knowledge/jsonrpc-enum.js +1 -1
  89. package/dist/knowledge/market-metrics.d.ts +14 -3
  90. package/dist/knowledge/market-metrics.js +1 -1
  91. package/dist/knowledge/migration-preflight.js +1 -1
  92. package/dist/knowledge/operation-dictionary.d.ts +1 -1
  93. package/dist/knowledge/safety-rules.js +1 -1
  94. package/dist/knowledge/scenario-topology.d.ts +6 -1
  95. package/dist/knowledge/scenario-topology.js +1 -1
  96. package/dist/knowledge/service-risk-node.d.ts +3 -0
  97. package/dist/knowledge/service-risk-node.js +1 -0
  98. package/dist/knowledge/service-risk.d.ts +2 -0
  99. package/dist/knowledge/service-risk.js +1 -1
  100. package/dist/knowledge/service-templates.d.ts +2 -0
  101. package/dist/knowledge/service-templates.js +1 -1
  102. package/dist/knowledge/strategy-manuals.d.ts +17 -0
  103. package/dist/knowledge/strategy-manuals.js +1 -0
  104. package/dist/knowledge/supply-chain.d.ts +3 -1
  105. package/dist/knowledge/supply-chain.js +1 -1
  106. package/dist/knowledge/template-registry.js +1 -1
  107. package/dist/knowledge/tools-reference.js +1 -1
  108. package/dist/knowledge/workflow-guidance.d.ts +3 -118
  109. package/dist/knowledge/workflow-guidance.js +1 -1
  110. package/dist/knowledge/workspace-lists.js +1 -1
  111. package/dist/monitor/MonitorLoop.js +1 -1
  112. package/dist/monitor/ScopeResolver.js +1 -1
  113. package/dist/participation/radar-core.d.ts +15 -15
  114. package/dist/participation/radar-core.js +1 -1
  115. package/dist/persona/analyzer.d.ts +2 -1
  116. package/dist/persona/bridge.d.ts +5 -1
  117. package/dist/persona/bridge.js +1 -1
  118. package/dist/persona/defaults.js +1 -1
  119. package/dist/persona/distill-goal.d.ts +7 -1
  120. package/dist/persona/distill-goal.js +1 -1
  121. package/dist/persona/index.d.ts +13 -3
  122. package/dist/persona/index.js +1 -1
  123. package/dist/persona/model.d.ts +12 -2
  124. package/dist/persona/model.js +1 -1
  125. package/dist/persona/overrides.d.ts +1 -0
  126. package/dist/persona/overrides.js +1 -1
  127. package/dist/persona/topology-focus.d.ts +29 -0
  128. package/dist/persona/topology-focus.js +1 -0
  129. package/dist/persona/types.d.ts +81 -0
  130. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  131. package/dist/playbooks/service-build/context-assembly.js +1 -1
  132. package/dist/playbooks/service-build/machine-nodes.js +1 -1
  133. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  134. package/dist/playbooks/service-build/object-panorama.js +1 -1
  135. package/dist/playbooks/service-build/participation-radar.js +1 -1
  136. package/dist/playbooks/service-build/relationship-profile.d.ts +1 -0
  137. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  138. package/dist/playbooks/service-build/service-panorama.d.ts +4 -0
  139. package/dist/playbooks/service-build/service-panorama.js +1 -1
  140. package/dist/playbooks/service-build/topology-query.d.ts +14 -0
  141. package/dist/playbooks/service-build/topology-query.js +1 -0
  142. package/dist/role/index.d.ts +1 -0
  143. package/dist/role/index.js +1 -1
  144. package/dist/role/profiles.d.ts +26 -0
  145. package/dist/role/profiles.js +1 -0
  146. package/dist/safety/confirm-gate.d.ts +4 -1
  147. package/dist/safety/confirm-gate.js +1 -1
  148. package/dist/schema/call/allocation.d.ts +6 -6
  149. package/dist/schema/call/bridge.d.ts +1 -1
  150. package/dist/schema/call/guard.d.ts +20 -20
  151. package/dist/schema/call/repository.js +1 -1
  152. package/dist/schema/call/semantic.js +1 -1
  153. package/dist/schema/call/service.d.ts +4 -4
  154. package/dist/schema/common/index.js +1 -1
  155. package/dist/schema/employee/index.d.ts +7 -7
  156. package/dist/schema/evaluation/index.d.ts +22 -9
  157. package/dist/schema/evaluation/index.js +1 -1
  158. package/dist/schema/goal/index.d.ts +37 -1
  159. package/dist/schema/goal/index.js +1 -1
  160. package/dist/schema/goal/planning.d.ts +1 -1
  161. package/dist/schema/index.d.ts +1 -0
  162. package/dist/schema/index.js +1 -1
  163. package/dist/schema/industry-pack/index.d.ts +7 -0
  164. package/dist/schema/industry-pack/index.js +1 -1
  165. package/dist/schema/local/index.d.ts +8 -4
  166. package/dist/schema/local/index.js +1 -1
  167. package/dist/schema/messenger/index.d.ts +318 -64
  168. package/dist/schema/messenger/index.js +1 -1
  169. package/dist/schema/operations.d.ts +146 -11
  170. package/dist/schema/operations.js +1 -1
  171. package/dist/schema/persona/index.d.ts +15743 -0
  172. package/dist/schema/persona/index.js +1 -1
  173. package/dist/schema/query/bi.d.ts +869 -2
  174. package/dist/schema/query/bi.js +1 -1
  175. package/dist/schema/query/index.d.ts +163 -41
  176. package/dist/schema/query/index.js +1 -1
  177. package/dist/schema/schema-query/index.d.ts +16 -0
  178. package/dist/schema/schema-query/index.js +1 -1
  179. package/dist/schema/schema-version.js +1 -1
  180. package/dist/schema/strategy-review/index.d.ts +137 -0
  181. package/dist/schema/strategy-review/index.js +1 -0
  182. package/dist/schema/trust/index.d.ts +6 -6
  183. package/dist/schema/workflow/index.d.ts +2 -2
  184. package/dist/schema-query-impl/index.js +1 -1
  185. package/dist/schemas/account_operation.output.json +8 -4
  186. package/dist/schemas/account_operation.schema.json +6 -2
  187. package/dist/schemas/evaluation_operation.output.json +24 -0
  188. package/dist/schemas/goal_operation.schema.json +124 -0
  189. package/dist/schemas/index.json +7 -1
  190. package/dist/schemas/industry_pack_operation.output.json +39 -0
  191. package/dist/schemas/local_mark_operation.schema.json +2 -2
  192. package/dist/schemas/messenger_operation.output.json +670 -200
  193. package/dist/schemas/messenger_operation.schema.json +66 -239
  194. package/dist/schemas/onchain_operations.schema.json +3 -3
  195. package/dist/schemas/onchain_operations_repository.schema.json +3 -3
  196. package/dist/schemas/onchain_table_data.output.json +184 -0
  197. package/dist/schemas/onchain_table_data.schema.json +43 -43
  198. package/dist/schemas/persona_operation.output.json +37778 -262
  199. package/dist/schemas/persona_operation.schema.json +5960 -1
  200. package/dist/schemas/query_toolkit.output.json +1580 -2
  201. package/dist/schemas/query_toolkit.schema.json +194 -32
  202. package/dist/schemas/schema_query.schema.json +25 -1
  203. package/dist/schemas/strategy_review_operation.output.json +532 -0
  204. package/dist/schemas/strategy_review_operation.schema.json +66 -0
  205. package/dist/schemas/wowok_buildin_info.output.json +188 -6
  206. package/dist/schemas/wowok_buildin_info.schema.json +14 -0
  207. package/dist/strategy/collectors.d.ts +66 -0
  208. package/dist/strategy/collectors.js +1 -0
  209. package/dist/strategy/collectors.spec.d.ts +1 -0
  210. package/dist/strategy/collectors.spec.js +1 -0
  211. package/dist/strategy/index.d.ts +5 -0
  212. package/dist/strategy/index.js +1 -0
  213. package/dist/strategy/metrics.d.ts +20 -0
  214. package/dist/strategy/metrics.js +1 -0
  215. package/dist/strategy/review.d.ts +48 -0
  216. package/dist/strategy/review.js +1 -0
  217. package/dist/strategy/scorecard.d.ts +32 -0
  218. package/dist/strategy/scorecard.js +1 -0
  219. package/dist/strategy/store.d.ts +26 -0
  220. package/dist/strategy/store.js +1 -0
  221. package/dist/tools/handlers/config.js +1 -1
  222. package/dist/tools/handlers/evaluation.js +1 -1
  223. package/dist/tools/handlers/goal.js +1 -1
  224. package/dist/tools/handlers/industry-pack.js +1 -1
  225. package/dist/tools/handlers/local.js +1 -1
  226. package/dist/tools/handlers/messenger.js +1 -1
  227. package/dist/tools/handlers/onchain.js +1 -1
  228. package/dist/tools/handlers/permission.js +1 -1
  229. package/dist/tools/handlers/persona.js +1 -1
  230. package/dist/tools/handlers/query.d.ts +6 -0
  231. package/dist/tools/handlers/query.js +1 -1
  232. package/dist/tools/handlers/schema-query.js +1 -1
  233. package/dist/tools/handlers/strategy-review.d.ts +2 -0
  234. package/dist/tools/handlers/strategy-review.js +1 -0
  235. package/dist/tools/handlers/watch.js +1 -1
  236. package/dist/tools/handlers/workflow.js +1 -1
  237. package/dist/tools/index.d.ts +3 -0
  238. package/dist/tools/index.js +1 -1
  239. package/dist/tools/registry/agent.js +1 -1
  240. package/dist/tools/registry/business.js +1 -1
  241. package/dist/tools/registry/local.js +1 -1
  242. package/dist/tools/registry/messenger.js +1 -1
  243. package/dist/tools/registry/query.js +1 -1
  244. package/dist/tools/rules-hook.js +1 -1
  245. package/dist/tools/shared.d.ts +2 -1
  246. package/dist/tools/shared.js +1 -1
  247. package/dist/tools/wrap.js +1 -1
  248. package/package.json +2 -2
@@ -248,7 +248,7 @@
248
248
  "const": "account_balance"
249
249
  },
250
250
  "name_or_address": {
251
- "description": "Account name or address to query. Examples: \"my_account\", \"0xabc123...\", or \"\" for the default account. NOTE: This field is NOT named 'filter' — use 'name_or_address' directly. Defaults to '' (default account) if omitted.",
251
+ "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.",
252
252
  "type": "string"
253
253
  },
254
254
  "balance": {
@@ -289,20 +289,20 @@
289
289
  "type": "string"
290
290
  },
291
291
  "network": {
292
+ "description": "Network to query: 'mainnet' or '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.",
292
293
  "type": "string",
293
294
  "enum": [
294
295
  "localnet",
295
296
  "testnet",
296
297
  "mainnet"
297
- ],
298
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
298
+ ]
299
299
  }
300
300
  },
301
301
  "required": [
302
302
  "query_type"
303
303
  ],
304
304
  "additionalProperties": false,
305
- "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 not needed and not accepted on this query type. PARAMETERS: Use 'name_or_address' to specify the account (NOT 'filter'). 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? }"
305
+ "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 not needed and not accepted on this query type. 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? }"
306
306
  },
307
307
  {
308
308
  "type": "object",
@@ -334,7 +334,7 @@
334
334
  "const": "onchain_personal_profile"
335
335
  },
336
336
  "account": {
337
- "description": "Account name or ID to query. Use empty string '' for the default account.",
337
+ "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'.",
338
338
  "type": "string"
339
339
  },
340
340
  "no_cache": {
@@ -342,13 +342,13 @@
342
342
  "type": "boolean"
343
343
  },
344
344
  "network": {
345
+ "description": "Network to query: 'mainnet' or '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.",
345
346
  "type": "string",
346
347
  "enum": [
347
348
  "localnet",
348
349
  "testnet",
349
350
  "mainnet"
350
- ],
351
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
351
+ ]
352
352
  }
353
353
  },
354
354
  "required": [
@@ -377,13 +377,13 @@
377
377
  "type": "boolean"
378
378
  },
379
379
  "network": {
380
+ "description": "Network to query: 'mainnet' or '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.",
380
381
  "type": "string",
381
382
  "enum": [
382
383
  "localnet",
383
384
  "testnet",
384
385
  "mainnet"
385
- ],
386
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
386
+ ]
387
387
  }
388
388
  },
389
389
  "required": [
@@ -465,13 +465,13 @@
465
465
  "type": "boolean"
466
466
  },
467
467
  "network": {
468
+ "description": "Network to query: 'mainnet' or '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.",
468
469
  "type": "string",
469
470
  "enum": [
470
471
  "localnet",
471
472
  "testnet",
472
473
  "mainnet"
473
- ],
474
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
474
+ ]
475
475
  }
476
476
  },
477
477
  "required": [
@@ -497,13 +497,13 @@
497
497
  "type": "boolean"
498
498
  },
499
499
  "network": {
500
+ "description": "Network to query: 'mainnet' or '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.",
500
501
  "type": "string",
501
502
  "enum": [
502
503
  "localnet",
503
504
  "testnet",
504
505
  "mainnet"
505
- ],
506
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
506
+ ]
507
507
  }
508
508
  },
509
509
  "required": [
@@ -522,7 +522,7 @@
522
522
  },
523
523
  "object": {
524
524
  "type": "string",
525
- "description": "Object ID (0x...) or LocalMark name. Query the provenance chain — every transaction that created, mutated, or deleted this object. Use to trace how an object reached its current state."
525
+ "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."
526
526
  },
527
527
  "cursor": {
528
528
  "description": "Pagination cursor from previous page's next_cursor",
@@ -564,13 +564,13 @@
564
564
  "type": "boolean"
565
565
  },
566
566
  "network": {
567
+ "description": "Network to query: 'mainnet' or '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.",
567
568
  "type": "string",
568
569
  "enum": [
569
570
  "localnet",
570
571
  "testnet",
571
572
  "mainnet"
572
- ],
573
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
573
+ ]
574
574
  }
575
575
  },
576
576
  "required": [
@@ -600,13 +600,13 @@
600
600
  "type": "boolean"
601
601
  },
602
602
  "network": {
603
+ "description": "Network to query: 'mainnet' or '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.",
603
604
  "type": "string",
604
605
  "enum": [
605
606
  "localnet",
606
607
  "testnet",
607
608
  "mainnet"
608
- ],
609
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
609
+ ]
610
610
  }
611
611
  },
612
612
  "required": [
@@ -614,7 +614,7 @@
614
614
  "objects"
615
615
  ],
616
616
  "additionalProperties": false,
617
- "description": "Batch query the LAST on-chain update time of objects — the timestamp of the most recent transaction that touched each object (SDK query_object_last_updated, cached TTL 2 min). Use for 'updated' stamps on list items. Returns: { items: [{ object, timestamp_ms, digest, sender }] }"
617
+ "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 }] }"
618
618
  },
619
619
  {
620
620
  "type": "object",
@@ -644,7 +644,15 @@
644
644
  "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."
645
645
  }
646
646
  ],
647
- "description": "Address (0x...) or account name. Query all on-chain activity by this actor — every transaction they sent. Use to build a user's on-chain activity profile or verify an actor's history."
647
+ "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."
648
+ },
649
+ "direction": {
650
+ "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).",
651
+ "type": "string",
652
+ "enum": [
653
+ "sent",
654
+ "received"
655
+ ]
648
656
  },
649
657
  "cursor": {
650
658
  "description": "Pagination cursor from previous page's next_cursor",
@@ -686,13 +694,13 @@
686
694
  "type": "boolean"
687
695
  },
688
696
  "network": {
697
+ "description": "Network to query: 'mainnet' or '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.",
689
698
  "type": "string",
690
699
  "enum": [
691
700
  "localnet",
692
701
  "testnet",
693
702
  "mainnet"
694
- ],
695
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
703
+ ]
696
704
  }
697
705
  },
698
706
  "required": [
@@ -700,7 +708,7 @@
700
708
  "name_or_address"
701
709
  ],
702
710
  "additionalProperties": false,
703
- "description": "FORENSICS TOOL — query all transactions sent by an address. 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 only. Returns: TransactionHistoryAnswer | undefined"
711
+ "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"
704
712
  },
705
713
  {
706
714
  "type": "object",
@@ -736,13 +744,13 @@
736
744
  ]
737
745
  },
738
746
  "network": {
747
+ "description": "Network to query: 'mainnet' or '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.",
739
748
  "type": "string",
740
749
  "enum": [
741
750
  "localnet",
742
751
  "testnet",
743
752
  "mainnet"
744
- ],
745
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
753
+ ]
746
754
  }
747
755
  },
748
756
  "required": [
@@ -780,20 +788,20 @@
780
788
  "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."
781
789
  }
782
790
  ],
783
- "description": "Address to profile. Supports string (name/address) or object form. LocalMark names are resolved automatically."
791
+ "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'."
784
792
  },
785
793
  "no_cache": {
786
794
  "description": "Set to true to bypass cache and fetch fresh on-chain data",
787
795
  "type": "boolean"
788
796
  },
789
797
  "network": {
798
+ "description": "Network to query: 'mainnet' or '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.",
790
799
  "type": "string",
791
800
  "enum": [
792
801
  "localnet",
793
802
  "testnet",
794
803
  "mainnet"
795
- ],
796
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
804
+ ]
797
805
  }
798
806
  },
799
807
  "required": [
@@ -844,13 +852,13 @@
844
852
  "type": "boolean"
845
853
  },
846
854
  "network": {
855
+ "description": "Network to query: 'mainnet' or '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.",
847
856
  "type": "string",
848
857
  "enum": [
849
858
  "localnet",
850
859
  "testnet",
851
860
  "mainnet"
852
- ],
853
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
861
+ ]
854
862
  }
855
863
  },
856
864
  "required": [
@@ -895,13 +903,13 @@
895
903
  "type": "boolean"
896
904
  },
897
905
  "network": {
906
+ "description": "Network to query: 'mainnet' or '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.",
898
907
  "type": "string",
899
908
  "enum": [
900
909
  "localnet",
901
910
  "testnet",
902
911
  "mainnet"
903
- ],
904
- "description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
912
+ ]
905
913
  }
906
914
  },
907
915
  "required": [
@@ -1366,6 +1374,160 @@
1366
1374
  ],
1367
1375
  "additionalProperties": false,
1368
1376
  "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."
1377
+ },
1378
+ {
1379
+ "type": "object",
1380
+ "properties": {
1381
+ "query_type": {
1382
+ "type": "string",
1383
+ "const": "onchain_topology"
1384
+ },
1385
+ "focus": {
1386
+ "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.",
1387
+ "type": "string"
1388
+ },
1389
+ "context_network": {
1390
+ "type": "string",
1391
+ "enum": [
1392
+ "testnet",
1393
+ "mainnet",
1394
+ "localnet"
1395
+ ],
1396
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1397
+ },
1398
+ "intent": {
1399
+ "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.",
1400
+ "type": "string",
1401
+ "enum": [
1402
+ "full_map",
1403
+ "order_health",
1404
+ "fund_flow",
1405
+ "workflow",
1406
+ "counterparty",
1407
+ "reputation",
1408
+ "permission",
1409
+ "supply_chain",
1410
+ "arbitration",
1411
+ "demand_match"
1412
+ ]
1413
+ },
1414
+ "role": {
1415
+ "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).",
1416
+ "type": "string",
1417
+ "enum": [
1418
+ "merchant",
1419
+ "customer",
1420
+ "demander",
1421
+ "prospect",
1422
+ "supplier",
1423
+ "collaborator",
1424
+ "arbitrator"
1425
+ ]
1426
+ },
1427
+ "industry": {
1428
+ "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).",
1429
+ "type": "string"
1430
+ },
1431
+ "context_account": {
1432
+ "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.",
1433
+ "type": "string"
1434
+ },
1435
+ "interest_role": {
1436
+ "description": "G2 role interest view — project THIS CommercialRole's complete interest view (利益评估 stakes + 可行操作路径 node-game actions + 博弈对手分析 + 风险提醒) 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.",
1437
+ "type": "string",
1438
+ "enum": [
1439
+ "merchant",
1440
+ "customer",
1441
+ "demander",
1442
+ "prospect",
1443
+ "supplier",
1444
+ "collaborator",
1445
+ "arbitrator",
1446
+ "neutral",
1447
+ "system"
1448
+ ]
1449
+ },
1450
+ "no_cache": {
1451
+ "description": "Set true to bypass the SDK chain-read cache. In-call batching/dedup still applies.",
1452
+ "type": "boolean"
1453
+ },
1454
+ "analyze": {
1455
+ "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.",
1456
+ "type": "boolean"
1457
+ },
1458
+ "analyzer_kinds": {
1459
+ "description": "Filter analyzer kinds when analyze=true (default: all four): risk=R rules, arbitrage=A structural-arbitrage, opportunity=O, game=G objective situations.",
1460
+ "type": "array",
1461
+ "items": {
1462
+ "type": "string",
1463
+ "enum": [
1464
+ "risk",
1465
+ "arbitrage",
1466
+ "opportunity",
1467
+ "game"
1468
+ ]
1469
+ }
1470
+ },
1471
+ "only_analyzers": {
1472
+ "description": "Run ONLY these analyzer ids (whitelist, e.g. ['R1','G2']). The full registered id list is returned in `analyzers` of every response.",
1473
+ "type": "array",
1474
+ "items": {
1475
+ "type": "string"
1476
+ }
1477
+ },
1478
+ "include_raw": {
1479
+ "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.",
1480
+ "type": "boolean"
1481
+ },
1482
+ "table_edges": {
1483
+ "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.",
1484
+ "type": "array",
1485
+ "items": {
1486
+ "type": "string",
1487
+ "enum": [
1488
+ "machine.node",
1489
+ "permission.entity",
1490
+ "demand.presenter"
1491
+ ]
1492
+ }
1493
+ },
1494
+ "budget": {
1495
+ "description": "Optional expansion-budget overrides. Every fetch stays batched (<=50 ids/request) regardless of these caps; exhaustion is reported honestly in budget_exhausted.",
1496
+ "type": "object",
1497
+ "properties": {
1498
+ "max_depth": {
1499
+ "description": "BFS wave depth (default 4).",
1500
+ "type": "integer",
1501
+ "minimum": 0,
1502
+ "maximum": 8
1503
+ },
1504
+ "max_nodes": {
1505
+ "description": "Hard node cap (default 500).",
1506
+ "type": "integer",
1507
+ "minimum": 1,
1508
+ "maximum": 3000
1509
+ },
1510
+ "max_rpcs": {
1511
+ "description": "Hard logical RPC-batch cap; each batch carries at most 50 ids (default 120).",
1512
+ "type": "integer",
1513
+ "minimum": 1,
1514
+ "maximum": 400
1515
+ },
1516
+ "max_fanout": {
1517
+ "description": "Per-node fanout cap per edge schema (default 60).",
1518
+ "type": "integer",
1519
+ "minimum": 1,
1520
+ "maximum": 5200
1521
+ }
1522
+ },
1523
+ "additionalProperties": false
1524
+ }
1525
+ },
1526
+ "required": [
1527
+ "query_type"
1528
+ ],
1529
+ "additionalProperties": false,
1530
+ "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."
1369
1531
  }
1370
1532
  ]
1371
1533
  }
@@ -65,7 +65,7 @@
65
65
  "type": "string"
66
66
  },
67
67
  "guard": {
68
- "description": "Guard JSON for 'analyze_guard_semantics' action (object or JSON-encoded string). Shape: {description?, table: [{identifier, b_submission?, value_type?, value?, name?, object_type?}], root: {...}, rely?: {guards, logic_or?}, binding_hint?: {host_object?, binding_field?, action?, sharing_recipients?}}. This is the export format of guard2file / the 'data' payload of onchain_operations guard creation.",
68
+ "description": "Guard for 'analyze_guard_semantics' action. THREE accepted forms: (1) Guard JSON object, (2) JSON-encoded string (the guard2file export format: {description?, table: [...], root: {...}, rely?, binding_hint?}), (3) an on-chain Guard ADDRESS (0x...) or LocalMark name — loaded from chain automatically. Forms (1)/(2) analyze a local definition; form (3) analyzes the LIVE on-chain Guard.",
69
69
  "anyOf": [
70
70
  {
71
71
  "type": "string"
@@ -78,6 +78,30 @@
78
78
  "additionalProperties": {}
79
79
  }
80
80
  ]
81
+ },
82
+ "binding": {
83
+ "description": "Optional business-slot binding for 'analyze_guard_semantics' (G1). When set, the analysis includes the slot's business semantics (what the Guard means, what your submission means, pass/fail consequences, stakes). E.g. 'buy' for a Service.buy_guard, 'forward' for a Machine Forward.guard, 'allocate' when the submission identifies a payment recipient.",
84
+ "type": "string",
85
+ "enum": [
86
+ "buy",
87
+ "forward",
88
+ "allocate",
89
+ "claim_reward",
90
+ "vote",
91
+ "dispute",
92
+ "write_repository",
93
+ "submit_progress",
94
+ "gen_passport",
95
+ "custom"
96
+ ]
97
+ },
98
+ "network": {
99
+ "description": "Network for 'analyze_guard_semantics' when the guard is given as an on-chain address/name (G1). Defaults to the configured network.",
100
+ "type": "string",
101
+ "enum": [
102
+ "mainnet",
103
+ "testnet"
104
+ ]
81
105
  }
82
106
  },
83
107
  "required": [