@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
@@ -0,0 +1 @@
1
+ import{z}from'zod';const RiskLevelEnum=z['enum'](['low','medium','high']),RiskAppetiteEnum=z['enum'](['conservative','balanced','aggressive']),PerspectiveEnum=z['enum'](['merchant','customer','prospect','supplier','collaborator','arbitrator']),ArbStatusEnum=z['enum'](['Principal_confirming','Arbitrator_confirming','Voting','Arbitrated','Objectionable','Finished','Withdrawn']),ArbPerspectiveEnum=z['enum'](['customer','merchant','arbitrator']),ExecutionPathEnum=z['enum'](['order_holder','permission','named_operator','not_available']),EvaluationLevelEnum=z['enum'](['low','medium_low','medium_high','high']),IndustryEnum=z['enum'](['freelance','rental','education','travel','subscription','retail','general','custom']),RegionSchema=z['object']({'mode':z['enum'](['remote','physical']),'country':z['string']()['optional'](),'province':z['string']()['optional'](),'city':z['string']()['optional'](),'raw':z['string']()['describe']('Original\x20location\x20string\x20(for\x20traceability).')})['strict'](),WorkflowCapabilitiesSchema=z['object']({'has_arbitration':z['boolean'](),'has_refund_path':z['boolean'](),'has_milestone_nodes':z['boolean'](),'has_compensation_fund':z['boolean'](),'has_wip_verification':z['boolean'](),'has_messenger':z['boolean'](),'has_buy_guard':z['boolean'](),'has_dynamic_pricing':z['boolean'](),'is_published':z['boolean'](),'is_paused':z['boolean']()})['strict']();export const CapabilityVectorSchema=z['object']({'id':z['string']()['describe']('Service/Demand\x20address.'),'kind':z['enum'](['service','demand'])['describe']('Whether\x20this\x20is\x20a\x20service\x20or\x20demand.'),'owner':z['string']()['optional'](),'industry':IndustryEnum['describe']('Industry\x20scenario.'),'industry_confidence':z['number']()['min'](0x0)['max'](0x1)['optional'](),'region':RegionSchema,'price_min':z['string']()['optional']()['describe']('Smallest-unit\x20amount\x20(string\x20to\x20avoid\x20JSON\x20bigint\x20loss).'),'price_max':z['string']()['optional']()['describe']('Smallest-unit\x20amount\x20(string\x20to\x20avoid\x20JSON\x20bigint\x20loss).'),'token_type':z['string']()['optional'](),'ticket_size':z['enum'](['micro','small','medium','large'])['optional'](),'trust_score':z['number']()['min'](0x0)['max'](0x64)['optional'](),'reputation_like_ratio':z['number']()['min'](0x0)['max'](0x1)['optional'](),'arbitration_independent':z['boolean']()['optional'](),'merchant_history_count':z['number']()['int']()['min'](0x0)['optional'](),'capabilities':WorkflowCapabilitiesSchema,'tags':z['array'](z['string']())['optional'](),'keywords':z['array'](z['string']())['optional']()})['strict']();const ServiceExtractInputSchema=z['object']({'object':z['string']()['describe']('Service\x20object\x20address.'),'description':z['string'](),'location':z['string'](),'sales':z['array'](z['object']({'name':z['string']()['optional'](),'price':z['string']()['describe']('Smallest-unit\x20amount\x20(string).'),'wip_hash':z['string']()['optional']()})['strict']())['optional'](),'arbitrations':z['array'](z['string']())['optional'](),'compensation_fund':z['string']()['optional']()['describe']('Smallest-unit\x20amount\x20(string).'),'buy_guard':z['string']()['nullable']()['optional'](),'machine':z['string']()['nullable']()['optional'](),'um':z['string']()['nullable']()['optional'](),'bPublished':z['boolean']()['optional'](),'bPaused':z['boolean']()['optional'](),'owner':z['string']()['optional']()})['strict'](),DemandExtractInputSchema=z['object']({'object':z['string']()['describe']('Demand\x20object\x20address.'),'description':z['string'](),'location':z['string'](),'rewards':z['array'](z['string']())['optional'](),'um':z['string']()['nullable']()['optional'](),'owner':z['string']()['optional']()})['strict'](),UserInjectionSchema=z['object']({'intent':z['string']()['optional']()['describe']('Free-text\x20intent.'),'preferences':z['record'](z['unknown']())['optional'](),'requirements':z['array'](z['object']({'rule_id':z['string'](),'condition':z['enum'](['require','forbid']),'note':z['string']()['optional']()})['strict']())['optional']()['describe']('Hard\x20red\x20lines\x20(block\x20when\x20violated).'),'overrides':z['object']({'rules':z['record'](z['object']({'enabled':z['boolean']()['optional'](),'weight':z['number']()['optional']()})['strict']())['optional'](),'data_sources':z['record'](z['object']({'enabled':z['boolean']()['optional']()})['strict']())['optional']()})['strict']()['optional']()['describe']('Enable/disable/reweight\x20rules\x20and\x20data\x20sources.')})['strict'](),ArbGameActionSchema=z['object']({'action':z['string']()['describe']('Recommended\x20move\x20(e.g.\x20\x27confirm\x27,\x20\x27vote\x27,\x20\x27objection\x27,\x20\x27arb_withdraw\x27).'),'favorability':z['number']()['int']()['min'](0x0)['max'](0x64)['describe']('Favorability\x200-100\x20for\x20the\x20perspective.'),'gain_score':z['number']()['int']()['min'](0x0)['describe']('Gain\x20points\x20(收益).'),'risk_score':z['number']()['int']()['min'](0x0)['describe']('Risk\x20points\x20(风险,\x20appetite-adjusted).'),'is_optimal':z['boolean']()['describe']('True\x20when\x20this\x20is\x20the\x20top\x20recommended\x20move.'),'payoff_note':z['string']()['describe']('What\x20the\x20move\x20achieves.'),'risk':RiskLevelEnum['describe']('Risk\x20of\x20the\x20move.')})['strict'](),NodeForwardSchema=z['object']({'name':z['string']()['describe']('Forward\x20(operation)\x20name.'),'to_node':z['string']()['describe']('Target\x20node\x20after\x20execution.'),'execution_path':ExecutionPathEnum['describe']('How\x20the\x20account\x20may\x20execute\x20it.'),'guard':z['string']()['optional']()['describe']('Guard\x20address\x20gating\x20this\x20forward.'),'consequence':z['string']()['optional']()['describe']('Consequence\x20hint\x20(completion/refund\x20path).'),'weight':z['number']()['optional']()['describe']('Forward\x20weight\x20(accumulates\x20toward\x20the\x20pair\x27s\x20threshold).')})['strict'](),NodeGameActionSchema=z['object']({'forward':z['string']()['describe']('Forward\x20(operation)\x20name.'),'to_node':z['string']()['describe']('Target\x20node\x20after\x20execution.'),'execution_path':ExecutionPathEnum['describe']('How\x20the\x20account\x20may\x20execute\x20it.'),'guard':z['string']()['optional']()['describe']('Guard\x20address\x20gating\x20this\x20forward.'),'favorability':z['number']()['int']()['min'](0x0)['max'](0x64)['describe']('Net\x20favorability\x200-100\x20for\x20the\x20perspective\x20(gain\x20−\x20risk).'),'gain_score':z['number']()['int']()['min'](0x0)['describe']('Gain\x20points\x20(收益).'),'risk_score':z['number']()['int']()['min'](0x0)['describe']('Risk\x20points\x20(风险,\x20appetite-adjusted).'),'is_optimal':z['boolean']()['describe']('True\x20when\x20this\x20is\x20the\x20top\x20recommended\x20move.'),'payoff_note':z['string']()['describe']('What\x20the\x20move\x20achieves.'),'risk':RiskLevelEnum['describe']('Risk\x20of\x20the\x20move.')})['strict'](),AllocationSummarySchema=z['object']({'recipient_slots':z['number']()['int']()['min'](0x0)['describe']('Total\x20recipient\x20slots\x20across\x20allocators.'),'guard_gated_slots':z['number']()['int']()['min'](0x0)['describe']('Slots\x20resolved\x20at\x20settlement\x20by\x20a\x20Guard.'),'direct_to_me_slots':z['number']()['int']()['min'](0x0)['describe']('Slots\x20paying\x20directly\x20to\x20this\x20role.'),'to_payer_slots':z['number']()['int']()['min'](0x0)['describe']('Slots\x20routing\x20back\x20to\x20the\x20payer\x20(refund-oriented).')})['strict'](),CooperationInfoSchema=z['object']({'threshold':z['number']()['int']()['min'](0x1)['describe']('Pair\x20threshold\x20(accumulated\x20forward\x20weights\x20to\x20advance).'),'my_weight':z['number']()['int']()['min'](0x0)['describe']('Weight\x20THIS\x20role\x20can\x20contribute.'),'needed_from_others':z['number']()['int']()['min'](0x0)['describe']('Weight\x20still\x20needed\x20from\x20other\x20roles\x20(0\x20=\x20can\x20advance\x20alone).'),'collaborators':z['array'](z['string']())['describe']('Roles\x20that\x20must\x20cooperate\x20to\x20reach\x20the\x20threshold.'),'allocation':AllocationSummarySchema['optional']()['describe']('Allocation\x20waterfall\x20—\x20how\x20funds\x20split\x20once\x20the\x20node\x20advances\x20(利益分配).'),'allocation_note':z['string']()['optional']()['describe']('Human-readable利益分配说明.')})['strict'](),CapabilityGapSchema=z['object']({'dimension':z['string']()['describe']('Capability\x20dimension\x20(has_arbitration\x20/\x20region\x20/\x20price\x20/\x20...).'),'requirement':z['string']()['describe']('What\x20the\x20demand\x20requires.'),'provided':z['string']()['describe']('What\x20the\x20service\x20provides.'),'status':z['enum'](['satisfied','partial','missing']),'impact':z['enum'](['critical','major','minor']),'suggestion':z['string']()['describe']('Actionable\x20suggestion.')})['strict'](),CapabilityGapReportSchema=z['object']({'entity_id':z['string'](),'satisfied':z['array'](CapabilityGapSchema),'missing':z['array'](CapabilityGapSchema),'coverage_score':z['number']()['int']()['min'](0x0)['max'](0x64),'summary':z['string']()})['strict'](),CompositePlanSchema=z['object']({'demand':z['string'](),'services':z['array'](z['object']({'id':z['string'](),'covered':z['array'](z['string']())})['strict']()),'coverage_score':z['number']()['int']()['min'](0x0)['max'](0x64),'remaining_missing':z['array'](z['string']()),'feasibility':z['enum'](['ready','needs_supply_chain','infeasible']),'summary':z['string']()})['strict'](),EvaluationResultSchema=z['object']({'evaluation_id':z['string'](),'total':z['number']()['int']()['min'](0x0)['max'](0x64),'level':EvaluationLevelEnum,'breakdown':z['array'](z['object']({'rule_id':z['string'](),'dimension':z['string'](),'score':z['number'](),'weight':z['number'](),'reason':z['string']()['optional'](),'matched':z['array'](z['string']())['optional'](),'mismatched':z['array'](z['string']())['optional'](),'red_flag':z['boolean']()['optional']()})['strict']()),'red_flags':z['array'](z['string']()),'blocked':z['boolean'](),'trace':z['array'](z['object']({'kind':z['enum'](['data_source','rule','override']),'id':z['string'](),'detail':z['string']()})['strict']()),'summary':z['string']()})['strict'](),ServiceRawDataSchema=z['object']({'name':z['string']()['optional'](),'bPublished':z['boolean']()['optional'](),'bPaused':z['boolean']()['optional'](),'price':z['string']()['optional'](),'priceRaw':z['string']()['optional']()['describe']('Smallest-unit\x20amount\x20(string).'),'token_type':z['string']()['optional'](),'sales':z['array'](z['object']({'suspension':z['boolean']()['optional'](),'wip_url':z['string']()['optional'](),'wip_hash':z['string']()['optional']()})['strict']())['optional'](),'machine':z['string']()['optional'](),'buy_guard':z['string']()['optional'](),'customer_required':z['array'](z['unknown']())['optional'](),'arbitrations':z['array'](z['string']())['optional'](),'compensation_fund':z['object']({'balance':z['string']()['optional']()['describe']('Smallest-unit\x20amount\x20(string).')})['strict']()['optional'](),'compensation_lock_duration':z['number']()['optional'](),'um':z['string']()['optional']()})['strict'](),MachineNodeRawSchema=z['object']({'name':z['string'](),'forwards':z['array'](z['object']({'name':z['string']()['optional'](),'weight':z['number']()['optional'](),'namedOperator':z['string']()['nullable']()['optional'](),'guard':z['string']()['nullable']()['optional'](),'to':z['string']()['optional']()})['strict']())['optional'](),'is_pair_done':z['boolean']()['optional']()})['strict'](),ReviewRawSchema=z['object']({'rating':z['string']()['optional'](),'reviewer':z['string']()['optional'](),'verified':z['boolean']()['optional'](),'has_evidence':z['boolean']()['optional'](),'timestamp':z['number']()['optional']()})['strict'](),EventRawSchema=z['object']({'type':z['string'](),'timestamp':z['number']()['optional'](),'address':z['string']()['optional'](),'data':z['record'](z['unknown']())['optional']()})['strict']();export const PuzzleRawDataSchema=z['object']({'service':ServiceRawDataSchema,'machine_nodes':z['array'](MachineNodeRawSchema)['optional'](),'machine_published':z['boolean']()['optional'](),'machine_paused':z['boolean']()['optional'](),'reviews':z['array'](ReviewRawSchema)['optional'](),'events':z['array'](EventRawSchema)['optional'](),'similar_services':z['array'](z['object']({'price':z['string']()})['strict']())['optional'](),'order_amount':z['string']()['optional']()['describe']('Smallest-unit\x20amount\x20(string).'),'trust_score':z['object']({'score':z['number'](),'level':z['string']()})['strict']()['optional'](),'arbitration_owner':z['string']()['optional'](),'service_owner':z['string']()['optional'](),'wip_verified':z['boolean']()['optional'](),'order_history':z['array'](z['object']({'status':z['string'](),'has_dispute':z['boolean'](),'is_repeat':z['boolean']()})['strict']())['optional'](),'merchant_reputation':z['object']({'likes':z['number'](),'dislikes':z['number']()})['strict']()['optional']()})['strict']();export const EvaluationOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('arb_game'),'status':ArbStatusEnum,'perspective':ArbPerspectiveEnum,'appetite':RiskAppetiteEnum['optional']()['describe']('Risk\x20appetite\x20—\x20adjusts\x20risk\x20sensitivity\x20(conservative\x20amplifies\x20risk).'),'account':z['string']()['optional']()['describe']('Account\x20address;\x20its\x20persona\x27s\x20risk_appetite\x20is\x20used\x20as\x20the\x20default\x20appetite.'),'requirements':z['array'](z['string']())['optional']()['describe']('Persona\x20red\x20lines\x20that\x20re-anchor\x20the\x20role\x27s\x20prefer/avoid\x20(人设驱动力).')})['strict'](),z['object']({'action':z['literal']('node_game'),'current_node':z['string'](),'perspective':PerspectiveEnum,'appetite':RiskAppetiteEnum['optional']()['describe']('Risk\x20appetite\x20—\x20adjusts\x20risk\x20sensitivity\x20(conservative\x20amplifies\x20risk).'),'account':z['string']()['optional']()['describe']('Account\x20address;\x20its\x20persona\x27s\x20risk_appetite\x20is\x20used\x20as\x20the\x20default\x20appetite.'),'threshold':z['number']()['int']()['min'](0x1)['optional']()['describe']('Pair\x20threshold\x20—\x20when\x20>\x201,\x20multi-role\x20cooperation\x20is\x20needed\x20to\x20advance.'),'allocation':AllocationSummarySchema['optional']()['describe']('Allocation\x20waterfall\x20—\x20how\x20funds\x20split\x20after\x20the\x20node\x20advances\x20(利益分配).'),'requirements':z['array'](z['string']())['optional']()['describe']('Persona\x20red\x20lines\x20that\x20re-anchor\x20the\x20role\x27s\x20prefer/avoid\x20(人设驱动力).'),'order_amount':z['string']()['optional']()['describe']('Escrowed\x20order\x20amount\x20(smallest-unit\x20string)\x20—\x20the\x20monetary\x20stake\x20at\x20this\x20node\x20(数值化).'),'compensation_fund':z['string']()['optional']()['describe']('Merchant\x20compensation_fund\x20(smallest-unit\x20string)\x20—\x20the\x20monetary\x20risk\x20exposure\x20backing\x20indemnity.'),'operable':z['array'](NodeForwardSchema),'waiting_on':z['array'](z['object']({'role':z['string'](),'forwards':z['array'](z['string']())})['strict']())['optional']()})['strict'](),z['object']({'action':z['literal']('capability_gap'),'demand':CapabilityVectorSchema,'service':CapabilityVectorSchema})['strict'](),z['object']({'action':z['literal']('compose_service'),'demand':CapabilityVectorSchema,'services':z['array'](CapabilityVectorSchema)})['strict'](),z['object']({'action':z['literal']('demand_match'),'demand_cap':CapabilityVectorSchema,'services':z['array'](ServiceExtractInputSchema),'injection':UserInjectionSchema['optional'](),'account':z['string']()['optional']()['describe']('Account\x20address;\x20its\x20persona\x20is\x20auto-applied\x20as\x20the\x20base\x20injection\x20(explicit\x20injection\x20overrides).')})['strict'](),z['object']({'action':z['literal']('service_match'),'service_cap':CapabilityVectorSchema,'demands':z['array'](DemandExtractInputSchema),'injection':UserInjectionSchema['optional'](),'account':z['string']()['optional']()['describe']('Account\x20address;\x20its\x20persona\x20is\x20auto-applied\x20as\x20the\x20base\x20injection.')})['strict'](),z['object']({'action':z['literal']('service_risk'),'service_id':z['string']()['describe']('Service\x20object\x20address\x20or\x20LocalMark\x20name.'),'puzzle_raw':PuzzleRawDataSchema,'injection':UserInjectionSchema['optional'](),'depth':z['enum'](['browse','evaluate','preorder','monitor'])['optional'](),'account':z['string']()['optional']()['describe']('Account\x20address;\x20its\x20persona\x20is\x20auto-applied\x20as\x20the\x20base\x20injection.')})['strict']()]);export const EvaluationOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('arb_game'),'status':ArbStatusEnum,'perspective':ArbPerspectiveEnum,'actions':z['array'](ArbGameActionSchema),'summary':z['string']()})['strict'](),z['object']({'action':z['literal']('node_game'),'current_node':z['string'](),'perspective':PerspectiveEnum,'actions':z['array'](NodeGameActionSchema),'cooperation':CooperationInfoSchema['optional'](),'value_at_stake':z['string']()['optional']()['describe']('Escrowed\x20order\x20amount\x20(smallest-unit\x20string)\x20—\x20the\x20monetary\x20value\x20at\x20stake.'),'risk_exposure':z['string']()['optional']()['describe']('Compensation_fund\x20(smallest-unit\x20string)\x20—\x20the\x20monetary\x20risk\x20exposure\x20backing\x20indemnity.'),'summary':z['string']()})['strict'](),z['object']({'action':z['literal']('capability_gap'),'report':CapabilityGapReportSchema})['strict'](),z['object']({'action':z['literal']('compose_service'),'plan':CompositePlanSchema})['strict'](),z['object']({'action':z['literal']('demand_match'),'matches':z['array'](z['object']({'service':ServiceExtractInputSchema,'result':EvaluationResultSchema})['strict']())})['strict'](),z['object']({'action':z['literal']('service_match'),'matches':z['array'](z['object']({'demand':DemandExtractInputSchema,'result':EvaluationResultSchema})['strict']())})['strict'](),z['object']({'action':z['literal']('service_risk'),'result':EvaluationResultSchema})['strict']()])['describe']('Evaluation\x20result\x20—\x20shape\x20depends\x20on\x20action')})['strict']();
@@ -9,6 +9,10 @@ export * from './utils/node-parser.js';
9
9
  export * from './project/index.js';
10
10
  export * from './config/index.js';
11
11
  export * from './trust/index.js';
12
+ export * from './evaluation/index.js';
13
+ export * from './task-status.js';
14
+ export * from './persona/index.js';
15
+ export * from './intent-radar/index.js';
12
16
  export * from './schema-query/index.js';
13
17
  export { MCP_SCHEMA_VERSION, getSchemaVersions, checkClientSchemaCompatibility, attachSchemaWarning, } from './schema-version.js';
14
18
  export type { SchemaVersions, SchemaCompatibilityMode, SchemaCheckOptions, SchemaCheckResult, } from './schema-version.js';
@@ -1,13 +1 @@
1
- export * from './call/index.js';
2
- export * from './query/index.js';
3
- export * from './local/index.js';
4
- export * from './messenger/index.js';
5
- export * from './common/index.js';
6
- export * from './operations.js';
7
- export * from './utils/guard-parser.js';
8
- export * from './utils/node-parser.js';
9
- export * from './project/index.js';
10
- export * from './config/index.js';
11
- export * from './trust/index.js';
12
- export * from './schema-query/index.js';
13
- export { MCP_SCHEMA_VERSION, getSchemaVersions, checkClientSchemaCompatibility, attachSchemaWarning, } from './schema-version.js';
1
+ export*from'./call/index.js';export*from'./query/index.js';export*from'./local/index.js';export*from'./messenger/index.js';export*from'./common/index.js';export*from'./operations.js';export*from'./utils/guard-parser.js';export*from'./utils/node-parser.js';export*from'./project/index.js';export*from'./config/index.js';export*from'./trust/index.js';export*from'./evaluation/index.js';export*from'./task-status.js';export*from'./persona/index.js';export*from'./intent-radar/index.js';export*from'./schema-query/index.js';export{MCP_SCHEMA_VERSION,getSchemaVersions,checkClientSchemaCompatibility,attachSchemaWarning}from'./schema-version.js';
@@ -0,0 +1,284 @@
1
+ import { z } from "zod";
2
+ export declare const IntentRadarInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
3
+ action: z.ZodLiteral<"save">;
4
+ intent: z.ZodString;
5
+ account: z.ZodOptional<z.ZodString>;
6
+ role: z.ZodOptional<z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>>;
7
+ target_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["NewOrderEvent", "ProgressEvent", "DemandPresentEvent", "DemandFeedbackEvent", "NewEntityEvent", "ArbEvent"]>, "many">>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ intent: string;
10
+ action: "save";
11
+ account?: string | undefined;
12
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
13
+ target_types?: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[] | undefined;
14
+ }, {
15
+ intent: string;
16
+ action: "save";
17
+ account?: string | undefined;
18
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
19
+ target_types?: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[] | undefined;
20
+ }>, z.ZodObject<{
21
+ action: z.ZodLiteral<"list">;
22
+ account: z.ZodOptional<z.ZodString>;
23
+ }, "strict", z.ZodTypeAny, {
24
+ action: "list";
25
+ account?: string | undefined;
26
+ }, {
27
+ action: "list";
28
+ account?: string | undefined;
29
+ }>, z.ZodObject<{
30
+ action: z.ZodLiteral<"remove">;
31
+ id: z.ZodString;
32
+ }, "strict", z.ZodTypeAny, {
33
+ id: string;
34
+ action: "remove";
35
+ }, {
36
+ id: string;
37
+ action: "remove";
38
+ }>, z.ZodObject<{
39
+ action: z.ZodLiteral<"match">;
40
+ intent_id: z.ZodOptional<z.ZodString>;
41
+ account: z.ZodOptional<z.ZodString>;
42
+ events: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
43
+ network: z.ZodOptional<z.ZodEnum<["mainnet", "testnet"]>>;
44
+ limit: z.ZodOptional<z.ZodNumber>;
45
+ }, "strict", z.ZodTypeAny, {
46
+ action: "match";
47
+ network?: "testnet" | "mainnet" | undefined;
48
+ account?: string | undefined;
49
+ events?: Record<string, unknown>[] | undefined;
50
+ limit?: number | undefined;
51
+ intent_id?: string | undefined;
52
+ }, {
53
+ action: "match";
54
+ network?: "testnet" | "mainnet" | undefined;
55
+ account?: string | undefined;
56
+ events?: Record<string, unknown>[] | undefined;
57
+ limit?: number | undefined;
58
+ intent_id?: string | undefined;
59
+ }>]>;
60
+ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
61
+ action: z.ZodLiteral<"save">;
62
+ intent: z.ZodObject<{
63
+ id: z.ZodString;
64
+ intent: z.ZodString;
65
+ account: z.ZodOptional<z.ZodString>;
66
+ role: z.ZodOptional<z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>>;
67
+ industries: z.ZodArray<z.ZodEnum<["freelance", "rental", "education", "travel", "subscription", "retail", "general", "custom"]>, "many">;
68
+ keywords: z.ZodArray<z.ZodString, "many">;
69
+ target_types: z.ZodArray<z.ZodEnum<["NewOrderEvent", "ProgressEvent", "DemandPresentEvent", "DemandFeedbackEvent", "NewEntityEvent", "ArbEvent"]>, "many">;
70
+ created_at: z.ZodNumber;
71
+ updated_at: z.ZodNumber;
72
+ }, "strict", z.ZodTypeAny, {
73
+ id: string;
74
+ intent: string;
75
+ keywords: string[];
76
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
77
+ updated_at: number;
78
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
79
+ created_at: number;
80
+ account?: string | undefined;
81
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
82
+ }, {
83
+ id: string;
84
+ intent: string;
85
+ keywords: string[];
86
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
87
+ updated_at: number;
88
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
89
+ created_at: number;
90
+ account?: string | undefined;
91
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
92
+ }>;
93
+ }, "strict", z.ZodTypeAny, {
94
+ intent: {
95
+ id: string;
96
+ intent: string;
97
+ keywords: string[];
98
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
99
+ updated_at: number;
100
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
101
+ created_at: number;
102
+ account?: string | undefined;
103
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
104
+ };
105
+ action: "save";
106
+ }, {
107
+ intent: {
108
+ id: string;
109
+ intent: string;
110
+ keywords: string[];
111
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
112
+ updated_at: number;
113
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
114
+ created_at: number;
115
+ account?: string | undefined;
116
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
117
+ };
118
+ action: "save";
119
+ }>, z.ZodObject<{
120
+ action: z.ZodLiteral<"list">;
121
+ intents: z.ZodArray<z.ZodObject<{
122
+ id: z.ZodString;
123
+ intent: z.ZodString;
124
+ account: z.ZodOptional<z.ZodString>;
125
+ role: z.ZodOptional<z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>>;
126
+ industries: z.ZodArray<z.ZodEnum<["freelance", "rental", "education", "travel", "subscription", "retail", "general", "custom"]>, "many">;
127
+ keywords: z.ZodArray<z.ZodString, "many">;
128
+ target_types: z.ZodArray<z.ZodEnum<["NewOrderEvent", "ProgressEvent", "DemandPresentEvent", "DemandFeedbackEvent", "NewEntityEvent", "ArbEvent"]>, "many">;
129
+ created_at: z.ZodNumber;
130
+ updated_at: z.ZodNumber;
131
+ }, "strict", z.ZodTypeAny, {
132
+ id: string;
133
+ intent: string;
134
+ keywords: string[];
135
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
136
+ updated_at: number;
137
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
138
+ created_at: number;
139
+ account?: string | undefined;
140
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
141
+ }, {
142
+ id: string;
143
+ intent: string;
144
+ keywords: string[];
145
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
146
+ updated_at: number;
147
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
148
+ created_at: number;
149
+ account?: string | undefined;
150
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
151
+ }>, "many">;
152
+ }, "strict", z.ZodTypeAny, {
153
+ action: "list";
154
+ intents: {
155
+ id: string;
156
+ intent: string;
157
+ keywords: string[];
158
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
159
+ updated_at: number;
160
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
161
+ created_at: number;
162
+ account?: string | undefined;
163
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
164
+ }[];
165
+ }, {
166
+ action: "list";
167
+ intents: {
168
+ id: string;
169
+ intent: string;
170
+ keywords: string[];
171
+ industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
172
+ updated_at: number;
173
+ target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
174
+ created_at: number;
175
+ account?: string | undefined;
176
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
177
+ }[];
178
+ }>, z.ZodObject<{
179
+ action: z.ZodLiteral<"remove">;
180
+ removed: z.ZodBoolean;
181
+ }, "strict", z.ZodTypeAny, {
182
+ action: "remove";
183
+ removed: boolean;
184
+ }, {
185
+ action: "remove";
186
+ removed: boolean;
187
+ }>, z.ZodObject<{
188
+ action: z.ZodLiteral<"match">;
189
+ results: z.ZodArray<z.ZodObject<{
190
+ intent_id: z.ZodString;
191
+ intent: z.ZodString;
192
+ hits: z.ZodArray<z.ZodObject<{
193
+ event_type: z.ZodString;
194
+ event_id: z.ZodString;
195
+ related_objects: z.ZodArray<z.ZodString, "many">;
196
+ business_meaning: z.ZodString;
197
+ score: z.ZodNumber;
198
+ matched_industries: z.ZodArray<z.ZodString, "many">;
199
+ matched_keywords: z.ZodArray<z.ZodString, "many">;
200
+ event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
201
+ }, "strict", z.ZodTypeAny, {
202
+ event_type: string;
203
+ business_meaning: string;
204
+ score: number;
205
+ event: Record<string, unknown>;
206
+ matched_keywords: string[];
207
+ event_id: string;
208
+ related_objects: string[];
209
+ matched_industries: string[];
210
+ }, {
211
+ event_type: string;
212
+ business_meaning: string;
213
+ score: number;
214
+ event: Record<string, unknown>;
215
+ matched_keywords: string[];
216
+ event_id: string;
217
+ related_objects: string[];
218
+ matched_industries: string[];
219
+ }>, "many">;
220
+ scanned: z.ZodNumber;
221
+ }, "strict", z.ZodTypeAny, {
222
+ intent: string;
223
+ intent_id: string;
224
+ hits: {
225
+ event_type: string;
226
+ business_meaning: string;
227
+ score: number;
228
+ event: Record<string, unknown>;
229
+ matched_keywords: string[];
230
+ event_id: string;
231
+ related_objects: string[];
232
+ matched_industries: string[];
233
+ }[];
234
+ scanned: number;
235
+ }, {
236
+ intent: string;
237
+ intent_id: string;
238
+ hits: {
239
+ event_type: string;
240
+ business_meaning: string;
241
+ score: number;
242
+ event: Record<string, unknown>;
243
+ matched_keywords: string[];
244
+ event_id: string;
245
+ related_objects: string[];
246
+ matched_industries: string[];
247
+ }[];
248
+ scanned: number;
249
+ }>, "many">;
250
+ }, "strict", z.ZodTypeAny, {
251
+ action: "match";
252
+ results: {
253
+ intent: string;
254
+ intent_id: string;
255
+ hits: {
256
+ event_type: string;
257
+ business_meaning: string;
258
+ score: number;
259
+ event: Record<string, unknown>;
260
+ matched_keywords: string[];
261
+ event_id: string;
262
+ related_objects: string[];
263
+ matched_industries: string[];
264
+ }[];
265
+ scanned: number;
266
+ }[];
267
+ }, {
268
+ action: "match";
269
+ results: {
270
+ intent: string;
271
+ intent_id: string;
272
+ hits: {
273
+ event_type: string;
274
+ business_meaning: string;
275
+ score: number;
276
+ event: Record<string, unknown>;
277
+ matched_keywords: string[];
278
+ event_id: string;
279
+ related_objects: string[];
280
+ matched_industries: string[];
281
+ }[];
282
+ scanned: number;
283
+ }[];
284
+ }>]>;
@@ -0,0 +1 @@
1
+ import{z}from'zod';const RoleEnum=z['enum'](['merchant','customer','prospect','supplier','collaborator','arbitrator']),IndustryScenarioEnum=z['enum'](['freelance','rental','education','travel','subscription','retail','general','custom']),TargetTypeEnum=z['enum'](['NewOrderEvent','ProgressEvent','DemandPresentEvent','DemandFeedbackEvent','NewEntityEvent','ArbEvent']),IntentRecordSchema=z['object']({'id':z['string'](),'intent':z['string'](),'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryScenarioEnum),'keywords':z['array'](z['string']()),'target_types':z['array'](TargetTypeEnum),'created_at':z['number'](),'updated_at':z['number']()})['strict'](),IntentEventHitSchema=z['object']({'event_type':z['string'](),'event_id':z['string'](),'related_objects':z['array'](z['string']()),'business_meaning':z['string'](),'score':z['number'](),'matched_industries':z['array'](z['string']()),'matched_keywords':z['array'](z['string']()),'event':z['record'](z['unknown']())})['strict'](),IntentMatchResultSchema=z['object']({'intent_id':z['string'](),'intent':z['string'](),'hits':z['array'](IntentEventHitSchema),'scanned':z['number']()})['strict']();export const IntentRadarInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('save'),'intent':z['string']()['describe']('Free-form\x20business\x20intent,\x20e.g.\x20\x27find\x20subscription\x20services\x20in\x20Shanghai\x27.'),'account':z['string']()['optional']()['describe']('Bound\x20account;\x20omit\x20for\x20a\x20system-level\x20intent.'),'role':RoleEnum['optional'](),'target_types':z['array'](TargetTypeEnum)['optional']()['describe']('Event\x20types\x20to\x20watch;\x20empty\x20=\x20all.')})['strict'](),z['object']({'action':z['literal']('list'),'account':z['string']()['optional']()['describe']('Filter\x20by\x20bound\x20account;\x20omit\x20for\x20all.')})['strict'](),z['object']({'action':z['literal']('remove'),'id':z['string']()['describe']('Intent\x20id\x20to\x20delete.')})['strict'](),z['object']({'action':z['literal']('match'),'intent_id':z['string']()['optional']()['describe']('Match\x20a\x20single\x20intent;\x20omit\x20to\x20match\x20all\x20intents.'),'account':z['string']()['optional']()['describe']('Filter\x20intents\x20by\x20account.'),'events':z['array'](z['record'](z['unknown']()))['optional']()['describe']('Events\x20to\x20score\x20(from\x20onchain_events).\x20Omit\x20to\x20auto-pull\x20recent\x20events.'),'network':z['enum'](['mainnet','testnet'])['optional'](),'limit':z['number']()['int']()['min'](0x1)['max'](0x64)['optional']()['describe']('Max\x20events\x20to\x20auto-pull\x20when\x20`events`\x20is\x20omitted.')})['strict']()]);export const IntentRadarOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('save'),'intent':IntentRecordSchema})['strict'](),z['object']({'action':z['literal']('list'),'intents':z['array'](IntentRecordSchema)})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('match'),'results':z['array'](IntentMatchResultSchema)})['strict']()]);
@@ -15788,11 +15788,11 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
15788
15788
  pending_suggestions: z.ZodOptional<z.ZodNumber>;
15789
15789
  intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
15790
15790
  role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15791
- role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
15791
+ role: z.ZodOptional<z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>>;
15792
15792
  }, "strict", z.ZodTypeAny, {
15793
15793
  confidence: number;
15794
15794
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
15795
- role?: "user" | "merchant" | "arbitrator" | undefined;
15795
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
15796
15796
  industry_signal?: string | undefined;
15797
15797
  evolution_advice?: string | undefined;
15798
15798
  health_score?: number | undefined;
@@ -15801,7 +15801,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
15801
15801
  }, {
15802
15802
  confidence: number;
15803
15803
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
15804
- role?: "user" | "merchant" | "arbitrator" | undefined;
15804
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
15805
15805
  industry_signal?: string | undefined;
15806
15806
  evolution_advice?: string | undefined;
15807
15807
  health_score?: number | undefined;
@@ -16049,7 +16049,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
16049
16049
  evolution_context?: {
16050
16050
  confidence: number;
16051
16051
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
16052
- role?: "user" | "merchant" | "arbitrator" | undefined;
16052
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
16053
16053
  industry_signal?: string | undefined;
16054
16054
  evolution_advice?: string | undefined;
16055
16055
  health_score?: number | undefined;
@@ -16171,7 +16171,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
16171
16171
  evolution_context?: {
16172
16172
  confidence: number;
16173
16173
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
16174
- role?: "user" | "merchant" | "arbitrator" | undefined;
16174
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
16175
16175
  industry_signal?: string | undefined;
16176
16176
  evolution_advice?: string | undefined;
16177
16177
  health_score?: number | undefined;
@@ -16646,7 +16646,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
16646
16646
  evolution_context?: {
16647
16647
  confidence: number;
16648
16648
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
16649
- role?: "user" | "merchant" | "arbitrator" | undefined;
16649
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
16650
16650
  industry_signal?: string | undefined;
16651
16651
  evolution_advice?: string | undefined;
16652
16652
  health_score?: number | undefined;
@@ -17121,7 +17121,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
17121
17121
  evolution_context?: {
17122
17122
  confidence: number;
17123
17123
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
17124
- role?: "user" | "merchant" | "arbitrator" | undefined;
17124
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
17125
17125
  industry_signal?: string | undefined;
17126
17126
  evolution_advice?: string | undefined;
17127
17127
  health_score?: number | undefined;
@@ -17667,11 +17667,11 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
17667
17667
  pending_suggestions: z.ZodOptional<z.ZodNumber>;
17668
17668
  intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
17669
17669
  role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17670
- role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
17670
+ role: z.ZodOptional<z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>>;
17671
17671
  }, "strict", z.ZodTypeAny, {
17672
17672
  confidence: number;
17673
17673
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
17674
- role?: "user" | "merchant" | "arbitrator" | undefined;
17674
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
17675
17675
  industry_signal?: string | undefined;
17676
17676
  evolution_advice?: string | undefined;
17677
17677
  health_score?: number | undefined;
@@ -17680,7 +17680,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
17680
17680
  }, {
17681
17681
  confidence: number;
17682
17682
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
17683
- role?: "user" | "merchant" | "arbitrator" | undefined;
17683
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
17684
17684
  industry_signal?: string | undefined;
17685
17685
  evolution_advice?: string | undefined;
17686
17686
  health_score?: number | undefined;
@@ -17928,7 +17928,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
17928
17928
  evolution_context?: {
17929
17929
  confidence: number;
17930
17930
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
17931
- role?: "user" | "merchant" | "arbitrator" | undefined;
17931
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
17932
17932
  industry_signal?: string | undefined;
17933
17933
  evolution_advice?: string | undefined;
17934
17934
  health_score?: number | undefined;
@@ -18050,7 +18050,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
18050
18050
  evolution_context?: {
18051
18051
  confidence: number;
18052
18052
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
18053
- role?: "user" | "merchant" | "arbitrator" | undefined;
18053
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
18054
18054
  industry_signal?: string | undefined;
18055
18055
  evolution_advice?: string | undefined;
18056
18056
  health_score?: number | undefined;
@@ -18200,7 +18200,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
18200
18200
  evolution_context?: {
18201
18201
  confidence: number;
18202
18202
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
18203
- role?: "user" | "merchant" | "arbitrator" | undefined;
18203
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
18204
18204
  industry_signal?: string | undefined;
18205
18205
  evolution_advice?: string | undefined;
18206
18206
  health_score?: number | undefined;
@@ -18350,7 +18350,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
18350
18350
  evolution_context?: {
18351
18351
  confidence: number;
18352
18352
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
18353
- role?: "user" | "merchant" | "arbitrator" | undefined;
18353
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
18354
18354
  industry_signal?: string | undefined;
18355
18355
  evolution_advice?: string | undefined;
18356
18356
  health_score?: number | undefined;
@@ -18708,11 +18708,11 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
18708
18708
  pending_suggestions: z.ZodOptional<z.ZodNumber>;
18709
18709
  intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
18710
18710
  role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18711
- role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
18711
+ role: z.ZodOptional<z.ZodEnum<["merchant", "customer", "prospect", "supplier", "collaborator", "arbitrator"]>>;
18712
18712
  }, "strict", z.ZodTypeAny, {
18713
18713
  confidence: number;
18714
18714
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
18715
- role?: "user" | "merchant" | "arbitrator" | undefined;
18715
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
18716
18716
  industry_signal?: string | undefined;
18717
18717
  evolution_advice?: string | undefined;
18718
18718
  health_score?: number | undefined;
@@ -18721,7 +18721,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
18721
18721
  }, {
18722
18722
  confidence: number;
18723
18723
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
18724
- role?: "user" | "merchant" | "arbitrator" | undefined;
18724
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
18725
18725
  industry_signal?: string | undefined;
18726
18726
  evolution_advice?: string | undefined;
18727
18727
  health_score?: number | undefined;
@@ -18969,7 +18969,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
18969
18969
  evolution_context?: {
18970
18970
  confidence: number;
18971
18971
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
18972
- role?: "user" | "merchant" | "arbitrator" | undefined;
18972
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
18973
18973
  industry_signal?: string | undefined;
18974
18974
  evolution_advice?: string | undefined;
18975
18975
  health_score?: number | undefined;
@@ -19091,7 +19091,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
19091
19091
  evolution_context?: {
19092
19092
  confidence: number;
19093
19093
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
19094
- role?: "user" | "merchant" | "arbitrator" | undefined;
19094
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
19095
19095
  industry_signal?: string | undefined;
19096
19096
  evolution_advice?: string | undefined;
19097
19097
  health_score?: number | undefined;
@@ -19227,7 +19227,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
19227
19227
  evolution_context?: {
19228
19228
  confidence: number;
19229
19229
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
19230
- role?: "user" | "merchant" | "arbitrator" | undefined;
19230
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
19231
19231
  industry_signal?: string | undefined;
19232
19232
  evolution_advice?: string | undefined;
19233
19233
  health_score?: number | undefined;
@@ -19363,7 +19363,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
19363
19363
  evolution_context?: {
19364
19364
  confidence: number;
19365
19365
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
19366
- role?: "user" | "merchant" | "arbitrator" | undefined;
19366
+ role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
19367
19367
  industry_signal?: string | undefined;
19368
19368
  evolution_advice?: string | undefined;
19369
19369
  health_score?: number | undefined;