@wowok/agent-mcp 2.7.0 → 2.7.2

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 (427) hide show
  1. package/dist/config/index.js +1 -1
  2. package/dist/config/runtime.js +1 -238
  3. package/dist/customer/customer-advice.js +1 -130
  4. package/dist/customer/index.js +1 -11
  5. package/dist/customer/industry-risks.js +1 -438
  6. package/dist/customer/info-puzzle.js +1 -681
  7. package/dist/customer/order-monitor.js +1 -328
  8. package/dist/customer/order-strategy.js +1 -373
  9. package/dist/customer/post-purchase.js +1 -351
  10. package/dist/customer/preorder-compare.js +1 -34
  11. package/dist/customer/reminder-system.js +1 -316
  12. package/dist/customer/risk-assessment.d.ts +5 -1
  13. package/dist/customer/risk-assessment.js +1 -397
  14. package/dist/customer/types.js +1 -13
  15. package/dist/customer/user-preferences.js +1 -460
  16. package/dist/evaluation/arbitration-game.d.ts +23 -0
  17. package/dist/evaluation/arbitration-game.js +1 -0
  18. package/dist/evaluation/builtins/demand-match.d.ts +15 -0
  19. package/dist/evaluation/builtins/demand-match.js +1 -0
  20. package/dist/evaluation/builtins/index.d.ts +3 -0
  21. package/dist/evaluation/builtins/index.js +1 -0
  22. package/dist/evaluation/builtins/service-risk.d.ts +6 -0
  23. package/dist/evaluation/builtins/service-risk.js +1 -0
  24. package/dist/evaluation/capability.d.ts +50 -0
  25. package/dist/evaluation/capability.js +1 -0
  26. package/dist/evaluation/composer.d.ts +13 -0
  27. package/dist/evaluation/composer.js +1 -0
  28. package/dist/evaluation/engine.d.ts +18 -0
  29. package/dist/evaluation/engine.js +1 -0
  30. package/dist/evaluation/extract.d.ts +30 -0
  31. package/dist/evaluation/extract.js +1 -0
  32. package/dist/evaluation/game-strategy.d.ts +27 -0
  33. package/dist/evaluation/game-strategy.js +1 -0
  34. package/dist/evaluation/gap.d.ts +2 -0
  35. package/dist/evaluation/gap.js +1 -0
  36. package/dist/evaluation/index.d.ts +12 -0
  37. package/dist/evaluation/index.js +1 -0
  38. package/dist/evaluation/node-game.d.ts +62 -0
  39. package/dist/evaluation/node-game.js +1 -0
  40. package/dist/evaluation/region.d.ts +10 -0
  41. package/dist/evaluation/region.js +1 -0
  42. package/dist/evaluation/types.d.ts +77 -0
  43. package/dist/evaluation/types.js +1 -0
  44. package/dist/evaluation/user-injection.d.ts +6 -0
  45. package/dist/evaluation/user-injection.js +1 -0
  46. package/dist/examples/education-contact-create.json +40 -0
  47. package/dist/examples/freelance-contact-create.json +40 -0
  48. package/dist/examples/insurance-machine-create.json +1 -1
  49. package/dist/examples/insurance-service-allocators.json +1 -1
  50. package/dist/examples/machine-publish.json +1 -1
  51. package/dist/examples/rental-ziroom-service-create.json +1 -1
  52. package/dist/examples/retail-adv-guard-messenger-proof-create.json +1 -1
  53. package/dist/examples/retail-myshop-service-create.json +1 -1
  54. package/dist/examples/retail-myshop-service-customer-required.json +1 -1
  55. package/dist/examples/subscription-contact-create.json +40 -0
  56. package/dist/examples/threebody-machine-create.json +1 -1
  57. package/dist/examples/travel-machine-create.json +1 -1
  58. package/dist/examples/travel-service-create.json +1 -1
  59. package/dist/experience/experience-reuse.js +1 -103
  60. package/dist/experience/index.js +1 -5
  61. package/dist/experience/intent-distill.js +1 -83
  62. package/dist/experience/realtime-feedback.js +1 -94
  63. package/dist/experience/types.js +1 -1
  64. package/dist/experience/user-profile.js +1 -171
  65. package/dist/extensions/business-modules.js +1 -287
  66. package/dist/extensions/capability-manifest.js +1 -781
  67. package/dist/extensions/constraint-registry.js +1 -198
  68. package/dist/extensions/index.js +1 -6
  69. package/dist/extensions/metric-registry.js +1 -257
  70. package/dist/extensions/mode-evaluator.js +1 -170
  71. package/dist/extensions/modes.js +1 -499
  72. package/dist/extensions/registry.js +1 -717
  73. package/dist/extensions/types.js +1 -1
  74. package/dist/harness/auto-escalation.js +1 -68
  75. package/dist/harness/checkpoint.js +1 -129
  76. package/dist/harness/index.js +1 -78
  77. package/dist/harness/plan.js +1 -276
  78. package/dist/harness/recover.js +1 -139
  79. package/dist/harness/types.js +1 -1
  80. package/dist/harness/verify.js +1 -237
  81. package/dist/index.js +1 -273
  82. package/dist/intent/enrich.d.ts +1 -0
  83. package/dist/intent/enrich.js +1 -0
  84. package/dist/intent/index.d.ts +23 -0
  85. package/dist/intent/index.js +1 -0
  86. package/dist/intent/matcher.d.ts +2 -0
  87. package/dist/intent/matcher.js +1 -0
  88. package/dist/intent/store.d.ts +19 -0
  89. package/dist/intent/store.js +1 -0
  90. package/dist/intent/types.d.ts +33 -0
  91. package/dist/intent/types.js +1 -0
  92. package/dist/knowledge/acquisition-flywheel.js +1 -192
  93. package/dist/knowledge/allocation-confirm.js +1 -534
  94. package/dist/knowledge/allocation-context.js +1 -249
  95. package/dist/knowledge/allocation-ledger.js +1 -463
  96. package/dist/knowledge/allocation-puzzle.js +1 -298
  97. package/dist/knowledge/allocation-risk.js +1 -568
  98. package/dist/knowledge/allocation-templates.js +1 -970
  99. package/dist/knowledge/allocation-translation.js +1 -585
  100. package/dist/knowledge/arb-risk.js +1 -210
  101. package/dist/knowledge/arbitration-confirm.js +1 -559
  102. package/dist/knowledge/arbitration-context.js +1 -505
  103. package/dist/knowledge/arbitration-ledger.js +1 -521
  104. package/dist/knowledge/arbitration-puzzle.js +1 -304
  105. package/dist/knowledge/arbitration-risk.js +1 -433
  106. package/dist/knowledge/arbitration-templates.js +1 -276
  107. package/dist/knowledge/arbitration-translation.js +1 -487
  108. package/dist/knowledge/arbitration-trust.js +1 -117
  109. package/dist/knowledge/audit-rules.js +1 -141
  110. package/dist/knowledge/bridge-risk.js +1 -263
  111. package/dist/knowledge/contact-risk.js +1 -200
  112. package/dist/knowledge/contact-templates.d.ts +27 -0
  113. package/dist/knowledge/contact-templates.js +1 -0
  114. package/dist/knowledge/demand-confirm.js +1 -206
  115. package/dist/knowledge/demand-matching.js +1 -132
  116. package/dist/knowledge/demand-risk.js +1 -240
  117. package/dist/knowledge/demand-translation.js +1 -354
  118. package/dist/knowledge/deployment-scanner.js +1 -823
  119. package/dist/knowledge/dynamic-pricing.js +1 -87
  120. package/dist/knowledge/examples-scanner-cli.js +1 -26
  121. package/dist/knowledge/examples-scanner.js +1 -825
  122. package/dist/knowledge/flywheel-loop.js +1 -404
  123. package/dist/knowledge/fund-layer.js +1 -973
  124. package/dist/knowledge/glossary.js +1 -211
  125. package/dist/knowledge/guard-confirm.js +1 -406
  126. package/dist/knowledge/guard-context.js +1 -287
  127. package/dist/knowledge/guard-design-patterns.js +1 -360
  128. package/dist/knowledge/guard-ledger.js +1 -260
  129. package/dist/knowledge/guard-lint.js +1 -670
  130. package/dist/knowledge/guard-migration.js +1 -228
  131. package/dist/knowledge/guard-puzzle.js +1 -805
  132. package/dist/knowledge/guard-render.js +1 -700
  133. package/dist/knowledge/guard-risk.js +1 -1879
  134. package/dist/knowledge/guard-submission-prompt.js +1 -171
  135. package/dist/knowledge/guard-templates.js +1 -1105
  136. package/dist/knowledge/guard-translation.js +1 -1119
  137. package/dist/knowledge/index.js +1 -436
  138. package/dist/knowledge/industry-evolution.js +1 -323
  139. package/dist/knowledge/industry-generalizer.js +1 -381
  140. package/dist/knowledge/industry-registry.js +1 -174
  141. package/dist/knowledge/intent-metrics.d.ts +4 -3
  142. package/dist/knowledge/intent-metrics.js +1 -566
  143. package/dist/knowledge/machine-confirm.js +1 -559
  144. package/dist/knowledge/machine-context.js +1 -833
  145. package/dist/knowledge/machine-ledger.js +1 -338
  146. package/dist/knowledge/machine-puzzle.js +1 -494
  147. package/dist/knowledge/machine-render.js +1 -565
  148. package/dist/knowledge/machine-risk.js +1 -670
  149. package/dist/knowledge/machine-templates.js +1 -1597
  150. package/dist/knowledge/machine-topology.js +1 -234
  151. package/dist/knowledge/machine-translation.js +1 -513
  152. package/dist/knowledge/mcp-schema-audit-cli.js +1 -45
  153. package/dist/knowledge/mcp-schema-audit.d.ts +1 -1
  154. package/dist/knowledge/mcp-schema-audit.js +1 -773
  155. package/dist/knowledge/onchain-constants.js +1 -35
  156. package/dist/knowledge/order-confirm.js +1 -573
  157. package/dist/knowledge/order-context.js +1 -390
  158. package/dist/knowledge/order-ledger.js +1 -341
  159. package/dist/knowledge/order-puzzle.js +1 -255
  160. package/dist/knowledge/order-risk.js +1 -653
  161. package/dist/knowledge/order-templates.js +1 -368
  162. package/dist/knowledge/order-translation.js +1 -550
  163. package/dist/knowledge/overrides-loader.js +1 -65
  164. package/dist/knowledge/passport-confirm.js +1 -531
  165. package/dist/knowledge/passport-context.js +1 -306
  166. package/dist/knowledge/passport-ledger.js +1 -282
  167. package/dist/knowledge/passport-puzzle.js +1 -333
  168. package/dist/knowledge/passport-risk.js +1 -450
  169. package/dist/knowledge/passport-templates.js +1 -568
  170. package/dist/knowledge/passport-translation.js +1 -516
  171. package/dist/knowledge/payment-risk.js +1 -249
  172. package/dist/knowledge/permission-confirm.js +1 -426
  173. package/dist/knowledge/permission-context.js +1 -224
  174. package/dist/knowledge/permission-ledger.js +1 -403
  175. package/dist/knowledge/permission-puzzle.js +1 -173
  176. package/dist/knowledge/permission-risk.js +1 -411
  177. package/dist/knowledge/permission-templates.js +1 -234
  178. package/dist/knowledge/permission-translation.js +1 -350
  179. package/dist/knowledge/personal-risk.js +1 -212
  180. package/dist/knowledge/process-model.js +1 -160
  181. package/dist/knowledge/progress-confirm.js +1 -456
  182. package/dist/knowledge/progress-context.js +1 -452
  183. package/dist/knowledge/progress-ledger.js +1 -330
  184. package/dist/knowledge/progress-puzzle.js +1 -219
  185. package/dist/knowledge/progress-risk.js +1 -461
  186. package/dist/knowledge/progress-templates.js +1 -228
  187. package/dist/knowledge/progress-translation.js +1 -405
  188. package/dist/knowledge/proof-confirm.js +1 -187
  189. package/dist/knowledge/proof-risk.js +1 -207
  190. package/dist/knowledge/proof-translation.js +1 -283
  191. package/dist/knowledge/registrar-risk.js +1 -217
  192. package/dist/knowledge/repository-confirm.js +1 -286
  193. package/dist/knowledge/repository-risk.js +1 -373
  194. package/dist/knowledge/repository-translation.js +1 -445
  195. package/dist/knowledge/reputation-rules.js +1 -99
  196. package/dist/knowledge/resource-risk.js +1 -157
  197. package/dist/knowledge/reward-confirm.js +1 -526
  198. package/dist/knowledge/reward-context.js +1 -504
  199. package/dist/knowledge/reward-ledger.js +1 -502
  200. package/dist/knowledge/reward-puzzle.js +1 -300
  201. package/dist/knowledge/reward-risk.js +1 -627
  202. package/dist/knowledge/reward-templates.js +1 -197
  203. package/dist/knowledge/reward-translation.js +1 -501
  204. package/dist/knowledge/safety-rules.js +1 -404
  205. package/dist/knowledge/scenario-modes.js +1 -321
  206. package/dist/knowledge/service-confirm.js +1 -807
  207. package/dist/knowledge/service-context.js +1 -403
  208. package/dist/knowledge/service-ledger.js +1 -609
  209. package/dist/knowledge/service-puzzle.js +1 -236
  210. package/dist/knowledge/service-risk.js +1 -615
  211. package/dist/knowledge/service-templates.js +1 -456
  212. package/dist/knowledge/service-translation.js +1 -622
  213. package/dist/knowledge/template-registry.d.ts +1 -1
  214. package/dist/knowledge/template-registry.js +1 -341
  215. package/dist/knowledge/tool-constraints.js +1 -195
  216. package/dist/knowledge/tools-reference.js +1 -155
  217. package/dist/knowledge/treasury-confirm.js +1 -512
  218. package/dist/knowledge/treasury-context.js +1 -363
  219. package/dist/knowledge/treasury-ledger.js +1 -300
  220. package/dist/knowledge/treasury-puzzle.js +1 -216
  221. package/dist/knowledge/treasury-risk.js +1 -440
  222. package/dist/knowledge/treasury-templates.js +1 -358
  223. package/dist/knowledge/treasury-translation.js +1 -498
  224. package/dist/knowledge/trust-metrics.js +1 -198
  225. package/dist/knowledge/util-risk.js +1 -135
  226. package/dist/loop-engineering/aggregate.js +1 -132
  227. package/dist/loop-engineering/context-collect.js +1 -83
  228. package/dist/loop-engineering/diagnose.js +1 -273
  229. package/dist/loop-engineering/improve.js +1 -405
  230. package/dist/loop-engineering/index.js +1 -4
  231. package/dist/loop-engineering/pipeline.js +1 -56
  232. package/dist/mode-market/index.js +1 -3
  233. package/dist/mode-market/registry.js +1 -124
  234. package/dist/mode-market/review.js +1 -214
  235. package/dist/mode-market/submission.js +1 -85
  236. package/dist/participation/collaborator-interest.d.ts +23 -0
  237. package/dist/participation/collaborator-interest.js +1 -0
  238. package/dist/participation/customer-interest.d.ts +25 -0
  239. package/dist/participation/customer-interest.js +1 -0
  240. package/dist/participation/merchant-interest.js +1 -100
  241. package/dist/participation/radar-core.d.ts +13 -3
  242. package/dist/participation/radar-core.js +1 -269
  243. package/dist/participation/supplier-interest.d.ts +25 -0
  244. package/dist/participation/supplier-interest.js +1 -0
  245. package/dist/persona/analyzer.d.ts +16 -0
  246. package/dist/persona/analyzer.js +1 -0
  247. package/dist/persona/bridge.d.ts +5 -0
  248. package/dist/persona/bridge.js +1 -0
  249. package/dist/persona/defaults.d.ts +4 -0
  250. package/dist/persona/defaults.js +1 -0
  251. package/dist/persona/experience-bridge.d.ts +3 -0
  252. package/dist/persona/experience-bridge.js +1 -0
  253. package/dist/persona/index.d.ts +18 -0
  254. package/dist/persona/index.js +1 -0
  255. package/dist/persona/model.d.ts +7 -0
  256. package/dist/persona/model.js +1 -0
  257. package/dist/persona/store.d.ts +19 -0
  258. package/dist/persona/store.js +1 -0
  259. package/dist/persona/types.d.ts +45 -0
  260. package/dist/persona/types.js +1 -0
  261. package/dist/project/business-puzzle.js +1 -383
  262. package/dist/project/context-assembly.js +1 -254
  263. package/dist/project/deployment-bridge.js +1 -120
  264. package/dist/project/deployment-doc.js +1 -1126
  265. package/dist/project/edit-planner.js +1 -1342
  266. package/dist/project/evaluation.js +1 -2011
  267. package/dist/project/game-theory.js +1 -177
  268. package/dist/project/graph-builder.js +1 -656
  269. package/dist/project/graph.js +1 -340
  270. package/dist/project/handlers.d.ts +5 -0
  271. package/dist/project/handlers.js +1 -1762
  272. package/dist/project/index.d.ts +1 -0
  273. package/dist/project/index.js +1 -301
  274. package/dist/project/intent-analyzer.js +1 -149
  275. package/dist/project/machine-nodes.js +1 -36
  276. package/dist/project/merchant-guide.js +1 -264
  277. package/dist/project/migration.js +1 -125
  278. package/dist/project/mode-actions.js +1 -309
  279. package/dist/project/namespace.js +1 -206
  280. package/dist/project/participation-radar.js +1 -428
  281. package/dist/project/pipeline-actions.js +1 -109
  282. package/dist/project/project-store.js +1 -422
  283. package/dist/project/query.js +1 -153
  284. package/dist/project/reverse-mapping.d.ts +34 -0
  285. package/dist/project/reverse-mapping.js +1 -0
  286. package/dist/project/risk-aggregator.js +1 -295
  287. package/dist/project/rollback-policy.js +1 -290
  288. package/dist/project/semantic-assembler.js +1 -345
  289. package/dist/project/semantic-graph.js +1 -245
  290. package/dist/project/stage-gate.js +1 -369
  291. package/dist/project/substep-trace.js +1 -332
  292. package/dist/project/task-tracker.js +1 -78
  293. package/dist/role/derivation.d.ts +18 -0
  294. package/dist/role/derivation.js +1 -0
  295. package/dist/role/index.d.ts +5 -0
  296. package/dist/role/index.js +1 -0
  297. package/dist/role/model.d.ts +8 -0
  298. package/dist/role/model.js +1 -0
  299. package/dist/role/resolution.d.ts +11 -0
  300. package/dist/role/resolution.js +1 -0
  301. package/dist/role/types.d.ts +11 -0
  302. package/dist/role/types.js +1 -0
  303. package/dist/rules.d.ts +2 -0
  304. package/dist/rules.js +1 -9
  305. package/dist/safety/confirm-gate.js +1 -88
  306. package/dist/safety/index.js +1 -3
  307. package/dist/safety/preview.js +1 -52
  308. package/dist/schema/call/allocation.js +1 -34
  309. package/dist/schema/call/arbitration.js +1 -113
  310. package/dist/schema/call/base.d.ts +15 -15
  311. package/dist/schema/call/base.js +1 -370
  312. package/dist/schema/call/bridge-handler.js +1 -265
  313. package/dist/schema/call/bridge.d.ts +7 -7
  314. package/dist/schema/call/bridge.js +1 -458
  315. package/dist/schema/call/contact.js +1 -37
  316. package/dist/schema/call/demand.js +1 -47
  317. package/dist/schema/call/guard.js +1 -161
  318. package/dist/schema/call/handler.js +1 -322
  319. package/dist/schema/call/index.js +1 -20
  320. package/dist/schema/call/machine.js +1 -193
  321. package/dist/schema/call/order.js +1 -35
  322. package/dist/schema/call/payment.js +1 -37
  323. package/dist/schema/call/permission-handler.js +1 -54
  324. package/dist/schema/call/permission.js +1 -105
  325. package/dist/schema/call/personal.js +1 -78
  326. package/dist/schema/call/progress.js +1 -47
  327. package/dist/schema/call/proof.js +1 -33
  328. package/dist/schema/call/repository.js +1 -77
  329. package/dist/schema/call/reward.js +1 -30
  330. package/dist/schema/call/semantic.js +1 -1657
  331. package/dist/schema/call/service.js +1 -178
  332. package/dist/schema/call/treasury.js +1 -71
  333. package/dist/schema/common/index.js +1 -407
  334. package/dist/schema/config/index.js +1 -68
  335. package/dist/schema/evaluation/index.d.ts +4436 -0
  336. package/dist/schema/evaluation/index.js +1 -0
  337. package/dist/schema/index.d.ts +4 -0
  338. package/dist/schema/index.js +1 -13
  339. package/dist/schema/intent-radar/index.d.ts +284 -0
  340. package/dist/schema/intent-radar/index.js +1 -0
  341. package/dist/schema/local/index.d.ts +21 -21
  342. package/dist/schema/local/index.js +1 -927
  343. package/dist/schema/local/wip.js +1 -187
  344. package/dist/schema/messenger/index.d.ts +7 -7
  345. package/dist/schema/messenger/index.js +1 -475
  346. package/dist/schema/operations.d.ts +7 -7
  347. package/dist/schema/operations.js +1 -520
  348. package/dist/schema/persona/index.d.ts +1985 -0
  349. package/dist/schema/persona/index.js +1 -0
  350. package/dist/schema/project/index.d.ts +96 -50
  351. package/dist/schema/project/index.js +1 -2057
  352. package/dist/schema/query/index.d.ts +423 -7
  353. package/dist/schema/query/index.js +1 -1640
  354. package/dist/schema/schema-query/index.js +1 -104
  355. package/dist/schema/schema-version.js +1 -76
  356. package/dist/schema/sync-layer4.d.ts +1 -1
  357. package/dist/schema/sync-layer4.js +1 -282
  358. package/dist/schema/task-status.d.ts +168 -0
  359. package/dist/schema/task-status.js +1 -0
  360. package/dist/schema/trust/index.js +1 -314
  361. package/dist/schema/utils/guard-parser.js +1 -419
  362. package/dist/schema/utils/guard-query-utils.js +1 -46
  363. package/dist/schema/utils/node-parser.js +1 -369
  364. package/dist/schema/utils/object-type-utils.js +1 -35
  365. package/dist/schema/utils/permission-index-utils.js +1 -7
  366. package/dist/schema/utils/permission-machine-check.js +1 -121
  367. package/dist/schema/utils/skills-recommendation.js +1 -77
  368. package/dist/schema-query/index.js +1 -810
  369. package/dist/schemas/account_operation.output.json +5 -2
  370. package/dist/schemas/bridge_operation.output.json +5 -2
  371. package/dist/schemas/evaluation_operation.output.json +782 -0
  372. package/dist/schemas/evaluation_operation.schema.json +990 -0
  373. package/dist/schemas/index.json +25 -1
  374. package/dist/schemas/intent_radar.output.json +232 -0
  375. package/dist/schemas/intent_radar.schema.json +138 -0
  376. package/dist/schemas/local_info_operation.output.json +5 -2
  377. package/dist/schemas/local_mark_operation.output.json +5 -2
  378. package/dist/schemas/messenger_operation.output.json +5 -2
  379. package/dist/schemas/onchain_events.output.json +5 -2
  380. package/dist/schemas/onchain_operations.output.json +5 -2
  381. package/dist/schemas/onchain_operations.schema.json +6 -6
  382. package/dist/schemas/onchain_operations_allocation.schema.json +1 -1
  383. package/dist/schemas/onchain_operations_machine.schema.json +2 -2
  384. package/dist/schemas/onchain_operations_service.schema.json +3 -3
  385. package/dist/schemas/onchain_table_data.output.json +6 -3
  386. package/dist/schemas/persona_operation.output.json +392 -0
  387. package/dist/schemas/persona_operation.schema.json +250 -0
  388. package/dist/schemas/project_operation.output.json +28 -8
  389. package/dist/schemas/query_task_status.output.json +115 -0
  390. package/dist/schemas/query_task_status.schema.json +24 -0
  391. package/dist/schemas/query_toolkit.output.json +9 -6
  392. package/dist/schemas/trust_score.schema.json +1 -1
  393. package/dist/schemas/wowok_buildin_info.output.json +132 -0
  394. package/dist/schemas/wowok_buildin_info.schema.json +14 -0
  395. package/dist/telemetry/index.js +1 -112
  396. package/dist/telemetry/redact.js +1 -23
  397. package/dist/telemetry/storage.js +1 -80
  398. package/dist/tools/handlers/bridge.js +1 -1
  399. package/dist/tools/handlers/config.js +1 -74
  400. package/dist/tools/handlers/evaluation.d.ts +2 -0
  401. package/dist/tools/handlers/evaluation.js +1 -0
  402. package/dist/tools/handlers/file-export.js +1 -90
  403. package/dist/tools/handlers/intent-radar.d.ts +2 -0
  404. package/dist/tools/handlers/intent-radar.js +1 -0
  405. package/dist/tools/handlers/local.js +1 -53
  406. package/dist/tools/handlers/messenger.js +1 -188
  407. package/dist/tools/handlers/onchain.js +1 -1082
  408. package/dist/tools/handlers/persona.d.ts +4 -0
  409. package/dist/tools/handlers/persona.js +1 -0
  410. package/dist/tools/handlers/project.js +1 -211
  411. package/dist/tools/handlers/query.js +1 -434
  412. package/dist/tools/handlers/schema-query.js +1 -176
  413. package/dist/tools/handlers/task-status.d.ts +0 -168
  414. package/dist/tools/handlers/task-status.js +1 -55
  415. package/dist/tools/handlers/trust.js +1 -380
  416. package/dist/tools/handlers/wip.js +1 -90
  417. package/dist/tools/index.js +1 -1306
  418. package/dist/tools/retry.js +1 -85
  419. package/dist/tools/rules-hook.js +1 -23
  420. package/dist/tools/shared.js +1 -130
  421. package/dist/tools/types.js +1 -1
  422. package/dist/tools/upgrade-check.d.ts +19 -0
  423. package/dist/tools/upgrade-check.js +1 -0
  424. package/dist/tools/wip-deploy-assist.d.ts +1 -1
  425. package/dist/tools/wip-deploy-assist.js +1 -278
  426. package/dist/tools/wrap.js +1 -500
  427. package/package.json +5 -3
@@ -398,18 +398,19 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
398
398
  intent?: string | undefined;
399
399
  project?: string | undefined;
400
400
  service_address?: string | undefined;
401
+ save?: boolean | undefined;
401
402
  context_objects?: string[] | undefined;
402
403
  include_events?: boolean | undefined;
403
404
  context_network?: "testnet" | "mainnet" | undefined;
404
405
  context_depth?: number | undefined;
405
406
  context_include?: string[] | undefined;
406
407
  filter_status?: "active" | "inactive" | "draft" | "archived" | undefined;
407
- filter_perspective?: "consumer" | "producer" | "both" | undefined;
408
+ filter_perspective?: "producer" | "consumer" | "both" | undefined;
408
409
  filter_network?: "testnet" | "mainnet" | undefined;
409
410
  project_name?: string | undefined;
410
411
  project_description?: string | undefined;
411
412
  project_industry?: "custom" | "service" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general" | "retail_d2c" | undefined;
412
- project_perspective?: "consumer" | "producer" | "both" | undefined;
413
+ project_perspective?: "producer" | "consumer" | "both" | undefined;
413
414
  project_labels?: string[] | undefined;
414
415
  project_network?: "testnet" | "mainnet" | undefined;
415
416
  skip_templates?: boolean | undefined;
@@ -443,7 +444,6 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
443
444
  diff_address?: string | undefined;
444
445
  diff_from_time?: number | undefined;
445
446
  diff_to_time?: number | undefined;
446
- save?: boolean | undefined;
447
447
  detail_level?: "summary" | "full" | "detailed" | undefined;
448
448
  object_kind?: "guard" | "machine" | undefined;
449
449
  edit_format?: "json" | "tree_outline" | undefined;
@@ -578,18 +578,19 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
578
578
  intent?: string | undefined;
579
579
  project?: string | undefined;
580
580
  service_address?: string | undefined;
581
+ save?: boolean | undefined;
581
582
  context_objects?: string[] | undefined;
582
583
  include_events?: boolean | undefined;
583
584
  context_network?: "testnet" | "mainnet" | undefined;
584
585
  context_depth?: number | undefined;
585
586
  context_include?: string[] | undefined;
586
587
  filter_status?: "active" | "inactive" | "draft" | "archived" | undefined;
587
- filter_perspective?: "consumer" | "producer" | "both" | undefined;
588
+ filter_perspective?: "producer" | "consumer" | "both" | undefined;
588
589
  filter_network?: "testnet" | "mainnet" | undefined;
589
590
  project_name?: string | undefined;
590
591
  project_description?: string | undefined;
591
592
  project_industry?: "custom" | "service" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general" | "retail_d2c" | undefined;
592
- project_perspective?: "consumer" | "producer" | "both" | undefined;
593
+ project_perspective?: "producer" | "consumer" | "both" | undefined;
593
594
  project_labels?: string[] | undefined;
594
595
  project_network?: "testnet" | "mainnet" | undefined;
595
596
  skip_templates?: boolean | undefined;
@@ -623,7 +624,6 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
623
624
  diff_address?: string | undefined;
624
625
  diff_from_time?: number | undefined;
625
626
  diff_to_time?: number | undefined;
626
- save?: boolean | undefined;
627
627
  detail_level?: "summary" | "full" | "detailed" | undefined;
628
628
  object_kind?: "guard" | "machine" | undefined;
629
629
  edit_format?: "json" | "tree_outline" | undefined;
@@ -786,7 +786,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
786
786
  industry: string | null;
787
787
  metadata: Record<string, unknown> | null;
788
788
  prefix: string;
789
- perspective: "consumer" | "producer" | "both";
789
+ perspective: "producer" | "consumer" | "both";
790
790
  labels: string[] | null;
791
791
  currentVersion: string | null;
792
792
  serviceAddress: string | null;
@@ -805,7 +805,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
805
805
  industry: string | null;
806
806
  metadata: Record<string, unknown> | null;
807
807
  prefix: string;
808
- perspective: "consumer" | "producer" | "both";
808
+ perspective: "producer" | "consumer" | "both";
809
809
  labels: string[] | null;
810
810
  currentVersion: string | null;
811
811
  serviceAddress: string | null;
@@ -829,7 +829,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
829
829
  industry: string | null;
830
830
  metadata: Record<string, unknown> | null;
831
831
  prefix: string;
832
- perspective: "consumer" | "producer" | "both";
832
+ perspective: "producer" | "consumer" | "both";
833
833
  labels: string[] | null;
834
834
  currentVersion: string | null;
835
835
  serviceAddress: string | null;
@@ -852,7 +852,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
852
852
  industry: string | null;
853
853
  metadata: Record<string, unknown> | null;
854
854
  prefix: string;
855
- perspective: "consumer" | "producer" | "both";
855
+ perspective: "producer" | "consumer" | "both";
856
856
  labels: string[] | null;
857
857
  currentVersion: string | null;
858
858
  serviceAddress: string | null;
@@ -890,7 +890,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
890
890
  industry: string | null;
891
891
  metadata: Record<string, unknown> | null;
892
892
  prefix: string;
893
- perspective: "consumer" | "producer" | "both";
893
+ perspective: "producer" | "consumer" | "both";
894
894
  labels: string[] | null;
895
895
  currentVersion: string | null;
896
896
  serviceAddress: string | null;
@@ -906,7 +906,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
906
906
  industry: string | null;
907
907
  metadata: Record<string, unknown> | null;
908
908
  prefix: string;
909
- perspective: "consumer" | "producer" | "both";
909
+ perspective: "producer" | "consumer" | "both";
910
910
  labels: string[] | null;
911
911
  currentVersion: string | null;
912
912
  serviceAddress: string | null;
@@ -1062,7 +1062,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1062
1062
  industry: string | null;
1063
1063
  metadata: Record<string, unknown> | null;
1064
1064
  prefix: string;
1065
- perspective: "consumer" | "producer" | "both";
1065
+ perspective: "producer" | "consumer" | "both";
1066
1066
  labels: string[] | null;
1067
1067
  currentVersion: string | null;
1068
1068
  serviceAddress: string | null;
@@ -1120,7 +1120,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1120
1120
  industry: string | null;
1121
1121
  metadata: Record<string, unknown> | null;
1122
1122
  prefix: string;
1123
- perspective: "consumer" | "producer" | "both";
1123
+ perspective: "producer" | "consumer" | "both";
1124
1124
  labels: string[] | null;
1125
1125
  currentVersion: string | null;
1126
1126
  serviceAddress: string | null;
@@ -1194,7 +1194,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1194
1194
  industry: string | null;
1195
1195
  metadata: Record<string, unknown> | null;
1196
1196
  prefix: string;
1197
- perspective: "consumer" | "producer" | "both";
1197
+ perspective: "producer" | "consumer" | "both";
1198
1198
  labels: string[] | null;
1199
1199
  currentVersion: string | null;
1200
1200
  serviceAddress: string | null;
@@ -1210,7 +1210,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1210
1210
  industry: string | null;
1211
1211
  metadata: Record<string, unknown> | null;
1212
1212
  prefix: string;
1213
- perspective: "consumer" | "producer" | "both";
1213
+ perspective: "producer" | "consumer" | "both";
1214
1214
  labels: string[] | null;
1215
1215
  currentVersion: string | null;
1216
1216
  serviceAddress: string | null;
@@ -1261,7 +1261,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1261
1261
  industry: string | null;
1262
1262
  metadata: Record<string, unknown> | null;
1263
1263
  prefix: string;
1264
- perspective: "consumer" | "producer" | "both";
1264
+ perspective: "producer" | "consumer" | "both";
1265
1265
  labels: string[] | null;
1266
1266
  currentVersion: string | null;
1267
1267
  serviceAddress: string | null;
@@ -1292,7 +1292,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1292
1292
  industry: string | null;
1293
1293
  metadata: Record<string, unknown> | null;
1294
1294
  prefix: string;
1295
- perspective: "consumer" | "producer" | "both";
1295
+ perspective: "producer" | "consumer" | "both";
1296
1296
  labels: string[] | null;
1297
1297
  currentVersion: string | null;
1298
1298
  serviceAddress: string | null;
@@ -1339,7 +1339,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1339
1339
  industry: string | null;
1340
1340
  metadata: Record<string, unknown> | null;
1341
1341
  prefix: string;
1342
- perspective: "consumer" | "producer" | "both";
1342
+ perspective: "producer" | "consumer" | "both";
1343
1343
  labels: string[] | null;
1344
1344
  currentVersion: string | null;
1345
1345
  serviceAddress: string | null;
@@ -1355,7 +1355,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1355
1355
  industry: string | null;
1356
1356
  metadata: Record<string, unknown> | null;
1357
1357
  prefix: string;
1358
- perspective: "consumer" | "producer" | "both";
1358
+ perspective: "producer" | "consumer" | "both";
1359
1359
  labels: string[] | null;
1360
1360
  currentVersion: string | null;
1361
1361
  serviceAddress: string | null;
@@ -1374,7 +1374,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1374
1374
  industry: string | null;
1375
1375
  metadata: Record<string, unknown> | null;
1376
1376
  prefix: string;
1377
- perspective: "consumer" | "producer" | "both";
1377
+ perspective: "producer" | "consumer" | "both";
1378
1378
  labels: string[] | null;
1379
1379
  currentVersion: string | null;
1380
1380
  serviceAddress: string | null;
@@ -1393,7 +1393,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1393
1393
  industry: string | null;
1394
1394
  metadata: Record<string, unknown> | null;
1395
1395
  prefix: string;
1396
- perspective: "consumer" | "producer" | "both";
1396
+ perspective: "producer" | "consumer" | "both";
1397
1397
  labels: string[] | null;
1398
1398
  currentVersion: string | null;
1399
1399
  serviceAddress: string | null;
@@ -1428,7 +1428,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1428
1428
  industry: string | null;
1429
1429
  metadata: Record<string, unknown> | null;
1430
1430
  prefix: string;
1431
- perspective: "consumer" | "producer" | "both";
1431
+ perspective: "producer" | "consumer" | "both";
1432
1432
  labels: string[] | null;
1433
1433
  currentVersion: string | null;
1434
1434
  serviceAddress: string | null;
@@ -1444,7 +1444,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1444
1444
  industry: string | null;
1445
1445
  metadata: Record<string, unknown> | null;
1446
1446
  prefix: string;
1447
- perspective: "consumer" | "producer" | "both";
1447
+ perspective: "producer" | "consumer" | "both";
1448
1448
  labels: string[] | null;
1449
1449
  currentVersion: string | null;
1450
1450
  serviceAddress: string | null;
@@ -1884,7 +1884,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
1884
1884
  industry: string | null;
1885
1885
  metadata: Record<string, unknown> | null;
1886
1886
  prefix: string;
1887
- perspective: "consumer" | "producer" | "both";
1887
+ perspective: "producer" | "consumer" | "both";
1888
1888
  labels: string[] | null;
1889
1889
  currentVersion: string | null;
1890
1890
  serviceAddress: string | null;
@@ -2000,7 +2000,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
2000
2000
  industry: string | null;
2001
2001
  metadata: Record<string, unknown> | null;
2002
2002
  prefix: string;
2003
- perspective: "consumer" | "producer" | "both";
2003
+ perspective: "producer" | "consumer" | "both";
2004
2004
  labels: string[] | null;
2005
2005
  currentVersion: string | null;
2006
2006
  serviceAddress: string | null;
@@ -5996,7 +5996,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
5996
5996
  progress: z.ZodString;
5997
5997
  order: z.ZodOptional<z.ZodString>;
5998
5998
  current_node: z.ZodString;
5999
- perspective: z.ZodEnum<["customer", "operator", "observer"]>;
5999
+ perspective: z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>;
6000
+ collaborator_kind: z.ZodOptional<z.ZodEnum<["permission_entity", "named_operator"]>>;
6000
6001
  roles: z.ZodArray<z.ZodObject<{
6001
6002
  label: z.ZodString;
6002
6003
  can_act_now: z.ZodBoolean;
@@ -6016,12 +6017,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6016
6017
  guard: z.ZodOptional<z.ZodString>;
6017
6018
  semantics: z.ZodString;
6018
6019
  consequence: z.ZodOptional<z.ZodString>;
6020
+ weight: z.ZodOptional<z.ZodNumber>;
6019
6021
  }, "strict", z.ZodTypeAny, {
6020
6022
  name: string;
6021
6023
  to_node: string;
6022
6024
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6023
6025
  semantics: string;
6024
6026
  guard?: string | undefined;
6027
+ weight?: number | undefined;
6025
6028
  permission_index?: number | undefined;
6026
6029
  named_operator?: string | undefined;
6027
6030
  consequence?: string | undefined;
@@ -6031,6 +6034,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6031
6034
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6032
6035
  semantics: string;
6033
6036
  guard?: string | undefined;
6037
+ weight?: number | undefined;
6034
6038
  permission_index?: number | undefined;
6035
6039
  named_operator?: string | undefined;
6036
6040
  consequence?: string | undefined;
@@ -6090,6 +6094,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6090
6094
  }>, "many">;
6091
6095
  interest_hints: z.ZodArray<z.ZodString, "many">;
6092
6096
  workflow_unknown: z.ZodBoolean;
6097
+ threshold: z.ZodOptional<z.ZodNumber>;
6093
6098
  interest_analysis: z.ZodOptional<z.ZodObject<{
6094
6099
  fund_flow: z.ZodArray<z.ZodString, "many">;
6095
6100
  responsibility: z.ZodArray<z.ZodString, "many">;
@@ -6181,13 +6186,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6181
6186
  label: string;
6182
6187
  can_act_now: boolean;
6183
6188
  }[];
6184
- perspective: "operator" | "customer" | "observer";
6189
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6185
6190
  operable: {
6186
6191
  name: string;
6187
6192
  to_node: string;
6188
6193
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6189
6194
  semantics: string;
6190
6195
  guard?: string | undefined;
6196
+ weight?: number | undefined;
6191
6197
  permission_index?: number | undefined;
6192
6198
  named_operator?: string | undefined;
6193
6199
  consequence?: string | undefined;
@@ -6204,6 +6210,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6204
6210
  interest_hints: string[];
6205
6211
  workflow_unknown: boolean;
6206
6212
  order?: string | undefined;
6213
+ threshold?: number | undefined;
6214
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6207
6215
  branch_choice?: {
6208
6216
  message: string;
6209
6217
  options: {
@@ -6246,13 +6254,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6246
6254
  label: string;
6247
6255
  can_act_now: boolean;
6248
6256
  }[];
6249
- perspective: "operator" | "customer" | "observer";
6257
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6250
6258
  operable: {
6251
6259
  name: string;
6252
6260
  to_node: string;
6253
6261
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6254
6262
  semantics: string;
6255
6263
  guard?: string | undefined;
6264
+ weight?: number | undefined;
6256
6265
  permission_index?: number | undefined;
6257
6266
  named_operator?: string | undefined;
6258
6267
  consequence?: string | undefined;
@@ -6269,6 +6278,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6269
6278
  interest_hints: string[];
6270
6279
  workflow_unknown: boolean;
6271
6280
  order?: string | undefined;
6281
+ threshold?: number | undefined;
6282
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6272
6283
  branch_choice?: {
6273
6284
  message: string;
6274
6285
  options: {
@@ -6308,7 +6319,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6308
6319
  progress: z.ZodString;
6309
6320
  order: z.ZodOptional<z.ZodString>;
6310
6321
  current_node: z.ZodString;
6311
- perspective: z.ZodEnum<["customer", "operator", "observer"]>;
6322
+ perspective: z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>;
6323
+ collaborator_kind: z.ZodOptional<z.ZodEnum<["permission_entity", "named_operator"]>>;
6312
6324
  roles: z.ZodArray<z.ZodObject<{
6313
6325
  label: z.ZodString;
6314
6326
  can_act_now: z.ZodBoolean;
@@ -6328,12 +6340,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6328
6340
  guard: z.ZodOptional<z.ZodString>;
6329
6341
  semantics: z.ZodString;
6330
6342
  consequence: z.ZodOptional<z.ZodString>;
6343
+ weight: z.ZodOptional<z.ZodNumber>;
6331
6344
  }, "strict", z.ZodTypeAny, {
6332
6345
  name: string;
6333
6346
  to_node: string;
6334
6347
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6335
6348
  semantics: string;
6336
6349
  guard?: string | undefined;
6350
+ weight?: number | undefined;
6337
6351
  permission_index?: number | undefined;
6338
6352
  named_operator?: string | undefined;
6339
6353
  consequence?: string | undefined;
@@ -6343,6 +6357,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6343
6357
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6344
6358
  semantics: string;
6345
6359
  guard?: string | undefined;
6360
+ weight?: number | undefined;
6346
6361
  permission_index?: number | undefined;
6347
6362
  named_operator?: string | undefined;
6348
6363
  consequence?: string | undefined;
@@ -6402,6 +6417,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6402
6417
  }>, "many">;
6403
6418
  interest_hints: z.ZodArray<z.ZodString, "many">;
6404
6419
  workflow_unknown: z.ZodBoolean;
6420
+ threshold: z.ZodOptional<z.ZodNumber>;
6405
6421
  interest_analysis: z.ZodOptional<z.ZodObject<{
6406
6422
  fund_flow: z.ZodArray<z.ZodString, "many">;
6407
6423
  responsibility: z.ZodArray<z.ZodString, "many">;
@@ -6493,13 +6509,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6493
6509
  label: string;
6494
6510
  can_act_now: boolean;
6495
6511
  }[];
6496
- perspective: "operator" | "customer" | "observer";
6512
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6497
6513
  operable: {
6498
6514
  name: string;
6499
6515
  to_node: string;
6500
6516
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6501
6517
  semantics: string;
6502
6518
  guard?: string | undefined;
6519
+ weight?: number | undefined;
6503
6520
  permission_index?: number | undefined;
6504
6521
  named_operator?: string | undefined;
6505
6522
  consequence?: string | undefined;
@@ -6516,6 +6533,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6516
6533
  interest_hints: string[];
6517
6534
  workflow_unknown: boolean;
6518
6535
  order?: string | undefined;
6536
+ threshold?: number | undefined;
6537
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6519
6538
  branch_choice?: {
6520
6539
  message: string;
6521
6540
  options: {
@@ -6558,13 +6577,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6558
6577
  label: string;
6559
6578
  can_act_now: boolean;
6560
6579
  }[];
6561
- perspective: "operator" | "customer" | "observer";
6580
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6562
6581
  operable: {
6563
6582
  name: string;
6564
6583
  to_node: string;
6565
6584
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6566
6585
  semantics: string;
6567
6586
  guard?: string | undefined;
6587
+ weight?: number | undefined;
6568
6588
  permission_index?: number | undefined;
6569
6589
  named_operator?: string | undefined;
6570
6590
  consequence?: string | undefined;
@@ -6581,6 +6601,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6581
6601
  interest_hints: string[];
6582
6602
  workflow_unknown: boolean;
6583
6603
  order?: string | undefined;
6604
+ threshold?: number | undefined;
6605
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6584
6606
  branch_choice?: {
6585
6607
  message: string;
6586
6608
  options: {
@@ -6649,13 +6671,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6649
6671
  label: string;
6650
6672
  can_act_now: boolean;
6651
6673
  }[];
6652
- perspective: "operator" | "customer" | "observer";
6674
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6653
6675
  operable: {
6654
6676
  name: string;
6655
6677
  to_node: string;
6656
6678
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6657
6679
  semantics: string;
6658
6680
  guard?: string | undefined;
6681
+ weight?: number | undefined;
6659
6682
  permission_index?: number | undefined;
6660
6683
  named_operator?: string | undefined;
6661
6684
  consequence?: string | undefined;
@@ -6672,6 +6695,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6672
6695
  interest_hints: string[];
6673
6696
  workflow_unknown: boolean;
6674
6697
  order?: string | undefined;
6698
+ threshold?: number | undefined;
6699
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6675
6700
  branch_choice?: {
6676
6701
  message: string;
6677
6702
  options: {
@@ -6715,13 +6740,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6715
6740
  label: string;
6716
6741
  can_act_now: boolean;
6717
6742
  }[];
6718
- perspective: "operator" | "customer" | "observer";
6743
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6719
6744
  operable: {
6720
6745
  name: string;
6721
6746
  to_node: string;
6722
6747
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6723
6748
  semantics: string;
6724
6749
  guard?: string | undefined;
6750
+ weight?: number | undefined;
6725
6751
  permission_index?: number | undefined;
6726
6752
  named_operator?: string | undefined;
6727
6753
  consequence?: string | undefined;
@@ -6738,6 +6764,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6738
6764
  interest_hints: string[];
6739
6765
  workflow_unknown: boolean;
6740
6766
  order?: string | undefined;
6767
+ threshold?: number | undefined;
6768
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6741
6769
  branch_choice?: {
6742
6770
  message: string;
6743
6771
  options: {
@@ -6794,13 +6822,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6794
6822
  label: string;
6795
6823
  can_act_now: boolean;
6796
6824
  }[];
6797
- perspective: "operator" | "customer" | "observer";
6825
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6798
6826
  operable: {
6799
6827
  name: string;
6800
6828
  to_node: string;
6801
6829
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6802
6830
  semantics: string;
6803
6831
  guard?: string | undefined;
6832
+ weight?: number | undefined;
6804
6833
  permission_index?: number | undefined;
6805
6834
  named_operator?: string | undefined;
6806
6835
  consequence?: string | undefined;
@@ -6817,6 +6846,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6817
6846
  interest_hints: string[];
6818
6847
  workflow_unknown: boolean;
6819
6848
  order?: string | undefined;
6849
+ threshold?: number | undefined;
6850
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6820
6851
  branch_choice?: {
6821
6852
  message: string;
6822
6853
  options: {
@@ -6860,13 +6891,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6860
6891
  label: string;
6861
6892
  can_act_now: boolean;
6862
6893
  }[];
6863
- perspective: "operator" | "customer" | "observer";
6894
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
6864
6895
  operable: {
6865
6896
  name: string;
6866
6897
  to_node: string;
6867
6898
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
6868
6899
  semantics: string;
6869
6900
  guard?: string | undefined;
6901
+ weight?: number | undefined;
6870
6902
  permission_index?: number | undefined;
6871
6903
  named_operator?: string | undefined;
6872
6904
  consequence?: string | undefined;
@@ -6883,6 +6915,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6883
6915
  interest_hints: string[];
6884
6916
  workflow_unknown: boolean;
6885
6917
  order?: string | undefined;
6918
+ threshold?: number | undefined;
6919
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
6886
6920
  branch_choice?: {
6887
6921
  message: string;
6888
6922
  options: {
@@ -6963,7 +6997,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6963
6997
  industry: string | null;
6964
6998
  metadata: Record<string, unknown> | null;
6965
6999
  prefix: string;
6966
- perspective: "consumer" | "producer" | "both";
7000
+ perspective: "producer" | "consumer" | "both";
6967
7001
  labels: string[] | null;
6968
7002
  currentVersion: string | null;
6969
7003
  serviceAddress: string | null;
@@ -6985,7 +7019,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
6985
7019
  industry: string | null;
6986
7020
  metadata: Record<string, unknown> | null;
6987
7021
  prefix: string;
6988
- perspective: "consumer" | "producer" | "both";
7022
+ perspective: "producer" | "consumer" | "both";
6989
7023
  labels: string[] | null;
6990
7024
  currentVersion: string | null;
6991
7025
  serviceAddress: string | null;
@@ -7043,7 +7077,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
7043
7077
  industry: string | null;
7044
7078
  metadata: Record<string, unknown> | null;
7045
7079
  prefix: string;
7046
- perspective: "consumer" | "producer" | "both";
7080
+ perspective: "producer" | "consumer" | "both";
7047
7081
  labels: string[] | null;
7048
7082
  currentVersion: string | null;
7049
7083
  serviceAddress: string | null;
@@ -7074,7 +7108,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
7074
7108
  industry: string | null;
7075
7109
  metadata: Record<string, unknown> | null;
7076
7110
  prefix: string;
7077
- perspective: "consumer" | "producer" | "both";
7111
+ perspective: "producer" | "consumer" | "both";
7078
7112
  labels: string[] | null;
7079
7113
  currentVersion: string | null;
7080
7114
  serviceAddress: string | null;
@@ -7093,7 +7127,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
7093
7127
  industry: string | null;
7094
7128
  metadata: Record<string, unknown> | null;
7095
7129
  prefix: string;
7096
- perspective: "consumer" | "producer" | "both";
7130
+ perspective: "producer" | "consumer" | "both";
7097
7131
  labels: string[] | null;
7098
7132
  currentVersion: string | null;
7099
7133
  serviceAddress: string | null;
@@ -8027,13 +8061,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8027
8061
  label: string;
8028
8062
  can_act_now: boolean;
8029
8063
  }[];
8030
- perspective: "operator" | "customer" | "observer";
8064
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
8031
8065
  operable: {
8032
8066
  name: string;
8033
8067
  to_node: string;
8034
8068
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
8035
8069
  semantics: string;
8036
8070
  guard?: string | undefined;
8071
+ weight?: number | undefined;
8037
8072
  permission_index?: number | undefined;
8038
8073
  named_operator?: string | undefined;
8039
8074
  consequence?: string | undefined;
@@ -8050,6 +8085,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8050
8085
  interest_hints: string[];
8051
8086
  workflow_unknown: boolean;
8052
8087
  order?: string | undefined;
8088
+ threshold?: number | undefined;
8089
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
8053
8090
  branch_choice?: {
8054
8091
  message: string;
8055
8092
  options: {
@@ -8093,13 +8130,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8093
8130
  label: string;
8094
8131
  can_act_now: boolean;
8095
8132
  }[];
8096
- perspective: "operator" | "customer" | "observer";
8133
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
8097
8134
  operable: {
8098
8135
  name: string;
8099
8136
  to_node: string;
8100
8137
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
8101
8138
  semantics: string;
8102
8139
  guard?: string | undefined;
8140
+ weight?: number | undefined;
8103
8141
  permission_index?: number | undefined;
8104
8142
  named_operator?: string | undefined;
8105
8143
  consequence?: string | undefined;
@@ -8116,6 +8154,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8116
8154
  interest_hints: string[];
8117
8155
  workflow_unknown: boolean;
8118
8156
  order?: string | undefined;
8157
+ threshold?: number | undefined;
8158
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
8119
8159
  branch_choice?: {
8120
8160
  message: string;
8121
8161
  options: {
@@ -8196,7 +8236,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8196
8236
  industry: string | null;
8197
8237
  metadata: Record<string, unknown> | null;
8198
8238
  prefix: string;
8199
- perspective: "consumer" | "producer" | "both";
8239
+ perspective: "producer" | "consumer" | "both";
8200
8240
  labels: string[] | null;
8201
8241
  currentVersion: string | null;
8202
8242
  serviceAddress: string | null;
@@ -8218,7 +8258,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8218
8258
  industry: string | null;
8219
8259
  metadata: Record<string, unknown> | null;
8220
8260
  prefix: string;
8221
- perspective: "consumer" | "producer" | "both";
8261
+ perspective: "producer" | "consumer" | "both";
8222
8262
  labels: string[] | null;
8223
8263
  currentVersion: string | null;
8224
8264
  serviceAddress: string | null;
@@ -8276,7 +8316,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8276
8316
  industry: string | null;
8277
8317
  metadata: Record<string, unknown> | null;
8278
8318
  prefix: string;
8279
- perspective: "consumer" | "producer" | "both";
8319
+ perspective: "producer" | "consumer" | "both";
8280
8320
  labels: string[] | null;
8281
8321
  currentVersion: string | null;
8282
8322
  serviceAddress: string | null;
@@ -8307,7 +8347,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8307
8347
  industry: string | null;
8308
8348
  metadata: Record<string, unknown> | null;
8309
8349
  prefix: string;
8310
- perspective: "consumer" | "producer" | "both";
8350
+ perspective: "producer" | "consumer" | "both";
8311
8351
  labels: string[] | null;
8312
8352
  currentVersion: string | null;
8313
8353
  serviceAddress: string | null;
@@ -8326,7 +8366,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
8326
8366
  industry: string | null;
8327
8367
  metadata: Record<string, unknown> | null;
8328
8368
  prefix: string;
8329
- perspective: "consumer" | "producer" | "both";
8369
+ perspective: "producer" | "consumer" | "both";
8330
8370
  labels: string[] | null;
8331
8371
  currentVersion: string | null;
8332
8372
  serviceAddress: string | null;
@@ -9260,13 +9300,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
9260
9300
  label: string;
9261
9301
  can_act_now: boolean;
9262
9302
  }[];
9263
- perspective: "operator" | "customer" | "observer";
9303
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
9264
9304
  operable: {
9265
9305
  name: string;
9266
9306
  to_node: string;
9267
9307
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
9268
9308
  semantics: string;
9269
9309
  guard?: string | undefined;
9310
+ weight?: number | undefined;
9270
9311
  permission_index?: number | undefined;
9271
9312
  named_operator?: string | undefined;
9272
9313
  consequence?: string | undefined;
@@ -9283,6 +9324,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
9283
9324
  interest_hints: string[];
9284
9325
  workflow_unknown: boolean;
9285
9326
  order?: string | undefined;
9327
+ threshold?: number | undefined;
9328
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
9286
9329
  branch_choice?: {
9287
9330
  message: string;
9288
9331
  options: {
@@ -9326,13 +9369,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
9326
9369
  label: string;
9327
9370
  can_act_now: boolean;
9328
9371
  }[];
9329
- perspective: "operator" | "customer" | "observer";
9372
+ perspective: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator";
9330
9373
  operable: {
9331
9374
  name: string;
9332
9375
  to_node: string;
9333
9376
  execution_path: "permission" | "order_holder" | "named_operator" | "not_available";
9334
9377
  semantics: string;
9335
9378
  guard?: string | undefined;
9379
+ weight?: number | undefined;
9336
9380
  permission_index?: number | undefined;
9337
9381
  named_operator?: string | undefined;
9338
9382
  consequence?: string | undefined;
@@ -9349,6 +9393,8 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
9349
9393
  interest_hints: string[];
9350
9394
  workflow_unknown: boolean;
9351
9395
  order?: string | undefined;
9396
+ threshold?: number | undefined;
9397
+ collaborator_kind?: "named_operator" | "permission_entity" | undefined;
9352
9398
  branch_choice?: {
9353
9399
  message: string;
9354
9400
  options: {