@wowok/agent-mcp 3.4.0 → 3.4.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 (412) hide show
  1. package/README.md +8 -0
  2. package/dist/chain-semantics/composition-truth.d.ts +102 -0
  3. package/dist/chain-semantics/composition-truth.js +1 -0
  4. package/dist/chain-semantics/eval-order.js +1 -1
  5. package/dist/chain-semantics/fund-flow.js +1 -1
  6. package/dist/chain-semantics/index.d.ts +1 -0
  7. package/dist/chain-semantics/index.js +1 -1
  8. package/dist/composition/audit.js +1 -1
  9. package/dist/composition/blueprint-view.d.ts +3 -3
  10. package/dist/composition/blueprint-view.js +1 -1
  11. package/dist/composition/compile.d.ts +24 -3
  12. package/dist/composition/compile.js +1 -1
  13. package/dist/composition/emit-phases.d.ts +206 -0
  14. package/dist/composition/emit-phases.js +1 -0
  15. package/dist/composition/generate.d.ts +40 -0
  16. package/dist/composition/generate.js +1 -0
  17. package/dist/composition/guard-fill.d.ts +44 -0
  18. package/dist/composition/guard-fill.js +1 -0
  19. package/dist/composition/inflight.d.ts +20 -2
  20. package/dist/composition/inflight.js +1 -1
  21. package/dist/composition/input-normalize.d.ts +15 -0
  22. package/dist/composition/input-normalize.js +1 -0
  23. package/dist/composition/materialize.d.ts +18 -13
  24. package/dist/composition/materialize.js +1 -1
  25. package/dist/composition/mode-gates.d.ts +35 -0
  26. package/dist/composition/mode-gates.js +1 -0
  27. package/dist/composition/param-disclosure.js +1 -1
  28. package/dist/composition/plan-retry-ledger.d.ts +21 -0
  29. package/dist/composition/plan-retry-ledger.js +1 -0
  30. package/dist/composition/plan.d.ts +7 -2
  31. package/dist/composition/plan.js +1 -1
  32. package/dist/composition/product-card.d.ts +94 -0
  33. package/dist/composition/product-card.js +1 -0
  34. package/dist/composition/supply-chain-emit.d.ts +46 -0
  35. package/dist/composition/supply-chain-emit.js +1 -0
  36. package/dist/config/config-audit.spec.js +1 -1
  37. package/dist/config/config-warnings.d.ts +2 -0
  38. package/dist/config/config-warnings.js +1 -0
  39. package/dist/config/exposure.d.ts +2 -2
  40. package/dist/config/judgment.d.ts +31 -5
  41. package/dist/config/judgment.js +1 -1
  42. package/dist/config/judgment.spec.js +1 -1
  43. package/dist/config/match-policy-file.d.ts +34 -0
  44. package/dist/config/match-policy-file.js +1 -0
  45. package/dist/config/match-policy-file.spec.d.ts +1 -0
  46. package/dist/config/match-policy-file.spec.js +1 -0
  47. package/dist/config/rule-engine.d.ts +5 -5
  48. package/dist/config/rule-engine.js +1 -1
  49. package/dist/config/runtime.d.ts +0 -1
  50. package/dist/config/runtime.js +1 -1
  51. package/dist/config/severity.d.ts +0 -2
  52. package/dist/config/severity.js +1 -1
  53. package/dist/config/store-policy.spec.js +1 -1
  54. package/dist/config/template-params.d.ts +42 -0
  55. package/dist/config/template-params.js +1 -0
  56. package/dist/config/template-params.spec.d.ts +1 -0
  57. package/dist/config/template-params.spec.js +1 -0
  58. package/dist/data/api/api.spec.js +1 -1
  59. package/dist/data/api/server.js +1 -1
  60. package/dist/data/projection/store.d.ts +2 -1
  61. package/dist/data/projection/store.js +1 -1
  62. package/dist/data/projection/types.d.ts +22 -0
  63. package/dist/data/sync/cdc.d.ts +1 -2
  64. package/dist/data/sync/cdc.js +1 -1
  65. package/dist/evaluation/acceptance.d.ts +8 -0
  66. package/dist/evaluation/acceptance.js +1 -1
  67. package/dist/evaluation/builtins/demand-match.js +1 -1
  68. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  69. package/dist/evaluation/capability.d.ts +2 -0
  70. package/dist/evaluation/category-match-rules.d.ts +0 -1
  71. package/dist/evaluation/category-match-rules.js +1 -1
  72. package/dist/evaluation/composer.d.ts +25 -0
  73. package/dist/evaluation/composer.js +1 -1
  74. package/dist/evaluation/engine.js +1 -1
  75. package/dist/evaluation/extract.d.ts +7 -0
  76. package/dist/evaluation/extract.js +1 -1
  77. package/dist/evaluation/game-strategy.d.ts +0 -3
  78. package/dist/evaluation/game-strategy.js +1 -1
  79. package/dist/evaluation/match-operation.d.ts +9 -0
  80. package/dist/evaluation/match-operation.js +1 -1
  81. package/dist/evaluation/match-policy-resolver.d.ts +9 -0
  82. package/dist/evaluation/match-policy-resolver.js +1 -0
  83. package/dist/evaluation/match-policy.d.ts +3 -1
  84. package/dist/evaluation/match-policy.js +1 -1
  85. package/dist/evaluation/region.d.ts +0 -6
  86. package/dist/evaluation/region.js +1 -1
  87. package/dist/evaluation/standards.d.ts +2 -1
  88. package/dist/evaluation/standards.js +1 -1
  89. package/dist/evaluation/structured-lines.d.ts +8 -0
  90. package/dist/evaluation/structured-lines.js +1 -0
  91. package/dist/evaluation/types.d.ts +6 -0
  92. package/dist/experience/realtime-feedback.js +1 -1
  93. package/dist/extensions/capability-manifest.d.ts +1 -0
  94. package/dist/extensions/capability-manifest.js +1 -1
  95. package/dist/extensions/capability.d.ts +91 -0
  96. package/dist/extensions/capability.js +1 -0
  97. package/dist/extensions/industry-audit.spec.js +1 -1
  98. package/dist/extensions/industry-pack.d.ts +13 -0
  99. package/dist/extensions/industry-pack.js +1 -1
  100. package/dist/extensions/modes.js +1 -1
  101. package/dist/extensions/registry.d.ts +0 -2
  102. package/dist/extensions/registry.js +1 -1
  103. package/dist/goal/GoalEngine.js +1 -1
  104. package/dist/graph/onchain/analyze.js +1 -1
  105. package/dist/graph/onchain/expand.js +1 -1
  106. package/dist/graph/onchain/exposure.js +1 -1
  107. package/dist/graph/onchain/facts.js +1 -1
  108. package/dist/graph/onchain/order-status.d.ts +0 -1
  109. package/dist/graph/onchain/order-status.js +1 -1
  110. package/dist/harness/recover.js +1 -1
  111. package/dist/harness/verify.d.ts +0 -3
  112. package/dist/harness/verify.js +1 -1
  113. package/dist/intent/types.d.ts +0 -1
  114. package/dist/intent/types.js +1 -1
  115. package/dist/keeper/detectors.js +1 -1
  116. package/dist/keeper/types.d.ts +0 -1
  117. package/dist/keeper/types.js +1 -1
  118. package/dist/knowledge/allocation-risk.d.ts +1 -0
  119. package/dist/knowledge/allocation-risk.js +1 -1
  120. package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
  121. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  122. package/dist/knowledge/arbitration-ledger.js +1 -1
  123. package/dist/knowledge/arbitration-puzzle.js +1 -1
  124. package/dist/knowledge/arbitration-templates.js +1 -1
  125. package/dist/knowledge/audit-rules.d.ts +4 -3
  126. package/dist/knowledge/audit-rules.js +1 -1
  127. package/dist/knowledge/baselines/judgment-baselines.json +21 -2
  128. package/dist/knowledge/baselines/rules/oracle.json +120 -0
  129. package/dist/knowledge/baselines/rules/plan.json +384 -17
  130. package/dist/knowledge/baselines/rules/progress.json +20 -2
  131. package/dist/knowledge/builtin-templates.d.ts +28 -1
  132. package/dist/knowledge/builtin-templates.js +1 -1
  133. package/dist/knowledge/component-schema.js +1 -1
  134. package/dist/knowledge/contact-templates.d.ts +0 -1
  135. package/dist/knowledge/contact-templates.js +1 -1
  136. package/dist/knowledge/dynamic-pricing.js +1 -1
  137. package/dist/knowledge/fee-param-bindings.js +1 -1
  138. package/dist/knowledge/fund-layer.d.ts +1 -0
  139. package/dist/knowledge/fund-layer.js +1 -1
  140. package/dist/knowledge/game-scenarios.js +1 -1
  141. package/dist/knowledge/getting-started.js +1 -1
  142. package/dist/knowledge/guard-binding-table.d.ts +52 -0
  143. package/dist/knowledge/guard-binding-table.js +1 -0
  144. package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
  145. package/dist/knowledge/guard-binding-verifier.js +1 -0
  146. package/dist/knowledge/guard-bindings.js +1 -1
  147. package/dist/knowledge/guard-blueprint.d.ts +68 -0
  148. package/dist/knowledge/guard-blueprint.js +1 -0
  149. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  150. package/dist/knowledge/guard-design-patterns.js +1 -1
  151. package/dist/knowledge/guard-field-cognition.js +1 -1
  152. package/dist/knowledge/guard-host-context.d.ts +24 -0
  153. package/dist/knowledge/guard-host-context.js +1 -0
  154. package/dist/knowledge/guard-lint.js +1 -1
  155. package/dist/knowledge/guard-node-gates.d.ts +3 -0
  156. package/dist/knowledge/guard-node-gates.js +1 -1
  157. package/dist/knowledge/guard-puzzle.js +1 -1
  158. package/dist/knowledge/guard-render.js +1 -1
  159. package/dist/knowledge/guard-risk.js +1 -1
  160. package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
  161. package/dist/knowledge/guard-submission-prompt.js +1 -1
  162. package/dist/knowledge/guard-templates.d.ts +1 -1
  163. package/dist/knowledge/guard-templates.js +1 -1
  164. package/dist/knowledge/guard-translation.js +1 -1
  165. package/dist/knowledge/index.d.ts +1 -1
  166. package/dist/knowledge/index.js +1 -1
  167. package/dist/knowledge/industry-generalizer.d.ts +6 -1
  168. package/dist/knowledge/industry-generalizer.js +1 -1
  169. package/dist/knowledge/industry-registry.js +1 -1
  170. package/dist/knowledge/jsonrpc-enum.d.ts +38 -0
  171. package/dist/knowledge/jsonrpc-enum.js +1 -1
  172. package/dist/knowledge/machine-topology.js +1 -1
  173. package/dist/knowledge/machine-translation.js +1 -1
  174. package/dist/knowledge/object-dependency.d.ts +31 -0
  175. package/dist/knowledge/object-dependency.js +1 -0
  176. package/dist/knowledge/onchain-constants.d.ts +2 -0
  177. package/dist/knowledge/onchain-constants.js +1 -1
  178. package/dist/knowledge/param-schema.d.ts +23 -0
  179. package/dist/knowledge/param-schema.js +1 -1
  180. package/dist/knowledge/param-tiers.js +1 -1
  181. package/dist/knowledge/passport-ledger.js +1 -1
  182. package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
  183. package/dist/knowledge/path-oracle/coverage.js +1 -0
  184. package/dist/knowledge/path-oracle/index.d.ts +5 -0
  185. package/dist/knowledge/path-oracle/index.js +1 -0
  186. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
  187. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
  188. package/dist/knowledge/path-oracle/schema.d.ts +188 -0
  189. package/dist/knowledge/path-oracle/schema.js +1 -0
  190. package/dist/knowledge/pattern-resolutions.d.ts +2 -0
  191. package/dist/knowledge/pattern-resolutions.js +1 -1
  192. package/dist/knowledge/progress-ledger.js +1 -1
  193. package/dist/knowledge/progress-risk.js +1 -1
  194. package/dist/knowledge/projection.spec.js +1 -1
  195. package/dist/knowledge/protocol-facts.js +1 -1
  196. package/dist/knowledge/requirement-families.d.ts +13 -0
  197. package/dist/knowledge/requirement-families.js +1 -0
  198. package/dist/knowledge/reward-ledger.js +1 -1
  199. package/dist/knowledge/scenario-modes.d.ts +1 -0
  200. package/dist/knowledge/scenario-modes.js +1 -1
  201. package/dist/knowledge/semantic-ir.d.ts +4 -0
  202. package/dist/knowledge/semantic-ir.js +1 -1
  203. package/dist/knowledge/service-ledger.d.ts +1 -1
  204. package/dist/knowledge/service-ledger.js +1 -1
  205. package/dist/knowledge/sku-name-gate.d.ts +17 -0
  206. package/dist/knowledge/sku-name-gate.js +1 -0
  207. package/dist/knowledge/supply-chain.d.ts +9 -0
  208. package/dist/knowledge/supply-chain.js +1 -1
  209. package/dist/knowledge/template-loader.d.ts +14 -6
  210. package/dist/knowledge/template-loader.js +1 -1
  211. package/dist/knowledge/template-nav.d.ts +3 -1
  212. package/dist/knowledge/template-nav.js +1 -1
  213. package/dist/knowledge/template-prose.d.ts +1 -1
  214. package/dist/knowledge/template-registry.js +1 -1
  215. package/dist/knowledge/template-scanner.d.ts +62 -0
  216. package/dist/knowledge/template-scanner.js +1 -1
  217. package/dist/knowledge/template-test-profiles.js +1 -1
  218. package/dist/knowledge/tools-reference.js +1 -1
  219. package/dist/knowledge/workflow-guidance.d.ts +5 -0
  220. package/dist/knowledge/workflow-guidance.js +1 -1
  221. package/dist/monitor/MonitorLoop.js +1 -1
  222. package/dist/participation/customer-interest.d.ts +4 -0
  223. package/dist/participation/customer-interest.js +1 -1
  224. package/dist/participation/node-action-advisor.d.ts +4 -0
  225. package/dist/participation/node-action-advisor.js +1 -1
  226. package/dist/participation/radar-core.js +1 -1
  227. package/dist/participation/time-window.d.ts +11 -0
  228. package/dist/participation/time-window.js +1 -1
  229. package/dist/persona/address-format.d.ts +0 -1
  230. package/dist/persona/address-format.js +1 -1
  231. package/dist/persona/bridge.js +1 -1
  232. package/dist/persona/index.d.ts +0 -2
  233. package/dist/persona/index.js +1 -1
  234. package/dist/persona/model.js +1 -1
  235. package/dist/persona/persona-audit.spec.js +1 -1
  236. package/dist/persona/types.d.ts +6 -0
  237. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  238. package/dist/playbooks/service-build/game-theory.d.ts +2 -2
  239. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  240. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  241. package/dist/playbooks/service-build/merchant-guide.d.ts +50 -23
  242. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  243. package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
  244. package/dist/playbooks/service-build/migration-planner.js +1 -1
  245. package/dist/playbooks/service-build/mode-actions.js +1 -1
  246. package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
  247. package/dist/playbooks/service-build/object-panorama.js +1 -1
  248. package/dist/playbooks/service-build/participation-radar.js +1 -1
  249. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  250. package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
  251. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  252. package/dist/playbooks/service-build/service-panorama.d.ts +1 -0
  253. package/dist/playbooks/service-build/service-panorama.js +1 -1
  254. package/dist/playbooks/service-build/service-quote.js +1 -1
  255. package/dist/playbooks/service-build/service-quote.spec.js +1 -1
  256. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
  257. package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
  258. package/dist/review/index.js +1 -1
  259. package/dist/review/repository.js +1 -1
  260. package/dist/safety/confirm-gate.js +1 -1
  261. package/dist/schema/benchmark-migration/index.d.ts +104 -0
  262. package/dist/schema/benchmark-migration/index.js +1 -1
  263. package/dist/schema/call/allocation.d.ts +15 -6
  264. package/dist/schema/call/allocation.js +1 -1
  265. package/dist/schema/call/base.d.ts +256 -0
  266. package/dist/schema/call/base.js +1 -1
  267. package/dist/schema/call/bridge.d.ts +32 -6
  268. package/dist/schema/call/demand.d.ts +15 -6
  269. package/dist/schema/call/demand.js +1 -1
  270. package/dist/schema/call/guard.d.ts +8 -8
  271. package/dist/schema/call/guard.js +1 -1
  272. package/dist/schema/call/handler.d.ts +3 -0
  273. package/dist/schema/call/handler.js +1 -1
  274. package/dist/schema/call/machine.d.ts +32 -8
  275. package/dist/schema/call/machine.js +1 -1
  276. package/dist/schema/call/order.d.ts +26 -8
  277. package/dist/schema/call/order.js +1 -1
  278. package/dist/schema/call/payment.d.ts +20 -8
  279. package/dist/schema/call/payment.js +1 -1
  280. package/dist/schema/call/permission-handler.js +1 -1
  281. package/dist/schema/call/permission.d.ts +330 -114
  282. package/dist/schema/call/permission.js +1 -1
  283. package/dist/schema/call/personal.d.ts +10 -4
  284. package/dist/schema/call/personal.js +1 -1
  285. package/dist/schema/call/progress.d.ts +16 -4
  286. package/dist/schema/call/proof.js +1 -1
  287. package/dist/schema/call/reward.d.ts +10 -4
  288. package/dist/schema/call/reward.js +1 -1
  289. package/dist/schema/call/semantic.d.ts +1 -0
  290. package/dist/schema/call/semantic.js +1 -1
  291. package/dist/schema/call/service.d.ts +143 -45
  292. package/dist/schema/call/service.js +1 -1
  293. package/dist/schema/call/treasury.d.ts +15 -6
  294. package/dist/schema/call/treasury.js +1 -1
  295. package/dist/schema/common/index.js +1 -1
  296. package/dist/schema/config/index.d.ts +61 -0
  297. package/dist/schema/config/index.js +1 -1
  298. package/dist/schema/envelope-unify.d.ts +4 -0
  299. package/dist/schema/envelope-unify.js +1 -0
  300. package/dist/schema/evaluation/index.d.ts +216 -19
  301. package/dist/schema/evaluation/index.js +1 -1
  302. package/dist/schema/goal/index.d.ts +47 -0
  303. package/dist/schema/goal/planning.d.ts +115 -1
  304. package/dist/schema/goal/planning.js +1 -1
  305. package/dist/schema/industry-pack/index.d.ts +137 -6
  306. package/dist/schema/industry-pack/index.js +1 -1
  307. package/dist/schema/industry-pack/modes.d.ts +6 -6
  308. package/dist/schema/keeper/index.d.ts +26 -0
  309. package/dist/schema/local/index.d.ts +137 -0
  310. package/dist/schema/local/index.js +1 -1
  311. package/dist/schema/local/wip.d.ts +6 -0
  312. package/dist/schema/local/wip.js +1 -1
  313. package/dist/schema/messenger/index.d.ts +26 -0
  314. package/dist/schema/operations.d.ts +345 -84
  315. package/dist/schema/operations.js +1 -1
  316. package/dist/schema/persona/index.d.ts +2907 -640
  317. package/dist/schema/persona/index.js +1 -1
  318. package/dist/schema/query/bi.d.ts +145 -4
  319. package/dist/schema/query/bi.js +1 -1
  320. package/dist/schema/query/index.d.ts +266 -73
  321. package/dist/schema/query/index.js +1 -1
  322. package/dist/schema/schema-query/index.d.ts +1 -1
  323. package/dist/schema/schema-query/index.js +1 -1
  324. package/dist/schema/schema-version.js +1 -1
  325. package/dist/schema/utils/permission-machine-check.d.ts +2 -0
  326. package/dist/schema/utils/permission-machine-check.js +1 -1
  327. package/dist/schema/watch/index.d.ts +16 -0
  328. package/dist/schema/watch/index.js +1 -1
  329. package/dist/schema/workflow/index.d.ts +2 -2
  330. package/dist/schema/workflow/index.js +1 -1
  331. package/dist/schema-query-impl/index.d.ts +1 -1
  332. package/dist/schema-query-impl/index.js +1 -1
  333. package/dist/schemas/account_operation.output.json +94 -0
  334. package/dist/schemas/benchmark_migration_operation.output.json +338 -9
  335. package/dist/schemas/benchmark_migration_operation.schema.json +27 -2
  336. package/dist/schemas/bridge_operation.output.json +94 -0
  337. package/dist/schemas/config_operation.output.json +352 -0
  338. package/dist/schemas/config_operation.schema.json +20 -2
  339. package/dist/schemas/evaluation_operation.output.json +570 -4
  340. package/dist/schemas/evaluation_operation.schema.json +194 -3
  341. package/dist/schemas/goal_operation.schema.json +183 -0
  342. package/dist/schemas/index.json +1 -1
  343. package/dist/schemas/industry_pack_operation.output.json +621 -0
  344. package/dist/schemas/industry_pack_operation.schema.json +20 -2
  345. package/dist/schemas/keeper_operation.output.json +94 -0
  346. package/dist/schemas/local_cache_operation.output.json +94 -0
  347. package/dist/schemas/local_history_operation.output.json +94 -0
  348. package/dist/schemas/local_info_operation.output.json +94 -0
  349. package/dist/schemas/local_mark_operation.output.json +94 -0
  350. package/dist/schemas/messenger_operation.output.json +94 -0
  351. package/dist/schemas/monitor_events.output.json +94 -0
  352. package/dist/schemas/monitor_subscription.output.json +94 -0
  353. package/dist/schemas/onchain_events.output.json +94 -0
  354. package/dist/schemas/onchain_operations.output.json +313 -1
  355. package/dist/schemas/onchain_operations.schema.json +1265 -671
  356. package/dist/schemas/onchain_operations_allocation.schema.json +30 -15
  357. package/dist/schemas/onchain_operations_arbitration.schema.json +9 -2
  358. package/dist/schemas/onchain_operations_contact.schema.json +8 -1
  359. package/dist/schemas/onchain_operations_demand.schema.json +29 -14
  360. package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -1
  361. package/dist/schemas/onchain_operations_guard.schema.json +290 -105
  362. package/dist/schemas/onchain_operations_machine.schema.json +49 -34
  363. package/dist/schemas/onchain_operations_order.schema.json +63 -40
  364. package/dist/schemas/onchain_operations_payment.schema.json +26 -11
  365. package/dist/schemas/onchain_operations_permission.schema.json +362 -235
  366. package/dist/schemas/onchain_operations_personal.schema.json +27 -15
  367. package/dist/schemas/onchain_operations_progress.schema.json +45 -30
  368. package/dist/schemas/onchain_operations_proof.schema.json +9 -2
  369. package/dist/schemas/onchain_operations_repository.schema.json +8 -1
  370. package/dist/schemas/onchain_operations_reward.schema.json +32 -17
  371. package/dist/schemas/onchain_operations_service.schema.json +232 -125
  372. package/dist/schemas/onchain_operations_treasury.schema.json +32 -17
  373. package/dist/schemas/onchain_table_data.output.json +258 -6
  374. package/dist/schemas/onchain_table_data.schema.json +92 -52
  375. package/dist/schemas/persona_operation.output.json +7752 -0
  376. package/dist/schemas/persona_operation.schema.json +1232 -4
  377. package/dist/schemas/query_toolkit.output.json +756 -116
  378. package/dist/schemas/query_toolkit.schema.json +138 -7
  379. package/dist/schemas/schema_query.schema.json +1 -1
  380. package/dist/schemas/watch_operation.output.json +83 -0
  381. package/dist/schemas/wip_file.output.json +8 -0
  382. package/dist/schemas/workflow_operation.schema.json +2 -2
  383. package/dist/tools/handlers/benchmark-migration.d.ts +20 -3
  384. package/dist/tools/handlers/benchmark-migration.js +1 -1
  385. package/dist/tools/handlers/config.js +1 -1
  386. package/dist/tools/handlers/evaluation.js +1 -1
  387. package/dist/tools/handlers/evaluation.spec.js +1 -1
  388. package/dist/tools/handlers/industry-pack.js +1 -1
  389. package/dist/tools/handlers/onchain.d.ts +30 -0
  390. package/dist/tools/handlers/onchain.js +1 -1
  391. package/dist/tools/handlers/persona.js +1 -1
  392. package/dist/tools/handlers/query.d.ts +8 -0
  393. package/dist/tools/handlers/query.js +1 -1
  394. package/dist/tools/handlers/winner-derivation.d.ts +20 -0
  395. package/dist/tools/handlers/winner-derivation.js +1 -0
  396. package/dist/tools/handlers/wip-upload.js +1 -1
  397. package/dist/tools/index.d.ts +1 -0
  398. package/dist/tools/index.js +1 -1
  399. package/dist/tools/registry/business.js +1 -1
  400. package/dist/tools/registry/config.js +1 -1
  401. package/dist/tools/registry/evaluation.js +1 -1
  402. package/dist/tools/registry/identity.js +1 -1
  403. package/dist/tools/registry/query.js +1 -1
  404. package/dist/tools/transport-integrity.d.ts +7 -0
  405. package/dist/tools/transport-integrity.js +1 -0
  406. package/dist/tools/upgrade-check.js +1 -1
  407. package/dist/tools/wrap.d.ts +5 -0
  408. package/dist/tools/wrap.js +1 -1
  409. package/package.json +2 -2
  410. package/dist/extensions/business-modules.d.ts +0 -54
  411. package/dist/extensions/business-modules.js +0 -1
  412. package/dist/schemas/guard-templates.json +0 -379
@@ -24,182 +24,278 @@ export declare const RemarkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
24
24
  export declare const TablePermByIndexSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
25
25
  op: z.ZodLiteral<"add perm by index">;
26
26
  index: z.ZodNumber;
27
- entity: z.ZodObject<{
27
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
28
+ entities: {
29
+ name_or_address: string;
30
+ local_mark_first: boolean;
31
+ }[];
32
+ check_all_founded: boolean;
33
+ }, string[]>>, z.ZodObject<{
28
34
  entities: z.ZodArray<z.ZodObject<{
29
35
  name_or_address: z.ZodOptional<z.ZodString>;
30
36
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
31
37
  }, z.core.$strict>>;
32
38
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
33
- }, z.core.$strict>;
39
+ }, z.core.$strict>]>;
34
40
  }, z.core.$strict>, z.ZodObject<{
35
41
  op: z.ZodLiteral<"set perm by index">;
36
42
  index: z.ZodNumber;
37
- entity: z.ZodObject<{
43
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
44
+ entities: {
45
+ name_or_address: string;
46
+ local_mark_first: boolean;
47
+ }[];
48
+ check_all_founded: boolean;
49
+ }, string[]>>, z.ZodObject<{
38
50
  entities: z.ZodArray<z.ZodObject<{
39
51
  name_or_address: z.ZodOptional<z.ZodString>;
40
52
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
41
53
  }, z.core.$strict>>;
42
54
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
43
- }, z.core.$strict>;
55
+ }, z.core.$strict>]>;
44
56
  }, z.core.$strict>, z.ZodObject<{
45
57
  op: z.ZodLiteral<"remove perm by index">;
46
58
  index: z.ZodNumber;
47
- entity: z.ZodObject<{
59
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
60
+ entities: {
61
+ name_or_address: string;
62
+ local_mark_first: boolean;
63
+ }[];
64
+ check_all_founded: boolean;
65
+ }, string[]>>, z.ZodObject<{
48
66
  entities: z.ZodArray<z.ZodObject<{
49
67
  name_or_address: z.ZodOptional<z.ZodString>;
50
68
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
51
69
  }, z.core.$strict>>;
52
70
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
53
- }, z.core.$strict>;
71
+ }, z.core.$strict>]>;
54
72
  }, z.core.$strict>], "op">;
55
73
  export declare const TablePermByEntitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
56
74
  op: z.ZodLiteral<"add perm by entity">;
57
- entity: z.ZodObject<{
75
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
76
+ name_or_address: string;
77
+ local_mark_first: boolean;
78
+ }, string>>, z.ZodObject<{
58
79
  name_or_address: z.ZodOptional<z.ZodString>;
59
80
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
60
- }, z.core.$strict>;
81
+ }, z.core.$strict>]>;
61
82
  index: z.ZodArray<z.ZodNumber>;
62
83
  }, z.core.$strict>, z.ZodObject<{
63
84
  op: z.ZodLiteral<"set perm by entity">;
64
- entity: z.ZodObject<{
85
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
86
+ name_or_address: string;
87
+ local_mark_first: boolean;
88
+ }, string>>, z.ZodObject<{
65
89
  name_or_address: z.ZodOptional<z.ZodString>;
66
90
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
67
- }, z.core.$strict>;
91
+ }, z.core.$strict>]>;
68
92
  index: z.ZodArray<z.ZodNumber>;
69
93
  }, z.core.$strict>, z.ZodObject<{
70
94
  op: z.ZodLiteral<"remove perm by entity">;
71
- entity: z.ZodObject<{
95
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
96
+ name_or_address: string;
97
+ local_mark_first: boolean;
98
+ }, string>>, z.ZodObject<{
72
99
  name_or_address: z.ZodOptional<z.ZodString>;
73
100
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
74
- }, z.core.$strict>;
101
+ }, z.core.$strict>]>;
75
102
  index: z.ZodArray<z.ZodNumber>;
76
103
  }, z.core.$strict>], "op">;
77
104
  export declare const TableSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
78
105
  op: z.ZodLiteral<"add perm by index">;
79
106
  index: z.ZodNumber;
80
- entity: z.ZodObject<{
107
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
108
+ entities: {
109
+ name_or_address: string;
110
+ local_mark_first: boolean;
111
+ }[];
112
+ check_all_founded: boolean;
113
+ }, string[]>>, z.ZodObject<{
81
114
  entities: z.ZodArray<z.ZodObject<{
82
115
  name_or_address: z.ZodOptional<z.ZodString>;
83
116
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
84
117
  }, z.core.$strict>>;
85
118
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
86
- }, z.core.$strict>;
119
+ }, z.core.$strict>]>;
87
120
  }, z.core.$strict>, z.ZodObject<{
88
121
  op: z.ZodLiteral<"set perm by index">;
89
122
  index: z.ZodNumber;
90
- entity: z.ZodObject<{
123
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
124
+ entities: {
125
+ name_or_address: string;
126
+ local_mark_first: boolean;
127
+ }[];
128
+ check_all_founded: boolean;
129
+ }, string[]>>, z.ZodObject<{
91
130
  entities: z.ZodArray<z.ZodObject<{
92
131
  name_or_address: z.ZodOptional<z.ZodString>;
93
132
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
94
133
  }, z.core.$strict>>;
95
134
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
96
- }, z.core.$strict>;
135
+ }, z.core.$strict>]>;
97
136
  }, z.core.$strict>, z.ZodObject<{
98
137
  op: z.ZodLiteral<"remove perm by index">;
99
138
  index: z.ZodNumber;
100
- entity: z.ZodObject<{
139
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
140
+ entities: {
141
+ name_or_address: string;
142
+ local_mark_first: boolean;
143
+ }[];
144
+ check_all_founded: boolean;
145
+ }, string[]>>, z.ZodObject<{
101
146
  entities: z.ZodArray<z.ZodObject<{
102
147
  name_or_address: z.ZodOptional<z.ZodString>;
103
148
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
104
149
  }, z.core.$strict>>;
105
150
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
106
- }, z.core.$strict>;
151
+ }, z.core.$strict>]>;
107
152
  }, z.core.$strict>, z.ZodObject<{
108
153
  op: z.ZodLiteral<"add perm by entity">;
109
- entity: z.ZodObject<{
154
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
155
+ name_or_address: string;
156
+ local_mark_first: boolean;
157
+ }, string>>, z.ZodObject<{
110
158
  name_or_address: z.ZodOptional<z.ZodString>;
111
159
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
112
- }, z.core.$strict>;
160
+ }, z.core.$strict>]>;
113
161
  index: z.ZodArray<z.ZodNumber>;
114
162
  }, z.core.$strict>, z.ZodObject<{
115
163
  op: z.ZodLiteral<"set perm by entity">;
116
- entity: z.ZodObject<{
164
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
165
+ name_or_address: string;
166
+ local_mark_first: boolean;
167
+ }, string>>, z.ZodObject<{
117
168
  name_or_address: z.ZodOptional<z.ZodString>;
118
169
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
119
- }, z.core.$strict>;
170
+ }, z.core.$strict>]>;
120
171
  index: z.ZodArray<z.ZodNumber>;
121
172
  }, z.core.$strict>, z.ZodObject<{
122
173
  op: z.ZodLiteral<"remove perm by entity">;
123
- entity: z.ZodObject<{
174
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
175
+ name_or_address: string;
176
+ local_mark_first: boolean;
177
+ }, string>>, z.ZodObject<{
124
178
  name_or_address: z.ZodOptional<z.ZodString>;
125
179
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
126
- }, z.core.$strict>;
180
+ }, z.core.$strict>]>;
127
181
  index: z.ZodArray<z.ZodNumber>;
128
182
  }, z.core.$strict>], "op">;
129
183
  export declare const EntitySwapReplaceCopySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
130
184
  op: z.ZodLiteral<"swap">;
131
- entity1: z.ZodObject<{
185
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
186
+ name_or_address: string;
187
+ local_mark_first: boolean;
188
+ }, string>>, z.ZodObject<{
132
189
  name_or_address: z.ZodOptional<z.ZodString>;
133
190
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
134
- }, z.core.$strict>;
135
- entity2: z.ZodObject<{
191
+ }, z.core.$strict>]>;
192
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
193
+ name_or_address: string;
194
+ local_mark_first: boolean;
195
+ }, string>>, z.ZodObject<{
136
196
  name_or_address: z.ZodOptional<z.ZodString>;
137
197
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
138
- }, z.core.$strict>;
198
+ }, z.core.$strict>]>;
139
199
  }, z.core.$strict>, z.ZodObject<{
140
200
  op: z.ZodLiteral<"replace">;
141
- entity1: z.ZodObject<{
201
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
202
+ name_or_address: string;
203
+ local_mark_first: boolean;
204
+ }, string>>, z.ZodObject<{
142
205
  name_or_address: z.ZodOptional<z.ZodString>;
143
206
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
144
- }, z.core.$strict>;
145
- entity2: z.ZodObject<{
207
+ }, z.core.$strict>]>;
208
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
209
+ name_or_address: string;
210
+ local_mark_first: boolean;
211
+ }, string>>, z.ZodObject<{
146
212
  name_or_address: z.ZodOptional<z.ZodString>;
147
213
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
148
- }, z.core.$strict>;
214
+ }, z.core.$strict>]>;
149
215
  }, z.core.$strict>, z.ZodObject<{
150
216
  op: z.ZodLiteral<"copy">;
151
- entity1: z.ZodObject<{
217
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
218
+ name_or_address: string;
219
+ local_mark_first: boolean;
220
+ }, string>>, z.ZodObject<{
152
221
  name_or_address: z.ZodOptional<z.ZodString>;
153
222
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
154
- }, z.core.$strict>;
155
- entity2: z.ZodObject<{
223
+ }, z.core.$strict>]>;
224
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
225
+ name_or_address: string;
226
+ local_mark_first: boolean;
227
+ }, string>>, z.ZodObject<{
156
228
  name_or_address: z.ZodOptional<z.ZodString>;
157
229
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
158
- }, z.core.$strict>;
230
+ }, z.core.$strict>]>;
159
231
  }, z.core.$strict>], "op">;
160
232
  export declare const EntityDelSchema: z.ZodObject<{
161
233
  op: z.ZodLiteral<"del">;
162
- entity: z.ZodObject<{
234
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
235
+ name_or_address: string;
236
+ local_mark_first: boolean;
237
+ }, string>>, z.ZodObject<{
163
238
  name_or_address: z.ZodOptional<z.ZodString>;
164
239
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
165
- }, z.core.$strict>;
240
+ }, z.core.$strict>]>;
166
241
  }, z.core.$strict>;
167
242
  export declare const EntitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
168
243
  op: z.ZodLiteral<"swap">;
169
- entity1: z.ZodObject<{
244
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
245
+ name_or_address: string;
246
+ local_mark_first: boolean;
247
+ }, string>>, z.ZodObject<{
170
248
  name_or_address: z.ZodOptional<z.ZodString>;
171
249
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
172
- }, z.core.$strict>;
173
- entity2: z.ZodObject<{
250
+ }, z.core.$strict>]>;
251
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
252
+ name_or_address: string;
253
+ local_mark_first: boolean;
254
+ }, string>>, z.ZodObject<{
174
255
  name_or_address: z.ZodOptional<z.ZodString>;
175
256
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
176
- }, z.core.$strict>;
257
+ }, z.core.$strict>]>;
177
258
  }, z.core.$strict>, z.ZodObject<{
178
259
  op: z.ZodLiteral<"replace">;
179
- entity1: z.ZodObject<{
260
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
261
+ name_or_address: string;
262
+ local_mark_first: boolean;
263
+ }, string>>, z.ZodObject<{
180
264
  name_or_address: z.ZodOptional<z.ZodString>;
181
265
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
182
- }, z.core.$strict>;
183
- entity2: z.ZodObject<{
266
+ }, z.core.$strict>]>;
267
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
268
+ name_or_address: string;
269
+ local_mark_first: boolean;
270
+ }, string>>, z.ZodObject<{
184
271
  name_or_address: z.ZodOptional<z.ZodString>;
185
272
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
186
- }, z.core.$strict>;
273
+ }, z.core.$strict>]>;
187
274
  }, z.core.$strict>, z.ZodObject<{
188
275
  op: z.ZodLiteral<"copy">;
189
- entity1: z.ZodObject<{
276
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
277
+ name_or_address: string;
278
+ local_mark_first: boolean;
279
+ }, string>>, z.ZodObject<{
190
280
  name_or_address: z.ZodOptional<z.ZodString>;
191
281
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
192
- }, z.core.$strict>;
193
- entity2: z.ZodObject<{
282
+ }, z.core.$strict>]>;
283
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
284
+ name_or_address: string;
285
+ local_mark_first: boolean;
286
+ }, string>>, z.ZodObject<{
194
287
  name_or_address: z.ZodOptional<z.ZodString>;
195
288
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
196
- }, z.core.$strict>;
289
+ }, z.core.$strict>]>;
197
290
  }, z.core.$strict>, z.ZodObject<{
198
291
  op: z.ZodLiteral<"del">;
199
- entity: z.ZodObject<{
292
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
293
+ name_or_address: string;
294
+ local_mark_first: boolean;
295
+ }, string>>, z.ZodObject<{
200
296
  name_or_address: z.ZodOptional<z.ZodString>;
201
297
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
202
- }, z.core.$strict>;
298
+ }, z.core.$strict>]>;
203
299
  }, z.core.$strict>], "op">;
204
300
  export declare const AdminSchema: z.ZodObject<{
205
301
  op: z.ZodEnum<{
@@ -207,13 +303,19 @@ export declare const AdminSchema: z.ZodObject<{
207
303
  add: "add";
208
304
  remove: "remove";
209
305
  }>;
210
- addresses: z.ZodObject<{
306
+ addresses: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
307
+ entities: {
308
+ name_or_address: string;
309
+ local_mark_first: boolean;
310
+ }[];
311
+ check_all_founded: boolean;
312
+ }, string[]>>, z.ZodObject<{
211
313
  entities: z.ZodArray<z.ZodObject<{
212
314
  name_or_address: z.ZodOptional<z.ZodString>;
213
315
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
214
316
  }, z.core.$strict>>;
215
317
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
216
- }, z.core.$strict>;
318
+ }, z.core.$strict>]>;
217
319
  }, z.core.$strict>;
218
320
  export declare const CallPermission_DataSchema: z.ZodObject<{
219
321
  object: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -236,91 +338,139 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
236
338
  table: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
237
339
  op: z.ZodLiteral<"add perm by index">;
238
340
  index: z.ZodNumber;
239
- entity: z.ZodObject<{
341
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
342
+ entities: {
343
+ name_or_address: string;
344
+ local_mark_first: boolean;
345
+ }[];
346
+ check_all_founded: boolean;
347
+ }, string[]>>, z.ZodObject<{
240
348
  entities: z.ZodArray<z.ZodObject<{
241
349
  name_or_address: z.ZodOptional<z.ZodString>;
242
350
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
243
351
  }, z.core.$strict>>;
244
352
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
245
- }, z.core.$strict>;
353
+ }, z.core.$strict>]>;
246
354
  }, z.core.$strict>, z.ZodObject<{
247
355
  op: z.ZodLiteral<"set perm by index">;
248
356
  index: z.ZodNumber;
249
- entity: z.ZodObject<{
357
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
358
+ entities: {
359
+ name_or_address: string;
360
+ local_mark_first: boolean;
361
+ }[];
362
+ check_all_founded: boolean;
363
+ }, string[]>>, z.ZodObject<{
250
364
  entities: z.ZodArray<z.ZodObject<{
251
365
  name_or_address: z.ZodOptional<z.ZodString>;
252
366
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
253
367
  }, z.core.$strict>>;
254
368
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
255
- }, z.core.$strict>;
369
+ }, z.core.$strict>]>;
256
370
  }, z.core.$strict>, z.ZodObject<{
257
371
  op: z.ZodLiteral<"remove perm by index">;
258
372
  index: z.ZodNumber;
259
- entity: z.ZodObject<{
373
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
374
+ entities: {
375
+ name_or_address: string;
376
+ local_mark_first: boolean;
377
+ }[];
378
+ check_all_founded: boolean;
379
+ }, string[]>>, z.ZodObject<{
260
380
  entities: z.ZodArray<z.ZodObject<{
261
381
  name_or_address: z.ZodOptional<z.ZodString>;
262
382
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
263
383
  }, z.core.$strict>>;
264
384
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
265
- }, z.core.$strict>;
385
+ }, z.core.$strict>]>;
266
386
  }, z.core.$strict>, z.ZodObject<{
267
387
  op: z.ZodLiteral<"add perm by entity">;
268
- entity: z.ZodObject<{
388
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
389
+ name_or_address: string;
390
+ local_mark_first: boolean;
391
+ }, string>>, z.ZodObject<{
269
392
  name_or_address: z.ZodOptional<z.ZodString>;
270
393
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
271
- }, z.core.$strict>;
394
+ }, z.core.$strict>]>;
272
395
  index: z.ZodArray<z.ZodNumber>;
273
396
  }, z.core.$strict>, z.ZodObject<{
274
397
  op: z.ZodLiteral<"set perm by entity">;
275
- entity: z.ZodObject<{
398
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
399
+ name_or_address: string;
400
+ local_mark_first: boolean;
401
+ }, string>>, z.ZodObject<{
276
402
  name_or_address: z.ZodOptional<z.ZodString>;
277
403
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
278
- }, z.core.$strict>;
404
+ }, z.core.$strict>]>;
279
405
  index: z.ZodArray<z.ZodNumber>;
280
406
  }, z.core.$strict>, z.ZodObject<{
281
407
  op: z.ZodLiteral<"remove perm by entity">;
282
- entity: z.ZodObject<{
408
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
409
+ name_or_address: string;
410
+ local_mark_first: boolean;
411
+ }, string>>, z.ZodObject<{
283
412
  name_or_address: z.ZodOptional<z.ZodString>;
284
413
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
285
- }, z.core.$strict>;
414
+ }, z.core.$strict>]>;
286
415
  index: z.ZodArray<z.ZodNumber>;
287
416
  }, z.core.$strict>], "op">>;
288
417
  entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
289
418
  op: z.ZodLiteral<"swap">;
290
- entity1: z.ZodObject<{
419
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
420
+ name_or_address: string;
421
+ local_mark_first: boolean;
422
+ }, string>>, z.ZodObject<{
291
423
  name_or_address: z.ZodOptional<z.ZodString>;
292
424
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
293
- }, z.core.$strict>;
294
- entity2: z.ZodObject<{
425
+ }, z.core.$strict>]>;
426
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
427
+ name_or_address: string;
428
+ local_mark_first: boolean;
429
+ }, string>>, z.ZodObject<{
295
430
  name_or_address: z.ZodOptional<z.ZodString>;
296
431
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
297
- }, z.core.$strict>;
432
+ }, z.core.$strict>]>;
298
433
  }, z.core.$strict>, z.ZodObject<{
299
434
  op: z.ZodLiteral<"replace">;
300
- entity1: z.ZodObject<{
435
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
436
+ name_or_address: string;
437
+ local_mark_first: boolean;
438
+ }, string>>, z.ZodObject<{
301
439
  name_or_address: z.ZodOptional<z.ZodString>;
302
440
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
303
- }, z.core.$strict>;
304
- entity2: z.ZodObject<{
441
+ }, z.core.$strict>]>;
442
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
443
+ name_or_address: string;
444
+ local_mark_first: boolean;
445
+ }, string>>, z.ZodObject<{
305
446
  name_or_address: z.ZodOptional<z.ZodString>;
306
447
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
307
- }, z.core.$strict>;
448
+ }, z.core.$strict>]>;
308
449
  }, z.core.$strict>, z.ZodObject<{
309
450
  op: z.ZodLiteral<"copy">;
310
- entity1: z.ZodObject<{
451
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
452
+ name_or_address: string;
453
+ local_mark_first: boolean;
454
+ }, string>>, z.ZodObject<{
311
455
  name_or_address: z.ZodOptional<z.ZodString>;
312
456
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
313
- }, z.core.$strict>;
314
- entity2: z.ZodObject<{
457
+ }, z.core.$strict>]>;
458
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
459
+ name_or_address: string;
460
+ local_mark_first: boolean;
461
+ }, string>>, z.ZodObject<{
315
462
  name_or_address: z.ZodOptional<z.ZodString>;
316
463
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
317
- }, z.core.$strict>;
464
+ }, z.core.$strict>]>;
318
465
  }, z.core.$strict>, z.ZodObject<{
319
466
  op: z.ZodLiteral<"del">;
320
- entity: z.ZodObject<{
467
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
468
+ name_or_address: string;
469
+ local_mark_first: boolean;
470
+ }, string>>, z.ZodObject<{
321
471
  name_or_address: z.ZodOptional<z.ZodString>;
322
472
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
323
- }, z.core.$strict>;
473
+ }, z.core.$strict>]>;
324
474
  }, z.core.$strict>], "op">>;
325
475
  admin: z.ZodOptional<z.ZodObject<{
326
476
  op: z.ZodEnum<{
@@ -328,19 +478,28 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
328
478
  add: "add";
329
479
  remove: "remove";
330
480
  }>;
331
- addresses: z.ZodObject<{
481
+ addresses: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
482
+ entities: {
483
+ name_or_address: string;
484
+ local_mark_first: boolean;
485
+ }[];
486
+ check_all_founded: boolean;
487
+ }, string[]>>, z.ZodObject<{
332
488
  entities: z.ZodArray<z.ZodObject<{
333
489
  name_or_address: z.ZodOptional<z.ZodString>;
334
490
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
335
491
  }, z.core.$strict>>;
336
492
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
337
- }, z.core.$strict>;
493
+ }, z.core.$strict>]>;
338
494
  }, z.core.$strict>>;
339
495
  apply: z.ZodOptional<z.ZodArray<z.ZodString>>;
340
- builder: z.ZodOptional<z.ZodObject<{
496
+ builder: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
497
+ name_or_address: string;
498
+ local_mark_first: boolean;
499
+ }, string>>, z.ZodObject<{
341
500
  name_or_address: z.ZodOptional<z.ZodString>;
342
501
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
343
- }, z.core.$strict>>;
502
+ }, z.core.$strict>]>>;
344
503
  owner_receive: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"recently">, z.ZodString, z.ZodArray<z.ZodObject<{
345
504
  id: z.ZodString;
346
505
  type: z.ZodString;
@@ -383,91 +542,139 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
383
542
  table: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
384
543
  op: z.ZodLiteral<"add perm by index">;
385
544
  index: z.ZodNumber;
386
- entity: z.ZodObject<{
545
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
546
+ entities: {
547
+ name_or_address: string;
548
+ local_mark_first: boolean;
549
+ }[];
550
+ check_all_founded: boolean;
551
+ }, string[]>>, z.ZodObject<{
387
552
  entities: z.ZodArray<z.ZodObject<{
388
553
  name_or_address: z.ZodOptional<z.ZodString>;
389
554
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
390
555
  }, z.core.$strict>>;
391
556
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
392
- }, z.core.$strict>;
557
+ }, z.core.$strict>]>;
393
558
  }, z.core.$strict>, z.ZodObject<{
394
559
  op: z.ZodLiteral<"set perm by index">;
395
560
  index: z.ZodNumber;
396
- entity: z.ZodObject<{
561
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
562
+ entities: {
563
+ name_or_address: string;
564
+ local_mark_first: boolean;
565
+ }[];
566
+ check_all_founded: boolean;
567
+ }, string[]>>, z.ZodObject<{
397
568
  entities: z.ZodArray<z.ZodObject<{
398
569
  name_or_address: z.ZodOptional<z.ZodString>;
399
570
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
400
571
  }, z.core.$strict>>;
401
572
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
402
- }, z.core.$strict>;
573
+ }, z.core.$strict>]>;
403
574
  }, z.core.$strict>, z.ZodObject<{
404
575
  op: z.ZodLiteral<"remove perm by index">;
405
576
  index: z.ZodNumber;
406
- entity: z.ZodObject<{
577
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
578
+ entities: {
579
+ name_or_address: string;
580
+ local_mark_first: boolean;
581
+ }[];
582
+ check_all_founded: boolean;
583
+ }, string[]>>, z.ZodObject<{
407
584
  entities: z.ZodArray<z.ZodObject<{
408
585
  name_or_address: z.ZodOptional<z.ZodString>;
409
586
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
410
587
  }, z.core.$strict>>;
411
588
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
412
- }, z.core.$strict>;
589
+ }, z.core.$strict>]>;
413
590
  }, z.core.$strict>, z.ZodObject<{
414
591
  op: z.ZodLiteral<"add perm by entity">;
415
- entity: z.ZodObject<{
592
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
593
+ name_or_address: string;
594
+ local_mark_first: boolean;
595
+ }, string>>, z.ZodObject<{
416
596
  name_or_address: z.ZodOptional<z.ZodString>;
417
597
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
418
- }, z.core.$strict>;
598
+ }, z.core.$strict>]>;
419
599
  index: z.ZodArray<z.ZodNumber>;
420
600
  }, z.core.$strict>, z.ZodObject<{
421
601
  op: z.ZodLiteral<"set perm by entity">;
422
- entity: z.ZodObject<{
602
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
603
+ name_or_address: string;
604
+ local_mark_first: boolean;
605
+ }, string>>, z.ZodObject<{
423
606
  name_or_address: z.ZodOptional<z.ZodString>;
424
607
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
425
- }, z.core.$strict>;
608
+ }, z.core.$strict>]>;
426
609
  index: z.ZodArray<z.ZodNumber>;
427
610
  }, z.core.$strict>, z.ZodObject<{
428
611
  op: z.ZodLiteral<"remove perm by entity">;
429
- entity: z.ZodObject<{
612
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
613
+ name_or_address: string;
614
+ local_mark_first: boolean;
615
+ }, string>>, z.ZodObject<{
430
616
  name_or_address: z.ZodOptional<z.ZodString>;
431
617
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
432
- }, z.core.$strict>;
618
+ }, z.core.$strict>]>;
433
619
  index: z.ZodArray<z.ZodNumber>;
434
620
  }, z.core.$strict>], "op">>;
435
621
  entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
436
622
  op: z.ZodLiteral<"swap">;
437
- entity1: z.ZodObject<{
623
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
624
+ name_or_address: string;
625
+ local_mark_first: boolean;
626
+ }, string>>, z.ZodObject<{
438
627
  name_or_address: z.ZodOptional<z.ZodString>;
439
628
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
440
- }, z.core.$strict>;
441
- entity2: z.ZodObject<{
629
+ }, z.core.$strict>]>;
630
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
631
+ name_or_address: string;
632
+ local_mark_first: boolean;
633
+ }, string>>, z.ZodObject<{
442
634
  name_or_address: z.ZodOptional<z.ZodString>;
443
635
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
444
- }, z.core.$strict>;
636
+ }, z.core.$strict>]>;
445
637
  }, z.core.$strict>, z.ZodObject<{
446
638
  op: z.ZodLiteral<"replace">;
447
- entity1: z.ZodObject<{
639
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
640
+ name_or_address: string;
641
+ local_mark_first: boolean;
642
+ }, string>>, z.ZodObject<{
448
643
  name_or_address: z.ZodOptional<z.ZodString>;
449
644
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
450
- }, z.core.$strict>;
451
- entity2: z.ZodObject<{
645
+ }, z.core.$strict>]>;
646
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
647
+ name_or_address: string;
648
+ local_mark_first: boolean;
649
+ }, string>>, z.ZodObject<{
452
650
  name_or_address: z.ZodOptional<z.ZodString>;
453
651
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
454
- }, z.core.$strict>;
652
+ }, z.core.$strict>]>;
455
653
  }, z.core.$strict>, z.ZodObject<{
456
654
  op: z.ZodLiteral<"copy">;
457
- entity1: z.ZodObject<{
655
+ entity1: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
656
+ name_or_address: string;
657
+ local_mark_first: boolean;
658
+ }, string>>, z.ZodObject<{
458
659
  name_or_address: z.ZodOptional<z.ZodString>;
459
660
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
460
- }, z.core.$strict>;
461
- entity2: z.ZodObject<{
661
+ }, z.core.$strict>]>;
662
+ entity2: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
663
+ name_or_address: string;
664
+ local_mark_first: boolean;
665
+ }, string>>, z.ZodObject<{
462
666
  name_or_address: z.ZodOptional<z.ZodString>;
463
667
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
464
- }, z.core.$strict>;
668
+ }, z.core.$strict>]>;
465
669
  }, z.core.$strict>, z.ZodObject<{
466
670
  op: z.ZodLiteral<"del">;
467
- entity: z.ZodObject<{
671
+ entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
672
+ name_or_address: string;
673
+ local_mark_first: boolean;
674
+ }, string>>, z.ZodObject<{
468
675
  name_or_address: z.ZodOptional<z.ZodString>;
469
676
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
470
- }, z.core.$strict>;
677
+ }, z.core.$strict>]>;
471
678
  }, z.core.$strict>], "op">>;
472
679
  admin: z.ZodOptional<z.ZodObject<{
473
680
  op: z.ZodEnum<{
@@ -475,19 +682,28 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
475
682
  add: "add";
476
683
  remove: "remove";
477
684
  }>;
478
- addresses: z.ZodObject<{
685
+ addresses: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
686
+ entities: {
687
+ name_or_address: string;
688
+ local_mark_first: boolean;
689
+ }[];
690
+ check_all_founded: boolean;
691
+ }, string[]>>, z.ZodObject<{
479
692
  entities: z.ZodArray<z.ZodObject<{
480
693
  name_or_address: z.ZodOptional<z.ZodString>;
481
694
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
482
695
  }, z.core.$strict>>;
483
696
  check_all_founded: z.ZodDefault<z.ZodBoolean>;
484
- }, z.core.$strict>;
697
+ }, z.core.$strict>]>;
485
698
  }, z.core.$strict>>;
486
699
  apply: z.ZodOptional<z.ZodArray<z.ZodString>>;
487
- builder: z.ZodOptional<z.ZodObject<{
700
+ builder: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
701
+ name_or_address: string;
702
+ local_mark_first: boolean;
703
+ }, string>>, z.ZodObject<{
488
704
  name_or_address: z.ZodOptional<z.ZodString>;
489
705
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
490
- }, z.core.$strict>>;
706
+ }, z.core.$strict>]>>;
491
707
  owner_receive: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"recently">, z.ZodString, z.ZodArray<z.ZodObject<{
492
708
  id: z.ZodString;
493
709
  type: z.ZodString;