@wowok/agent-mcp 2.7.7 → 2.7.10

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 (441) hide show
  1. package/README.md +2 -2
  2. package/dist/config/runtime.d.ts +1 -1
  3. package/dist/config/runtime.js +1 -1
  4. package/dist/customer/index.d.ts +3 -4
  5. package/dist/customer/index.js +1 -1
  6. package/dist/customer/info-puzzle.js +1 -1
  7. package/dist/customer/order-monitor.d.ts +0 -9
  8. package/dist/customer/order-monitor.js +1 -1
  9. package/dist/customer/order-strategy.d.ts +0 -19
  10. package/dist/customer/order-strategy.js +1 -1
  11. package/dist/customer/reminder-system.d.ts +0 -5
  12. package/dist/customer/reminder-system.js +1 -1
  13. package/dist/evaluation/game-strategy.js +1 -1
  14. package/dist/evaluation/injection.d.ts +6 -0
  15. package/dist/evaluation/injection.js +1 -0
  16. package/dist/evaluation/node-game.js +1 -1
  17. package/dist/examples/machine-multisig-threshold.json +1 -0
  18. package/dist/examples/rental-ziroom-machine-create.json +1 -2
  19. package/dist/examples/rental-ziroom-permission-create.json +1 -2
  20. package/dist/examples/rental-ziroom-service-create.json +1 -2
  21. package/dist/experience/experience-reuse.js +1 -1
  22. package/dist/experience/index.d.ts +2 -1
  23. package/dist/experience/index.js +1 -1
  24. package/dist/experience/persistence-config.d.ts +6 -0
  25. package/dist/experience/persistence-config.js +1 -0
  26. package/dist/experience/persistence.d.ts +21 -0
  27. package/dist/experience/persistence.js +1 -0
  28. package/dist/experience/realtime-feedback.js +1 -1
  29. package/dist/experience/user-profile.js +1 -1
  30. package/dist/extensions/business-modules.d.ts +1 -1
  31. package/dist/extensions/capability-manifest.d.ts +1 -1
  32. package/dist/extensions/types.d.ts +1 -1
  33. package/dist/goal/GoalClassifier.d.ts +17 -0
  34. package/dist/goal/GoalClassifier.js +1 -0
  35. package/dist/goal/GoalEngine.d.ts +120 -0
  36. package/dist/goal/GoalEngine.js +1 -0
  37. package/dist/goal/GoalStore.d.ts +27 -0
  38. package/dist/goal/GoalStore.js +1 -0
  39. package/dist/goal/plan-approval.d.ts +5 -0
  40. package/dist/goal/plan-approval.js +1 -0
  41. package/dist/goal/types.d.ts +76 -0
  42. package/dist/goal/types.js +1 -0
  43. package/dist/harness/index.d.ts +2 -7
  44. package/dist/harness/index.js +1 -1
  45. package/dist/harness/plan.d.ts +1 -1
  46. package/dist/harness/recover.js +1 -1
  47. package/dist/harness/types.d.ts +1 -36
  48. package/dist/harness/verify.js +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/intent/enrich.js +1 -1
  51. package/dist/intent/matcher.js +1 -1
  52. package/dist/intent/types.d.ts +1 -1
  53. package/dist/intent/types.js +1 -1
  54. package/dist/knowledge/account-marks.d.ts +35 -0
  55. package/dist/knowledge/account-marks.js +1 -0
  56. package/dist/knowledge/arbitration-ledger.js +1 -1
  57. package/dist/knowledge/audit-rules.d.ts +3 -1
  58. package/dist/knowledge/audit-rules.js +1 -1
  59. package/dist/knowledge/contract-invariants.d.ts +53 -0
  60. package/dist/knowledge/contract-invariants.js +1 -0
  61. package/dist/knowledge/dynamic-pricing.d.ts +0 -2
  62. package/dist/knowledge/dynamic-pricing.js +1 -1
  63. package/dist/knowledge/event-semantics.d.ts +20 -0
  64. package/dist/knowledge/event-semantics.js +1 -0
  65. package/dist/knowledge/examples-scanner-cli.js +1 -1
  66. package/dist/knowledge/examples-scanner.js +1 -1
  67. package/dist/knowledge/glossary.js +1 -1
  68. package/dist/knowledge/goal-completion.d.ts +19 -0
  69. package/dist/knowledge/goal-completion.js +1 -0
  70. package/dist/knowledge/guard-submission-prompt.js +1 -1
  71. package/dist/knowledge/guard-translation.js +1 -1
  72. package/dist/knowledge/immutability.d.ts +11 -0
  73. package/dist/knowledge/immutability.js +1 -0
  74. package/dist/knowledge/index.d.ts +13 -6
  75. package/dist/knowledge/index.js +1 -1
  76. package/dist/knowledge/industry-registry.js +1 -1
  77. package/dist/knowledge/intent-metrics.d.ts +1 -1
  78. package/dist/knowledge/jsonrpc-enum.d.ts +37 -0
  79. package/dist/knowledge/jsonrpc-enum.js +1 -0
  80. package/dist/knowledge/machine-confirm.js +1 -1
  81. package/dist/knowledge/machine-risk.js +1 -1
  82. package/dist/knowledge/machine-topology.d.ts +11 -0
  83. package/dist/knowledge/machine-topology.js +1 -1
  84. package/dist/knowledge/machine-translation.js +1 -1
  85. package/dist/knowledge/market-metrics.d.ts +11 -0
  86. package/dist/knowledge/market-metrics.js +1 -1
  87. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  88. package/dist/knowledge/mcp-schema-audit.d.ts +1 -0
  89. package/dist/knowledge/mcp-schema-audit.js +1 -1
  90. package/dist/knowledge/messenger-guard-guidance.d.ts +17 -0
  91. package/dist/knowledge/messenger-guard-guidance.js +1 -0
  92. package/dist/knowledge/operation-dictionary.d.ts +18 -0
  93. package/dist/knowledge/operation-dictionary.js +1 -0
  94. package/dist/knowledge/passport-confirm.js +1 -1
  95. package/dist/knowledge/passport-puzzle.js +1 -1
  96. package/dist/knowledge/passport-translation.js +1 -1
  97. package/dist/knowledge/proof-risk.js +1 -1
  98. package/dist/knowledge/safety-rules.js +1 -1
  99. package/dist/knowledge/service-ledger.js +1 -1
  100. package/dist/knowledge/service-risk.js +1 -1
  101. package/dist/knowledge/service-translation.js +1 -1
  102. package/dist/knowledge/supply-chain.d.ts +24 -0
  103. package/dist/knowledge/supply-chain.js +1 -0
  104. package/dist/knowledge/template-registry.js +1 -1
  105. package/dist/knowledge/tools-reference.js +1 -1
  106. package/dist/knowledge/trust-metrics.d.ts +27 -2
  107. package/dist/knowledge/trust-metrics.js +1 -1
  108. package/dist/knowledge/workflow-guidance.d.ts +22 -0
  109. package/dist/knowledge/workflow-guidance.js +1 -1
  110. package/dist/knowledge/workspace-lists.d.ts +56 -0
  111. package/dist/knowledge/workspace-lists.js +1 -0
  112. package/dist/loop-engineering/context-collect.d.ts +1 -1
  113. package/dist/monitor/EventRouter.d.ts +10 -0
  114. package/dist/monitor/EventRouter.js +1 -0
  115. package/dist/monitor/EventStore.d.ts +98 -0
  116. package/dist/monitor/EventStore.js +1 -0
  117. package/dist/monitor/MonitorLoop.d.ts +79 -0
  118. package/dist/monitor/MonitorLoop.js +1 -0
  119. package/dist/monitor/ProblemBridge.d.ts +32 -0
  120. package/dist/monitor/ProblemBridge.js +1 -0
  121. package/dist/monitor/ScopeResolver.d.ts +59 -0
  122. package/dist/monitor/ScopeResolver.js +1 -0
  123. package/dist/monitor/SubscriptionStore.d.ts +13 -0
  124. package/dist/monitor/SubscriptionStore.js +1 -0
  125. package/dist/monitor/normalize.d.ts +8 -0
  126. package/dist/monitor/normalize.js +1 -0
  127. package/dist/monitor/types.d.ts +89 -0
  128. package/dist/monitor/types.js +1 -0
  129. package/dist/participation/radar-core.d.ts +0 -1
  130. package/dist/participation/radar-core.js +1 -1
  131. package/dist/persona/address-format.d.ts +6 -0
  132. package/dist/persona/address-format.js +1 -0
  133. package/dist/persona/analyzer.js +1 -1
  134. package/dist/persona/distill-goal.d.ts +20 -0
  135. package/dist/persona/distill-goal.js +1 -0
  136. package/dist/persona/index.d.ts +5 -0
  137. package/dist/persona/index.js +1 -1
  138. package/dist/persona/model.js +1 -1
  139. package/dist/persona/types.d.ts +1 -1
  140. package/dist/persona/types.js +1 -1
  141. package/dist/playbooks/service-build/business-puzzle.js +1 -0
  142. package/dist/{project → playbooks/service-build}/context-assembly.d.ts +9 -4
  143. package/dist/playbooks/service-build/context-assembly.js +1 -0
  144. package/dist/{project → playbooks/service-build}/game-theory.d.ts +1 -1
  145. package/dist/playbooks/service-build/index.d.ts +14 -0
  146. package/dist/playbooks/service-build/index.js +1 -0
  147. package/dist/{project → playbooks/service-build}/intent-analyzer.d.ts +1 -1
  148. package/dist/playbooks/service-build/intent-analyzer.js +1 -0
  149. package/dist/playbooks/service-build/machine-nodes.d.ts +25 -0
  150. package/dist/playbooks/service-build/machine-nodes.js +1 -0
  151. package/dist/playbooks/service-build/machine-panorama.d.ts +43 -0
  152. package/dist/playbooks/service-build/machine-panorama.js +1 -0
  153. package/dist/{project → playbooks/service-build}/merchant-guide.d.ts +1 -1
  154. package/dist/playbooks/service-build/merchant-guide.js +1 -0
  155. package/dist/{project → playbooks/service-build}/mode-actions.d.ts +2 -2
  156. package/dist/playbooks/service-build/mode-actions.js +1 -0
  157. package/dist/playbooks/service-build/namespace.d.ts +2 -0
  158. package/dist/playbooks/service-build/namespace.js +1 -0
  159. package/dist/playbooks/service-build/object-panorama.d.ts +178 -0
  160. package/dist/playbooks/service-build/object-panorama.js +1 -0
  161. package/dist/playbooks/service-build/object-type.d.ts +1 -0
  162. package/dist/playbooks/service-build/object-type.js +1 -0
  163. package/dist/{project → playbooks/service-build}/participation-radar.d.ts +4 -5
  164. package/dist/playbooks/service-build/participation-radar.js +1 -0
  165. package/dist/{project → playbooks/service-build}/pipeline-actions.d.ts +9 -9
  166. package/dist/playbooks/service-build/pipeline-actions.js +1 -0
  167. package/dist/playbooks/service-build/process.d.ts +6 -0
  168. package/dist/playbooks/service-build/process.js +1 -0
  169. package/dist/playbooks/service-build/risk-aggregator.js +1 -0
  170. package/dist/{project → playbooks/service-build}/semantic-graph.d.ts +2 -2
  171. package/dist/playbooks/service-build/service-panorama.d.ts +164 -0
  172. package/dist/playbooks/service-build/service-panorama.js +1 -0
  173. package/dist/review/arb.d.ts +6 -0
  174. package/dist/review/arb.js +1 -0
  175. package/dist/review/demand.d.ts +3 -0
  176. package/dist/review/demand.js +1 -0
  177. package/dist/review/index.d.ts +3 -0
  178. package/dist/review/index.js +1 -0
  179. package/dist/review/machine.d.ts +3 -0
  180. package/dist/review/machine.js +1 -0
  181. package/dist/review/order.d.ts +9 -0
  182. package/dist/review/order.js +1 -0
  183. package/dist/review/progress.d.ts +3 -0
  184. package/dist/review/progress.js +1 -0
  185. package/dist/review/repository.d.ts +3 -0
  186. package/dist/review/repository.js +1 -0
  187. package/dist/review/service.d.ts +5 -0
  188. package/dist/review/service.js +1 -0
  189. package/dist/review/types.d.ts +156 -0
  190. package/dist/review/types.js +1 -0
  191. package/dist/role/derivation.d.ts +19 -2
  192. package/dist/role/derivation.js +1 -1
  193. package/dist/role/index.d.ts +2 -2
  194. package/dist/role/index.js +1 -1
  195. package/dist/role/model.js +1 -1
  196. package/dist/role/resolution.d.ts +16 -0
  197. package/dist/role/resolution.js +1 -1
  198. package/dist/role/types.d.ts +1 -1
  199. package/dist/role/types.js +1 -1
  200. package/dist/rules.d.ts +2 -2
  201. package/dist/rules.js +1 -1
  202. package/dist/safety/confirm-gate.js +1 -1
  203. package/dist/safety/index.d.ts +1 -1
  204. package/dist/safety/index.js +1 -1
  205. package/dist/safety/preview.d.ts +1 -0
  206. package/dist/safety/preview.js +1 -1
  207. package/dist/schema/call/allocation.d.ts +2 -1
  208. package/dist/schema/call/arbitration.d.ts +5 -4
  209. package/dist/schema/call/arbitration.js +1 -1
  210. package/dist/schema/call/base.d.ts +17 -1
  211. package/dist/schema/call/base.js +1 -1
  212. package/dist/schema/call/bridge.d.ts +11 -4
  213. package/dist/schema/call/contact.d.ts +2 -1
  214. package/dist/schema/call/contact.js +1 -1
  215. package/dist/schema/call/demand.d.ts +2 -1
  216. package/dist/schema/call/demand.js +1 -1
  217. package/dist/schema/call/guard.d.ts +6 -3
  218. package/dist/schema/call/handler.d.ts +0 -3
  219. package/dist/schema/call/handler.js +1 -1
  220. package/dist/schema/call/machine.d.ts +4 -2
  221. package/dist/schema/call/machine.js +1 -1
  222. package/dist/schema/call/order.d.ts +2 -1
  223. package/dist/schema/call/payment.d.ts +2 -1
  224. package/dist/schema/call/permission.d.ts +2 -1
  225. package/dist/schema/call/personal.d.ts +39 -1
  226. package/dist/schema/call/personal.js +1 -1
  227. package/dist/schema/call/progress.d.ts +2 -1
  228. package/dist/schema/call/proof.d.ts +4 -2
  229. package/dist/schema/call/repository.d.ts +6 -5
  230. package/dist/schema/call/repository.js +1 -1
  231. package/dist/schema/call/reward.d.ts +2 -13
  232. package/dist/schema/call/reward.js +1 -1
  233. package/dist/schema/call/semantic.d.ts +3 -2
  234. package/dist/schema/call/semantic.js +1 -1
  235. package/dist/schema/call/service.d.ts +2 -1
  236. package/dist/schema/call/service.js +1 -1
  237. package/dist/schema/call/treasury.d.ts +2 -1
  238. package/dist/schema/common/index.js +1 -1
  239. package/dist/schema/evaluation/index.d.ts +146 -0
  240. package/dist/schema/evaluation/index.js +1 -1
  241. package/dist/schema/goal/index.d.ts +317 -0
  242. package/dist/schema/goal/index.js +1 -0
  243. package/dist/schema/goal/planning.d.ts +465 -0
  244. package/dist/schema/goal/planning.js +1 -0
  245. package/dist/schema/index.d.ts +2 -2
  246. package/dist/schema/index.js +1 -1
  247. package/dist/schema/industry-pack/index.d.ts +265 -1
  248. package/dist/schema/industry-pack/index.js +1 -1
  249. package/dist/schema/industry-pack/modes.d.ts +268 -0
  250. package/dist/schema/industry-pack/modes.js +1 -0
  251. package/dist/schema/intent-radar/index.d.ts +30 -3
  252. package/dist/schema/intent-radar/index.js +1 -1
  253. package/dist/schema/local/index.d.ts +9 -0
  254. package/dist/schema/local/index.js +1 -1
  255. package/dist/schema/messenger/index.d.ts +54 -0
  256. package/dist/schema/messenger/index.js +1 -1
  257. package/dist/schema/operations.d.ts +1147 -94
  258. package/dist/schema/operations.js +1 -1
  259. package/dist/schema/permission/index.d.ts +18 -0
  260. package/dist/schema/permission/index.js +1 -1
  261. package/dist/schema/persona/index.d.ts +40 -0
  262. package/dist/schema/persona/index.js +1 -1
  263. package/dist/schema/query/bi.d.ts +783 -0
  264. package/dist/schema/query/bi.js +1 -0
  265. package/dist/schema/query/index.d.ts +1471 -208
  266. package/dist/schema/query/index.js +1 -1
  267. package/dist/schema/schema-version.js +1 -1
  268. package/dist/schema/trust/index.d.ts +17 -0
  269. package/dist/schema/trust/index.js +1 -1
  270. package/dist/schema/utils/skills-recommendation.d.ts +0 -1
  271. package/dist/schema/utils/skills-recommendation.js +1 -1
  272. package/dist/schema/watch/index.d.ts +204 -0
  273. package/dist/schema/watch/index.js +1 -0
  274. package/dist/schema/workflow/index.d.ts +301 -0
  275. package/dist/schema/workflow/index.js +1 -1
  276. package/dist/schema-query-impl/index.js +1 -1
  277. package/dist/schemas/account_operation.output.json +8 -5
  278. package/dist/schemas/account_operation.schema.json +2 -2
  279. package/dist/schemas/bridge_operation.output.json +7 -4
  280. package/dist/schemas/bridge_operation.schema.json +37 -21
  281. package/dist/schemas/config_operation.output.json +1 -1
  282. package/dist/schemas/config_operation.schema.json +1 -1
  283. package/dist/schemas/evaluation_operation.output.json +276 -1
  284. package/dist/schemas/evaluation_operation.schema.json +307 -0
  285. package/dist/schemas/goal_operation.schema.json +1016 -0
  286. package/dist/schemas/guard2file.schema.json +9 -5
  287. package/dist/schemas/index.json +22 -11
  288. package/dist/schemas/industry_pack_operation.output.json +898 -0
  289. package/dist/schemas/industry_pack_operation.schema.json +217 -2
  290. package/dist/schemas/intent_radar.output.json +20 -2
  291. package/dist/schemas/intent_radar.schema.json +10 -1
  292. package/dist/schemas/local_info_operation.output.json +7 -4
  293. package/dist/schemas/local_mark_operation.output.json +7 -4
  294. package/dist/schemas/machineNode2file.schema.json +9 -5
  295. package/dist/schemas/messenger_operation.output.json +107 -4
  296. package/dist/schemas/messenger_operation.schema.json +98 -0
  297. package/dist/schemas/monitor_events.output.json +1435 -0
  298. package/dist/schemas/monitor_events.schema.json +85 -0
  299. package/dist/schemas/monitor_subscription.output.json +1462 -0
  300. package/dist/schemas/monitor_subscription.schema.json +327 -0
  301. package/dist/schemas/onchain_events.output.json +241 -18
  302. package/dist/schemas/onchain_events.schema.json +20 -0
  303. package/dist/schemas/onchain_operations.output.json +12 -7
  304. package/dist/schemas/onchain_operations.schema.json +570 -478
  305. package/dist/schemas/onchain_operations_allocation.schema.json +14 -10
  306. package/dist/schemas/onchain_operations_arbitration.schema.json +17 -12
  307. package/dist/schemas/onchain_operations_contact.schema.json +13 -9
  308. package/dist/schemas/onchain_operations_demand.schema.json +13 -9
  309. package/dist/schemas/onchain_operations_gen_passport.schema.json +9 -5
  310. package/dist/schemas/onchain_operations_gen_proof.schema.json +9 -5
  311. package/dist/schemas/onchain_operations_guard.schema.json +9 -5
  312. package/dist/schemas/onchain_operations_machine.schema.json +17 -13
  313. package/dist/schemas/onchain_operations_order.schema.json +12 -8
  314. package/dist/schemas/onchain_operations_payment.schema.json +10 -6
  315. package/dist/schemas/onchain_operations_permission.schema.json +12 -8
  316. package/dist/schemas/onchain_operations_personal.schema.json +47 -5
  317. package/dist/schemas/onchain_operations_progress.schema.json +12 -8
  318. package/dist/schemas/onchain_operations_proof.schema.json +9 -5
  319. package/dist/schemas/onchain_operations_repository.schema.json +295 -310
  320. package/dist/schemas/onchain_operations_reward.schema.json +17 -13
  321. package/dist/schemas/onchain_operations_service.schema.json +21 -17
  322. package/dist/schemas/onchain_operations_treasury.schema.json +17 -13
  323. package/dist/schemas/onchain_table_data.output.json +4125 -239
  324. package/dist/schemas/onchain_table_data.schema.json +326 -15
  325. package/dist/schemas/permission_operation.output.json +32 -0
  326. package/dist/schemas/permission_operation.schema.json +6 -2
  327. package/dist/schemas/persona_operation.output.json +145 -0
  328. package/dist/schemas/persona_operation.schema.json +28 -2
  329. package/dist/schemas/query_toolkit.output.json +3384 -2040
  330. package/dist/schemas/query_toolkit.schema.json +548 -9
  331. package/dist/schemas/trust_score.output.json +38 -0
  332. package/dist/schemas/trust_score.schema.json +32 -0
  333. package/dist/schemas/watch_operation.output.json +827 -0
  334. package/dist/schemas/watch_operation.schema.json +145 -0
  335. package/dist/schemas/workflow_operation.output.json +263 -5
  336. package/dist/schemas/workflow_operation.schema.json +599 -4
  337. package/dist/task/ProcessStore.d.ts +81 -0
  338. package/dist/task/ProcessStore.js +1 -0
  339. package/dist/task/playbook.d.ts +11 -0
  340. package/dist/task/playbook.js +1 -0
  341. package/dist/task/stage-gate.d.ts +22 -0
  342. package/dist/task/stage-gate.js +1 -0
  343. package/dist/{project → task}/substep-trace.d.ts +6 -45
  344. package/dist/task/types.d.ts +120 -0
  345. package/dist/task/types.js +1 -0
  346. package/dist/tools/handlers/config.js +1 -1
  347. package/dist/tools/handlers/evaluation.js +1 -1
  348. package/dist/tools/handlers/goal.d.ts +4 -0
  349. package/dist/tools/handlers/goal.js +1 -0
  350. package/dist/tools/handlers/industry-pack.js +1 -1
  351. package/dist/tools/handlers/intent-radar.js +1 -1
  352. package/dist/tools/handlers/messenger.js +1 -1
  353. package/dist/tools/handlers/monitor.d.ts +26 -0
  354. package/dist/tools/handlers/monitor.js +1 -0
  355. package/dist/tools/handlers/network.d.ts +1 -0
  356. package/dist/tools/handlers/network.js +1 -0
  357. package/dist/tools/handlers/onchain.js +1 -1
  358. package/dist/tools/handlers/permission.js +1 -1
  359. package/dist/tools/handlers/persona.js +1 -1
  360. package/dist/tools/handlers/query.js +1 -1
  361. package/dist/tools/handlers/trust.d.ts +14 -0
  362. package/dist/tools/handlers/trust.js +1 -1
  363. package/dist/tools/handlers/watch.d.ts +2 -0
  364. package/dist/tools/handlers/watch.js +1 -0
  365. package/dist/tools/handlers/workflow.js +1 -1
  366. package/dist/tools/index.d.ts +4 -0
  367. package/dist/tools/index.js +1 -1
  368. package/dist/tools/shared.js +1 -1
  369. package/dist/tools/wrap.js +1 -1
  370. package/package.json +5 -4
  371. package/dist/customer/post-purchase.d.ts +0 -44
  372. package/dist/customer/post-purchase.js +0 -1
  373. package/dist/harness/checkpoint.d.ts +0 -8
  374. package/dist/harness/checkpoint.js +0 -1
  375. package/dist/knowledge/deployment-scanner.d.ts +0 -66
  376. package/dist/knowledge/deployment-scanner.js +0 -1
  377. package/dist/project/business-puzzle.js +0 -1
  378. package/dist/project/context-assembly.js +0 -1
  379. package/dist/project/deployment-bridge.d.ts +0 -5
  380. package/dist/project/deployment-bridge.js +0 -1
  381. package/dist/project/deployment-doc.d.ts +0 -190
  382. package/dist/project/deployment-doc.js +0 -1
  383. package/dist/project/edit-planner.d.ts +0 -123
  384. package/dist/project/edit-planner.js +0 -1
  385. package/dist/project/evaluation-fix.spec.d.ts +0 -1
  386. package/dist/project/evaluation-fix.spec.js +0 -1
  387. package/dist/project/evaluation.d.ts +0 -127
  388. package/dist/project/evaluation.js +0 -1
  389. package/dist/project/graph-builder.d.ts +0 -51
  390. package/dist/project/graph-builder.js +0 -1
  391. package/dist/project/graph.d.ts +0 -70
  392. package/dist/project/graph.js +0 -1
  393. package/dist/project/handlers.d.ts +0 -540
  394. package/dist/project/handlers.js +0 -1
  395. package/dist/project/index.d.ts +0 -91
  396. package/dist/project/index.js +0 -1
  397. package/dist/project/intent-analyzer.js +0 -1
  398. package/dist/project/machine-nodes.d.ts +0 -2
  399. package/dist/project/machine-nodes.js +0 -1
  400. package/dist/project/merchant-guide.js +0 -1
  401. package/dist/project/migration.d.ts +0 -22
  402. package/dist/project/migration.js +0 -1
  403. package/dist/project/mode-actions.js +0 -1
  404. package/dist/project/namespace.d.ts +0 -72
  405. package/dist/project/namespace.js +0 -1
  406. package/dist/project/participation-radar.js +0 -1
  407. package/dist/project/pipeline-actions.js +0 -1
  408. package/dist/project/project-store.d.ts +0 -110
  409. package/dist/project/project-store.js +0 -1
  410. package/dist/project/query.d.ts +0 -43
  411. package/dist/project/query.js +0 -1
  412. package/dist/project/risk-aggregator.js +0 -1
  413. package/dist/project/rollback-policy.d.ts +0 -45
  414. package/dist/project/rollback-policy.js +0 -1
  415. package/dist/project/semantic-assembler.d.ts +0 -93
  416. package/dist/project/semantic-assembler.js +0 -1
  417. package/dist/project/stage-gate.d.ts +0 -53
  418. package/dist/project/stage-gate.js +0 -1
  419. package/dist/project/task-tracker.d.ts +0 -26
  420. package/dist/project/task-tracker.js +0 -1
  421. package/dist/schema/project/index.d.ts +0 -2015
  422. package/dist/schema/project/index.js +0 -1
  423. package/dist/schema/task-status.d.ts +0 -62
  424. package/dist/schema/task-status.js +0 -1
  425. package/dist/schemas/project_operation.output.json +0 -7877
  426. package/dist/schemas/project_operation.schema.json +0 -1133
  427. package/dist/schemas/query_task_status.output.json +0 -211
  428. package/dist/schemas/query_task_status.schema.json +0 -18
  429. package/dist/tools/handlers/project.d.ts +0 -2
  430. package/dist/tools/handlers/project.js +0 -1
  431. package/dist/tools/handlers/task-status.d.ts +0 -2
  432. package/dist/tools/handlers/task-status.js +0 -1
  433. /package/dist/{project → playbooks/service-build}/business-puzzle.d.ts +0 -0
  434. /package/dist/{project → playbooks/service-build}/game-theory.js +0 -0
  435. /package/dist/{project → playbooks/service-build}/reverse-mapping.d.ts +0 -0
  436. /package/dist/{project → playbooks/service-build}/reverse-mapping.js +0 -0
  437. /package/dist/{project → playbooks/service-build}/risk-aggregator.d.ts +0 -0
  438. /package/dist/{project → playbooks/service-build}/semantic-graph.js +0 -0
  439. /package/dist/{project → playbooks/service-build}/workflow-design-assessment.d.ts +0 -0
  440. /package/dist/{project → playbooks/service-build}/workflow-design-assessment.js +0 -0
  441. /package/dist/{project → task}/substep-trace.js +0 -0
@@ -285,7 +285,7 @@
285
285
  "additionalProperties": false
286
286
  },
287
287
  "token_type": {
288
- "description": "Token type in Move format: 0x<package>::<module>::<struct>. Examples: \"0x2::wow::WOW\" (default, 9 decimals), \"0x2::sui::SUI\" (9 decimals). 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.",
288
+ "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.",
289
289
  "type": "string"
290
290
  },
291
291
  "network": {
@@ -295,7 +295,7 @@
295
295
  "testnet",
296
296
  "mainnet"
297
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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
299
299
  }
300
300
  },
301
301
  "required": [
@@ -348,7 +348,7 @@
348
348
  "testnet",
349
349
  "mainnet"
350
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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
352
352
  }
353
353
  },
354
354
  "required": [
@@ -383,7 +383,7 @@
383
383
  "testnet",
384
384
  "mainnet"
385
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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
387
387
  }
388
388
  },
389
389
  "required": [
@@ -471,7 +471,7 @@
471
471
  "testnet",
472
472
  "mainnet"
473
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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
475
475
  }
476
476
  },
477
477
  "required": [
@@ -503,7 +503,7 @@
503
503
  "testnet",
504
504
  "mainnet"
505
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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
507
507
  }
508
508
  },
509
509
  "required": [
@@ -570,7 +570,7 @@
570
570
  "testnet",
571
571
  "mainnet"
572
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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
574
574
  }
575
575
  },
576
576
  "required": [
@@ -580,6 +580,42 @@
580
580
  "additionalProperties": false,
581
581
  "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"
582
582
  },
583
+ {
584
+ "type": "object",
585
+ "properties": {
586
+ "query_type": {
587
+ "type": "string",
588
+ "const": "onchain_last_updated"
589
+ },
590
+ "objects": {
591
+ "type": "array",
592
+ "items": {
593
+ "type": "string",
594
+ "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)."
595
+ },
596
+ "description": "List of object IDs (names or addresses) to query in batch"
597
+ },
598
+ "no_cache": {
599
+ "description": "Set to true to bypass cache and fetch fresh on-chain data",
600
+ "type": "boolean"
601
+ },
602
+ "network": {
603
+ "type": "string",
604
+ "enum": [
605
+ "localnet",
606
+ "testnet",
607
+ "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."
610
+ }
611
+ },
612
+ "required": [
613
+ "query_type",
614
+ "objects"
615
+ ],
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 }] }"
618
+ },
583
619
  {
584
620
  "type": "object",
585
621
  "properties": {
@@ -656,7 +692,7 @@
656
692
  "testnet",
657
693
  "mainnet"
658
694
  ],
659
- "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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
660
696
  }
661
697
  },
662
698
  "required": [
@@ -706,7 +742,7 @@
706
742
  "testnet",
707
743
  "mainnet"
708
744
  ],
709
- "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. Use project_operation action='clone_project_to_network' to clone the project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy."
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."
710
746
  }
711
747
  },
712
748
  "required": [
@@ -715,6 +751,509 @@
715
751
  ],
716
752
  "additionalProperties": false,
717
753
  "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 }"
754
+ },
755
+ {
756
+ "type": "object",
757
+ "properties": {
758
+ "query_type": {
759
+ "type": "string",
760
+ "const": "address_profile"
761
+ },
762
+ "address": {
763
+ "anyOf": [
764
+ {
765
+ "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"
766
+ },
767
+ {
768
+ "type": "object",
769
+ "properties": {
770
+ "name_or_address": {
771
+ "type": "string",
772
+ "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)."
773
+ },
774
+ "local_mark_first": {
775
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
776
+ "type": "boolean"
777
+ }
778
+ },
779
+ "additionalProperties": false,
780
+ "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
+ }
782
+ ],
783
+ "description": "Address to profile. Supports string (name/address) or object form. LocalMark names are resolved automatically."
784
+ },
785
+ "no_cache": {
786
+ "description": "Set to true to bypass cache and fetch fresh on-chain data",
787
+ "type": "boolean"
788
+ },
789
+ "network": {
790
+ "type": "string",
791
+ "enum": [
792
+ "localnet",
793
+ "testnet",
794
+ "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."
797
+ }
798
+ },
799
+ "required": [
800
+ "query_type",
801
+ "address"
802
+ ],
803
+ "additionalProperties": false,
804
+ "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"
805
+ },
806
+ {
807
+ "type": "object",
808
+ "properties": {
809
+ "query_type": {
810
+ "type": "string",
811
+ "const": "address_profiles"
812
+ },
813
+ "addresses": {
814
+ "minItems": 1,
815
+ "maxItems": 50,
816
+ "type": "array",
817
+ "items": {
818
+ "anyOf": [
819
+ {
820
+ "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"
821
+ },
822
+ {
823
+ "type": "object",
824
+ "properties": {
825
+ "name_or_address": {
826
+ "type": "string",
827
+ "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)."
828
+ },
829
+ "local_mark_first": {
830
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
831
+ "type": "boolean"
832
+ }
833
+ },
834
+ "additionalProperties": false,
835
+ "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."
836
+ }
837
+ ],
838
+ "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 }."
839
+ },
840
+ "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)."
841
+ },
842
+ "no_cache": {
843
+ "description": "Set to true to bypass cache and fetch fresh on-chain data",
844
+ "type": "boolean"
845
+ },
846
+ "network": {
847
+ "type": "string",
848
+ "enum": [
849
+ "localnet",
850
+ "testnet",
851
+ "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."
854
+ }
855
+ },
856
+ "required": [
857
+ "query_type",
858
+ "addresses"
859
+ ],
860
+ "additionalProperties": false,
861
+ "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)[]"
862
+ },
863
+ {
864
+ "type": "object",
865
+ "properties": {
866
+ "query_type": {
867
+ "type": "string",
868
+ "const": "service_supply_chain"
869
+ },
870
+ "address": {
871
+ "anyOf": [
872
+ {
873
+ "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"
874
+ },
875
+ {
876
+ "type": "object",
877
+ "properties": {
878
+ "name_or_address": {
879
+ "type": "string",
880
+ "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)."
881
+ },
882
+ "local_mark_first": {
883
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
884
+ "type": "boolean"
885
+ }
886
+ },
887
+ "additionalProperties": false,
888
+ "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."
889
+ }
890
+ ],
891
+ "description": "Service address whose transparent sub-order purchasing graph to resolve. Supports string (name/address) or object form. LocalMark names are resolved automatically."
892
+ },
893
+ "no_cache": {
894
+ "description": "Set to true to bypass cache and fetch fresh on-chain data",
895
+ "type": "boolean"
896
+ },
897
+ "network": {
898
+ "type": "string",
899
+ "enum": [
900
+ "localnet",
901
+ "testnet",
902
+ "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."
905
+ }
906
+ },
907
+ "required": [
908
+ "query_type",
909
+ "address"
910
+ ],
911
+ "additionalProperties": false,
912
+ "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"
913
+ },
914
+ {
915
+ "type": "object",
916
+ "properties": {
917
+ "query_type": {
918
+ "type": "string",
919
+ "const": "service_panorama"
920
+ },
921
+ "service_address": {
922
+ "description": "On-chain Service object address (or LocalMark name). Required when query_type='service_panorama'.",
923
+ "type": "string"
924
+ },
925
+ "context_network": {
926
+ "type": "string",
927
+ "enum": [
928
+ "testnet",
929
+ "mainnet",
930
+ "localnet"
931
+ ],
932
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
933
+ }
934
+ },
935
+ "required": [
936
+ "query_type"
937
+ ],
938
+ "additionalProperties": false,
939
+ "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 + trust summary + deterministic BusinessReport + recent orders. Every section degrades gracefully — failures are reported in `data_gaps`. Read-only."
940
+ },
941
+ {
942
+ "type": "object",
943
+ "properties": {
944
+ "query_type": {
945
+ "type": "string",
946
+ "const": "machine_panorama"
947
+ },
948
+ "object_address": {
949
+ "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.",
950
+ "type": "string"
951
+ },
952
+ "context_network": {
953
+ "type": "string",
954
+ "enum": [
955
+ "testnet",
956
+ "mainnet",
957
+ "localnet"
958
+ ],
959
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
960
+ }
961
+ },
962
+ "required": [
963
+ "query_type"
964
+ ],
965
+ "additionalProperties": false,
966
+ "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."
967
+ },
968
+ {
969
+ "type": "object",
970
+ "properties": {
971
+ "query_type": {
972
+ "type": "string",
973
+ "const": "object_panorama"
974
+ },
975
+ "object_address": {
976
+ "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.",
977
+ "type": "string"
978
+ },
979
+ "context_network": {
980
+ "type": "string",
981
+ "enum": [
982
+ "testnet",
983
+ "mainnet",
984
+ "localnet"
985
+ ],
986
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
987
+ }
988
+ },
989
+ "required": [
990
+ "query_type"
991
+ ],
992
+ "additionalProperties": false,
993
+ "description": "ONE-CALL detail-page panorama for Progress / Demand / Order / Arb / Repository 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, Arb votes & propositions, Repository policies). Read-only."
994
+ },
995
+ {
996
+ "type": "object",
997
+ "properties": {
998
+ "query_type": {
999
+ "type": "string",
1000
+ "const": "review_pack"
1001
+ },
1002
+ "object_address": {
1003
+ "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.",
1004
+ "type": "string"
1005
+ },
1006
+ "context_network": {
1007
+ "type": "string",
1008
+ "enum": [
1009
+ "testnet",
1010
+ "mainnet",
1011
+ "localnet"
1012
+ ],
1013
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1014
+ }
1015
+ },
1016
+ "required": [
1017
+ "query_type"
1018
+ ],
1019
+ "additionalProperties": false,
1020
+ "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."
1021
+ },
1022
+ {
1023
+ "type": "object",
1024
+ "properties": {
1025
+ "query_type": {
1026
+ "type": "string",
1027
+ "const": "assemble_context"
1028
+ },
1029
+ "context_objects": {
1030
+ "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.",
1031
+ "type": "array",
1032
+ "items": {
1033
+ "type": "string"
1034
+ }
1035
+ },
1036
+ "include_events": {
1037
+ "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.",
1038
+ "type": "boolean"
1039
+ },
1040
+ "context_network": {
1041
+ "type": "string",
1042
+ "enum": [
1043
+ "testnet",
1044
+ "mainnet",
1045
+ "localnet"
1046
+ ],
1047
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1048
+ },
1049
+ "context_depth": {
1050
+ "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).",
1051
+ "type": "integer",
1052
+ "minimum": 0,
1053
+ "maximum": 5
1054
+ },
1055
+ "context_include": {
1056
+ "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.",
1057
+ "type": "array",
1058
+ "items": {
1059
+ "type": "string"
1060
+ }
1061
+ }
1062
+ },
1063
+ "required": [
1064
+ "query_type"
1065
+ ],
1066
+ "additionalProperties": false,
1067
+ "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."
1068
+ },
1069
+ {
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "query_type": {
1073
+ "type": "string",
1074
+ "const": "reverse_map"
1075
+ },
1076
+ "context_objects": {
1077
+ "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).",
1078
+ "type": "array",
1079
+ "items": {
1080
+ "type": "string"
1081
+ }
1082
+ },
1083
+ "context_network": {
1084
+ "type": "string",
1085
+ "enum": [
1086
+ "testnet",
1087
+ "mainnet",
1088
+ "localnet"
1089
+ ],
1090
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1091
+ },
1092
+ "reverse_order_amount": {
1093
+ "description": "Escrowed order amount (smallest-unit string) for reverse_map — included in the report summary as the concrete escrow mention.",
1094
+ "type": "string"
1095
+ }
1096
+ },
1097
+ "required": [
1098
+ "query_type"
1099
+ ],
1100
+ "additionalProperties": false,
1101
+ "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."
1102
+ },
1103
+ {
1104
+ "type": "object",
1105
+ "properties": {
1106
+ "query_type": {
1107
+ "type": "string",
1108
+ "const": "participation_radar"
1109
+ },
1110
+ "radar_account": {
1111
+ "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.",
1112
+ "type": "string"
1113
+ },
1114
+ "radar_targets": {
1115
+ "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.",
1116
+ "minItems": 1,
1117
+ "maxItems": 20,
1118
+ "type": "array",
1119
+ "items": {
1120
+ "type": "object",
1121
+ "properties": {
1122
+ "progress": {
1123
+ "type": "string",
1124
+ "description": "Progress object address (0x...) or LocalMark name. The Progress carries the current node + bound Machine."
1125
+ },
1126
+ "order": {
1127
+ "description": "Order object address or LocalMark name (optional but recommended — enables order-holder detection, service-level compensation/reward claims, and dispute context).",
1128
+ "type": "string"
1129
+ }
1130
+ },
1131
+ "required": [
1132
+ "progress"
1133
+ ],
1134
+ "additionalProperties": false
1135
+ }
1136
+ },
1137
+ "radar_include_alerts": {
1138
+ "description": "Attach order-monitor alerts (progress stall / compensation fund / review & arbitration windows) to each per-order result. Default true.",
1139
+ "type": "boolean"
1140
+ },
1141
+ "radar_monitor_thresholds": {
1142
+ "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.",
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "progress_stall_hours": {
1146
+ "description": "Progress stall alert threshold in HOURS. Default 0 = auto (expected_node_duration × 2).",
1147
+ "type": "number",
1148
+ "exclusiveMinimum": 0
1149
+ },
1150
+ "compensation_drop_ratio": {
1151
+ "description": "Compensation fund drop alert ratio (0-1). Default 0.3 = alert on ≥30% drop.",
1152
+ "type": "number",
1153
+ "minimum": 0,
1154
+ "maximum": 1
1155
+ },
1156
+ "compensation_coverage_min": {
1157
+ "description": "Minimum compensation coverage ratio vs order amount (0-1). Default 1.0 = must fully cover.",
1158
+ "type": "number",
1159
+ "minimum": 0,
1160
+ "maximum": 1
1161
+ },
1162
+ "messenger_timeout_hours": {
1163
+ "description": "Messenger no-reply timeout in HOURS. Default 24.",
1164
+ "type": "number",
1165
+ "exclusiveMinimum": 0
1166
+ },
1167
+ "review_window_closing_days": {
1168
+ "description": "Review window near-closing alert threshold in DAYS. Default 3.",
1169
+ "type": "number",
1170
+ "exclusiveMinimum": 0
1171
+ },
1172
+ "arb_window_closing_days": {
1173
+ "description": "Arbitration window near-closing alert threshold in DAYS. Default 3.",
1174
+ "type": "number",
1175
+ "exclusiveMinimum": 0
1176
+ }
1177
+ },
1178
+ "additionalProperties": false
1179
+ },
1180
+ "context_network": {
1181
+ "type": "string",
1182
+ "enum": [
1183
+ "testnet",
1184
+ "mainnet",
1185
+ "localnet"
1186
+ ],
1187
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1188
+ }
1189
+ },
1190
+ "required": [
1191
+ "query_type"
1192
+ ],
1193
+ "additionalProperties": false,
1194
+ "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."
1195
+ },
1196
+ {
1197
+ "type": "object",
1198
+ "properties": {
1199
+ "query_type": {
1200
+ "type": "string",
1201
+ "const": "workspace_lists"
1202
+ },
1203
+ "no_cache": {
1204
+ "description": "Set to true to bypass both the aggregation cache and the SDK chain-read cache.",
1205
+ "type": "boolean"
1206
+ },
1207
+ "context_network": {
1208
+ "type": "string",
1209
+ "enum": [
1210
+ "testnet",
1211
+ "mainnet",
1212
+ "localnet"
1213
+ ],
1214
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1215
+ },
1216
+ "account": {
1217
+ "description": "Scope the aggregation to ONE account address (the client's current account). Omit to aggregate across ALL local accounts.",
1218
+ "type": "string"
1219
+ }
1220
+ },
1221
+ "required": [
1222
+ "query_type"
1223
+ ],
1224
+ "additionalProperties": false,
1225
+ "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."
1226
+ },
1227
+ {
1228
+ "type": "object",
1229
+ "properties": {
1230
+ "query_type": {
1231
+ "type": "string",
1232
+ "const": "marks_of_account"
1233
+ },
1234
+ "no_cache": {
1235
+ "description": "Set to true to bypass both the aggregation cache and the SDK chain-read cache.",
1236
+ "type": "boolean"
1237
+ },
1238
+ "context_network": {
1239
+ "type": "string",
1240
+ "enum": [
1241
+ "testnet",
1242
+ "mainnet",
1243
+ "localnet"
1244
+ ],
1245
+ "description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
1246
+ },
1247
+ "account": {
1248
+ "description": "Scope to ONE account address (the client's current account). Omit to merge across ALL local accounts.",
1249
+ "type": "string"
1250
+ }
1251
+ },
1252
+ "required": [
1253
+ "query_type"
1254
+ ],
1255
+ "additionalProperties": false,
1256
+ "description": "Like / Favor list for ONE account (client Quick Access 'Like / Favor' tab) — every address (object OR plain user) the account has EVER liked / disliked / favored, deduplicated, with the CURRENT active vote kinds per target. Deterministic source: the voter's own Resource mark table (registrar.move handle_vote → resource::tag_set), cross-read with the target's EntityLinker votes for the 'marked at' clock. Fully-toggled-off targets are dropped. Each row: address + tags (like/dislike/favor) + time + object_type (null = plain user) + local name / description / tags. Aggregation result is TTL-cached (120s, keyed by network + account). Read-only."
718
1257
  }
719
1258
  ]
720
1259
  }