@wowok/agent-mcp 3.1.7 → 3.2.0

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 (220) hide show
  1. package/dist/config/exposure.d.ts +10 -10
  2. package/dist/config/judgment.d.ts +25 -25
  3. package/dist/config/rule-engine.d.ts +25 -25
  4. package/dist/customer/user-preferences.d.ts +2 -2
  5. package/dist/evaluation/arbitration-game.js +1 -1
  6. package/dist/evaluation/capability.d.ts +1 -1
  7. package/dist/evaluation/extract.js +1 -1
  8. package/dist/evaluation/match-operation.js +1 -1
  9. package/dist/extensions/industry-pack.d.ts +3 -2
  10. package/dist/extensions/industry-pack.js +1 -1
  11. package/dist/extensions/modes.js +1 -1
  12. package/dist/extensions/registry.js +1 -1
  13. package/dist/extensions/types.d.ts +1 -0
  14. package/dist/graph/onchain/analyze.js +1 -1
  15. package/dist/graph/onchain/analyze.spec.js +1 -1
  16. package/dist/graph/onchain/edge-schema.js +1 -1
  17. package/dist/graph/onchain/extract.js +1 -1
  18. package/dist/graph/onchain/field-manifest.js +1 -1
  19. package/dist/graph/onchain/project-relationship.js +1 -1
  20. package/dist/graph/onchain/types.d.ts +1 -1
  21. package/dist/harness/recover.js +1 -1
  22. package/dist/keeper/KeeperScan.d.ts +2 -1
  23. package/dist/keeper/KeeperScan.js +1 -1
  24. package/dist/keeper/detectors.d.ts +9 -0
  25. package/dist/keeper/detectors.js +1 -1
  26. package/dist/keeper/keeper.spec.js +1 -1
  27. package/dist/keeper/types.d.ts +1 -1
  28. package/dist/keeper/types.js +1 -1
  29. package/dist/knowledge/allocation-ledger.d.ts +4 -1
  30. package/dist/knowledge/allocation-ledger.js +1 -1
  31. package/dist/knowledge/allocation-puzzle.d.ts +2 -0
  32. package/dist/knowledge/allocation-puzzle.js +1 -1
  33. package/dist/knowledge/allocation-risk.d.ts +1 -1
  34. package/dist/knowledge/allocation-risk.js +1 -1
  35. package/dist/knowledge/arb-risk.d.ts +3 -1
  36. package/dist/knowledge/arb-risk.js +1 -1
  37. package/dist/knowledge/arbitration-ledger.js +1 -1
  38. package/dist/knowledge/arbitration-risk.js +1 -1
  39. package/dist/knowledge/arbitration-templates.d.ts +1 -0
  40. package/dist/knowledge/arbitration-templates.js +1 -1
  41. package/dist/knowledge/audit-rules.d.ts +13 -2
  42. package/dist/knowledge/audit-rules.js +1 -1
  43. package/dist/knowledge/baselines/rules/allocation.json +50 -1
  44. package/dist/knowledge/baselines/rules/arb.json +20 -1
  45. package/dist/knowledge/baselines/rules/arbitration.json +27 -0
  46. package/dist/knowledge/baselines/rules/guard.json +75 -2
  47. package/dist/knowledge/baselines/rules/machine.json +38 -13
  48. package/dist/knowledge/baselines/rules/order.json +2 -2
  49. package/dist/knowledge/builtin-templates.d.ts +3 -1
  50. package/dist/knowledge/builtin-templates.js +1 -1
  51. package/dist/knowledge/event-semantics.js +1 -1
  52. package/dist/knowledge/fund-layer.js +1 -1
  53. package/dist/knowledge/getting-started.js +1 -1
  54. package/dist/knowledge/guard-anchor-reach.d.ts +19 -0
  55. package/dist/knowledge/guard-anchor-reach.js +1 -0
  56. package/dist/knowledge/guard-bindings.js +1 -1
  57. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  58. package/dist/knowledge/guard-design-patterns.js +1 -1
  59. package/dist/knowledge/guard-ledger.js +1 -1
  60. package/dist/knowledge/guard-lint.js +1 -1
  61. package/dist/knowledge/guard-render.d.ts +6 -0
  62. package/dist/knowledge/guard-render.js +1 -1
  63. package/dist/knowledge/guard-risk.js +1 -1
  64. package/dist/knowledge/guard-submission-prompt.d.ts +6 -0
  65. package/dist/knowledge/guard-submission-prompt.js +1 -1
  66. package/dist/knowledge/guard-templates.d.ts +1 -1
  67. package/dist/knowledge/guard-templates.js +1 -1
  68. package/dist/knowledge/index.d.ts +4 -4
  69. package/dist/knowledge/index.js +1 -1
  70. package/dist/knowledge/industry-generalizer.js +1 -1
  71. package/dist/knowledge/industry-registry.d.ts +1 -1
  72. package/dist/knowledge/industry-registry.js +1 -1
  73. package/dist/knowledge/jsonrpc-enum.js +1 -1
  74. package/dist/knowledge/machine-ledger.js +1 -1
  75. package/dist/knowledge/machine-risk.js +1 -1
  76. package/dist/knowledge/machine-templates.js +1 -1
  77. package/dist/knowledge/order-ledger.js +1 -1
  78. package/dist/knowledge/order-templates.js +1 -1
  79. package/dist/knowledge/permission-ledger.js +1 -1
  80. package/dist/knowledge/release-sentinel.d.ts +12 -0
  81. package/dist/knowledge/release-sentinel.js +1 -0
  82. package/dist/knowledge/repository-write-semantics.d.ts +27 -0
  83. package/dist/knowledge/repository-write-semantics.js +1 -0
  84. package/dist/knowledge/rule-node-analyzers.d.ts +6 -0
  85. package/dist/knowledge/rule-node-analyzers.js +1 -1
  86. package/dist/knowledge/safety-rules.d.ts +5 -1
  87. package/dist/knowledge/safety-rules.js +1 -1
  88. package/dist/knowledge/scenario-modes.d.ts +10 -1
  89. package/dist/knowledge/scenario-modes.js +1 -1
  90. package/dist/knowledge/service-allocation-semantics.d.ts +36 -0
  91. package/dist/knowledge/service-allocation-semantics.js +1 -0
  92. package/dist/knowledge/strategy-manuals.d.ts +3 -5
  93. package/dist/knowledge/strategy-manuals.js +1 -1
  94. package/dist/knowledge/template-loader.d.ts +28 -12
  95. package/dist/knowledge/template-loader.js +1 -1
  96. package/dist/knowledge/template-registry.js +1 -1
  97. package/dist/knowledge/template-scanner.js +1 -1
  98. package/dist/knowledge/tools-reference.js +1 -1
  99. package/dist/knowledge/workflow-guidance.d.ts +26 -0
  100. package/dist/knowledge/workflow-guidance.js +1 -1
  101. package/dist/monitor/MonitorLoop.js +1 -1
  102. package/dist/participation/allocation-advice.d.ts +38 -0
  103. package/dist/participation/allocation-advice.js +1 -0
  104. package/dist/participation/radar-core.d.ts +2 -0
  105. package/dist/persona/types.d.ts +3 -2
  106. package/dist/persona/types.js +1 -1
  107. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  108. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  109. package/dist/playbooks/service-build/merchant-guide.d.ts +70 -63
  110. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  111. package/dist/playbooks/service-build/migration-planner.js +1 -1
  112. package/dist/playbooks/service-build/mode-actions.d.ts +5 -0
  113. package/dist/playbooks/service-build/mode-actions.js +1 -1
  114. package/dist/playbooks/service-build/participation-radar.js +1 -1
  115. package/dist/playbooks/service-build/semantic-graph.d.ts +1 -0
  116. package/dist/playbooks/service-build/semantic-graph.js +1 -1
  117. package/dist/playbooks/service-build/service-quote.d.ts +2 -0
  118. package/dist/playbooks/service-build/service-quote.js +1 -0
  119. package/dist/relationship/derivation.d.ts +1 -1
  120. package/dist/safety/confirm-gate.js +1 -1
  121. package/dist/schema/benchmark-migration/index.d.ts +30 -8
  122. package/dist/schema/benchmark-migration/index.js +1 -1
  123. package/dist/schema/call/allocation.d.ts +6 -3
  124. package/dist/schema/call/arbitration.js +1 -1
  125. package/dist/schema/call/base.js +1 -1
  126. package/dist/schema/call/guard.d.ts +8 -8
  127. package/dist/schema/call/machine.d.ts +56 -0
  128. package/dist/schema/call/machine.js +1 -1
  129. package/dist/schema/call/order.js +1 -1
  130. package/dist/schema/call/payment.js +1 -1
  131. package/dist/schema/call/semantic.js +1 -1
  132. package/dist/schema/call/service.d.ts +84 -22
  133. package/dist/schema/call/service.js +1 -1
  134. package/dist/schema/common/index.js +1 -1
  135. package/dist/schema/common/tokentype-short-probe.spec.js +1 -0
  136. package/dist/schema/evaluation/index.d.ts +8 -80
  137. package/dist/schema/evaluation/index.js +1 -1
  138. package/dist/schema/goal/index.d.ts +9 -42
  139. package/dist/schema/goal/planning.d.ts +25 -60
  140. package/dist/schema/goal/planning.js +1 -1
  141. package/dist/schema/intent-radar/index.d.ts +2 -20
  142. package/dist/schema/intent-radar/index.js +1 -1
  143. package/dist/schema/interaction/index.d.ts +1 -1
  144. package/dist/schema/keeper/index.d.ts +3 -0
  145. package/dist/schema/keeper/index.js +1 -1
  146. package/dist/schema/local/index.js +1 -1
  147. package/dist/schema/operations.d.ts +74 -14
  148. package/dist/schema/persona/index.d.ts +279 -384
  149. package/dist/schema/persona/index.js +1 -1
  150. package/dist/schema/query/bi.d.ts +149 -10
  151. package/dist/schema/query/bi.js +1 -1
  152. package/dist/schema/query/index.d.ts +35 -16
  153. package/dist/schema/query/index.js +1 -1
  154. package/dist/schema/schema-query/index.d.ts +4 -4
  155. package/dist/schema/schema-version.js +1 -1
  156. package/dist/schema/watch/index.d.ts +2 -2
  157. package/dist/schema-query-impl/index.d.ts +1 -0
  158. package/dist/schema-query-impl/index.js +1 -1
  159. package/dist/schemas/account_operation.output.json +2 -2
  160. package/dist/schemas/benchmark_migration_operation.output.json +116 -2
  161. package/dist/schemas/benchmark_migration_operation.schema.json +2 -10
  162. package/dist/schemas/bridge_operation.output.json +2 -2
  163. package/dist/schemas/evaluation_operation.schema.json +7 -70
  164. package/dist/schemas/goal_operation.schema.json +6 -39
  165. package/dist/schemas/index.json +1 -1
  166. package/dist/schemas/intent_radar.output.json +4 -20
  167. package/dist/schemas/keeper_operation.output.json +2 -2
  168. package/dist/schemas/keeper_operation.schema.json +9 -4
  169. package/dist/schemas/local_history_operation.output.json +2 -2
  170. package/dist/schemas/local_info_operation.output.json +2 -2
  171. package/dist/schemas/local_mark_operation.output.json +2 -2
  172. package/dist/schemas/messenger_operation.output.json +2 -2
  173. package/dist/schemas/monitor_events.output.json +2 -2
  174. package/dist/schemas/monitor_subscription.output.json +2 -2
  175. package/dist/schemas/onchain_events.output.json +2 -2
  176. package/dist/schemas/onchain_operations.output.json +6 -6
  177. package/dist/schemas/onchain_operations.schema.json +227 -54
  178. package/dist/schemas/onchain_operations_allocation.schema.json +11 -10
  179. package/dist/schemas/onchain_operations_arbitration.schema.json +13 -13
  180. package/dist/schemas/onchain_operations_machine.schema.json +27 -5
  181. package/dist/schemas/onchain_operations_order.schema.json +1 -1
  182. package/dist/schemas/onchain_operations_payment.schema.json +2 -2
  183. package/dist/schemas/onchain_operations_reward.schema.json +1 -1
  184. package/dist/schemas/onchain_operations_service.schema.json +171 -21
  185. package/dist/schemas/onchain_operations_treasury.schema.json +1 -1
  186. package/dist/schemas/onchain_table_data.output.json +57 -4
  187. package/dist/schemas/persona_operation.output.json +11 -88
  188. package/dist/schemas/persona_operation.schema.json +4 -32
  189. package/dist/schemas/query_toolkit.output.json +320 -22
  190. package/dist/schemas/query_toolkit.schema.json +53 -0
  191. package/dist/tools/handlers/benchmark-migration.js +1 -1
  192. package/dist/tools/handlers/config.js +1 -1
  193. package/dist/tools/handlers/dispatch-expectations.spec.js +1 -1
  194. package/dist/tools/handlers/keeper.d.ts +1 -1
  195. package/dist/tools/handlers/onchain.js +1 -1
  196. package/dist/tools/handlers/query.js +1 -1
  197. package/dist/tools/handlers/schema-query.js +1 -1
  198. package/dist/tools/index.js +1 -1
  199. package/dist/tools/move-fn-index.gen.js +1 -1
  200. package/dist/tools/registry/business.js +1 -1
  201. package/dist/tools/wrap.js +1 -1
  202. package/package.json +2 -2
  203. package/dist/knowledge/alloc-audit-policy.spec.js +0 -1
  204. package/dist/knowledge/event-semantics.spec.d.ts +0 -1
  205. package/dist/knowledge/event-semantics.spec.js +0 -1
  206. package/dist/knowledge/facts-sync.spec.d.ts +0 -1
  207. package/dist/knowledge/facts-sync.spec.js +0 -1
  208. package/dist/knowledge/guard-design-patterns.spec.d.ts +0 -1
  209. package/dist/knowledge/guard-design-patterns.spec.js +0 -1
  210. package/dist/knowledge/guard-eval.spec.d.ts +0 -1
  211. package/dist/knowledge/guard-eval.spec.js +0 -1
  212. package/dist/knowledge/rule-node-analyzers.spec.d.ts +0 -1
  213. package/dist/knowledge/rule-node-analyzers.spec.js +0 -1
  214. package/dist/knowledge/safety-rules.extract-amount.spec.d.ts +0 -1
  215. package/dist/knowledge/safety-rules.extract-amount.spec.js +0 -1
  216. package/dist/knowledge/template-loader.spec.d.ts +0 -1
  217. package/dist/knowledge/template-loader.spec.js +0 -1
  218. package/dist/knowledge/template-scanner.spec.d.ts +0 -1
  219. package/dist/knowledge/template-scanner.spec.js +0 -1
  220. /package/dist/{knowledge/alloc-audit-policy.spec.d.ts → schema/common/tokentype-short-probe.spec.d.ts} +0 -0
@@ -1 +1 @@
1
- import{z}from'zod';import{JudgmentFragmentSchema}from'../../config/judgment.js';const IndustryEnum=z['enum'](['freelance','rental','education','travel','subscription','retail']),RoleEnum=z['enum'](['merchant','customer','demander','prospect','supplier','collaborator','arbitrator']),ScopeEnum=z['enum'](['system','account']),PersonaIdentitySchema=z['object']({'region':z['string']()['optional'](),'languages':z['array'](z['string']())['optional'](),'self_description':z['string']()['optional']()})['strict'](),OverrideValueEnum=z['enum'](['auto','prompt','block','warn']),PersonaPolicySchema=z['object']({'confirm':z['object']({'mode':z['enum'](['full','streamlined','quiet'])['optional'](),'batch_standard':z['boolean']()['optional'](),'session_remember':z['array'](z['string']())['optional'](),'intent_bypass':z['boolean']()['optional']()})['strict']()['optional'](),'budget':z['object']({'daily_wow':z['string']()['nullable']()['optional']()})['strict']()['optional'](),'allowlist':z['array'](z['string']())['optional'](),'audit':z['boolean']()['optional']()})['strict'](),TasteProfileSchema=z['object']({'materials':z['array'](z['string']())['optional'](),'colors':z['array'](z['string']())['optional'](),'styles':z['array'](z['string']())['optional'](),'tags':z['array'](z['string']())['optional'](),'brands':z['array'](z['string']())['optional'](),'avoid':z['array'](z['string']())['optional']()})['strict'](),ConsumptionProfileSchema=z['object']({'frequency':z['enum'](['rare','occasional','regular','frequent'])['optional'](),'price_band':z['enum'](['budget','mid','premium','luxury'])['optional'](),'decision_speed':z['enum'](['fast','deliberate','slow'])['optional'](),'channels':z['array'](z['string']())['optional'](),'repeat_orientation':z['enum'](['novelty','balanced','loyal'])['optional'](),'avg_order_range':z['string']()['optional'](),'notes':z['array'](z['string']())['optional']()})['strict'](),MerchantRoleStyleSchema=z['object']({'posture':z['enum'](['volume','balanced','margin'])['optional'](),'pricing_style':z['enum'](['competitive','value','premium','custom_quote'])['optional'](),'service_style':z['array'](z['string']())['optional'](),'communication':z['string']()['optional'](),'growth_focus':z['array'](z['string']())['optional']()})['strict'](),SupplierRoleStyleSchema=z['object']({'min_order':z['string']()['optional'](),'lead_time':z['string']()['optional'](),'settlement_terms':z['array'](z['string']())['optional'](),'categories':z['array'](z['string']())['optional'](),'capacity':z['string']()['optional']()})['strict'](),CollaboratorRoleStyleSchema=z['object']({'scope_discipline':z['enum'](['strict','balanced','flexible'])['optional'](),'notifications':z['enum'](['minimal','digest','realtime'])['optional'](),'working_hours':z['string']()['optional'](),'advance_style':z['array'](z['string']())['optional']()})['strict'](),ArbitratorRoleStyleSchema=z['object']({'case_types':z['array'](z['string']())['optional'](),'response_speed':z['enum'](['fast','standard','thorough'])['optional'](),'ruling_style':z['enum'](['concise','detailed'])['optional']()})['strict'](),DemanderRoleStyleSchema=z['object']({'award_weights':z['record'](z['string'](),z['number']())['optional'](),'pilot_budget':z['string']()['optional'](),'rfp_openness':z['enum'](['open','passport_gated','invite_only'])['optional'](),'decision_basis':z['array'](z['string']())['optional']()})['strict'](),RoleProfileSchema=z['object']({'tastes':TasteProfileSchema['optional'](),'consumption':ConsumptionProfileSchema['optional'](),'merchant':MerchantRoleStyleSchema['optional'](),'supplier':SupplierRoleStyleSchema['optional'](),'collaborator':CollaboratorRoleStyleSchema['optional'](),'arbitrator':ArbitratorRoleStyleSchema['optional'](),'demander':DemanderRoleStyleSchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional']()})['strict'](),RoleProfileMapSchema=z['object'](Object['fromEntries'](RoleEnum['options']['map'](a=>[a,RoleProfileSchema['optional']()])))['strict'](),PersonaLayerSchema=z['object']({'identity':PersonaIdentitySchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional'](),'strategy':z['array'](z['string']())['optional'](),'rules':z['array'](z['string']())['optional'](),'requirements':z['array'](z['string']())['optional'](),'spec':z['string']()['optional'](),'overrides':z['record'](z['string'](),OverrideValueEnum)['optional'](),'policy':PersonaPolicySchema['optional'](),'profiles':RoleProfileMapSchema['optional'](),'analyze':z['object']({'key_questions':z['array'](z['string']())['max'](0x4)['describe']('The\x20user\x27s\x20key\x20follow-up\x20questions\x20for\x20the\x20Analyze\x20dossier\x20(up\x20to\x204\x20stored,\x202\x20effective\x20after\x20merge).')})['strict']()['optional'](),'judgment':JudgmentFragmentSchema['optional']()})['strict'](),PersonaControlsSchema=z['object']({'confirm_modes':z['array'](z['string']()),'overrides':z['array'](z['object']({'id':z['string'](),'default':OverrideValueEnum,'allowed':z['array'](OverrideValueEnum),'surface':z['enum'](['gate','client'])['optional']()})['strict']()),'locked_rules':z['array'](z['object']({'id':z['string'](),'level':z['string']()})['strict']()),'policy_keys':z['array'](z['string']())})['strict'](),PersonaSchema=z['object']({'version':z['number'](),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'long_term':PersonaLayerSchema,'current':PersonaLayerSchema,'updated_at':z['number']()})['strict'](),PersonaSourceSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'part':z['enum'](['long_term','current'])})['strict'](),EffectivePersonaSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'layer':PersonaLayerSchema,'sources':z['array'](PersonaSourceSchema)})['strict'](),PersonaAnalysisSuggestionSchema=z['object']({'field':z['string'](),'value':z['unknown'](),'reason':z['string']()})['strict'](),PersonaAnalysisSchema=z['object']({'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum),'preferences':z['record'](z['string'](),z['unknown']()),'requirements':z['array'](z['string']()),'rules':z['array'](z['string']()),'suggestions':z['array'](PersonaAnalysisSuggestionSchema),'confidence':z['number']()})['strict'](),GoalSummarySchema=z['object']({'id':z['string'](),'title':z['string'](),'outcome_success':z['boolean']()['optional']()})['strict']();export const PersonaOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'industry':IndustryEnum['optional'](),'role':RoleEnum['optional']()})['strict'](),z['object']({'action':z['literal']('list')})['strict'](),z['object']({'action':z['literal']('set'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum,'industries':z['array'](IndustryEnum)['default']([]),'long_term':PersonaLayerSchema['optional'](),'current':PersonaLayerSchema['optional']()})['strict'](),z['object']({'action':z['literal']('analyze'),'context':z['string']()['describe']('Free-form\x20context:\x20website\x20URL,\x20experience\x20summary,\x20self\x20description,\x20goal.')})['strict'](),z['object']({'action':z['literal']('apply'),'context':z['string']()['describe']('Free-form\x20context\x20whose\x20extracted\x20signals\x20feed\x20the\x20CURRENT\x20layer.'),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'mode':z['enum'](['merge','replace'])['optional']()['describe']('merge\x20(default)\x20unions\x20strategy/rules/requirements\x20into\x20current;\x20replace\x20discards\x20the\x20existing\x20current\x20layer.')})['strict'](),z['object']({'action':z['literal']('sync'),'account':z['string']()['optional']()['describe']('Account\x20whose\x20behavior\x20(experience\x20layer)\x20is\x20merged\x20into\x20its\x20CURRENT\x20layer.\x20Omit\x20=\x20system\x20persona.')})['strict'](),z['object']({'action':z['literal']('apply_delta'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'delta':PersonaLayerSchema['describe']('Structured\x20CURRENT-layer\x20delta\x20to\x20merge\x20(e.g.\x20a\x20confirmed\x20strategy-review\x20proposal).\x20'+'Server-guarded:\x20policy/overrides\x20are\x20rejected;\x20long_term\x20is\x20never\x20written;\x20arrays\x20union\x20with\x20existing\x20current\x20values.')})['strict'](),z['object']({'action':z['literal']('remove'),'scope':ScopeEnum,'account':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('strategy'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'role':RoleEnum['optional']()['describe']('Role\x20override;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20role.'),'strategy':z['array'](z['string']())['optional']()['describe']('Explicit\x20strategy\x20statements;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20strategy[].')})['strict'](),z['object']({'action':z['literal']('region_hint'),'propose':z['string']()['optional']()['describe']('An\x20address\x20string\x20to\x20PROPOSE\x20storing\x20as\x20the\x20local\x20delivery\x20address.\x20Returns\x20a\x20consent-gated\x20save\x20proposal\x20—\x20NEVER\x20auto-writes;\x20the\x20user\x20must\x20confirm\x20via\x20local_info_operation.')})['strict'](),z['object']({'action':z['literal']('distill'),'goal_id':z['string']()['describe']('Goal\x20id\x20(goal_…)\x20whose\x20memory\x20(outcome,\x20problems,\x20feedback,\x20objects)\x20is\x20distilled\x20into\x20a\x20CURRENT-layer\x20proposal.'),'network':z['enum'](['mainnet','testnet'])['optional']()['describe']('Network\x20the\x20goal\x20was\x20created\x20under.')})['strict']()]);export const PersonaOperationOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'target_account':z['string']()['optional']()['describe']('The\x20account\x20the\x20persona\x20was\x20resolved\x20for\x20(explicit\x20account,\x20or\x20the\x20on-chain\x20default\x20account\x20when\x20omitted).'),'effective':EffectivePersonaSchema,'analyze_questions':z['array'](z['string']())['optional']()['describe']('Analyze-flow\x20defaults\x20(client\x20address\x20popover\x20\x22Analyze\x22\x20→\x20AI\x20dossier):\x20the\x20user\x27s\x20effective\x20key\x20follow-up\x20questions,\x20capped\x20at\x202\x20(higher-priority\x20persona\x20layer\x20first).\x20When\x20present,\x20these\x20REPLACE\x20the\x20generic\x20Analyze\x20follow-up\x20guidance.\x20Sourced\x20from\x20persona\x20layers\x27\x20analyze.key_questions;\x20industry\x20needs\x20still\x20provide\x20thematic\x20context.'),'context_text':z['string'](),'injection':z['record'](z['string'](),z['unknown']()),'controls':PersonaControlsSchema['optional']()['describe']('Static\x20catalog\x20of\x20editable\x20safety\x20controls:\x20overridable\x20rule\x20ids\x20(defaults/allowed),\x20hard-floor\x20locked\x20rules,\x20confirm\x20modes,\x20and\x20policy\x20key\x20paths.')})['strict'](),z['object']({'action':z['literal']('list'),'personas':z['array'](PersonaSchema),'defaults':z['array'](PersonaSchema)})['strict'](),z['object']({'action':z['literal']('set'),'persona':PersonaSchema,'line_count':z['number']()})['strict'](),z['object']({'action':z['literal']('analyze'),'analysis':PersonaAnalysisSchema})['strict'](),z['object']({'action':z['literal']('apply'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':z['array'](PersonaAnalysisSuggestionSchema)})['strict'](),z['object']({'action':z['literal']('sync'),'persona':PersonaSchema,'applied':PersonaLayerSchema,'effective':EffectivePersonaSchema})['strict'](),z['object']({'action':z['literal']('apply_delta'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':PersonaLayerSchema})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('strategy'),'role':RoleEnum,'intents':z['array'](z['object']({'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'metrics':z['array'](z['string']()),'levers':z['array'](z['enum'](['discount','reward','buy_guard','machine_design'])),'target':z['string']()})['strict']()),'suggestions':z['array'](z['object']({'lever':z['enum'](['discount','reward','buy_guard','machine_design']),'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'action':z['string'](),'target':z['string']()})['strict']()),'note':z['string']()['describe']('Empty\x20for\x20merchant;\x20explains\x20why\x20mapping\x20is\x20producer-only\x20for\x20other\x20roles.')})['strict'](),z['object']({'action':z['literal']('region_hint'),'hint':z['object']({'region':z['record'](z['string'](),z['unknown']())['describe']('Deterministic\x20region\x20skeleton\x20(mode/raw;\x20country/province/city\x20stay\x20AI-enriched).'),'source':z['literal']('local_info'),'raw':z['string']()})['strict']()['optional']()['describe']('Present\x20when\x20a\x20locally-stored\x20delivery\x20address\x20exists.'),'proposal':z['object']({'requires_user_consent':z['literal'](!![]),'raw':z['string'](),'region':z['record'](z['string'](),z['unknown']()),'review':z['string'](),'store_via':z['literal']('local_info_operation'),'info':z['object']({'name':z['string'](),'default':z['string']()})['strict']()})['strict']()['optional']()['describe']('Present\x20when\x20`propose`\x20was\x20given\x20—\x20a\x20consent-gated\x20save\x20proposal\x20(never\x20auto-written).'),'note':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('distill'),'summary':z['string']()['describe']('Human-readable\x20distillation\x20of\x20what\x20the\x20goal\x27s\x20memory\x20shows.'),'current_delta':PersonaLayerSchema['describe']('PROPOSED\x20current-layer\x20delta\x20(rules/preferences).\x20Never\x20auto-written.'),'evidence':z['object']({'goal_type':z['string'](),'stage':z['string'](),'outcome_success':z['boolean']()['optional'](),'objects_count':z['number'](),'problems_open':z['number'](),'problems_resolved':z['number'](),'feedback_positive':z['number'](),'feedback_negative':z['number'](),'duration_days':z['number']()['optional']()})['strict'](),'apply_via':z['string']()['describe']('The\x20exact\x20user-driven\x20write\x20path\x20(persona_operation\x20set/apply)\x20that\x20persists\x20the\x20delta\x20after\x20user\x20confirmation.'),'goal':GoalSummarySchema['describe']('The\x20distilled\x20goal\x27s\x20id/title/outcome\x20for\x20display.')})['strict']()]);
1
+ import{z}from'zod';import{JudgmentFragmentSchema}from'../../config/judgment.js';const IndustryEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case'),RoleEnum=z['enum'](['merchant','customer','demander','prospect','supplier','collaborator','arbitrator']),ScopeEnum=z['enum'](['system','account']),PersonaIdentitySchema=z['object']({'region':z['string']()['optional'](),'languages':z['array'](z['string']())['optional'](),'self_description':z['string']()['optional']()})['strict'](),OverrideValueEnum=z['enum'](['auto','prompt','block','warn']),PersonaPolicySchema=z['object']({'confirm':z['object']({'mode':z['enum'](['full','streamlined','quiet'])['optional'](),'batch_standard':z['boolean']()['optional'](),'session_remember':z['array'](z['string']())['optional'](),'intent_bypass':z['boolean']()['optional']()})['strict']()['optional'](),'budget':z['object']({'daily_wow':z['string']()['nullable']()['optional']()})['strict']()['optional'](),'allowlist':z['array'](z['string']())['optional'](),'audit':z['boolean']()['optional']()})['strict'](),TasteProfileSchema=z['object']({'materials':z['array'](z['string']())['optional'](),'colors':z['array'](z['string']())['optional'](),'styles':z['array'](z['string']())['optional'](),'tags':z['array'](z['string']())['optional'](),'brands':z['array'](z['string']())['optional'](),'avoid':z['array'](z['string']())['optional']()})['strict'](),ConsumptionProfileSchema=z['object']({'frequency':z['enum'](['rare','occasional','regular','frequent'])['optional'](),'price_band':z['enum'](['budget','mid','premium','luxury'])['optional'](),'decision_speed':z['enum'](['fast','deliberate','slow'])['optional'](),'channels':z['array'](z['string']())['optional'](),'repeat_orientation':z['enum'](['novelty','balanced','loyal'])['optional'](),'avg_order_range':z['string']()['optional'](),'notes':z['array'](z['string']())['optional']()})['strict'](),MerchantRoleStyleSchema=z['object']({'posture':z['enum'](['volume','balanced','margin'])['optional'](),'pricing_style':z['enum'](['competitive','value','premium','custom_quote'])['optional'](),'service_style':z['array'](z['string']())['optional'](),'communication':z['string']()['optional'](),'growth_focus':z['array'](z['string']())['optional']()})['strict'](),SupplierRoleStyleSchema=z['object']({'min_order':z['string']()['optional'](),'lead_time':z['string']()['optional'](),'settlement_terms':z['array'](z['string']())['optional'](),'categories':z['array'](z['string']())['optional'](),'capacity':z['string']()['optional']()})['strict'](),CollaboratorRoleStyleSchema=z['object']({'scope_discipline':z['enum'](['strict','balanced','flexible'])['optional'](),'notifications':z['enum'](['minimal','digest','realtime'])['optional'](),'working_hours':z['string']()['optional'](),'advance_style':z['array'](z['string']())['optional']()})['strict'](),ArbitratorRoleStyleSchema=z['object']({'case_types':z['array'](z['string']())['optional'](),'response_speed':z['enum'](['fast','standard','thorough'])['optional'](),'ruling_style':z['enum'](['concise','detailed'])['optional']()})['strict'](),DemanderRoleStyleSchema=z['object']({'award_weights':z['record'](z['string'](),z['number']())['optional'](),'pilot_budget':z['string']()['optional'](),'rfp_openness':z['enum'](['open','passport_gated','invite_only'])['optional'](),'decision_basis':z['array'](z['string']())['optional']()})['strict'](),RoleProfileSchema=z['object']({'tastes':TasteProfileSchema['optional'](),'consumption':ConsumptionProfileSchema['optional'](),'merchant':MerchantRoleStyleSchema['optional'](),'supplier':SupplierRoleStyleSchema['optional'](),'collaborator':CollaboratorRoleStyleSchema['optional'](),'arbitrator':ArbitratorRoleStyleSchema['optional'](),'demander':DemanderRoleStyleSchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional']()})['strict'](),RoleProfileMapSchema=z['object'](Object['fromEntries'](RoleEnum['options']['map'](a=>[a,RoleProfileSchema['optional']()])))['strict'](),PersonaLayerSchema=z['object']({'identity':PersonaIdentitySchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional'](),'strategy':z['array'](z['string']())['optional'](),'rules':z['array'](z['string']())['optional'](),'requirements':z['array'](z['string']())['optional'](),'spec':z['string']()['optional'](),'overrides':z['record'](z['string'](),OverrideValueEnum)['optional'](),'policy':PersonaPolicySchema['optional'](),'profiles':RoleProfileMapSchema['optional'](),'analyze':z['object']({'key_questions':z['array'](z['string']())['max'](0x4)['describe']('The\x20user\x27s\x20key\x20follow-up\x20questions\x20for\x20the\x20Analyze\x20dossier\x20(up\x20to\x204\x20stored,\x202\x20effective\x20after\x20merge).')})['strict']()['optional'](),'judgment':JudgmentFragmentSchema['optional']()})['strict'](),PersonaControlsSchema=z['object']({'confirm_modes':z['array'](z['string']()),'overrides':z['array'](z['object']({'id':z['string'](),'default':OverrideValueEnum,'allowed':z['array'](OverrideValueEnum),'surface':z['enum'](['gate','client'])['optional']()})['strict']()),'locked_rules':z['array'](z['object']({'id':z['string'](),'level':z['string']()})['strict']()),'policy_keys':z['array'](z['string']())})['strict'](),PersonaSchema=z['object']({'version':z['number'](),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'long_term':PersonaLayerSchema,'current':PersonaLayerSchema,'updated_at':z['number']()})['strict'](),PersonaSourceSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'part':z['enum'](['long_term','current'])})['strict'](),EffectivePersonaSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'layer':PersonaLayerSchema,'sources':z['array'](PersonaSourceSchema)})['strict'](),PersonaAnalysisSuggestionSchema=z['object']({'field':z['string'](),'value':z['unknown'](),'reason':z['string']()})['strict'](),PersonaAnalysisSchema=z['object']({'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum),'preferences':z['record'](z['string'](),z['unknown']()),'requirements':z['array'](z['string']()),'rules':z['array'](z['string']()),'suggestions':z['array'](PersonaAnalysisSuggestionSchema),'confidence':z['number']()})['strict'](),GoalSummarySchema=z['object']({'id':z['string'](),'title':z['string'](),'outcome_success':z['boolean']()['optional']()})['strict']();export const PersonaOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'industry':IndustryEnum['optional'](),'role':RoleEnum['optional']()})['strict'](),z['object']({'action':z['literal']('list')})['strict'](),z['object']({'action':z['literal']('set'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum,'industries':z['array'](IndustryEnum)['default']([]),'long_term':PersonaLayerSchema['optional'](),'current':PersonaLayerSchema['optional']()})['strict'](),z['object']({'action':z['literal']('analyze'),'context':z['string']()['describe']('Free-form\x20context:\x20website\x20URL,\x20experience\x20summary,\x20self\x20description,\x20goal.')})['strict'](),z['object']({'action':z['literal']('apply'),'context':z['string']()['describe']('Free-form\x20context\x20whose\x20extracted\x20signals\x20feed\x20the\x20CURRENT\x20layer.'),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'mode':z['enum'](['merge','replace'])['optional']()['describe']('merge\x20(default)\x20unions\x20strategy/rules/requirements\x20into\x20current;\x20replace\x20discards\x20the\x20existing\x20current\x20layer.')})['strict'](),z['object']({'action':z['literal']('sync'),'account':z['string']()['optional']()['describe']('Account\x20whose\x20behavior\x20(experience\x20layer)\x20is\x20merged\x20into\x20its\x20CURRENT\x20layer.\x20Omit\x20=\x20system\x20persona.')})['strict'](),z['object']({'action':z['literal']('apply_delta'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'delta':PersonaLayerSchema['describe']('Structured\x20CURRENT-layer\x20delta\x20to\x20merge\x20(e.g.\x20a\x20confirmed\x20strategy-review\x20proposal).\x20'+'Server-guarded:\x20policy/overrides\x20are\x20rejected;\x20long_term\x20is\x20never\x20written;\x20arrays\x20union\x20with\x20existing\x20current\x20values.')})['strict'](),z['object']({'action':z['literal']('remove'),'scope':ScopeEnum,'account':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('strategy'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'role':RoleEnum['optional']()['describe']('Role\x20override;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20role.'),'strategy':z['array'](z['string']())['optional']()['describe']('Explicit\x20strategy\x20statements;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20strategy[].')})['strict'](),z['object']({'action':z['literal']('region_hint'),'propose':z['string']()['optional']()['describe']('An\x20address\x20string\x20to\x20PROPOSE\x20storing\x20as\x20the\x20local\x20delivery\x20address.\x20Returns\x20a\x20consent-gated\x20save\x20proposal\x20—\x20NEVER\x20auto-writes;\x20the\x20user\x20must\x20confirm\x20via\x20local_info_operation.')})['strict'](),z['object']({'action':z['literal']('distill'),'goal_id':z['string']()['describe']('Goal\x20id\x20(goal_…)\x20whose\x20memory\x20(outcome,\x20problems,\x20feedback,\x20objects)\x20is\x20distilled\x20into\x20a\x20CURRENT-layer\x20proposal.'),'network':z['enum'](['mainnet','testnet'])['optional']()['describe']('Network\x20the\x20goal\x20was\x20created\x20under.')})['strict']()]);export const PersonaOperationOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'target_account':z['string']()['optional']()['describe']('The\x20account\x20the\x20persona\x20was\x20resolved\x20for\x20(explicit\x20account,\x20or\x20the\x20on-chain\x20default\x20account\x20when\x20omitted).'),'effective':EffectivePersonaSchema,'analyze_questions':z['array'](z['string']())['optional']()['describe']('Analyze-flow\x20defaults\x20(client\x20address\x20popover\x20\x22Analyze\x22\x20→\x20AI\x20dossier):\x20the\x20user\x27s\x20effective\x20key\x20follow-up\x20questions,\x20capped\x20at\x202\x20(higher-priority\x20persona\x20layer\x20first).\x20When\x20present,\x20these\x20REPLACE\x20the\x20generic\x20Analyze\x20follow-up\x20guidance.\x20Sourced\x20from\x20persona\x20layers\x27\x20analyze.key_questions;\x20industry\x20needs\x20still\x20provide\x20thematic\x20context.'),'context_text':z['string'](),'injection':z['record'](z['string'](),z['unknown']()),'controls':PersonaControlsSchema['optional']()['describe']('Static\x20catalog\x20of\x20editable\x20safety\x20controls:\x20overridable\x20rule\x20ids\x20(defaults/allowed),\x20hard-floor\x20locked\x20rules,\x20confirm\x20modes,\x20and\x20policy\x20key\x20paths.')})['strict'](),z['object']({'action':z['literal']('list'),'personas':z['array'](PersonaSchema),'defaults':z['array'](PersonaSchema)})['strict'](),z['object']({'action':z['literal']('set'),'persona':PersonaSchema,'line_count':z['number']()})['strict'](),z['object']({'action':z['literal']('analyze'),'analysis':PersonaAnalysisSchema})['strict'](),z['object']({'action':z['literal']('apply'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':z['array'](PersonaAnalysisSuggestionSchema)})['strict'](),z['object']({'action':z['literal']('sync'),'persona':PersonaSchema,'applied':PersonaLayerSchema,'effective':EffectivePersonaSchema})['strict'](),z['object']({'action':z['literal']('apply_delta'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':PersonaLayerSchema})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('strategy'),'role':RoleEnum,'intents':z['array'](z['object']({'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'metrics':z['array'](z['string']()),'levers':z['array'](z['enum'](['discount','reward','buy_guard','machine_design'])),'target':z['string']()})['strict']()),'suggestions':z['array'](z['object']({'lever':z['enum'](['discount','reward','buy_guard','machine_design']),'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'action':z['string'](),'target':z['string']()})['strict']()),'note':z['string']()['describe']('Empty\x20for\x20merchant;\x20explains\x20why\x20mapping\x20is\x20producer-only\x20for\x20other\x20roles.')})['strict'](),z['object']({'action':z['literal']('region_hint'),'hint':z['object']({'region':z['record'](z['string'](),z['unknown']())['describe']('Deterministic\x20region\x20skeleton\x20(mode/raw;\x20country/province/city\x20stay\x20AI-enriched).'),'source':z['literal']('local_info'),'raw':z['string']()})['strict']()['optional']()['describe']('Present\x20when\x20a\x20locally-stored\x20delivery\x20address\x20exists.'),'proposal':z['object']({'requires_user_consent':z['literal'](!![]),'raw':z['string'](),'region':z['record'](z['string'](),z['unknown']()),'review':z['string'](),'store_via':z['literal']('local_info_operation'),'info':z['object']({'name':z['string'](),'default':z['string']()})['strict']()})['strict']()['optional']()['describe']('Present\x20when\x20`propose`\x20was\x20given\x20—\x20a\x20consent-gated\x20save\x20proposal\x20(never\x20auto-written).'),'note':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('distill'),'summary':z['string']()['describe']('Human-readable\x20distillation\x20of\x20what\x20the\x20goal\x27s\x20memory\x20shows.'),'current_delta':PersonaLayerSchema['describe']('PROPOSED\x20current-layer\x20delta\x20(rules/preferences).\x20Never\x20auto-written.'),'evidence':z['object']({'goal_type':z['string'](),'stage':z['string'](),'outcome_success':z['boolean']()['optional'](),'objects_count':z['number'](),'problems_open':z['number'](),'problems_resolved':z['number'](),'feedback_positive':z['number'](),'feedback_negative':z['number'](),'duration_days':z['number']()['optional']()})['strict'](),'apply_via':z['string']()['describe']('The\x20exact\x20user-driven\x20write\x20path\x20(persona_operation\x20set/apply)\x20that\x20persists\x20the\x20delta\x20after\x20user\x20confirmation.'),'goal':GoalSummarySchema['describe']('The\x20distilled\x20goal\x27s\x20id/title/outcome\x20for\x20display.')})['strict']()]);
@@ -8,6 +8,19 @@ export declare const ServicePanoramaQuerySchema: z.ZodObject<{
8
8
  localnet: "localnet";
9
9
  }>>;
10
10
  }, z.core.$strict>;
11
+ export declare const ServiceQuoteQuerySchema: z.ZodObject<{
12
+ query_type: z.ZodLiteral<"service_quote">;
13
+ service_address: z.ZodString;
14
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
+ name: z.ZodString;
16
+ quantity: z.ZodDefault<z.ZodNumber>;
17
+ }, z.core.$strip>>>;
18
+ context_network: z.ZodOptional<z.ZodEnum<{
19
+ testnet: "testnet";
20
+ mainnet: "mainnet";
21
+ localnet: "localnet";
22
+ }>>;
23
+ }, z.core.$strict>;
11
24
  export declare const MachinePanoramaQuerySchema: z.ZodObject<{
12
25
  query_type: z.ZodLiteral<"machine_panorama">;
13
26
  object_address: z.ZodOptional<z.ZodString>;
@@ -85,12 +98,12 @@ export declare const RelationshipProfileQuerySchema: z.ZodObject<{
85
98
  radar_account: z.ZodOptional<z.ZodString>;
86
99
  relation_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
87
100
  transaction: "transaction";
101
+ dispute_resolution: "dispute_resolution";
88
102
  employment: "employment";
89
103
  process_operation: "process_operation";
90
104
  agency: "agency";
91
105
  supply: "supply";
92
106
  arbitration_delegation: "arbitration_delegation";
93
- dispute_resolution: "dispute_resolution";
94
107
  value_distribution: "value_distribution";
95
108
  contact_membership: "contact_membership";
96
109
  }>>>;
@@ -180,8 +193,8 @@ export declare const OnchainTopologyQuerySchema: z.ZodObject<{
180
193
  supplier: "supplier";
181
194
  collaborator: "collaborator";
182
195
  arbitrator: "arbitrator";
183
- neutral: "neutral";
184
196
  system: "system";
197
+ neutral: "neutral";
185
198
  }>>;
186
199
  facets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
187
200
  visible: z.ZodOptional<z.ZodBoolean>;
@@ -200,9 +213,9 @@ export declare const OnchainTopologyQuerySchema: z.ZodObject<{
200
213
  only_analyzers: z.ZodOptional<z.ZodArray<z.ZodString>>;
201
214
  include_raw: z.ZodOptional<z.ZodBoolean>;
202
215
  table_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
203
- "machine.node": "machine.node";
204
216
  "permission.entity": "permission.entity";
205
217
  "demand.presenter": "demand.presenter";
218
+ "machine.node": "machine.node";
206
219
  }>>>;
207
220
  event_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
208
221
  "service.order_history": "service.order_history";
@@ -225,6 +238,18 @@ export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
225
238
  mainnet: "mainnet";
226
239
  localnet: "localnet";
227
240
  }>>;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ query_type: z.ZodLiteral<"service_quote">;
243
+ service_address: z.ZodString;
244
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
245
+ name: z.ZodString;
246
+ quantity: z.ZodDefault<z.ZodNumber>;
247
+ }, z.core.$strip>>>;
248
+ context_network: z.ZodOptional<z.ZodEnum<{
249
+ testnet: "testnet";
250
+ mainnet: "mainnet";
251
+ localnet: "localnet";
252
+ }>>;
228
253
  }, z.core.$strict>, z.ZodObject<{
229
254
  query_type: z.ZodLiteral<"machine_panorama">;
230
255
  object_address: z.ZodOptional<z.ZodString>;
@@ -296,12 +321,12 @@ export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
296
321
  radar_account: z.ZodOptional<z.ZodString>;
297
322
  relation_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
298
323
  transaction: "transaction";
324
+ dispute_resolution: "dispute_resolution";
299
325
  employment: "employment";
300
326
  process_operation: "process_operation";
301
327
  agency: "agency";
302
328
  supply: "supply";
303
329
  arbitration_delegation: "arbitration_delegation";
304
- dispute_resolution: "dispute_resolution";
305
330
  value_distribution: "value_distribution";
306
331
  contact_membership: "contact_membership";
307
332
  }>>>;
@@ -386,8 +411,8 @@ export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
386
411
  supplier: "supplier";
387
412
  collaborator: "collaborator";
388
413
  arbitrator: "arbitrator";
389
- neutral: "neutral";
390
414
  system: "system";
415
+ neutral: "neutral";
391
416
  }>>;
392
417
  facets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
393
418
  visible: z.ZodOptional<z.ZodBoolean>;
@@ -406,9 +431,9 @@ export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
406
431
  only_analyzers: z.ZodOptional<z.ZodArray<z.ZodString>>;
407
432
  include_raw: z.ZodOptional<z.ZodBoolean>;
408
433
  table_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
409
- "machine.node": "machine.node";
410
434
  "permission.entity": "permission.entity";
411
435
  "demand.presenter": "demand.presenter";
436
+ "machine.node": "machine.node";
412
437
  }>>>;
413
438
  event_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
414
439
  "service.order_history": "service.order_history";
@@ -556,6 +581,13 @@ export declare const ParticipationRadarResultSchema: z.ZodObject<{
556
581
  summary: z.ZodString;
557
582
  }, z.core.$strict>>;
558
583
  summary: z.ZodString;
584
+ fund_advice: z.ZodOptional<z.ZodObject<{
585
+ pool: z.ZodOptional<z.ZodString>;
586
+ funded: z.ZodOptional<z.ZodBoolean>;
587
+ settled: z.ZodOptional<z.ZodBoolean>;
588
+ decision_advice: z.ZodArray<z.ZodString>;
589
+ risk_notes: z.ZodArray<z.ZodString>;
590
+ }, z.core.$strict>>;
559
591
  attached_alerts: z.ZodOptional<z.ZodArray<z.ZodObject<{
560
592
  id: z.ZodString;
561
593
  category: z.ZodEnum<{
@@ -667,6 +699,13 @@ export declare const ParticipationRadarResultSchema: z.ZodObject<{
667
699
  summary: z.ZodString;
668
700
  }, z.core.$strict>>;
669
701
  summary: z.ZodString;
702
+ fund_advice: z.ZodOptional<z.ZodObject<{
703
+ pool: z.ZodOptional<z.ZodString>;
704
+ funded: z.ZodOptional<z.ZodBoolean>;
705
+ settled: z.ZodOptional<z.ZodBoolean>;
706
+ decision_advice: z.ZodArray<z.ZodString>;
707
+ risk_notes: z.ZodArray<z.ZodString>;
708
+ }, z.core.$strict>>;
670
709
  attached_alerts: z.ZodOptional<z.ZodArray<z.ZodObject<{
671
710
  id: z.ZodString;
672
711
  category: z.ZodEnum<{
@@ -1135,9 +1174,9 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
1135
1174
  to: z.ZodString;
1136
1175
  retention: z.ZodEnum<{
1137
1176
  complete: "complete";
1177
+ membership: "membership";
1138
1178
  bounded_exact: "bounded_exact";
1139
1179
  bounded_window: "bounded_window";
1140
- membership: "membership";
1141
1180
  derived: "derived";
1142
1181
  event_full: "event_full";
1143
1182
  event_degraded: "event_degraded";
@@ -1223,8 +1262,8 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
1223
1262
  role: z.ZodString;
1224
1263
  path: z.ZodString;
1225
1264
  viability: z.ZodEnum<{
1226
- conditional: "conditional";
1227
1265
  viable: "viable";
1266
+ conditional: "conditional";
1228
1267
  blocked: "blocked";
1229
1268
  unverifiable: "unverifiable";
1230
1269
  }>;
@@ -1340,6 +1379,13 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
1340
1379
  risk_finding_ids: z.ZodArray<z.ZodString>;
1341
1380
  summary: z.ZodString;
1342
1381
  }, z.core.$strict>>;
1382
+ ruleId: z.ZodOptional<z.ZodString>;
1383
+ evidence: z.ZodOptional<z.ZodString>;
1384
+ source: z.ZodOptional<z.ZodEnum<{
1385
+ external: "external";
1386
+ onchain: "onchain";
1387
+ proposal: "proposal";
1388
+ }>>;
1343
1389
  }, z.core.$strict>>;
1344
1390
  evaluation: z.ZodOptional<z.ZodObject<{
1345
1391
  target: z.ZodString;
@@ -1694,9 +1740,79 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
1694
1740
  }, z.core.$strict>>;
1695
1741
  summary: z.ZodString;
1696
1742
  }, z.core.$strict>;
1743
+ export declare const ServiceQuoteResultSchema: z.ZodObject<{
1744
+ action: z.ZodLiteral<"service_quote">;
1745
+ network: z.ZodString;
1746
+ service: z.ZodObject<{
1747
+ address: z.ZodString;
1748
+ name: z.ZodNullable<z.ZodString>;
1749
+ }, z.core.$strip>;
1750
+ payment_token: z.ZodObject<{
1751
+ coin_type: z.ZodNullable<z.ZodString>;
1752
+ display_note: z.ZodString;
1753
+ }, z.core.$strip>;
1754
+ items: z.ZodArray<z.ZodObject<{
1755
+ name: z.ZodString;
1756
+ quantity: z.ZodNumber;
1757
+ unit_price: z.ZodString;
1758
+ unit_price_display: z.ZodString;
1759
+ line_total: z.ZodString;
1760
+ suspended: z.ZodBoolean;
1761
+ }, z.core.$strip>>;
1762
+ total_pay: z.ZodObject<{
1763
+ balance: z.ZodString;
1764
+ display: z.ZodString;
1765
+ note: z.ZodString;
1766
+ }, z.core.$strip>;
1767
+ allocation_preview: z.ZodNullable<z.ZodObject<{
1768
+ allocator_index: z.ZodNumber;
1769
+ note: z.ZodString;
1770
+ sharing: z.ZodArray<z.ZodObject<{
1771
+ recipient: z.ZodString;
1772
+ mode: z.ZodNullable<z.ZodString>;
1773
+ value: z.ZodString;
1774
+ }, z.core.$strip>>;
1775
+ }, z.core.$strip>>;
1776
+ }, z.core.$strict>;
1697
1777
  export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
1698
1778
  query_type: z.ZodLiteral<"service_panorama">;
1699
1779
  result: z.ZodUnknown;
1780
+ }, z.core.$strip>, z.ZodObject<{
1781
+ query_type: z.ZodLiteral<"service_quote">;
1782
+ result: z.ZodObject<{
1783
+ action: z.ZodLiteral<"service_quote">;
1784
+ network: z.ZodString;
1785
+ service: z.ZodObject<{
1786
+ address: z.ZodString;
1787
+ name: z.ZodNullable<z.ZodString>;
1788
+ }, z.core.$strip>;
1789
+ payment_token: z.ZodObject<{
1790
+ coin_type: z.ZodNullable<z.ZodString>;
1791
+ display_note: z.ZodString;
1792
+ }, z.core.$strip>;
1793
+ items: z.ZodArray<z.ZodObject<{
1794
+ name: z.ZodString;
1795
+ quantity: z.ZodNumber;
1796
+ unit_price: z.ZodString;
1797
+ unit_price_display: z.ZodString;
1798
+ line_total: z.ZodString;
1799
+ suspended: z.ZodBoolean;
1800
+ }, z.core.$strip>>;
1801
+ total_pay: z.ZodObject<{
1802
+ balance: z.ZodString;
1803
+ display: z.ZodString;
1804
+ note: z.ZodString;
1805
+ }, z.core.$strip>;
1806
+ allocation_preview: z.ZodNullable<z.ZodObject<{
1807
+ allocator_index: z.ZodNumber;
1808
+ note: z.ZodString;
1809
+ sharing: z.ZodArray<z.ZodObject<{
1810
+ recipient: z.ZodString;
1811
+ mode: z.ZodNullable<z.ZodString>;
1812
+ value: z.ZodString;
1813
+ }, z.core.$strip>>;
1814
+ }, z.core.$strip>>;
1815
+ }, z.core.$strict>;
1700
1816
  }, z.core.$strip>, z.ZodObject<{
1701
1817
  query_type: z.ZodLiteral<"machine_panorama">;
1702
1818
  result: z.ZodUnknown;
@@ -1845,6 +1961,13 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
1845
1961
  summary: z.ZodString;
1846
1962
  }, z.core.$strict>>;
1847
1963
  summary: z.ZodString;
1964
+ fund_advice: z.ZodOptional<z.ZodObject<{
1965
+ pool: z.ZodOptional<z.ZodString>;
1966
+ funded: z.ZodOptional<z.ZodBoolean>;
1967
+ settled: z.ZodOptional<z.ZodBoolean>;
1968
+ decision_advice: z.ZodArray<z.ZodString>;
1969
+ risk_notes: z.ZodArray<z.ZodString>;
1970
+ }, z.core.$strict>>;
1848
1971
  attached_alerts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1849
1972
  id: z.ZodString;
1850
1973
  category: z.ZodEnum<{
@@ -1956,6 +2079,13 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
1956
2079
  summary: z.ZodString;
1957
2080
  }, z.core.$strict>>;
1958
2081
  summary: z.ZodString;
2082
+ fund_advice: z.ZodOptional<z.ZodObject<{
2083
+ pool: z.ZodOptional<z.ZodString>;
2084
+ funded: z.ZodOptional<z.ZodBoolean>;
2085
+ settled: z.ZodOptional<z.ZodBoolean>;
2086
+ decision_advice: z.ZodArray<z.ZodString>;
2087
+ risk_notes: z.ZodArray<z.ZodString>;
2088
+ }, z.core.$strict>>;
1959
2089
  attached_alerts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1960
2090
  id: z.ZodString;
1961
2091
  category: z.ZodEnum<{
@@ -2206,9 +2336,9 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
2206
2336
  to: z.ZodString;
2207
2337
  retention: z.ZodEnum<{
2208
2338
  complete: "complete";
2339
+ membership: "membership";
2209
2340
  bounded_exact: "bounded_exact";
2210
2341
  bounded_window: "bounded_window";
2211
- membership: "membership";
2212
2342
  derived: "derived";
2213
2343
  event_full: "event_full";
2214
2344
  event_degraded: "event_degraded";
@@ -2294,8 +2424,8 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
2294
2424
  role: z.ZodString;
2295
2425
  path: z.ZodString;
2296
2426
  viability: z.ZodEnum<{
2297
- conditional: "conditional";
2298
2427
  viable: "viable";
2428
+ conditional: "conditional";
2299
2429
  blocked: "blocked";
2300
2430
  unverifiable: "unverifiable";
2301
2431
  }>;
@@ -2411,6 +2541,13 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
2411
2541
  risk_finding_ids: z.ZodArray<z.ZodString>;
2412
2542
  summary: z.ZodString;
2413
2543
  }, z.core.$strict>>;
2544
+ ruleId: z.ZodOptional<z.ZodString>;
2545
+ evidence: z.ZodOptional<z.ZodString>;
2546
+ source: z.ZodOptional<z.ZodEnum<{
2547
+ external: "external";
2548
+ onchain: "onchain";
2549
+ proposal: "proposal";
2550
+ }>>;
2414
2551
  }, z.core.$strict>>;
2415
2552
  evaluation: z.ZodOptional<z.ZodObject<{
2416
2553
  target: z.ZodString;
@@ -2767,6 +2904,8 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
2767
2904
  }, z.core.$strict>;
2768
2905
  }, z.core.$strip>];
2769
2906
  export type ServicePanoramaInput = z.infer<typeof ServicePanoramaQuerySchema>;
2907
+ export type ServiceQuoteInput = z.infer<typeof ServiceQuoteQuerySchema>;
2908
+ export type ServiceQuoteResult = z.infer<typeof ServiceQuoteResultSchema>;
2770
2909
  export type MachinePanoramaInput = z.infer<typeof MachinePanoramaQuerySchema>;
2771
2910
  export type ObjectPanoramaInput = z.infer<typeof ObjectPanoramaQuerySchema>;
2772
2911
  export type ReviewPackInput = z.infer<typeof ReviewPackQuerySchema>;