@wowok/agent-mcp 3.3.9 → 3.4.1

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 (480) 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/field-capability.js +1 -1
  6. package/dist/chain-semantics/freeze-map.js +1 -1
  7. package/dist/chain-semantics/fund-flow.js +1 -1
  8. package/dist/chain-semantics/guard-verbs.js +1 -1
  9. package/dist/chain-semantics/index.d.ts +1 -0
  10. package/dist/chain-semantics/index.js +1 -1
  11. package/dist/chain-semantics/object-graph.js +1 -1
  12. package/dist/composition/audit.js +1 -1
  13. package/dist/composition/blueprint-view.d.ts +3 -3
  14. package/dist/composition/blueprint-view.js +1 -1
  15. package/dist/composition/compile.d.ts +26 -4
  16. package/dist/composition/compile.js +1 -1
  17. package/dist/composition/emit-phases.d.ts +206 -0
  18. package/dist/composition/emit-phases.js +1 -0
  19. package/dist/composition/generate.d.ts +40 -0
  20. package/dist/composition/generate.js +1 -0
  21. package/dist/composition/guard-fill.d.ts +44 -0
  22. package/dist/composition/guard-fill.js +1 -0
  23. package/dist/composition/inflight.d.ts +26 -2
  24. package/dist/composition/inflight.js +1 -1
  25. package/dist/composition/input-normalize.d.ts +15 -0
  26. package/dist/composition/input-normalize.js +1 -0
  27. package/dist/composition/materialize.d.ts +22 -13
  28. package/dist/composition/materialize.js +1 -1
  29. package/dist/composition/mode-gates.d.ts +35 -0
  30. package/dist/composition/mode-gates.js +1 -0
  31. package/dist/composition/param-disclosure.d.ts +61 -0
  32. package/dist/composition/param-disclosure.js +1 -0
  33. package/dist/composition/plan-retry-ledger.d.ts +21 -0
  34. package/dist/composition/plan-retry-ledger.js +1 -0
  35. package/dist/composition/plan.d.ts +17 -2
  36. package/dist/composition/plan.js +1 -1
  37. package/dist/composition/product-card.d.ts +94 -0
  38. package/dist/composition/product-card.js +1 -0
  39. package/dist/composition/supply-chain-emit.d.ts +46 -0
  40. package/dist/composition/supply-chain-emit.js +1 -0
  41. package/dist/config/config-audit.spec.js +1 -1
  42. package/dist/config/config-warnings.d.ts +2 -0
  43. package/dist/config/config-warnings.js +1 -0
  44. package/dist/config/exposure.d.ts +2 -2
  45. package/dist/config/judgment.d.ts +31 -5
  46. package/dist/config/judgment.js +1 -1
  47. package/dist/config/judgment.spec.js +1 -1
  48. package/dist/config/match-policy-file.d.ts +34 -0
  49. package/dist/config/match-policy-file.js +1 -0
  50. package/dist/config/match-policy-file.spec.d.ts +1 -0
  51. package/dist/config/match-policy-file.spec.js +1 -0
  52. package/dist/config/rule-engine.d.ts +5 -5
  53. package/dist/config/rule-engine.js +1 -1
  54. package/dist/config/runtime.d.ts +0 -1
  55. package/dist/config/runtime.js +1 -1
  56. package/dist/config/severity.d.ts +0 -2
  57. package/dist/config/severity.js +1 -1
  58. package/dist/config/store-policy.spec.js +1 -1
  59. package/dist/config/template-params.d.ts +42 -0
  60. package/dist/config/template-params.js +1 -0
  61. package/dist/config/template-params.spec.d.ts +1 -0
  62. package/dist/config/template-params.spec.js +1 -0
  63. package/dist/customer/account-events.js +1 -1
  64. package/dist/data/api/api.spec.js +1 -1
  65. package/dist/data/api/cli.js +1 -1
  66. package/dist/data/api/server.d.ts +1 -0
  67. package/dist/data/api/server.js +1 -1
  68. package/dist/data/projection/store.d.ts +3 -1
  69. package/dist/data/projection/store.js +1 -1
  70. package/dist/data/projection/types.d.ts +32 -0
  71. package/dist/data/sync/cdc.d.ts +1 -2
  72. package/dist/data/sync/cdc.js +1 -1
  73. package/dist/data/sync/cdc.spec.js +1 -1
  74. package/dist/data/sync/store.d.ts +5 -0
  75. package/dist/data/sync/store.js +1 -1
  76. package/dist/data/sync/types.d.ts +2 -0
  77. package/dist/evaluation/acceptance.d.ts +8 -0
  78. package/dist/evaluation/acceptance.js +1 -1
  79. package/dist/evaluation/builtins/demand-match.js +1 -1
  80. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  81. package/dist/evaluation/capability.d.ts +2 -0
  82. package/dist/evaluation/category-match-rules.d.ts +0 -1
  83. package/dist/evaluation/category-match-rules.js +1 -1
  84. package/dist/evaluation/composer.d.ts +25 -0
  85. package/dist/evaluation/composer.js +1 -1
  86. package/dist/evaluation/engine.js +1 -1
  87. package/dist/evaluation/extract.d.ts +7 -0
  88. package/dist/evaluation/extract.js +1 -1
  89. package/dist/evaluation/game-strategy.d.ts +0 -3
  90. package/dist/evaluation/game-strategy.js +1 -1
  91. package/dist/evaluation/guard-scan.js +1 -1
  92. package/dist/evaluation/match-operation.d.ts +9 -0
  93. package/dist/evaluation/match-operation.js +1 -1
  94. package/dist/evaluation/match-policy-resolver.d.ts +9 -0
  95. package/dist/evaluation/match-policy-resolver.js +1 -0
  96. package/dist/evaluation/match-policy.d.ts +3 -1
  97. package/dist/evaluation/match-policy.js +1 -1
  98. package/dist/evaluation/region.d.ts +0 -6
  99. package/dist/evaluation/region.js +1 -1
  100. package/dist/evaluation/standards.d.ts +2 -1
  101. package/dist/evaluation/standards.js +1 -1
  102. package/dist/evaluation/structured-lines.d.ts +8 -0
  103. package/dist/evaluation/structured-lines.js +1 -0
  104. package/dist/evaluation/types.d.ts +6 -0
  105. package/dist/experience/realtime-feedback.js +1 -1
  106. package/dist/extensions/capability-manifest.d.ts +1 -0
  107. package/dist/extensions/capability-manifest.js +1 -1
  108. package/dist/extensions/capability.d.ts +91 -0
  109. package/dist/extensions/capability.js +1 -0
  110. package/dist/extensions/industry-audit.spec.js +1 -1
  111. package/dist/extensions/industry-pack.d.ts +13 -0
  112. package/dist/extensions/industry-pack.js +1 -1
  113. package/dist/extensions/modes.js +1 -1
  114. package/dist/extensions/registry.d.ts +0 -2
  115. package/dist/extensions/registry.js +1 -1
  116. package/dist/goal/GoalEngine.js +1 -1
  117. package/dist/graph/onchain/analyze.js +1 -1
  118. package/dist/graph/onchain/expand.js +1 -1
  119. package/dist/graph/onchain/exposure.js +1 -1
  120. package/dist/graph/onchain/facts.js +1 -1
  121. package/dist/graph/onchain/order-status.d.ts +0 -1
  122. package/dist/graph/onchain/order-status.js +1 -1
  123. package/dist/harness/recover.js +1 -1
  124. package/dist/harness/verify.d.ts +0 -3
  125. package/dist/harness/verify.js +1 -1
  126. package/dist/index.js +1 -1
  127. package/dist/intent/types.d.ts +0 -1
  128. package/dist/intent/types.js +1 -1
  129. package/dist/keeper/detectors.js +1 -1
  130. package/dist/keeper/types.d.ts +0 -1
  131. package/dist/keeper/types.js +1 -1
  132. package/dist/knowledge/allocation-risk.d.ts +1 -0
  133. package/dist/knowledge/allocation-risk.js +1 -1
  134. package/dist/knowledge/allocation-templates.js +1 -1
  135. package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
  136. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  137. package/dist/knowledge/arb-fund-facts.d.ts +1 -0
  138. package/dist/knowledge/arb-fund-facts.js +1 -1
  139. package/dist/knowledge/arbitration-ledger.js +1 -1
  140. package/dist/knowledge/arbitration-puzzle.js +1 -1
  141. package/dist/knowledge/arbitration-risk.d.ts +1 -0
  142. package/dist/knowledge/arbitration-risk.js +1 -1
  143. package/dist/knowledge/audit-rules.d.ts +2 -2
  144. package/dist/knowledge/audit-rules.js +1 -1
  145. package/dist/knowledge/baselines/judgment-baselines.json +21 -2
  146. package/dist/knowledge/baselines/rules/allocation.json +6 -6
  147. package/dist/knowledge/baselines/rules/arb.json +2 -2
  148. package/dist/knowledge/baselines/rules/guard.json +11 -11
  149. package/dist/knowledge/baselines/rules/oracle.json +120 -0
  150. package/dist/knowledge/baselines/rules/order.json +1 -1
  151. package/dist/knowledge/baselines/rules/plan.json +385 -18
  152. package/dist/knowledge/baselines/rules/progress.json +20 -2
  153. package/dist/knowledge/baselines/semantic-facts.js +1 -1
  154. package/dist/knowledge/builtin-templates.d.ts +25 -1
  155. package/dist/knowledge/builtin-templates.js +1 -1
  156. package/dist/knowledge/catalog-facts.d.ts +4 -0
  157. package/dist/knowledge/catalog-facts.js +1 -0
  158. package/dist/knowledge/commission-landing.js +1 -1
  159. package/dist/knowledge/component-schema.d.ts +64 -0
  160. package/dist/knowledge/component-schema.js +1 -0
  161. package/dist/knowledge/contact-templates.d.ts +0 -1
  162. package/dist/knowledge/contact-templates.js +1 -1
  163. package/dist/knowledge/dynamic-pricing.js +1 -1
  164. package/dist/knowledge/entity-recipient-guard.js +1 -1
  165. package/dist/knowledge/event-semantics.js +1 -1
  166. package/dist/knowledge/fee-param-bindings.d.ts +26 -0
  167. package/dist/knowledge/fee-param-bindings.js +1 -0
  168. package/dist/knowledge/fund-layer.d.ts +1 -0
  169. package/dist/knowledge/fund-layer.js +1 -1
  170. package/dist/knowledge/game-scenarios.js +1 -1
  171. package/dist/knowledge/getting-started.d.ts +2 -2
  172. package/dist/knowledge/getting-started.js +1 -1
  173. package/dist/knowledge/guard-anchor-reach.js +1 -1
  174. package/dist/knowledge/guard-binding-table.d.ts +52 -0
  175. package/dist/knowledge/guard-binding-table.js +1 -0
  176. package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
  177. package/dist/knowledge/guard-binding-verifier.js +1 -0
  178. package/dist/knowledge/guard-bindings.js +1 -1
  179. package/dist/knowledge/guard-blueprint.d.ts +68 -0
  180. package/dist/knowledge/guard-blueprint.js +1 -0
  181. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  182. package/dist/knowledge/guard-design-patterns.js +1 -1
  183. package/dist/knowledge/guard-field-cognition.js +1 -1
  184. package/dist/knowledge/guard-host-context.d.ts +24 -0
  185. package/dist/knowledge/guard-host-context.js +1 -0
  186. package/dist/knowledge/guard-ledger.js +1 -1
  187. package/dist/knowledge/guard-lint.d.ts +1 -0
  188. package/dist/knowledge/guard-lint.js +1 -1
  189. package/dist/knowledge/guard-node-gates.d.ts +3 -0
  190. package/dist/knowledge/guard-node-gates.js +1 -1
  191. package/dist/knowledge/guard-puzzle.js +1 -1
  192. package/dist/knowledge/guard-render.js +1 -1
  193. package/dist/knowledge/guard-risk.js +1 -1
  194. package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
  195. package/dist/knowledge/guard-submission-prompt.js +1 -1
  196. package/dist/knowledge/guard-templates.d.ts +1 -1
  197. package/dist/knowledge/guard-templates.js +1 -1
  198. package/dist/knowledge/guard-translation.js +1 -1
  199. package/dist/knowledge/index.d.ts +1 -1
  200. package/dist/knowledge/index.js +1 -1
  201. package/dist/knowledge/industry-generalizer.d.ts +6 -1
  202. package/dist/knowledge/industry-generalizer.js +1 -1
  203. package/dist/knowledge/industry-registry.js +1 -1
  204. package/dist/knowledge/industry-strategy.js +1 -1
  205. package/dist/knowledge/jsonrpc-enum.d.ts +52 -3
  206. package/dist/knowledge/jsonrpc-enum.js +1 -1
  207. package/dist/knowledge/knob-docs.d.ts +5 -0
  208. package/dist/knowledge/knob-docs.js +1 -0
  209. package/dist/knowledge/machine-templates.js +1 -1
  210. package/dist/knowledge/machine-topology.js +1 -1
  211. package/dist/knowledge/machine-translation.js +1 -1
  212. package/dist/knowledge/object-dependency.d.ts +31 -0
  213. package/dist/knowledge/object-dependency.js +1 -0
  214. package/dist/knowledge/onchain-constants.d.ts +4 -0
  215. package/dist/knowledge/onchain-constants.js +1 -1
  216. package/dist/knowledge/order-ledger.js +1 -1
  217. package/dist/knowledge/param-schema.d.ts +93 -0
  218. package/dist/knowledge/param-schema.js +1 -0
  219. package/dist/knowledge/param-tiers.d.ts +25 -0
  220. package/dist/knowledge/param-tiers.js +1 -0
  221. package/dist/knowledge/passport-ledger.d.ts +1 -1
  222. package/dist/knowledge/passport-ledger.js +1 -1
  223. package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
  224. package/dist/knowledge/path-oracle/coverage.js +1 -0
  225. package/dist/knowledge/path-oracle/index.d.ts +5 -0
  226. package/dist/knowledge/path-oracle/index.js +1 -0
  227. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
  228. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
  229. package/dist/knowledge/path-oracle/schema.d.ts +188 -0
  230. package/dist/knowledge/path-oracle/schema.js +1 -0
  231. package/dist/knowledge/pattern-resolutions.d.ts +108 -0
  232. package/dist/knowledge/pattern-resolutions.js +1 -0
  233. package/dist/knowledge/progress-ledger.js +1 -1
  234. package/dist/knowledge/progress-risk.js +1 -1
  235. package/dist/knowledge/projection.spec.js +1 -1
  236. package/dist/knowledge/protocol-facts.js +1 -1
  237. package/dist/knowledge/requirement-families.d.ts +13 -0
  238. package/dist/knowledge/requirement-families.js +1 -0
  239. package/dist/knowledge/reward-ledger.js +1 -1
  240. package/dist/knowledge/safety-rules.js +1 -1
  241. package/dist/knowledge/scenario-modes.d.ts +2 -0
  242. package/dist/knowledge/scenario-modes.js +1 -1
  243. package/dist/knowledge/scenario-topology.js +1 -1
  244. package/dist/knowledge/semantic-ir.d.ts +4 -0
  245. package/dist/knowledge/semantic-ir.js +1 -1
  246. package/dist/knowledge/service-allocation-semantics.js +1 -1
  247. package/dist/knowledge/service-ledger.d.ts +1 -1
  248. package/dist/knowledge/service-ledger.js +1 -1
  249. package/dist/knowledge/service-templates.js +1 -1
  250. package/dist/knowledge/sku-name-gate.d.ts +17 -0
  251. package/dist/knowledge/sku-name-gate.js +1 -0
  252. package/dist/knowledge/strategy-manuals.d.ts +1 -1
  253. package/dist/knowledge/strategy-manuals.js +1 -1
  254. package/dist/knowledge/supply-chain.d.ts +9 -0
  255. package/dist/knowledge/supply-chain.js +1 -1
  256. package/dist/knowledge/template-loader.d.ts +114 -6
  257. package/dist/knowledge/template-loader.js +1 -1
  258. package/dist/knowledge/template-nav.d.ts +9 -0
  259. package/dist/knowledge/template-nav.js +1 -0
  260. package/dist/knowledge/template-prose.d.ts +1 -1
  261. package/dist/knowledge/template-registry.js +1 -1
  262. package/dist/knowledge/template-scanner.d.ts +95 -0
  263. package/dist/knowledge/template-scanner.js +1 -1
  264. package/dist/knowledge/template-test-profiles.d.ts +17 -0
  265. package/dist/knowledge/template-test-profiles.js +1 -0
  266. package/dist/knowledge/template-validation.d.ts +1 -0
  267. package/dist/knowledge/template-validation.js +1 -1
  268. package/dist/knowledge/tools-reference.js +1 -1
  269. package/dist/knowledge/treasury-templates.js +1 -1
  270. package/dist/knowledge/workflow-guidance.d.ts +5 -0
  271. package/dist/knowledge/workflow-guidance.js +1 -1
  272. package/dist/monitor/MonitorLoop.js +1 -1
  273. package/dist/participation/radar-core.js +1 -1
  274. package/dist/participation/time-window.d.ts +37 -0
  275. package/dist/participation/time-window.js +1 -0
  276. package/dist/persona/address-format.d.ts +0 -1
  277. package/dist/persona/address-format.js +1 -1
  278. package/dist/persona/bridge.js +1 -1
  279. package/dist/persona/index.d.ts +0 -2
  280. package/dist/persona/index.js +1 -1
  281. package/dist/persona/model.js +1 -1
  282. package/dist/persona/persona-audit.spec.js +1 -1
  283. package/dist/persona/types.d.ts +6 -0
  284. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  285. package/dist/playbooks/service-build/game-theory.d.ts +2 -2
  286. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  287. package/dist/playbooks/service-build/machine-panorama.d.ts +1 -0
  288. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  289. package/dist/playbooks/service-build/merchant-guide.d.ts +52 -22
  290. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  291. package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
  292. package/dist/playbooks/service-build/migration-planner.js +1 -1
  293. package/dist/playbooks/service-build/mode-actions.js +1 -1
  294. package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
  295. package/dist/playbooks/service-build/object-panorama.js +1 -1
  296. package/dist/playbooks/service-build/participation-radar.d.ts +1 -0
  297. package/dist/playbooks/service-build/participation-radar.js +1 -1
  298. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  299. package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
  300. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  301. package/dist/playbooks/service-build/service-panorama.d.ts +2 -0
  302. package/dist/playbooks/service-build/service-panorama.js +1 -1
  303. package/dist/playbooks/service-build/service-quote.js +1 -1
  304. package/dist/playbooks/service-build/service-quote.spec.js +1 -1
  305. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
  306. package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
  307. package/dist/relationship/registry.js +1 -1
  308. package/dist/review/index.js +1 -1
  309. package/dist/review/repository.js +1 -1
  310. package/dist/runtime/instance-registry.d.ts +7 -1
  311. package/dist/runtime/instance-registry.js +1 -1
  312. package/dist/safety/confirm-gate.js +1 -1
  313. package/dist/schema/benchmark-migration/index.d.ts +106 -0
  314. package/dist/schema/benchmark-migration/index.js +1 -1
  315. package/dist/schema/call/allocation.d.ts +15 -6
  316. package/dist/schema/call/allocation.js +1 -1
  317. package/dist/schema/call/arbitration.js +1 -1
  318. package/dist/schema/call/base.d.ts +264 -0
  319. package/dist/schema/call/base.js +1 -1
  320. package/dist/schema/call/bridge.d.ts +34 -6
  321. package/dist/schema/call/demand.d.ts +15 -6
  322. package/dist/schema/call/demand.js +1 -1
  323. package/dist/schema/call/error-codes.d.ts +1 -1
  324. package/dist/schema/call/error-codes.js +1 -1
  325. package/dist/schema/call/guard.d.ts +8 -8
  326. package/dist/schema/call/guard.js +1 -1
  327. package/dist/schema/call/handler.d.ts +3 -0
  328. package/dist/schema/call/handler.js +1 -1
  329. package/dist/schema/call/machine.d.ts +32 -8
  330. package/dist/schema/call/machine.js +1 -1
  331. package/dist/schema/call/order.d.ts +26 -8
  332. package/dist/schema/call/order.js +1 -1
  333. package/dist/schema/call/payment.d.ts +20 -8
  334. package/dist/schema/call/payment.js +1 -1
  335. package/dist/schema/call/permission-handler.js +1 -1
  336. package/dist/schema/call/permission.d.ts +330 -114
  337. package/dist/schema/call/permission.js +1 -1
  338. package/dist/schema/call/personal.d.ts +10 -4
  339. package/dist/schema/call/personal.js +1 -1
  340. package/dist/schema/call/progress.d.ts +16 -4
  341. package/dist/schema/call/reward.d.ts +10 -4
  342. package/dist/schema/call/reward.js +1 -1
  343. package/dist/schema/call/semantic.d.ts +1 -0
  344. package/dist/schema/call/semantic.js +1 -1
  345. package/dist/schema/call/service.d.ts +131 -43
  346. package/dist/schema/call/service.js +1 -1
  347. package/dist/schema/call/treasury.d.ts +15 -6
  348. package/dist/schema/call/treasury.js +1 -1
  349. package/dist/schema/common/index.js +1 -1
  350. package/dist/schema/config/index.d.ts +61 -0
  351. package/dist/schema/config/index.js +1 -1
  352. package/dist/schema/envelope-unify.d.ts +4 -0
  353. package/dist/schema/envelope-unify.js +1 -0
  354. package/dist/schema/evaluation/index.d.ts +224 -19
  355. package/dist/schema/evaluation/index.js +1 -1
  356. package/dist/schema/goal/index.d.ts +47 -0
  357. package/dist/schema/goal/planning.d.ts +116 -1
  358. package/dist/schema/goal/planning.js +1 -1
  359. package/dist/schema/industry-pack/index.d.ts +166 -6
  360. package/dist/schema/industry-pack/index.js +1 -1
  361. package/dist/schema/industry-pack/modes.d.ts +6 -6
  362. package/dist/schema/keeper/index.d.ts +26 -0
  363. package/dist/schema/local/index.d.ts +157 -0
  364. package/dist/schema/local/index.js +1 -1
  365. package/dist/schema/local/wip.d.ts +6 -0
  366. package/dist/schema/local/wip.js +1 -1
  367. package/dist/schema/messenger/index.d.ts +28 -0
  368. package/dist/schema/messenger/index.js +1 -1
  369. package/dist/schema/operations.d.ts +343 -84
  370. package/dist/schema/operations.js +1 -1
  371. package/dist/schema/persona/index.d.ts +2907 -640
  372. package/dist/schema/persona/index.js +1 -1
  373. package/dist/schema/query/bi.d.ts +251 -4
  374. package/dist/schema/query/bi.js +1 -1
  375. package/dist/schema/query/index.d.ts +271 -78
  376. package/dist/schema/query/index.js +1 -1
  377. package/dist/schema/schema-query/index.d.ts +1 -1
  378. package/dist/schema/schema-query/index.js +1 -1
  379. package/dist/schema/schema-version.js +1 -1
  380. package/dist/schema/utils/permission-machine-check.d.ts +2 -0
  381. package/dist/schema/utils/permission-machine-check.js +1 -1
  382. package/dist/schema/watch/index.d.ts +16 -0
  383. package/dist/schema/watch/index.js +1 -1
  384. package/dist/schema/workflow/index.d.ts +2 -2
  385. package/dist/schema/workflow/index.js +1 -1
  386. package/dist/schema-query-impl/index.d.ts +1 -1
  387. package/dist/schema-query-impl/index.js +1 -1
  388. package/dist/schemas/account_operation.output.json +98 -2
  389. package/dist/schemas/benchmark_migration_operation.output.json +341 -12
  390. package/dist/schemas/benchmark_migration_operation.schema.json +42 -3
  391. package/dist/schemas/bridge_operation.output.json +98 -2
  392. package/dist/schemas/bridge_operation.schema.json +5 -5
  393. package/dist/schemas/config_operation.output.json +352 -0
  394. package/dist/schemas/config_operation.schema.json +20 -2
  395. package/dist/schemas/evaluation_operation.output.json +586 -4
  396. package/dist/schemas/evaluation_operation.schema.json +194 -3
  397. package/dist/schemas/goal_operation.schema.json +183 -0
  398. package/dist/schemas/guard2file.schema.json +1 -1
  399. package/dist/schemas/index.json +1 -1
  400. package/dist/schemas/industry_pack_operation.output.json +771 -1
  401. package/dist/schemas/industry_pack_operation.schema.json +28 -4
  402. package/dist/schemas/keeper_operation.output.json +96 -2
  403. package/dist/schemas/local_cache_operation.output.json +98 -2
  404. package/dist/schemas/local_history_operation.output.json +98 -2
  405. package/dist/schemas/local_info_operation.output.json +98 -2
  406. package/dist/schemas/local_mark_operation.output.json +98 -2
  407. package/dist/schemas/machineNode2file.schema.json +1 -1
  408. package/dist/schemas/messenger_operation.output.json +107 -2
  409. package/dist/schemas/messenger_operation.schema.json +41 -34
  410. package/dist/schemas/monitor_events.output.json +96 -2
  411. package/dist/schemas/monitor_subscription.output.json +96 -2
  412. package/dist/schemas/onchain_events.output.json +108 -14
  413. package/dist/schemas/onchain_operations.output.json +326 -11
  414. package/dist/schemas/onchain_operations.schema.json +1343 -734
  415. package/dist/schemas/onchain_operations_allocation.schema.json +35 -19
  416. package/dist/schemas/onchain_operations_arbitration.schema.json +16 -8
  417. package/dist/schemas/onchain_operations_contact.schema.json +12 -4
  418. package/dist/schemas/onchain_operations_demand.schema.json +33 -17
  419. package/dist/schemas/onchain_operations_gen_passport.schema.json +12 -4
  420. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
  421. package/dist/schemas/onchain_operations_guard.schema.json +297 -111
  422. package/dist/schemas/onchain_operations_machine.schema.json +56 -39
  423. package/dist/schemas/onchain_operations_order.schema.json +67 -42
  424. package/dist/schemas/onchain_operations_payment.schema.json +27 -12
  425. package/dist/schemas/onchain_operations_permission.schema.json +363 -232
  426. package/dist/schemas/onchain_operations_personal.schema.json +43 -28
  427. package/dist/schemas/onchain_operations_progress.schema.json +49 -32
  428. package/dist/schemas/onchain_operations_proof.schema.json +12 -4
  429. package/dist/schemas/onchain_operations_repository.schema.json +17 -8
  430. package/dist/schemas/onchain_operations_reward.schema.json +36 -20
  431. package/dist/schemas/onchain_operations_service.schema.json +230 -130
  432. package/dist/schemas/onchain_operations_treasury.schema.json +36 -20
  433. package/dist/schemas/onchain_table_data.output.json +276 -19
  434. package/dist/schemas/onchain_table_data.schema.json +104 -64
  435. package/dist/schemas/persona_operation.output.json +7752 -0
  436. package/dist/schemas/persona_operation.schema.json +1232 -4
  437. package/dist/schemas/query_toolkit.output.json +1054 -146
  438. package/dist/schemas/query_toolkit.schema.json +144 -13
  439. package/dist/schemas/schema_query.schema.json +1 -1
  440. package/dist/schemas/watch_operation.output.json +86 -3
  441. package/dist/schemas/wip_file.output.json +8 -0
  442. package/dist/schemas/workflow_operation.schema.json +5 -4
  443. package/dist/schemas/wowok_buildin_info.schema.json +1 -1
  444. package/dist/task/playbook.js +1 -1
  445. package/dist/tools/handlers/benchmark-migration.d.ts +12 -3
  446. package/dist/tools/handlers/benchmark-migration.js +1 -1
  447. package/dist/tools/handlers/config.js +1 -1
  448. package/dist/tools/handlers/evaluation.js +1 -1
  449. package/dist/tools/handlers/evaluation.spec.js +1 -1
  450. package/dist/tools/handlers/industry-pack.js +1 -1
  451. package/dist/tools/handlers/messenger.js +1 -1
  452. package/dist/tools/handlers/onchain.d.ts +24 -0
  453. package/dist/tools/handlers/onchain.js +1 -1
  454. package/dist/tools/handlers/persona.js +1 -1
  455. package/dist/tools/handlers/query.d.ts +8 -0
  456. package/dist/tools/handlers/query.js +1 -1
  457. package/dist/tools/handlers/winner-derivation.d.ts +20 -0
  458. package/dist/tools/handlers/winner-derivation.js +1 -0
  459. package/dist/tools/handlers/wip-upload.js +1 -1
  460. package/dist/tools/index.d.ts +1 -0
  461. package/dist/tools/index.js +1 -1
  462. package/dist/tools/registry/business.js +1 -1
  463. package/dist/tools/registry/config.js +1 -1
  464. package/dist/tools/registry/evaluation.js +1 -1
  465. package/dist/tools/registry/identity.js +1 -1
  466. package/dist/tools/registry/onchain.js +1 -1
  467. package/dist/tools/registry/query.js +1 -1
  468. package/dist/tools/sanitize-output.js +1 -1
  469. package/dist/tools/sanitize-output.spec.js +1 -1
  470. package/dist/tools/transport-integrity.d.ts +7 -0
  471. package/dist/tools/transport-integrity.js +1 -0
  472. package/dist/tools/types.d.ts +1 -0
  473. package/dist/tools/upgrade-check.d.ts +22 -0
  474. package/dist/tools/upgrade-check.js +1 -1
  475. package/dist/tools/wrap.d.ts +6 -1
  476. package/dist/tools/wrap.js +1 -1
  477. package/package.json +7 -6
  478. package/dist/extensions/business-modules.d.ts +0 -54
  479. package/dist/extensions/business-modules.js +0 -1
  480. package/dist/schemas/guard-templates.json +0 -379
@@ -1 +1 @@
1
- import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{VotingGuardSchema}from'../query/index.js';import{BalanceTypeSchema,DescriptionSchema,LongNameSchema,NameOrAddressSchema,NameSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';const ARB_CASE_FIELD=NameOrAddressSchema['describe']('Arb\x20CASE\x20object\x20—\x20the\x20single\x20dispute\x20case\x20created\x20by\x20`dispute`\x20(the\x20object\x20you\x20may\x20have\x20named\x20via\x20`namedArb`).\x20'+'NOT\x20the\x20arbitrator\x20registration\x20object:\x20that\x20one\x20goes\x20in\x20the\x20ROOT\x20`object`\x20field,\x20while\x20every\x20case-scoped\x20'+'operation\x20(confirm\x20/\x20voting_deadline_change\x20/\x20vote\x20/\x20feedback\x20/\x20arbitration\x20/\x20reset\x20/\x20arb_withdraw)\x20addresses\x20'+'the\x20case\x20through\x20THIS\x20field.\x20Accepts\x20the\x20Arb\x27s\x200x\x20address\x20or\x20its\x20LocalMark\x20name.');export const DisputeSchema=z['object']({'order':NameOrAddressSchema['describe']('Order\x20ID\x20or\x20name.'),'description':DescriptionSchema['describe']('Dispute\x20description.\x20REQUIRED\x20and\x20NON-EMPTY\x20on-chain\x20(the\x20dispute\x20call\x20aborts\x20when\x20it\x20is\x20empty;\x20max\x204000\x20bytes).\x20State\x20what\x20the\x20dispute\x20is\x20about\x20—\x20it\x20is\x20permanent\x20on-chain\x20case\x20context.'),'proposition':z['array'](LongNameSchema)['describe']('List\x20of\x20dispute\x20propositions.'),'fee':CoinParamSchema['describe']('Dispute\x20processing\x20fee.\x20FORMAT:\x20{balance:\x20<amount_in_smallest_unit>}\x20—\x20field\x20name\x20is\x20\x27balance\x27\x20(NOT\x20\x27amount\x27).\x20'+'The\x20token\x20type\x20and\x20precision\x20are\x20determined\x20by\x20the\x20Arbitration\x20object\x27s\x20type_parameter\x20(the\x20generic\x20type\x20set\x20when\x20the\x20Arbitration\x20was\x20created).\x20'+'For\x20WOW\x20(9\x20decimals):\x20{balance:\x2050000000}\x20=\x200.05\x20WOW.\x20'+'For\x20tokens\x20with\x20different\x20decimals,\x20adjust\x20accordingly\x20(e.g.\x20USDC\x20has\x206\x20decimals,\x20so\x20{balance:\x2050000}\x20=\x200.05\x20USDC).\x20'+'docs#45:\x20the\x20fee\x20does\x20NOT\x20return\x20to\x20the\x20filer\x20on\x20a\x20win\x20—\x20it\x20stays\x20in\x20the\x20Arbitration\x20object\x20and\x20is\x20withdrawable\x20by\x20the\x20arbitrator.'),'namedArb':NamedObjectSchema['optional']()['describe']('RECOMMENDED:\x20Set\x20a\x20local\x20name\x20for\x20the\x20newly\x20created\x20Arb\x20(arbitration\x20case)\x20object.\x20'+'Without\x20this,\x20the\x20Arb\x20is\x20only\x20referenceable\x20by\x20its\x20on-chain\x20address.\x20'+'Example:\x20{name:\x20\x27my_dispute_v1\x27}\x20allows\x20subsequent\x20vote/feedback\x20operations\x20to\x20use\x20\x27my_dispute_v1\x27.')})['strict']();export const ConfirmSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number']()['int']()['min'](0x0),z['null']()])['default'](null)['describe']('Voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'null\x20(DEFAULT\x20when\x20omitted)\x20=\x20open-ended\x20voting,\x20no\x20deadline;\x20parties\x20may\x20vote\x20at\x20any\x20time\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20(arb.move\x20skips\x20the\x20deadline\x20assert\x20when\x20the\x20Option\x20is\x20none)\x20—\x20this\x20is\x20the\x20SAFE\x20default;\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20bounded\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours);\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(kl-real-261016\x20F-01,\x20chain-verified):\x20every\x20vote\x20aborts\x20E_VOTING_DEADLINE_PASSED,\x20so\x20no\x20ballot\x20can\x20ever\x20exist,\x20the\x20verdict\x20then\x20aborts\x20E_NO_VOTE_CAST\x20(a\x20verdict\x20requires\x20>=\x201\x20cast\x20ballot),\x20and\x20reset\x20aborts\x20as\x20well.\x20NEVER\x20pass\x200.\x20Direct\x20verdict\x20=\x20null\x20+\x20cast\x20one\x20ballot\x20first,\x20then\x20deliver\x20the\x20verdict.\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VotingDeadlineChangeSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number'](),z['null']()])['describe']('New\x20voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(votes\x20abort\x20E_VOTING_DEADLINE_PASSED,\x20no\x20ballot\x20can\x20ever\x20exist,\x20verdict\x20aborts\x20E_NO_VOTE_CAST,\x20reset\x20aborts).\x20NEVER\x20pass\x200;\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20—\x20use\x20this\x20for\x20the\x20immediate-verdict\x20flow:\x20cast\x20one\x20ballot,\x20then\x20deliver);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VoteSchema=z['object']({'arb':ARB_CASE_FIELD,'votes':z['array'](z['number']()['int']()['min'](0x0)['max'](0xff))['describe']('Proposition\x20INDICES\x20(0-based,\x20u8)\x20the\x20voter\x20agrees\x20with\x20—\x20e.g.\x20[0]\x20votes\x20for\x20the\x20first\x20proposition.\x20'+'Re-voting\x20REPLACES\x20the\x20voter\x27s\x20previous\x20vote\x20(old\x20weight\x20removed,\x20new\x20applied).\x20'+'Out-of-range\x20index\x20aborts\x20with\x20E_PROPOSITION_NOT_FOUND.'),'voting_guard':NameOrAddressSchema['optional']()['describe']('Voting\x20Guard\x20for\x20WEIGHTED\x20voting.\x20DECISION\x20RULE\x20(contract-enforced):\x0a'+'(A)\x20Arbitration\x20HAS\x20a\x20non-empty\x20voting_guard\x20list\x20→\x20plain\x20vote\x20is\x20REJECTED\x20on-chain\x20with\x20E_VOTING_GUARD_USED\x20(abort\x202).\x20'+'You\x20MUST\x20provide\x20this\x20field\x20set\x20to\x20ONE\x20guard\x20from\x20the\x20Arbitration\x27s\x20voting_guard\x20list,\x20and\x20fill\x20its\x20submission:\x20'+'when\x20the\x20guard\x27s\x20vote_weight\x20is\x20{GuardIdentifier:\x20pos},\x20the\x20number\x20you\x20submit\x20at\x20that\x20table\x20position\x20IS\x20the\x20vote\x20weight;\x20'+'when\x20it\x20is\x20{FixedValue:\x20v},\x20no\x20submission\x20is\x20needed\x20(weight\x20is\x20fixed).\x20The\x20SDK\x20then\x20routes\x20the\x20call\x20through\x20the\x20Guard-weighted\x20vote\x20path\x20via\x20a\x20Passport.\x20'+'Omitting\x20this\x20field\x20on\x20such\x20an\x20Arbitration\x20now\x20fails\x20fast\x20pre-call\x20with\x20the\x20list\x20of\x20valid\x20guards.\x0a'+'(B)\x20Arbitration\x20has\x20NO\x20voting_guard\x20→\x20omit\x20this\x20field;\x20the\x20SDK\x20uses\x20plain\x20vote\x20(weight\x201,\x20permission-gated),\x20or\x20the\x20passport-gated\x20vote\x20path\x20when\x20other\x20guards\x20require\x20it.\x0a'+'BOTH\x20(B)\x20paths\x20still\x20assert\x20ARBITRATION_VOTE=358\x20on-chain\x20(the\x20SDK\x20now\x20pre-checks\x20358\x20and\x20fails\x20fast\x20with\x20\x27Missing\x20permissions\x20358\x27).\x20'+'An\x20empty\x20voting_guard\x20means\x20EQUAL\x20WEIGHT\x20(1\x20person\x201\x20vote),\x20NOT\x20permissionless\x20—\x20there\x20is\x20no\x20permission-free\x20vote\x20entry.\x20'+'For\x20genuinely\x20open\x20voting,\x20configure\x20a\x20public\x20voting_guard\x20(op=\x22set\x22)\x20and\x20vote\x20via\x20path\x20(A):\x20the\x20weighted\x20passport\x20path\x20authorizes\x20by\x20the\x20guard\x20and\x20does\x20NOT\x20require\x20358.\x0a'+'The\x20Guard\x20(when\x20provided)\x20MUST\x20be\x20in\x20the\x20Arbitration\x27s\x20voting_guard\x20list\x20—\x20an\x20unlisted\x20guard\x20aborts\x20with\x20E_VOTING_GUARD_NOT_FOUND.\x20'+'WEIGHTED\x20REVOTE\x20RESIDUE\x20(az3-mn-261013,\x20arb.move:315-320\x20source\x20comment):\x20under\x20weighted\x20voting\x20a\x20re-vote\x20is\x20NOT\x20clean\x20—\x20'+'re-voting\x20with\x20a\x20LARGER\x20weight\x20than\x20the\x20previous\x20one\x20aborts\x20on\x20underflow\x20(re-vote\x20DoS\x20surface);\x20'+'re-voting\x20with\x20a\x20SMALLER\x20weight\x20succeeds\x20but\x20leaves\x20phantom\x20votes\x20behind.\x20Treat\x20the\x20first\x20weighted\x20vote\x20as\x20final\x20when\x20possible.')})['strict']();export const FeedbackSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbitrationActionSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.'),'indemnity':z['number']()['int']()['min'](0x0)['describe']('Awarded\x20compensation\x20in\x20integer\x20smallest\x20units\x20(0\x20=\x20a\x20denial\x20ruling\x20that\x20pays\x20nothing).\x20'+'Hard-capped\x20at\x203x\x20the\x20disputed\x20order\x20amount\x20on\x20chain.\x20Funded\x20from\x20the\x20Service\x27s\x20merchant-prepaid\x20'+'compensation\x20fund\x20—\x20an\x20award\x20larger\x20than\x20the\x20fund\x20balance\x20aborts\x20the\x20later\x20payout\x20until\x20the\x20'+'merchant\x20tops\x20up.\x20A\x20non-zero\x20award\x20consumes\x20the\x20order\x27s\x20one-shot\x20compensation\x20latch:\x20refund\x20rails\x20'+'gated\x20on\x20\x27no\x20award\x20paid\x27\x20can\x20never\x20fire\x20afterwards,\x20so\x20pair\x20them\x20with\x20a\x20merchant-recovery\x20rail\x20at\x20build\x20time.')})['strict']();export const ResetSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbWithdrawSchema=z['object']({'arb':ARB_CASE_FIELD})['strict']();export const FeesTransferToSchema=z['union']([z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name.')})['strict'](),z['object']({'treasury':NameOrAddressSchema['describe']('Treasury\x20object\x20ID\x20or\x20name.\x20NOTE:\x20the\x20transferred\x20funds\x20arrive\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20Treasury\x20and\x20only\x20count\x20'+'after\x20the\x20Treasury\x20intakes\x20them\x20—\x20call\x20treasury\x20receive:\x20\x22recently\x22\x20(requires\x20permission\x20253\x20TREASURY_RECEIVE\x20on\x20the\x20Treasury).')})['strict']()]);export const FeesTransferSchema=z['object']({'to':FeesTransferToSchema['describe']('Transfer\x20arbitration\x20fees\x20to\x20the\x20specified\x20Allocation\x20object\x20or\x20Treasury\x20object.'),'payment_remark':NameSchema['describe']('Payment\x20remark.'),'payment_index':z['number']()['int']()['min'](0x0)['describe']('0-based\x20index\x20of\x20the\x20fee\x20payment\x20inside\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20(query\x20the\x20Arb\x20case\x20with\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20to\x20list\x20its\x20fees\x20and\x20their\x20indices).\x20REQUIRED\x20—\x20without\x20it\x20the\x20transfer\x20cannot\x20name\x20which\x20fee\x20record\x20to\x20move.'),'newPayment':NamedObjectSchema['optional']()['describe']('Name\x20for\x20the\x20newly\x20created\x20payment\x20object.')})['strict']();export const VotingGuardActionSchema=z['discriminatedUnion']('op',[z['object']({'op':z['enum'](['add','set']),'guards':z['array'](VotingGuardSchema)})['strict'](),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)})['strict'](),z['object']({'op':z['literal']('clear')})['strict']()]);export const CallArbitration_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'dispute':DisputeSchema['optional']()['describe']('Create\x20a\x20new\x20Arb\x20object\x20for\x20the\x20order;\x20the\x20case\x20lands\x20directly\x20in\x20state\x201\x20(Arbitrator_confirming)\x20—\x20the\x20customer\x20does\x20not\x20confirm\x20at\x20filing\x20time.\x20FILING\x20IS\x20SERVICE-BOUND:\x20the\x20SDK\x20resolves\x20the\x20order\x27s\x20Service\x20and\x20files\x20through\x20its\x20Service-side\x20dispute\x20entry\x20points,\x20which\x20enforce\x20the\x20merchant\x27s\x20arbitrator\x20allowlist,\x20the\x20service-arbitration\x20neutrality\x20rule\x20and\x20the\x20order\x20binding\x20before\x20the\x20case\x20is\x20minted\x20(venues\x20gated\x20by\x20a\x20usage_guard\x20require\x20the\x20passport\x20path,\x20verified\x20in\x20the\x20same\x20transaction).\x20The\x20arbitration-side\x20filing\x20entries\x20are\x20package-internal\x20and\x20cannot\x20be\x20called\x20directly'),'description':DescriptionSchema['optional']()['describe']('Introduction\x20of\x20the\x20Arbitration\x20object.'),'location':LongNameSchema['optional']()['describe']('Arbitration\x20location.'),'fee':BalanceTypeSchema['optional']()['describe']('Arbitration\x20filing\x20fee.\x20FORMAT:\x20a\x20direct\x20amount\x20value\x20—\x20NOT\x20wrapped\x20in\x20'+'{balance:\x20...}\x20(that\x20CoinParam\x20shape\x20is\x20only\x20for\x20dispute.fee,\x20which\x20pays\x20a\x20coin\x20object).\x20'+'Accepted:\x20smallest-unit\x20number\x20or\x20string\x20(e.g.\x2050000000\x20=\x200.05\x20WOW\x20at\x209\x20decimals),\x20or\x20'+'display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x220.05WOW\x22)\x20—\x20the\x20Fund\x20Processing\x20Layer\x20'+'converts\x20it\x20using\x20the\x20Arbitration\x20object\x27s\x20own\x20token\x20decimals.\x20'+'Default\x200\x20on\x20creation:\x20disputes\x20are\x20then\x20free\x20(the\x20filer\x27s\x20coin\x20is\x20fully\x20refunded\x20on\x20'+'filing)\x20and\x20the\x20arbitrator\x20earns\x20no\x20per-case\x20fee.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20arbitration.'),'confirm':ConfirmSchema['optional']()['describe']('ARBITRATOR-side\x20material\x20confirmation\x20(from\x20state\x201):\x20moves\x20the\x20case\x20to\x20state\x202\x20(Voting).\x20'+'Customers\x20cannot\x20call\x20this\x20—\x20the\x20customer-side\x20step\x20is\x20order.arb_confirm\x20(state\x200\x20to\x201).'),'voting_deadline_change':VotingDeadlineChangeSchema['optional']()['describe']('Change\x20the\x20voting\x20deadline.'),'vote':VoteSchema['optional']()['describe']('Vote\x20on\x20user\x20propositions.'),'feedback':FeedbackSchema['optional']()['describe']('Arbitration\x20feedback\x20for\x20the\x20Arb\x20object.'),'arbitration':ArbitrationActionSchema['optional']()['describe']('Provide\x20a\x20definitive\x20arbitration\x20result.'),'reset':ResetSchema['optional']()['describe']('ARBITRATOR-side\x20reset\x20(arbitration\x20permission\x20holder;\x20valid\x20from\x20state\x204\x20Objectionable\x20or\x20state\x201):\x20voids\x20the\x20ruling,\x20'+'clears\x20the\x20indemnity\x20and\x20returns\x20the\x20case\x20to\x20state\x200\x20(Principal_confirming).\x20After\x20a\x20reset\x20ONLY\x20the\x20customer\x20can\x20advance\x20the\x20case\x20'+'again\x20via\x20order.arb_confirm\x20—\x20state\x200\x20has\x20no\x20timeout\x20and\x20the\x20fee\x20stays\x20locked\x20until\x20the\x20customer\x20re-confirms.'),'arb_withdraw':ArbWithdrawSchema['optional']()['describe']('Withdraw\x20arbitration\x20fees\x20from\x20the\x20Arb\x20object\x20(arbitrator).\x20Immediately\x20from\x20state\x205\x20(Finished);\x20from\x20state\x203\x20only\x20after\x2030\x20days\x20'+'from\x20the\x20ruling\x20time\x20(no\x20objection\x20filed\x20—\x20silence\x20=\x20acceptance);\x20rejected\x20in\x20states\x200/1/2.\x20'+'State\x204\x20(Objectionable)\x20can\x20NEVER\x20withdraw\x20(protocol\x20141):\x20a\x20contested\x20case\x20keeps\x20its\x20fee\x20escrowed\x20until\x20the\x20customer\x20'+'closes\x20the\x20objection\x20cycle\x20—\x20reset\x20→\x20order.arb_confirm\x20→\x20new\x20ruling\x20→\x20unchallenged\x20(or\x20accepted\x20via\x20finish).\x20'+'⚠️\x20TWO-STAGE\x20FEE\x20CASH-OUT\x20(verified\x20on\x20testnet):\x20this\x20call\x20does\x20NOT\x20pay\x20the\x20arbitrator\x27s\x20wallet\x20—\x20it\x20moves\x20the\x20case\x20fee\x20'+'into\x20the\x20Arbitration\x20(Registration)\x20object\x27s\x20own\x20balance\x20pool.\x20To\x20actually\x20receive\x20the\x20money:\x20'+'fees_transfer\x20(to\x20a\x20treasury\x20or\x20allocation)\x20→\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20→\x20treasury\x20withdraw\x20→\x20'+'recipient\x20payment\x20receive.\x20A\x20successful\x20arb_withdraw\x20with\x20no\x20wallet\x20balance\x20change\x20is\x20EXPECTED,\x20not\x20a\x20failure.'),'fees_transfer':FeesTransferSchema['optional']()['describe']('Distribute\x20the\x20withdrawn\x20arbitration\x20fees.\x20SHAPE\x20(exact\x20—\x20a\x20malformed\x20shape\x20aborts\x20on-chain\x20with\x20'+'CommandArgumentError\x20TypeMismatch,\x20observed\x20on\x20testnet):\x20\x27to\x27\x20is\x20a\x20SINGLE-KEY\x20object\x20with\x20EXACTLY\x20ONE\x20of\x20'+'{allocation:\x20\x27<Allocation\x20object\x20ID\x20or\x20registered\x20name>\x27}\x20or\x20{treasury:\x20\x27<Treasury\x20object\x20ID\x20or\x20registered\x20name>\x27}.\x20'+'The\x20value\x20must\x20reference\x20an\x20actual\x20Allocation\x20/\x20Treasury\x20OBJECT\x20(its\x20on-chain\x20address\x20or\x20LocalMark\x20name)\x20—\x20'+'a\x20plain\x20wallet\x20address,\x20the\x20Arb\x20case,\x20or\x20the\x20Arbitration\x20registration\x20object\x20is\x20NOT\x20a\x20valid\x20target.\x20'+'payment_index\x20is\x20REQUIRED\x20and\x20must\x20name\x20an\x20existing\x20fee\x20payment\x20record\x20in\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20'+'(list\x20the\x20fees\x20and\x20their\x20indices\x20via\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20on\x20the\x20Arb\x20case).\x20'+'Moves\x20the\x20Arbitration\x27s\x20ENTIRE\x20balance\x20pool\x20in\x20ONE\x20call\x20—\x20there\x20is\x20NO\x20amount\x20parameter;\x20the\x20pool\x20must\x20be\x20'+'funded\x20first\x20with\x20arb_withdraw.\x20The\x20balance\x20leaves\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20target;\x20for\x20a\x20treasury\x20'+'target,\x20intake\x20it\x20with\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20—\x20see\x20the\x20\x27to\x27\x20field\x20description.'),'usage_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20when\x20users\x20apply\x20for\x20arbitration;\x20if\x20Guard\x20verification\x20fails,\x20users\x20will\x20not\x20be\x20able\x20to\x20apply\x20for\x20arbitration.'),'voting_guard':VotingGuardActionSchema['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20during\x20arbitration\x20voting;\x20if\x20Guard\x20verification\x20fails,\x20arbitration\x20voting\x20will\x20fail.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20Arbitration\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'+RECEIVE_FORMAT_BLOCK_OBJECTS),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.')})['strict']()['describe']('On-chain\x20Arbitration\x20operations.\x20TWO\x20OBJECT\x20KINDS\x20—\x20do\x20not\x20confuse\x20them\x20(§5.9):\x20the\x20ROOT\x20\x27object\x27\x20field\x20is\x20the\x20Arbitration\x20(arbitrator\x20REGISTRATION)\x20object;\x20the\x20Arb\x20(single\x20CASE)\x20created\x20by\x20\x27dispute\x27\x20is\x20addressed\x20via\x20each\x20case\x20operation\x27s\x20\x27arb\x27\x20field.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20an\x20Arbitration.\x20NOTE:\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20⚠️\x20PERMISSION\x20RULE\x20(contract-enforced):\x20the\x20Arbitration\x27s\x20permission\x20MUST\x20be\x20DIFFERENT\x20from\x20the\x20permission\x20of\x20any\x20Service\x20it\x20will\x20be\x20bound\x20to\x20—\x20binding\x20an\x20Arbitration\x20that\x20SHARES\x20the\x20Service\x27s\x20Permission\x20aborts\x20with\x20E_ARBITRATION_PERMISSION_CONFLICT\x20(error\x2033).\x20Always\x20create\x20a\x20DEDICATED\x20Permission\x20object\x20for\x20each\x20Arbitration.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallArbitration_InputSchema=z['object']({'data':CallArbitration_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
1
+ import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{VotingGuardSchema}from'../query/index.js';import{BalanceTypeSchema,DescriptionSchema,LongNameSchema,NameOrAddressSchema,NameSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';const ARB_CASE_FIELD=NameOrAddressSchema['describe']('Arb\x20CASE\x20object\x20—\x20the\x20single\x20dispute\x20case\x20created\x20by\x20`dispute`\x20(the\x20object\x20you\x20may\x20have\x20named\x20via\x20`namedArb`).\x20'+'NOT\x20the\x20arbitrator\x20registration\x20object:\x20that\x20one\x20goes\x20in\x20the\x20ROOT\x20`object`\x20field,\x20while\x20every\x20case-scoped\x20'+'operation\x20(confirm\x20/\x20voting_deadline_change\x20/\x20vote\x20/\x20feedback\x20/\x20arbitration\x20/\x20reset\x20/\x20arb_withdraw)\x20addresses\x20'+'the\x20case\x20through\x20THIS\x20field.\x20Accepts\x20the\x20Arb\x27s\x200x\x20address\x20or\x20its\x20LocalMark\x20name.');export const DisputeSchema=z['object']({'order':NameOrAddressSchema['describe']('Order\x20ID\x20or\x20name.'),'description':DescriptionSchema['describe']('Dispute\x20description.\x20REQUIRED\x20and\x20NON-EMPTY\x20on-chain\x20(the\x20dispute\x20call\x20aborts\x20when\x20it\x20is\x20empty;\x20max\x204000\x20bytes).\x20State\x20what\x20the\x20dispute\x20is\x20about\x20—\x20it\x20is\x20permanent\x20on-chain\x20case\x20context.'),'proposition':z['array'](LongNameSchema)['describe']('List\x20of\x20dispute\x20propositions.'),'fee':CoinParamSchema['describe']('Coin\x20attached\x20to\x20the\x20dispute\x20filing.\x20FORMAT:\x20{balance:\x20<amount_in_smallest_unit>}\x20—\x20field\x20name\x20is\x20\x27balance\x27\x20(NOT\x20\x27amount\x27).\x20'+'The\x20token\x20type\x20and\x20precision\x20are\x20determined\x20by\x20the\x20Arbitration\x20object\x27s\x20type_parameter\x20(the\x20generic\x20type\x20set\x20when\x20the\x20Arbitration\x20was\x20created).\x20'+'For\x20WOW\x20(9\x20decimals):\x20{balance:\x2050000000}\x20=\x200.05\x20WOW.\x20'+'CHAIN\x20MECHANISM\x20(S14-F②,\x20on\x20dispute\x20filing):\x20the\x20case\x20escrows\x20the\x20ARBITRATION\x20VENUE\x27s\x20configured\x20fee\x20'+'(self.fee),\x20NOT\x20this\x20amount\x20—\x20any\x20residue\x20above\x20the\x20venue\x20fee\x20is\x20REFUNDED\x20to\x20the\x20filer\x20in\x20the\x20SAME\x20transaction.\x20'+'If\x20the\x20venue\x20fee\x20is\x200,\x20the\x20entire\x20attached\x20coin\x20refunds\x20and\x20the\x20case\x20escrows\x20nothing\x20(the\x20created\x20Arb\x27s\x20fee\x20reads\x20\x270\x27).\x20'+'To\x20charge\x20a\x20real\x20per-case\x20fee,\x20the\x20VENUE\x20must\x20set\x20it\x20first:\x20{operation_type:\x27arbitration\x27,\x20data:{object:\x27<venue>\x27,\x20fee:<amount>}}\x20'+'(arbitrator\x20permission\x20357);\x20filing\x20then\x20requires\x20balance\x20>=\x20that\x20fee\x20(E_FEE_NOT_ENOUGH).\x20'+'ATTACHING\x20MORE\x20THAN\x20THE\x20VENUE\x20FEE\x20IS\x20A\x20NO-OP\x20for\x20the\x20case\x20—\x20the\x20excess\x20comes\x20straight\x20back.'),'namedArb':NamedObjectSchema['optional']()['describe']('RECOMMENDED:\x20Set\x20a\x20local\x20name\x20for\x20the\x20newly\x20created\x20Arb\x20(arbitration\x20case)\x20object.\x20'+'Without\x20this,\x20the\x20Arb\x20is\x20only\x20referenceable\x20by\x20its\x20on-chain\x20address.\x20'+'Example:\x20{name:\x20\x27my_dispute_v1\x27}\x20allows\x20subsequent\x20vote/feedback\x20operations\x20to\x20use\x20\x27my_dispute_v1\x27.')})['strict']();export const ConfirmSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number']()['int']()['min'](0x0),z['null']()])['default'](null)['describe']('Voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'null\x20(DEFAULT\x20when\x20omitted)\x20=\x20open-ended\x20voting,\x20no\x20deadline;\x20parties\x20may\x20vote\x20at\x20any\x20time\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20(the\x20on-chain\x20arbitration\x20skips\x20the\x20deadline\x20assert\x20when\x20the\x20Option\x20is\x20none)\x20—\x20this\x20is\x20the\x20SAFE\x20default;\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20bounded\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours);\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(kl-real-261016\x20F-01,\x20chain-verified):\x20every\x20vote\x20aborts\x20E_VOTING_DEADLINE_PASSED,\x20so\x20no\x20ballot\x20can\x20ever\x20exist,\x20the\x20verdict\x20then\x20aborts\x20E_NO_VOTE_CAST\x20(a\x20verdict\x20requires\x20>=\x201\x20cast\x20ballot),\x20and\x20reset\x20aborts\x20as\x20well.\x20NEVER\x20pass\x200.\x20Direct\x20verdict\x20=\x20null\x20+\x20cast\x20one\x20ballot\x20first,\x20then\x20deliver\x20the\x20verdict.\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VotingDeadlineChangeSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number'](),z['null']()])['describe']('New\x20voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(votes\x20abort\x20E_VOTING_DEADLINE_PASSED,\x20no\x20ballot\x20can\x20ever\x20exist,\x20verdict\x20aborts\x20E_NO_VOTE_CAST,\x20reset\x20aborts).\x20NEVER\x20pass\x200;\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20—\x20use\x20this\x20for\x20the\x20immediate-verdict\x20flow:\x20cast\x20one\x20ballot,\x20then\x20deliver);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VoteSchema=z['object']({'arb':ARB_CASE_FIELD,'votes':z['array'](z['number']()['int']()['min'](0x0)['max'](0xff))['describe']('Proposition\x20INDICES\x20(0-based,\x20u8)\x20the\x20voter\x20agrees\x20with\x20—\x20e.g.\x20[0]\x20votes\x20for\x20the\x20first\x20proposition.\x20'+'Re-voting\x20REPLACES\x20the\x20voter\x27s\x20previous\x20vote\x20(old\x20weight\x20removed,\x20new\x20applied).\x20'+'Out-of-range\x20index\x20aborts\x20with\x20E_PROPOSITION_NOT_FOUND.'),'voting_guard':NameOrAddressSchema['optional']()['describe']('Voting\x20Guard\x20for\x20WEIGHTED\x20voting.\x20DECISION\x20RULE\x20(contract-enforced):\x0a'+'(A)\x20Arbitration\x20HAS\x20a\x20non-empty\x20voting_guard\x20list\x20→\x20plain\x20vote\x20is\x20REJECTED\x20on-chain\x20with\x20E_VOTING_GUARD_USED\x20(abort\x202).\x20'+'You\x20MUST\x20provide\x20this\x20field\x20set\x20to\x20ONE\x20guard\x20from\x20the\x20Arbitration\x27s\x20voting_guard\x20list,\x20and\x20fill\x20its\x20submission:\x20'+'when\x20the\x20guard\x27s\x20vote_weight\x20is\x20{GuardIdentifier:\x20pos},\x20the\x20number\x20you\x20submit\x20at\x20that\x20table\x20position\x20IS\x20the\x20vote\x20weight;\x20'+'when\x20it\x20is\x20{FixedValue:\x20v},\x20no\x20submission\x20is\x20needed\x20(weight\x20is\x20fixed).\x20The\x20SDK\x20then\x20routes\x20the\x20call\x20through\x20the\x20Guard-weighted\x20vote\x20path\x20via\x20a\x20Passport.\x20'+'Omitting\x20this\x20field\x20on\x20such\x20an\x20Arbitration\x20now\x20fails\x20fast\x20pre-call\x20with\x20the\x20list\x20of\x20valid\x20guards.\x0a'+'(B)\x20Arbitration\x20has\x20NO\x20voting_guard\x20→\x20omit\x20this\x20field;\x20the\x20SDK\x20uses\x20plain\x20vote\x20(weight\x201,\x20permission-gated),\x20or\x20the\x20passport-gated\x20vote\x20path\x20when\x20other\x20guards\x20require\x20it.\x0a'+'BOTH\x20(B)\x20paths\x20still\x20assert\x20ARBITRATION_VOTE=358\x20on-chain\x20(the\x20SDK\x20now\x20pre-checks\x20358\x20and\x20fails\x20fast\x20with\x20\x27Missing\x20permissions\x20358\x27).\x20'+'An\x20empty\x20voting_guard\x20means\x20EQUAL\x20WEIGHT\x20(1\x20person\x201\x20vote),\x20NOT\x20permissionless\x20—\x20there\x20is\x20no\x20permission-free\x20vote\x20entry.\x20'+'For\x20genuinely\x20open\x20voting,\x20configure\x20a\x20public\x20voting_guard\x20(op=\x22set\x22)\x20and\x20vote\x20via\x20path\x20(A):\x20the\x20weighted\x20passport\x20path\x20authorizes\x20by\x20the\x20guard\x20and\x20does\x20NOT\x20require\x20358.\x0a'+'The\x20Guard\x20(when\x20provided)\x20MUST\x20be\x20in\x20the\x20Arbitration\x27s\x20voting_guard\x20list\x20—\x20an\x20unlisted\x20guard\x20aborts\x20with\x20E_VOTING_GUARD_NOT_FOUND.\x20'+'WEIGHTED\x20REVOTE\x20RESIDUE\x20(az3-mn-261013):\x20under\x20weighted\x20voting\x20a\x20re-vote\x20is\x20NOT\x20clean\x20—\x20'+'re-voting\x20with\x20a\x20LARGER\x20weight\x20than\x20the\x20previous\x20one\x20aborts\x20on\x20underflow\x20(re-vote\x20DoS\x20surface);\x20'+'re-voting\x20with\x20a\x20SMALLER\x20weight\x20succeeds\x20but\x20leaves\x20phantom\x20votes\x20behind.\x20Treat\x20the\x20first\x20weighted\x20vote\x20as\x20final\x20when\x20possible.')})['strict']();export const FeedbackSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbitrationActionSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.'),'indemnity':z['number']()['int']()['min'](0x0)['describe']('Awarded\x20compensation\x20in\x20integer\x20smallest\x20units\x20(0\x20=\x20a\x20denial\x20ruling\x20that\x20pays\x20nothing).\x20'+'Hard-capped\x20at\x203x\x20the\x20disputed\x20order\x20amount\x20on\x20chain.\x20Funded\x20from\x20the\x20Service\x27s\x20merchant-prepaid\x20'+'compensation\x20fund\x20—\x20an\x20award\x20larger\x20than\x20the\x20fund\x20balance\x20aborts\x20the\x20later\x20payout\x20until\x20the\x20'+'merchant\x20tops\x20up.\x20A\x20non-zero\x20award\x20consumes\x20the\x20order\x27s\x20one-shot\x20compensation\x20latch:\x20refund\x20rails\x20'+'gated\x20on\x20\x27no\x20award\x20paid\x27\x20can\x20never\x20fire\x20afterwards,\x20so\x20pair\x20them\x20with\x20a\x20merchant-recovery\x20rail\x20at\x20build\x20time.')})['strict']();export const ResetSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbWithdrawSchema=z['object']({'arb':ARB_CASE_FIELD})['strict']();export const FeesTransferToSchema=z['union']([z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name.')})['strict'](),z['object']({'treasury':NameOrAddressSchema['describe']('Treasury\x20object\x20ID\x20or\x20name.\x20NOTE:\x20the\x20transferred\x20funds\x20arrive\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20Treasury\x20and\x20only\x20count\x20'+'after\x20the\x20Treasury\x20intakes\x20them\x20—\x20call\x20treasury\x20receive:\x20\x22recently\x22\x20(requires\x20permission\x20253\x20TREASURY_RECEIVE\x20on\x20the\x20Treasury).')})['strict']()]);export const FeesTransferSchema=z['object']({'to':FeesTransferToSchema['describe']('Transfer\x20arbitration\x20fees\x20to\x20the\x20specified\x20Allocation\x20object\x20or\x20Treasury\x20object.'),'payment_remark':NameSchema['describe']('Payment\x20remark.'),'payment_index':z['number']()['int']()['min'](0x0)['describe']('0-based\x20index\x20of\x20the\x20fee\x20payment\x20inside\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20(query\x20the\x20Arb\x20case\x20with\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20to\x20list\x20its\x20fees\x20and\x20their\x20indices).\x20REQUIRED\x20—\x20without\x20it\x20the\x20transfer\x20cannot\x20name\x20which\x20fee\x20record\x20to\x20move.'),'newPayment':NamedObjectSchema['optional']()['describe']('Name\x20for\x20the\x20newly\x20created\x20payment\x20object.')})['strict']();export const VotingGuardActionSchema=z['discriminatedUnion']('op',[z['object']({'op':z['enum'](['add','set']),'guards':z['array'](VotingGuardSchema)})['strict'](),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)})['strict'](),z['object']({'op':z['literal']('clear')})['strict']()]);export const CallArbitration_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'dispute':DisputeSchema['optional']()['describe']('Create\x20a\x20new\x20Arb\x20object\x20for\x20the\x20order;\x20the\x20case\x20lands\x20directly\x20in\x20state\x201\x20(Arbitrator_confirming)\x20—\x20the\x20customer\x20does\x20not\x20confirm\x20at\x20filing\x20time.\x20FILING\x20IS\x20SERVICE-BOUND:\x20the\x20SDK\x20resolves\x20the\x20order\x27s\x20Service\x20and\x20files\x20through\x20its\x20Service-side\x20dispute\x20entry\x20points,\x20which\x20enforce\x20the\x20merchant\x27s\x20arbitrator\x20allowlist,\x20the\x20service-arbitration\x20neutrality\x20rule\x20and\x20the\x20order\x20binding\x20before\x20the\x20case\x20is\x20minted\x20(venues\x20gated\x20by\x20a\x20usage_guard\x20require\x20the\x20passport\x20path,\x20verified\x20in\x20the\x20same\x20transaction).\x20The\x20arbitration-side\x20filing\x20entries\x20are\x20package-internal\x20and\x20cannot\x20be\x20called\x20directly'),'description':DescriptionSchema['optional']()['describe']('Introduction\x20of\x20the\x20Arbitration\x20object.'),'location':LongNameSchema['optional']()['describe']('Arbitration\x20location.'),'fee':BalanceTypeSchema['optional']()['describe']('Arbitration\x20filing\x20fee.\x20FORMAT:\x20a\x20direct\x20amount\x20value\x20—\x20NOT\x20wrapped\x20in\x20'+'{balance:\x20...}\x20(that\x20CoinParam\x20shape\x20is\x20only\x20for\x20dispute.fee,\x20which\x20pays\x20a\x20coin\x20object).\x20'+'Accepted:\x20smallest-unit\x20number\x20or\x20string\x20(e.g.\x2050000000\x20=\x200.05\x20WOW\x20at\x209\x20decimals),\x20or\x20'+'display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x220.05WOW\x22)\x20—\x20the\x20Fund\x20Processing\x20Layer\x20'+'converts\x20it\x20using\x20the\x20Arbitration\x20object\x27s\x20own\x20token\x20decimals.\x20'+'Default\x200\x20on\x20creation:\x20disputes\x20are\x20then\x20free\x20(the\x20filer\x27s\x20coin\x20is\x20fully\x20refunded\x20on\x20'+'filing)\x20and\x20the\x20arbitrator\x20earns\x20no\x20per-case\x20fee.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20arbitration.'),'confirm':ConfirmSchema['optional']()['describe']('ARBITRATOR-side\x20material\x20confirmation\x20(from\x20state\x201):\x20moves\x20the\x20case\x20to\x20state\x202\x20(Voting).\x20'+'Customers\x20cannot\x20call\x20this\x20—\x20the\x20customer-side\x20step\x20is\x20order.arb_confirm\x20(state\x200\x20to\x201).'),'voting_deadline_change':VotingDeadlineChangeSchema['optional']()['describe']('Change\x20the\x20voting\x20deadline.'),'vote':VoteSchema['optional']()['describe']('Vote\x20on\x20user\x20propositions.'),'feedback':FeedbackSchema['optional']()['describe']('Arbitration\x20feedback\x20for\x20the\x20Arb\x20object.'),'arbitration':ArbitrationActionSchema['optional']()['describe']('Provide\x20a\x20definitive\x20arbitration\x20result.'),'reset':ResetSchema['optional']()['describe']('ARBITRATOR-side\x20reset\x20(arbitration\x20permission\x20holder;\x20valid\x20from\x20state\x204\x20Objectionable\x20or\x20state\x201):\x20voids\x20the\x20ruling,\x20'+'clears\x20the\x20indemnity\x20and\x20returns\x20the\x20case\x20to\x20state\x200\x20(Principal_confirming).\x20After\x20a\x20reset\x20ONLY\x20the\x20customer\x20can\x20advance\x20the\x20case\x20'+'again\x20via\x20order.arb_confirm\x20—\x20state\x200\x20has\x20no\x20timeout\x20and\x20the\x20fee\x20stays\x20locked\x20until\x20the\x20customer\x20re-confirms.'),'arb_withdraw':ArbWithdrawSchema['optional']()['describe']('Withdraw\x20arbitration\x20fees\x20from\x20the\x20Arb\x20object\x20(arbitrator).\x20Immediately\x20from\x20state\x205\x20(Finished);\x20from\x20state\x203\x20only\x20after\x2030\x20days\x20'+'from\x20the\x20ruling\x20time\x20(no\x20objection\x20filed\x20—\x20silence\x20=\x20acceptance);\x20rejected\x20in\x20states\x200/1/2.\x20'+'State\x204\x20(Objectionable)\x20can\x20NEVER\x20withdraw\x20(protocol\x20141):\x20a\x20contested\x20case\x20keeps\x20its\x20fee\x20escrowed\x20until\x20the\x20customer\x20'+'closes\x20the\x20objection\x20cycle\x20—\x20reset\x20→\x20order.arb_confirm\x20→\x20new\x20ruling\x20→\x20unchallenged\x20(or\x20accepted\x20via\x20finish).\x20'+'⚠️\x20TWO-STAGE\x20FEE\x20CASH-OUT\x20(verified\x20on\x20testnet):\x20this\x20call\x20does\x20NOT\x20pay\x20the\x20arbitrator\x27s\x20wallet\x20—\x20it\x20moves\x20the\x20case\x20fee\x20'+'into\x20the\x20Arbitration\x20(Registration)\x20object\x27s\x20own\x20balance\x20pool.\x20To\x20actually\x20receive\x20the\x20money:\x20'+'fees_transfer\x20(to\x20a\x20treasury\x20or\x20allocation)\x20→\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20→\x20treasury\x20withdraw\x20→\x20'+'recipient\x20payment\x20receive.\x20A\x20successful\x20arb_withdraw\x20with\x20no\x20wallet\x20balance\x20change\x20is\x20EXPECTED,\x20not\x20a\x20failure.'),'fees_transfer':FeesTransferSchema['optional']()['describe']('Distribute\x20the\x20withdrawn\x20arbitration\x20fees.\x20SHAPE\x20(exact\x20—\x20a\x20malformed\x20shape\x20aborts\x20on-chain\x20with\x20'+'CommandArgumentError\x20TypeMismatch,\x20observed\x20on\x20testnet):\x20\x27to\x27\x20is\x20a\x20SINGLE-KEY\x20object\x20with\x20EXACTLY\x20ONE\x20of\x20'+'{allocation:\x20\x27<Allocation\x20object\x20ID\x20or\x20registered\x20name>\x27}\x20or\x20{treasury:\x20\x27<Treasury\x20object\x20ID\x20or\x20registered\x20name>\x27}.\x20'+'The\x20value\x20must\x20reference\x20an\x20actual\x20Allocation\x20/\x20Treasury\x20OBJECT\x20(its\x20on-chain\x20address\x20or\x20LocalMark\x20name)\x20—\x20'+'a\x20plain\x20wallet\x20address,\x20the\x20Arb\x20case,\x20or\x20the\x20Arbitration\x20registration\x20object\x20is\x20NOT\x20a\x20valid\x20target.\x20'+'payment_index\x20is\x20REQUIRED\x20and\x20must\x20name\x20an\x20existing\x20fee\x20payment\x20record\x20in\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20'+'(list\x20the\x20fees\x20and\x20their\x20indices\x20via\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20on\x20the\x20Arb\x20case).\x20'+'Moves\x20the\x20Arbitration\x27s\x20ENTIRE\x20balance\x20pool\x20in\x20ONE\x20call\x20—\x20there\x20is\x20NO\x20amount\x20parameter;\x20the\x20pool\x20must\x20be\x20'+'funded\x20first\x20with\x20arb_withdraw.\x20The\x20balance\x20leaves\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20target;\x20for\x20a\x20treasury\x20'+'target,\x20intake\x20it\x20with\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20—\x20see\x20the\x20\x27to\x27\x20field\x20description.'),'usage_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20when\x20users\x20apply\x20for\x20arbitration;\x20if\x20Guard\x20verification\x20fails,\x20users\x20will\x20not\x20be\x20able\x20to\x20apply\x20for\x20arbitration.'),'voting_guard':VotingGuardActionSchema['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20during\x20arbitration\x20voting;\x20if\x20Guard\x20verification\x20fails,\x20arbitration\x20voting\x20will\x20fail.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20Arbitration\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'+RECEIVE_FORMAT_BLOCK_OBJECTS),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.')})['strict']()['describe']('On-chain\x20Arbitration\x20operations.\x20TWO\x20OBJECT\x20KINDS\x20—\x20do\x20not\x20confuse\x20them\x20(§5.9):\x20the\x20ROOT\x20\x27object\x27\x20field\x20is\x20the\x20Arbitration\x20(arbitrator\x20REGISTRATION)\x20object;\x20the\x20Arb\x20(single\x20CASE)\x20created\x20by\x20\x27dispute\x27\x20is\x20addressed\x20via\x20each\x20case\x20operation\x27s\x20\x27arb\x27\x20field.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20an\x20Arbitration.\x20NOTE:\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20⚠️\x20PERMISSION\x20RULE\x20(contract-enforced):\x20the\x20Arbitration\x27s\x20permission\x20MUST\x20be\x20DIFFERENT\x20from\x20the\x20permission\x20of\x20any\x20Service\x20it\x20will\x20be\x20bound\x20to\x20—\x20binding\x20an\x20Arbitration\x20that\x20SHARES\x20the\x20Service\x27s\x20Permission\x20aborts\x20with\x20E_ARBITRATION_PERMISSION_CONFLICT\x20(error\x2033).\x20Always\x20create\x20a\x20DEDICATED\x20Permission\x20object\x20for\x20each\x20Arbitration.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallArbitration_InputSchema=z['object']({'data':CallArbitration_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
@@ -419,6 +419,30 @@ export declare const GuardAdviceSchema: z.ZodObject<{
419
419
  top_risks: z.ZodArray<z.ZodString>;
420
420
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
421
421
  }, z.core.$strip>>;
422
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
423
+ host: z.ZodString;
424
+ status: z.ZodEnum<{
425
+ blocked: "blocked";
426
+ proceed_with_warnings: "proceed_with_warnings";
427
+ proceed: "proceed";
428
+ }>;
429
+ statement: z.ZodString;
430
+ findings: z.ZodArray<z.ZodObject<{
431
+ source: z.ZodString;
432
+ code: z.ZodString;
433
+ level: z.ZodEnum<{
434
+ info: "info";
435
+ critical: "critical";
436
+ warning: "warning";
437
+ }>;
438
+ detail: z.ZodString;
439
+ }, z.core.$strip>>;
440
+ host_context: z.ZodOptional<z.ZodObject<{
441
+ signer_subject: z.ZodString;
442
+ order_anchor: z.ZodString;
443
+ identity_obligation: z.ZodString;
444
+ }, z.core.$strip>>;
445
+ }, z.core.$strip>>;
422
446
  }, z.core.$strict>;
423
447
  export declare const WorkflowOperatorSchema: z.ZodObject<{
424
448
  kind: z.ZodEnum<{
@@ -567,6 +591,8 @@ export declare const WorkflowReceiptSchema: z.ZodObject<{
567
591
  note: z.ZodOptional<z.ZodString>;
568
592
  }, z.core.$strict>>;
569
593
  note: z.ZodOptional<z.ZodString>;
594
+ digest: z.ZodOptional<z.ZodString>;
595
+ signer: z.ZodOptional<z.ZodString>;
570
596
  }, z.core.$strict>;
571
597
  export declare const ReviewChainStepSchema: z.ZodObject<{
572
598
  step: z.ZodEnum<{
@@ -853,6 +879,30 @@ export declare const SemanticSummarySchema: z.ZodObject<{
853
879
  top_risks: z.ZodArray<z.ZodString>;
854
880
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
855
881
  }, z.core.$strip>>;
882
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
883
+ host: z.ZodString;
884
+ status: z.ZodEnum<{
885
+ blocked: "blocked";
886
+ proceed_with_warnings: "proceed_with_warnings";
887
+ proceed: "proceed";
888
+ }>;
889
+ statement: z.ZodString;
890
+ findings: z.ZodArray<z.ZodObject<{
891
+ source: z.ZodString;
892
+ code: z.ZodString;
893
+ level: z.ZodEnum<{
894
+ info: "info";
895
+ critical: "critical";
896
+ warning: "warning";
897
+ }>;
898
+ detail: z.ZodString;
899
+ }, z.core.$strip>>;
900
+ host_context: z.ZodOptional<z.ZodObject<{
901
+ signer_subject: z.ZodString;
902
+ order_anchor: z.ZodString;
903
+ identity_obligation: z.ZodString;
904
+ }, z.core.$strip>>;
905
+ }, z.core.$strip>>;
856
906
  }, z.core.$strict>>;
857
907
  workflow_guidance: z.ZodOptional<z.ZodObject<{
858
908
  current_node: z.ZodString;
@@ -949,6 +999,8 @@ export declare const SemanticSummarySchema: z.ZodObject<{
949
999
  note: z.ZodOptional<z.ZodString>;
950
1000
  }, z.core.$strict>>;
951
1001
  note: z.ZodOptional<z.ZodString>;
1002
+ digest: z.ZodOptional<z.ZodString>;
1003
+ signer: z.ZodOptional<z.ZodString>;
952
1004
  }, z.core.$strict>>;
953
1005
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
954
1006
  step: z.ZodEnum<{
@@ -1006,17 +1058,27 @@ export declare const CallResponseErrorSchema: z.ZodObject<{
1006
1058
  delivery_unknown: "delivery_unknown";
1007
1059
  capability_unavailable: "capability_unavailable";
1008
1060
  transport_unavailable: "transport_unavailable";
1061
+ peer_not_registered: "peer_not_registered";
1062
+ submission_too_large: "submission_too_large";
1009
1063
  }>>;
1010
1064
  retryable: z.ZodOptional<z.ZodBoolean>;
1011
1065
  recovery_hint: z.ZodOptional<z.ZodString>;
1012
1066
  related_object: z.ZodOptional<z.ZodString>;
1013
1067
  committed_digest: z.ZodOptional<z.ZodString>;
1014
1068
  submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
1069
+ onchain_state: z.ZodOptional<z.ZodEnum<{
1070
+ unknown: "unknown";
1071
+ committed: "committed";
1072
+ absent: "absent";
1073
+ }>>;
1074
+ refused: z.ZodOptional<z.ZodBoolean>;
1075
+ tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
1015
1076
  submission_verification: z.ZodOptional<z.ZodObject<{
1016
1077
  sender: z.ZodString;
1017
1078
  failed_at: z.ZodString;
1018
1079
  verify_events_since: z.ZodString;
1019
1080
  digests: z.ZodArray<z.ZodString>;
1081
+ idempotency_key: z.ZodOptional<z.ZodString>;
1020
1082
  }, z.core.$strip>>;
1021
1083
  }, z.core.$strip>;
1022
1084
  export declare const OperationPreviewSchema: z.ZodObject<{
@@ -1509,6 +1571,10 @@ export declare const CallTransactionResultSchema: z.ZodObject<{
1509
1571
  txSignatures: z.ZodArray<z.ZodString>;
1510
1572
  }, z.core.$strip>, z.ZodNull]>>;
1511
1573
  type: z.ZodLiteral<"transaction">;
1574
+ onchain_state: z.ZodOptional<z.ZodEnum<{
1575
+ committed: "committed";
1576
+ absent: "absent";
1577
+ }>>;
1512
1578
  receive_receipt: z.ZodOptional<z.ZodObject<{
1513
1579
  tx_ok: z.ZodBoolean;
1514
1580
  objects_moved: z.ZodNumber;
@@ -1938,6 +2004,10 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1938
2004
  txSignatures: z.ZodArray<z.ZodString>;
1939
2005
  }, z.core.$strip>, z.ZodNull]>>;
1940
2006
  type: z.ZodLiteral<"transaction">;
2007
+ onchain_state: z.ZodOptional<z.ZodEnum<{
2008
+ committed: "committed";
2009
+ absent: "absent";
2010
+ }>>;
1941
2011
  receive_receipt: z.ZodOptional<z.ZodObject<{
1942
2012
  tx_ok: z.ZodBoolean;
1943
2013
  objects_moved: z.ZodNumber;
@@ -1985,17 +2055,27 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1985
2055
  delivery_unknown: "delivery_unknown";
1986
2056
  capability_unavailable: "capability_unavailable";
1987
2057
  transport_unavailable: "transport_unavailable";
2058
+ peer_not_registered: "peer_not_registered";
2059
+ submission_too_large: "submission_too_large";
1988
2060
  }>>;
1989
2061
  retryable: z.ZodOptional<z.ZodBoolean>;
1990
2062
  recovery_hint: z.ZodOptional<z.ZodString>;
1991
2063
  related_object: z.ZodOptional<z.ZodString>;
1992
2064
  committed_digest: z.ZodOptional<z.ZodString>;
1993
2065
  submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
2066
+ onchain_state: z.ZodOptional<z.ZodEnum<{
2067
+ unknown: "unknown";
2068
+ committed: "committed";
2069
+ absent: "absent";
2070
+ }>>;
2071
+ refused: z.ZodOptional<z.ZodBoolean>;
2072
+ tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
1994
2073
  submission_verification: z.ZodOptional<z.ZodObject<{
1995
2074
  sender: z.ZodString;
1996
2075
  failed_at: z.ZodString;
1997
2076
  verify_events_since: z.ZodString;
1998
2077
  digests: z.ZodArray<z.ZodString>;
2078
+ idempotency_key: z.ZodOptional<z.ZodString>;
1999
2079
  }, z.core.$strip>>;
2000
2080
  }, z.core.$strip>, z.ZodObject<{
2001
2081
  type: z.ZodLiteral<"data">;
@@ -2465,6 +2545,10 @@ export declare const CallOutputExecutedSchema: z.ZodObject<{
2465
2545
  txSignatures: z.ZodArray<z.ZodString>;
2466
2546
  }, z.core.$strip>, z.ZodNull]>>;
2467
2547
  type: z.ZodLiteral<"transaction">;
2548
+ onchain_state: z.ZodOptional<z.ZodEnum<{
2549
+ committed: "committed";
2550
+ absent: "absent";
2551
+ }>>;
2468
2552
  receive_receipt: z.ZodOptional<z.ZodObject<{
2469
2553
  tx_ok: z.ZodBoolean;
2470
2554
  objects_moved: z.ZodNumber;
@@ -2815,6 +2899,30 @@ export declare const CallOutputExecutedSchema: z.ZodObject<{
2815
2899
  top_risks: z.ZodArray<z.ZodString>;
2816
2900
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
2817
2901
  }, z.core.$strip>>;
2902
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
2903
+ host: z.ZodString;
2904
+ status: z.ZodEnum<{
2905
+ blocked: "blocked";
2906
+ proceed_with_warnings: "proceed_with_warnings";
2907
+ proceed: "proceed";
2908
+ }>;
2909
+ statement: z.ZodString;
2910
+ findings: z.ZodArray<z.ZodObject<{
2911
+ source: z.ZodString;
2912
+ code: z.ZodString;
2913
+ level: z.ZodEnum<{
2914
+ info: "info";
2915
+ critical: "critical";
2916
+ warning: "warning";
2917
+ }>;
2918
+ detail: z.ZodString;
2919
+ }, z.core.$strip>>;
2920
+ host_context: z.ZodOptional<z.ZodObject<{
2921
+ signer_subject: z.ZodString;
2922
+ order_anchor: z.ZodString;
2923
+ identity_obligation: z.ZodString;
2924
+ }, z.core.$strip>>;
2925
+ }, z.core.$strip>>;
2818
2926
  }, z.core.$strict>>;
2819
2927
  workflow_guidance: z.ZodOptional<z.ZodObject<{
2820
2928
  current_node: z.ZodString;
@@ -2911,6 +3019,8 @@ export declare const CallOutputExecutedSchema: z.ZodObject<{
2911
3019
  note: z.ZodOptional<z.ZodString>;
2912
3020
  }, z.core.$strict>>;
2913
3021
  note: z.ZodOptional<z.ZodString>;
3022
+ digest: z.ZodOptional<z.ZodString>;
3023
+ signer: z.ZodOptional<z.ZodString>;
2914
3024
  }, z.core.$strict>>;
2915
3025
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2916
3026
  step: z.ZodEnum<{
@@ -3296,6 +3406,30 @@ export declare const CallOutputPendingInputSchema: z.ZodObject<{
3296
3406
  top_risks: z.ZodArray<z.ZodString>;
3297
3407
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3298
3408
  }, z.core.$strip>>;
3409
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
3410
+ host: z.ZodString;
3411
+ status: z.ZodEnum<{
3412
+ blocked: "blocked";
3413
+ proceed_with_warnings: "proceed_with_warnings";
3414
+ proceed: "proceed";
3415
+ }>;
3416
+ statement: z.ZodString;
3417
+ findings: z.ZodArray<z.ZodObject<{
3418
+ source: z.ZodString;
3419
+ code: z.ZodString;
3420
+ level: z.ZodEnum<{
3421
+ info: "info";
3422
+ critical: "critical";
3423
+ warning: "warning";
3424
+ }>;
3425
+ detail: z.ZodString;
3426
+ }, z.core.$strip>>;
3427
+ host_context: z.ZodOptional<z.ZodObject<{
3428
+ signer_subject: z.ZodString;
3429
+ order_anchor: z.ZodString;
3430
+ identity_obligation: z.ZodString;
3431
+ }, z.core.$strip>>;
3432
+ }, z.core.$strip>>;
3299
3433
  }, z.core.$strict>>;
3300
3434
  workflow_guidance: z.ZodOptional<z.ZodObject<{
3301
3435
  current_node: z.ZodString;
@@ -3392,6 +3526,8 @@ export declare const CallOutputPendingInputSchema: z.ZodObject<{
3392
3526
  note: z.ZodOptional<z.ZodString>;
3393
3527
  }, z.core.$strict>>;
3394
3528
  note: z.ZodOptional<z.ZodString>;
3529
+ digest: z.ZodOptional<z.ZodString>;
3530
+ signer: z.ZodOptional<z.ZodString>;
3395
3531
  }, z.core.$strict>>;
3396
3532
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3397
3533
  step: z.ZodEnum<{
@@ -3461,17 +3597,27 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
3461
3597
  delivery_unknown: "delivery_unknown";
3462
3598
  capability_unavailable: "capability_unavailable";
3463
3599
  transport_unavailable: "transport_unavailable";
3600
+ peer_not_registered: "peer_not_registered";
3601
+ submission_too_large: "submission_too_large";
3464
3602
  }>>;
3465
3603
  retryable: z.ZodOptional<z.ZodBoolean>;
3466
3604
  recovery_hint: z.ZodOptional<z.ZodString>;
3467
3605
  related_object: z.ZodOptional<z.ZodString>;
3468
3606
  committed_digest: z.ZodOptional<z.ZodString>;
3469
3607
  submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
3608
+ onchain_state: z.ZodOptional<z.ZodEnum<{
3609
+ unknown: "unknown";
3610
+ committed: "committed";
3611
+ absent: "absent";
3612
+ }>>;
3613
+ refused: z.ZodOptional<z.ZodBoolean>;
3614
+ tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
3470
3615
  submission_verification: z.ZodOptional<z.ZodObject<{
3471
3616
  sender: z.ZodString;
3472
3617
  failed_at: z.ZodString;
3473
3618
  verify_events_since: z.ZodString;
3474
3619
  digests: z.ZodArray<z.ZodString>;
3620
+ idempotency_key: z.ZodOptional<z.ZodString>;
3475
3621
  }, z.core.$strip>>;
3476
3622
  }, z.core.$strip>;
3477
3623
  message: z.ZodOptional<z.ZodString>;
@@ -3745,6 +3891,30 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
3745
3891
  top_risks: z.ZodArray<z.ZodString>;
3746
3892
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3747
3893
  }, z.core.$strip>>;
3894
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
3895
+ host: z.ZodString;
3896
+ status: z.ZodEnum<{
3897
+ blocked: "blocked";
3898
+ proceed_with_warnings: "proceed_with_warnings";
3899
+ proceed: "proceed";
3900
+ }>;
3901
+ statement: z.ZodString;
3902
+ findings: z.ZodArray<z.ZodObject<{
3903
+ source: z.ZodString;
3904
+ code: z.ZodString;
3905
+ level: z.ZodEnum<{
3906
+ info: "info";
3907
+ critical: "critical";
3908
+ warning: "warning";
3909
+ }>;
3910
+ detail: z.ZodString;
3911
+ }, z.core.$strip>>;
3912
+ host_context: z.ZodOptional<z.ZodObject<{
3913
+ signer_subject: z.ZodString;
3914
+ order_anchor: z.ZodString;
3915
+ identity_obligation: z.ZodString;
3916
+ }, z.core.$strip>>;
3917
+ }, z.core.$strip>>;
3748
3918
  }, z.core.$strict>>;
3749
3919
  workflow_guidance: z.ZodOptional<z.ZodObject<{
3750
3920
  current_node: z.ZodString;
@@ -3841,6 +4011,8 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
3841
4011
  note: z.ZodOptional<z.ZodString>;
3842
4012
  }, z.core.$strict>>;
3843
4013
  note: z.ZodOptional<z.ZodString>;
4014
+ digest: z.ZodOptional<z.ZodString>;
4015
+ signer: z.ZodOptional<z.ZodString>;
3844
4016
  }, z.core.$strict>>;
3845
4017
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3846
4018
  step: z.ZodEnum<{
@@ -4204,6 +4376,10 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4204
4376
  txSignatures: z.ZodArray<z.ZodString>;
4205
4377
  }, z.core.$strip>, z.ZodNull]>>;
4206
4378
  type: z.ZodLiteral<"transaction">;
4379
+ onchain_state: z.ZodOptional<z.ZodEnum<{
4380
+ committed: "committed";
4381
+ absent: "absent";
4382
+ }>>;
4207
4383
  receive_receipt: z.ZodOptional<z.ZodObject<{
4208
4384
  tx_ok: z.ZodBoolean;
4209
4385
  objects_moved: z.ZodNumber;
@@ -4554,6 +4730,30 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4554
4730
  top_risks: z.ZodArray<z.ZodString>;
4555
4731
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
4556
4732
  }, z.core.$strip>>;
4733
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
4734
+ host: z.ZodString;
4735
+ status: z.ZodEnum<{
4736
+ blocked: "blocked";
4737
+ proceed_with_warnings: "proceed_with_warnings";
4738
+ proceed: "proceed";
4739
+ }>;
4740
+ statement: z.ZodString;
4741
+ findings: z.ZodArray<z.ZodObject<{
4742
+ source: z.ZodString;
4743
+ code: z.ZodString;
4744
+ level: z.ZodEnum<{
4745
+ info: "info";
4746
+ critical: "critical";
4747
+ warning: "warning";
4748
+ }>;
4749
+ detail: z.ZodString;
4750
+ }, z.core.$strip>>;
4751
+ host_context: z.ZodOptional<z.ZodObject<{
4752
+ signer_subject: z.ZodString;
4753
+ order_anchor: z.ZodString;
4754
+ identity_obligation: z.ZodString;
4755
+ }, z.core.$strip>>;
4756
+ }, z.core.$strip>>;
4557
4757
  }, z.core.$strict>>;
4558
4758
  workflow_guidance: z.ZodOptional<z.ZodObject<{
4559
4759
  current_node: z.ZodString;
@@ -4650,6 +4850,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4650
4850
  note: z.ZodOptional<z.ZodString>;
4651
4851
  }, z.core.$strict>>;
4652
4852
  note: z.ZodOptional<z.ZodString>;
4853
+ digest: z.ZodOptional<z.ZodString>;
4854
+ signer: z.ZodOptional<z.ZodString>;
4653
4855
  }, z.core.$strict>>;
4654
4856
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
4655
4857
  step: z.ZodEnum<{
@@ -5034,6 +5236,30 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5034
5236
  top_risks: z.ZodArray<z.ZodString>;
5035
5237
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5036
5238
  }, z.core.$strip>>;
5239
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
5240
+ host: z.ZodString;
5241
+ status: z.ZodEnum<{
5242
+ blocked: "blocked";
5243
+ proceed_with_warnings: "proceed_with_warnings";
5244
+ proceed: "proceed";
5245
+ }>;
5246
+ statement: z.ZodString;
5247
+ findings: z.ZodArray<z.ZodObject<{
5248
+ source: z.ZodString;
5249
+ code: z.ZodString;
5250
+ level: z.ZodEnum<{
5251
+ info: "info";
5252
+ critical: "critical";
5253
+ warning: "warning";
5254
+ }>;
5255
+ detail: z.ZodString;
5256
+ }, z.core.$strip>>;
5257
+ host_context: z.ZodOptional<z.ZodObject<{
5258
+ signer_subject: z.ZodString;
5259
+ order_anchor: z.ZodString;
5260
+ identity_obligation: z.ZodString;
5261
+ }, z.core.$strip>>;
5262
+ }, z.core.$strip>>;
5037
5263
  }, z.core.$strict>>;
5038
5264
  workflow_guidance: z.ZodOptional<z.ZodObject<{
5039
5265
  current_node: z.ZodString;
@@ -5130,6 +5356,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5130
5356
  note: z.ZodOptional<z.ZodString>;
5131
5357
  }, z.core.$strict>>;
5132
5358
  note: z.ZodOptional<z.ZodString>;
5359
+ digest: z.ZodOptional<z.ZodString>;
5360
+ signer: z.ZodOptional<z.ZodString>;
5133
5361
  }, z.core.$strict>>;
5134
5362
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
5135
5363
  step: z.ZodEnum<{
@@ -5198,17 +5426,27 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5198
5426
  delivery_unknown: "delivery_unknown";
5199
5427
  capability_unavailable: "capability_unavailable";
5200
5428
  transport_unavailable: "transport_unavailable";
5429
+ peer_not_registered: "peer_not_registered";
5430
+ submission_too_large: "submission_too_large";
5201
5431
  }>>;
5202
5432
  retryable: z.ZodOptional<z.ZodBoolean>;
5203
5433
  recovery_hint: z.ZodOptional<z.ZodString>;
5204
5434
  related_object: z.ZodOptional<z.ZodString>;
5205
5435
  committed_digest: z.ZodOptional<z.ZodString>;
5206
5436
  submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
5437
+ onchain_state: z.ZodOptional<z.ZodEnum<{
5438
+ unknown: "unknown";
5439
+ committed: "committed";
5440
+ absent: "absent";
5441
+ }>>;
5442
+ refused: z.ZodOptional<z.ZodBoolean>;
5443
+ tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
5207
5444
  submission_verification: z.ZodOptional<z.ZodObject<{
5208
5445
  sender: z.ZodString;
5209
5446
  failed_at: z.ZodString;
5210
5447
  verify_events_since: z.ZodString;
5211
5448
  digests: z.ZodArray<z.ZodString>;
5449
+ idempotency_key: z.ZodOptional<z.ZodString>;
5212
5450
  }, z.core.$strip>>;
5213
5451
  }, z.core.$strip>;
5214
5452
  message: z.ZodOptional<z.ZodString>;
@@ -5482,6 +5720,30 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5482
5720
  top_risks: z.ZodArray<z.ZodString>;
5483
5721
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5484
5722
  }, z.core.$strip>>;
5723
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
5724
+ host: z.ZodString;
5725
+ status: z.ZodEnum<{
5726
+ blocked: "blocked";
5727
+ proceed_with_warnings: "proceed_with_warnings";
5728
+ proceed: "proceed";
5729
+ }>;
5730
+ statement: z.ZodString;
5731
+ findings: z.ZodArray<z.ZodObject<{
5732
+ source: z.ZodString;
5733
+ code: z.ZodString;
5734
+ level: z.ZodEnum<{
5735
+ info: "info";
5736
+ critical: "critical";
5737
+ warning: "warning";
5738
+ }>;
5739
+ detail: z.ZodString;
5740
+ }, z.core.$strip>>;
5741
+ host_context: z.ZodOptional<z.ZodObject<{
5742
+ signer_subject: z.ZodString;
5743
+ order_anchor: z.ZodString;
5744
+ identity_obligation: z.ZodString;
5745
+ }, z.core.$strip>>;
5746
+ }, z.core.$strip>>;
5485
5747
  }, z.core.$strict>>;
5486
5748
  workflow_guidance: z.ZodOptional<z.ZodObject<{
5487
5749
  current_node: z.ZodString;
@@ -5578,6 +5840,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5578
5840
  note: z.ZodOptional<z.ZodString>;
5579
5841
  }, z.core.$strict>>;
5580
5842
  note: z.ZodOptional<z.ZodString>;
5843
+ digest: z.ZodOptional<z.ZodString>;
5844
+ signer: z.ZodOptional<z.ZodString>;
5581
5845
  }, z.core.$strict>>;
5582
5846
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
5583
5847
  step: z.ZodEnum<{