@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
@@ -1,211 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/query_task_status.output.json",
4
- "title": "Task Status - Async Operation Tracking",
5
- "description": "Query the status of a long-running async task (created by build_graph or evaluate_project with async_mode=true). Returns progress percentage, current status, and the final result.",
6
- "type": "object",
7
- "properties": {
8
- "task_id": {
9
- "description": "The queried task ID (present when a single task was queried).",
10
- "type": "string"
11
- },
12
- "task": {
13
- "anyOf": [
14
- {
15
- "type": "object",
16
- "properties": {
17
- "task_id": {
18
- "type": "string",
19
- "description": "Unique task identifier."
20
- },
21
- "operation": {
22
- "type": "string",
23
- "description": "Operation type that created this task (e.g. 'build_graph')."
24
- },
25
- "status": {
26
- "type": "string",
27
- "enum": [
28
- "pending",
29
- "running",
30
- "completed",
31
- "failed",
32
- "cancelled"
33
- ],
34
- "description": "Current task status."
35
- },
36
- "progress": {
37
- "type": "number",
38
- "description": "Progress percentage 0-100."
39
- },
40
- "message": {
41
- "type": "string",
42
- "description": "Human-readable progress message."
43
- },
44
- "result": {
45
- "anyOf": [
46
- {},
47
- {
48
- "type": "null"
49
- }
50
- ],
51
- "description": "Result payload (set when status='completed'). null otherwise."
52
- },
53
- "error": {
54
- "anyOf": [
55
- {
56
- "type": "string"
57
- },
58
- {
59
- "type": "null"
60
- }
61
- ],
62
- "description": "Error message (set when status='failed'). null otherwise."
63
- },
64
- "started_at": {
65
- "type": "number",
66
- "description": "Timestamp (ms) when the task was created."
67
- },
68
- "completed_at": {
69
- "anyOf": [
70
- {
71
- "type": "number"
72
- },
73
- {
74
- "type": "null"
75
- }
76
- ],
77
- "description": "Timestamp (ms) when the task reached a terminal state. null if still running."
78
- },
79
- "project_id": {
80
- "anyOf": [
81
- {
82
- "type": "string"
83
- },
84
- {
85
- "type": "null"
86
- }
87
- ],
88
- "description": "Project ID associated with this task, if any."
89
- }
90
- },
91
- "required": [
92
- "task_id",
93
- "operation",
94
- "status",
95
- "progress",
96
- "message",
97
- "result",
98
- "error",
99
- "started_at",
100
- "completed_at",
101
- "project_id"
102
- ],
103
- "additionalProperties": false
104
- },
105
- {
106
- "type": "null"
107
- }
108
- ],
109
- "description": "The task state. null if task_id not found or when listing."
110
- },
111
- "tasks": {
112
- "description": "List of tasks (present when task_id was omitted).",
113
- "type": "array",
114
- "items": {
115
- "type": "object",
116
- "properties": {
117
- "task_id": {
118
- "type": "string",
119
- "description": "Unique task identifier."
120
- },
121
- "operation": {
122
- "type": "string",
123
- "description": "Operation type that created this task (e.g. 'build_graph')."
124
- },
125
- "status": {
126
- "type": "string",
127
- "enum": [
128
- "pending",
129
- "running",
130
- "completed",
131
- "failed",
132
- "cancelled"
133
- ],
134
- "description": "Current task status."
135
- },
136
- "progress": {
137
- "type": "number",
138
- "description": "Progress percentage 0-100."
139
- },
140
- "message": {
141
- "type": "string",
142
- "description": "Human-readable progress message."
143
- },
144
- "result": {
145
- "anyOf": [
146
- {},
147
- {
148
- "type": "null"
149
- }
150
- ],
151
- "description": "Result payload (set when status='completed'). null otherwise."
152
- },
153
- "error": {
154
- "anyOf": [
155
- {
156
- "type": "string"
157
- },
158
- {
159
- "type": "null"
160
- }
161
- ],
162
- "description": "Error message (set when status='failed'). null otherwise."
163
- },
164
- "started_at": {
165
- "type": "number",
166
- "description": "Timestamp (ms) when the task was created."
167
- },
168
- "completed_at": {
169
- "anyOf": [
170
- {
171
- "type": "number"
172
- },
173
- {
174
- "type": "null"
175
- }
176
- ],
177
- "description": "Timestamp (ms) when the task reached a terminal state. null if still running."
178
- },
179
- "project_id": {
180
- "anyOf": [
181
- {
182
- "type": "string"
183
- },
184
- {
185
- "type": "null"
186
- }
187
- ],
188
- "description": "Project ID associated with this task, if any."
189
- }
190
- },
191
- "required": [
192
- "task_id",
193
- "operation",
194
- "status",
195
- "progress",
196
- "message",
197
- "result",
198
- "error",
199
- "started_at",
200
- "completed_at",
201
- "project_id"
202
- ],
203
- "additionalProperties": false
204
- }
205
- }
206
- },
207
- "required": [
208
- "task"
209
- ],
210
- "additionalProperties": false
211
- }
@@ -1,18 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/query_task_status.json",
4
- "title": "Task Status - Async Operation Tracking",
5
- "description": "Query the status of an async task, or list all recent tasks when task_id is omitted.",
6
- "type": "object",
7
- "properties": {
8
- "task_id": {
9
- "description": "The task ID to query (returned by a prior async operation). If omitted, lists all recent tasks (most recent first, max 50).",
10
- "type": "string"
11
- },
12
- "project_id": {
13
- "description": "Optional filter — when listing tasks (task_id omitted), only return tasks for this project.",
14
- "type": "string"
15
- }
16
- },
17
- "additionalProperties": false
18
- }
@@ -1,2 +0,0 @@
1
- import type { ToolDispatchResult } from "../types.js";
2
- export declare function handleProjectOperation(args: unknown): Promise<ToolDispatchResult>;
@@ -1 +0,0 @@
1
- import{assembleContext}from'../../project/context-assembly.js';import{generateDeploymentDocFromProject}from'../../project/deployment-bridge.js';import{generateBusinessReport}from'../../project/reverse-mapping.js';import{LocalProject,query_objects}from'@wowok/wowok';import{validateStageGate}from'../../project/stage-gate.js';import{scanDeployment}from'../../knowledge/deployment-scanner.js';import{handleListProjects,handleCreateProject,handleCreateProjectFromOnchain,handleUpdateProject,handleGetProjectDetail,handleAddObject,handleRemoveObject,handleUpdateObject,handleCreateVersion,handleBuildGraph,handleGetGraph,handleEvaluateProject,handleSaveEvaluation,handleCompareProjects,handleRefreshObjects,handleGetObjectDiff,handleDeleteProject,handleGetMachineGraph,handleGetGuardGraph,handlePreEvaluateCheck,handleVerifyDeployment,handleCloneProjectToNetwork,handleMigrateToMainnet}from'../../project/handlers.js';import{handlePlanObjectEdit,handleApplyObjectEdit,handlePatchMachineNodes,handlePatchGuardTree}from'../../project/edit-planner.js';import{handleRecommendIndustry,handleListModes,handleDeriveUserMode,handleEvolveUserMode,handleRegisterUserMode,handleUnregisterUserMode,handleRegisterCustomMetric,handleRegisterCustomConstraint,handleListMetricsConstraints}from'../../project/mode-actions.js';import{handleAnalyzeIntent,handleAggregateRisks,handleTraceSubsteps}from'../../project/pipeline-actions.js';import{handleMerchantGuide}from'../../project/merchant-guide.js';import{handleParticipationRadar}from'../../project/participation-radar.js';import{strictParse}from'../../schema/index.js';import{ProjectOperationInputSchema}from'../../schema/project/index.js';import{getStageCache}from'../../project/index.js';import{getSkillsHintForProject}from'../../schema/utils/skills-recommendation.js';export async function handleProjectOperation(a){const b=strictParse(ProjectOperationInputSchema,a,'project_operation\x20input'),{action:c}=b;let d;switch(c){case'list_projects':d=await handleListProjects(b);break;case'create_project':d=await handleCreateProject(b);break;case'create_project_from_onchain':d=await handleCreateProjectFromOnchain(b);break;case'update_project':d=await handleUpdateProject(b);break;case'get_project_detail':d=await handleGetProjectDetail(b);break;case'add_object':d=await handleAddObject(b);break;case'remove_object':d=await handleRemoveObject(b);break;case'update_object':d=await handleUpdateObject(b);break;case'create_version':d=await handleCreateVersion(b);break;case'build_graph':d=await handleBuildGraph(b);break;case'get_graph':d=await handleGetGraph(b);break;case'evaluate_project':d=await handleEvaluateProject(b);break;case'save_evaluation':d=await handleSaveEvaluation(b);break;case'compare_projects':d=await handleCompareProjects(b);break;case'refresh_objects':d=await handleRefreshObjects(b);break;case'get_object_diff':d=await handleGetObjectDiff(b);break;case'delete_project':d=await handleDeleteProject(b);break;case'get_machine_graph':d=await handleGetMachineGraph(b);break;case'get_guard_graph':d=await handleGetGuardGraph(b);break;case'assemble_context':d=await assembleContext(b);break;case'reverse_map':{if(!b['context_objects']||b['context_objects']['length']===0x0)throw new Error('reverse_map\x20requires\x20\x27context_objects\x27\x20—\x20an\x20array\x20of\x20object\x20IDs\x20or\x20LocalMark\x20names\x20(include\x20the\x20Service;\x20add\x20Machine/Allocation\x20for\x20refund-path\x20detection).');const f=b['context_network']??'testnet',g=await query_objects({'objects':b['context_objects'],'no_cache':![],'network':f}),h=g?.['objects']??[];d={'action':'reverse_map','objects_queried':h['length'],'report':generateBusinessReport({'objects':h,'order_amount':b['reverse_order_amount']})};break;}case'generate_deployment_doc':{const {project_id:i,network:j,save:save=!![],detail_level:k}=b;if(!i)throw new Error('\x27project_id\x27\x20is\x20required\x20for\x20generate_deployment_doc');if(!j)throw new Error('\x27network\x27\x20is\x20required\x20for\x20generate_deployment_doc');const l=await generateDeploymentDocFromProject(i,j,k);save&&await LocalProject['Instance']()['saveDocument'](i,j,l['markdown']);const m=await LocalProject['Instance']()['getProject'](i),n=getStageCache(m?.['prefix']??i,m?.['currentVersion']??'v1'),o=validateStageGate({'stage':0x4,'prefix':m?.['prefix']??i,'version':m?.['currentVersion']??'v1','objects':[],'risk_status':n?.['risk_status'],'risk_can_proceed':n?.['risk_can_proceed'],'has_published_object':![],'deployment_doc_generated':!![]}),p=scanDeployment({'project_name':m?.['prefix']??i});d={'action':'generate_deployment_doc','markdown':l['markdown'],'validation':l['validation'],'saved':save,'detail_level':k??'summary','stage_gate':{'stage':o['stage'],'passed':o['passed'],'can_proceed':o['can_proceed'],'blocking_issues':o['blocking_issues'],'warnings':o['warnings'],'checks':o['checks']},'deployment_scan':{'overall_readiness':p['overall_readiness'],'critical_count':p['findings']['filter'](q=>q['severity']==='critical')['length'],'warning_count':p['findings']['filter'](q=>q['severity']==='warning')['length'],'findings':p['findings'],'checks':p['checks']}};break;}case'pre_evaluate_check':d=await handlePreEvaluateCheck(b);break;case'verify_deployment':d=await handleVerifyDeployment(b);break;case'clone_project_to_network':d=await handleCloneProjectToNetwork(b);break;case'migrate_network':d=await handleCloneProjectToNetwork(b);break;case'migrate_to_mainnet':d=await handleMigrateToMainnet(b);break;case'plan_object_edit':d=await handlePlanObjectEdit(b);break;case'apply_object_edit':d=await handleApplyObjectEdit(b);break;case'patch_machine_nodes':d=await handlePatchMachineNodes(b);break;case'patch_guard_tree':d=await handlePatchGuardTree(b);break;case'recommend_industry':d=handleRecommendIndustry(b);break;case'list_modes':d=await handleListModes();break;case'derive_user_mode':d=await handleDeriveUserMode(b);break;case'evolve_user_mode':d=await handleEvolveUserMode(b);break;case'register_user_mode':d=await handleRegisterUserMode(b);break;case'unregister_user_mode':d=await handleUnregisterUserMode(b);break;case'register_custom_metric':d=handleRegisterCustomMetric(b);break;case'register_custom_constraint':d=handleRegisterCustomConstraint(b);break;case'list_metrics_constraints':d=handleListMetricsConstraints(b);break;case'analyze_intent':d=handleAnalyzeIntent(b);break;case'aggregate_risks':d=handleAggregateRisks(b);break;case'trace_substeps':d=handleTraceSubsteps(b);break;case'merchant_guide':d=await handleMerchantGuide(b);break;case'participation_radar':d=await handleParticipationRadar(b);break;default:throw new Error('Unknown\x20project_operation\x20action:\x20'+String(c));}const e=getSkillsHintForProject(c);return{'content':[{'type':'text','text':JSON['stringify']({'result':d})}],'structuredContent':e?{'result':d,'skills_recommended':e}:{'result':d}};}
@@ -1,2 +0,0 @@
1
- import type { ToolDispatchResult } from "../types.js";
2
- export declare function handleQueryTaskStatus(args: unknown): Promise<ToolDispatchResult>;
@@ -1 +0,0 @@
1
- import{TaskTracker}from'../../project/task-tracker.js';export async function handleQueryTaskStatus(a){const b=a&&typeof a==='object'?a:{};if(b['task_id']){const e=TaskTracker['get'](b['task_id']),f={'task_id':b['task_id'],'task':e??null,'tasks':undefined};return{'content':[{'type':'text','text':JSON['stringify'](f)}],'structuredContent':f};}const c=TaskTracker['list'](b['project_id'])['slice'](0x0,0x32),d={'task_id':undefined,'task':null,'tasks':c};return{'content':[{'type':'text','text':JSON['stringify'](d)}],'structuredContent':d};}
File without changes