@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
@@ -136,9 +136,15 @@ export declare const IndustryPackOperationInputSchema: z.ZodObject<{
136
136
  unregister_custom_constraint: "unregister_custom_constraint";
137
137
  repair_builtin_templates: "repair_builtin_templates";
138
138
  template_drift: "template_drift";
139
+ capability_list: "capability_list";
140
+ capability_get: "capability_get";
141
+ compose_probe: "compose_probe";
142
+ product_cards: "product_cards";
143
+ product_card: "product_card";
139
144
  }>;
140
145
  name: z.ZodOptional<z.ZodString>;
141
146
  layer: z.ZodOptional<z.ZodEnum<{
147
+ params: "params";
142
148
  match: "match";
143
149
  compliance: "compliance";
144
150
  rules: "rules";
@@ -147,8 +153,12 @@ export declare const IndustryPackOperationInputSchema: z.ZodObject<{
147
153
  supply: "supply";
148
154
  template: "template";
149
155
  playbook: "playbook";
156
+ components: "components";
150
157
  }>>;
158
+ query: z.ZodOptional<z.ZodString>;
151
159
  template: z.ZodOptional<z.ZodString>;
160
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ group: z.ZodOptional<z.ZodString>;
152
162
  path: z.ZodOptional<z.ZodString>;
153
163
  content: z.ZodOptional<z.ZodString>;
154
164
  from: z.ZodOptional<z.ZodString>;
@@ -232,6 +242,7 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
232
242
  action: z.ZodLiteral<"get">;
233
243
  category: z.ZodString;
234
244
  layer: z.ZodOptional<z.ZodEnum<{
245
+ params: "params";
235
246
  match: "match";
236
247
  compliance: "compliance";
237
248
  rules: "rules";
@@ -240,6 +251,7 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
240
251
  supply: "supply";
241
252
  template: "template";
242
253
  playbook: "playbook";
254
+ components: "components";
243
255
  }>>;
244
256
  kind: z.ZodOptional<z.ZodEnum<{
245
257
  stub: "stub";
@@ -262,11 +274,159 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
262
274
  needs: z.ZodArray<z.ZodString>;
263
275
  analyze_questions: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
276
  }, z.core.$strip>>;
277
+ query: z.ZodOptional<z.ZodString>;
278
+ param_summary: z.ZodOptional<z.ZodObject<{
279
+ total: z.ZodNumber;
280
+ editable: z.ZodNumber;
281
+ live: z.ZodNumber;
282
+ inert: z.ZodNumber;
283
+ not_flippable: z.ZodNumber;
284
+ hidden: z.ZodNumber;
285
+ undescribed: z.ZodNumber;
286
+ }, z.core.$strip>>;
287
+ params: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
288
+ param_matches: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
289
+ component_summary: z.ZodOptional<z.ZodObject<{
290
+ total: z.ZodNumber;
291
+ configurable: z.ZodNumber;
292
+ fixed: z.ZodNumber;
293
+ hardcoded_splits: z.ZodNumber;
294
+ structural_rails: z.ZodNumber;
295
+ unset_legs: z.ZodNumber;
296
+ surplus_rows: z.ZodNumber;
297
+ by_family: z.ZodRecord<z.ZodString, z.ZodNumber>;
298
+ }, z.core.$strip>>;
299
+ components: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
300
+ component_matches: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
265
301
  dispute: z.ZodOptional<z.ZodUnknown>;
266
302
  compliance: z.ZodOptional<z.ZodUnknown>;
267
303
  supply: z.ZodOptional<z.ZodUnknown>;
268
304
  rules: z.ZodOptional<z.ZodUnknown>;
269
305
  playbook: z.ZodOptional<z.ZodUnknown>;
306
+ }, z.core.$strip>, z.ZodObject<{
307
+ action: z.ZodLiteral<"capability_list">;
308
+ total: z.ZodNumber;
309
+ capabilities: z.ZodArray<z.ZodObject<{
310
+ id: z.ZodString;
311
+ name: z.ZodString;
312
+ group: z.ZodString;
313
+ description: z.ZodString;
314
+ source: z.ZodString;
315
+ requires: z.ZodArray<z.ZodString>;
316
+ excludes: z.ZodArray<z.ZodString>;
317
+ provides: z.ZodArray<z.ZodString>;
318
+ requires_keeper: z.ZodBoolean;
319
+ }, z.core.$strip>>;
320
+ }, z.core.$strip>, z.ZodObject<{
321
+ action: z.ZodLiteral<"capability_get">;
322
+ capability: z.ZodUnknown;
323
+ }, z.core.$strip>, z.ZodObject<{
324
+ action: z.ZodLiteral<"compose_probe">;
325
+ capabilities: z.ZodArray<z.ZodString>;
326
+ feasible: z.ZodBoolean;
327
+ blockers: z.ZodArray<z.ZodObject<{
328
+ code: z.ZodString;
329
+ detail: z.ZodString;
330
+ }, z.core.$strip>>;
331
+ risks: z.ZodArray<z.ZodString>;
332
+ disclosures: z.ZodArray<z.ZodString>;
333
+ cost_delta: z.ZodObject<{
334
+ gas_objects: z.ZodNumber;
335
+ funds: z.ZodArray<z.ZodString>;
336
+ }, z.core.$strip>;
337
+ provides: z.ZodArray<z.ZodString>;
338
+ plan_steps: z.ZodOptional<z.ZodNumber>;
339
+ audit_score: z.ZodOptional<z.ZodNumber>;
340
+ templates_version: z.ZodNumber;
341
+ }, z.core.$strip>, z.ZodObject<{
342
+ action: z.ZodLiteral<"product_cards">;
343
+ industry: z.ZodString;
344
+ total: z.ZodNumber;
345
+ cards: z.ZodArray<z.ZodObject<{
346
+ template_id: z.ZodString;
347
+ industry: z.ZodString;
348
+ product_ref: z.ZodString;
349
+ archetype: z.ZodString;
350
+ one_liner: z.ZodString;
351
+ cost_headline: z.ZodObject<{
352
+ platform_fee_bps: z.ZodNumber;
353
+ gas_objects_estimate: z.ZodNumber;
354
+ compensation_fund: z.ZodEnum<{
355
+ allowed: "allowed";
356
+ forbidden: "forbidden";
357
+ }>;
358
+ }, z.core.$strip>;
359
+ params: z.ZodObject<{
360
+ total: z.ZodNumber;
361
+ editable: z.ZodNumber;
362
+ }, z.core.$strip>;
363
+ templates_version: z.ZodNumber;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>, z.ZodObject<{
366
+ action: z.ZodLiteral<"product_card">;
367
+ alignment: z.ZodObject<{
368
+ template_id: z.ZodString;
369
+ industry: z.ZodString;
370
+ variant: z.ZodString;
371
+ product_ref: z.ZodString;
372
+ archetype: z.ZodString;
373
+ phase: z.ZodNumber;
374
+ one_liner: z.ZodString;
375
+ evidence: z.ZodArray<z.ZodObject<{
376
+ source: z.ZodString;
377
+ detail: z.ZodString;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>;
380
+ features: z.ZodObject<{
381
+ flow: z.ZodArray<z.ZodString>;
382
+ fund_speed: z.ZodUnknown;
383
+ model: z.ZodArray<z.ZodString>;
384
+ vs_traditional: z.ZodArray<z.ZodObject<{
385
+ dimension: z.ZodString;
386
+ wowok: z.ZodString;
387
+ traditional: z.ZodNull;
388
+ wowok_evidence: z.ZodArray<z.ZodString>;
389
+ }, z.core.$strip>>;
390
+ }, z.core.$strip>;
391
+ cost: z.ZodObject<{
392
+ platform_fee: z.ZodObject<{
393
+ bps: z.ZodNumber;
394
+ cap_bps: z.ZodUnknown;
395
+ self_platform: z.ZodString;
396
+ evidence: z.ZodArray<z.ZodUnknown>;
397
+ }, z.core.$strip>;
398
+ gas_objects_estimate: z.ZodObject<{
399
+ value: z.ZodNumber;
400
+ basis: z.ZodString;
401
+ }, z.core.$strip>;
402
+ compensation_fund: z.ZodObject<{
403
+ policy: z.ZodEnum<{
404
+ allowed: "allowed";
405
+ forbidden: "forbidden";
406
+ }>;
407
+ note: z.ZodString;
408
+ }, z.core.$strip>;
409
+ keeper_dependencies: z.ZodArray<z.ZodString>;
410
+ }, z.core.$strip>;
411
+ params: z.ZodObject<{
412
+ total: z.ZodNumber;
413
+ editable: z.ZodNumber;
414
+ live: z.ZodNumber;
415
+ groups: z.ZodArray<z.ZodObject<{
416
+ group: z.ZodString;
417
+ tier: z.ZodNumber;
418
+ count: z.ZodNumber;
419
+ }, z.core.$strip>>;
420
+ full_rows_via: z.ZodString;
421
+ }, z.core.$strip>;
422
+ risks: z.ZodObject<{
423
+ key_risk: z.ZodString;
424
+ differences: z.ZodArray<z.ZodString>;
425
+ user_inputs: z.ZodArray<z.ZodString>;
426
+ capability_risks: z.ZodArray<z.ZodString>;
427
+ capability_risks_note: z.ZodString;
428
+ }, z.core.$strip>;
429
+ templates_version: z.ZodNumber;
270
430
  }, z.core.$strip>, z.ZodObject<{
271
431
  action: z.ZodLiteral<"diff">;
272
432
  name: z.ZodString;
@@ -400,8 +560,8 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
400
560
  ir_industry_match: z.ZodOptional<z.ZodBoolean>;
401
561
  requirement_support: z.ZodOptional<z.ZodNumber>;
402
562
  location_sensitivity: z.ZodEnum<{
403
- strict: "strict";
404
563
  logistics: "logistics";
564
+ strict: "strict";
405
565
  near: "near";
406
566
  }>;
407
567
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -434,8 +594,8 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
434
594
  key_risk: z.ZodString;
435
595
  machine_nodes: z.ZodArray<z.ZodString>;
436
596
  location_sensitivity: z.ZodEnum<{
437
- strict: "strict";
438
597
  logistics: "logistics";
598
+ strict: "strict";
439
599
  near: "near";
440
600
  }>;
441
601
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -456,8 +616,8 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
456
616
  key_risk: z.ZodString;
457
617
  machine_nodes: z.ZodArray<z.ZodString>;
458
618
  location_sensitivity: z.ZodEnum<{
459
- strict: "strict";
460
619
  logistics: "logistics";
620
+ strict: "strict";
461
621
  near: "near";
462
622
  }>;
463
623
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -482,8 +642,8 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
482
642
  key_risk: z.ZodString;
483
643
  machine_nodes: z.ZodArray<z.ZodString>;
484
644
  location_sensitivity: z.ZodEnum<{
485
- strict: "strict";
486
645
  logistics: "logistics";
646
+ strict: "strict";
487
647
  near: "near";
488
648
  }>;
489
649
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -507,8 +667,8 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
507
667
  key_risk: z.ZodString;
508
668
  machine_nodes: z.ZodArray<z.ZodString>;
509
669
  location_sensitivity: z.ZodEnum<{
510
- strict: "strict";
511
670
  logistics: "logistics";
671
+ strict: "strict";
512
672
  near: "near";
513
673
  }>;
514
674
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -532,8 +692,8 @@ export declare const IndustryPackOperationOutputSchema: z.ZodObject<{
532
692
  key_risk: z.ZodString;
533
693
  machine_nodes: z.ZodArray<z.ZodString>;
534
694
  location_sensitivity: z.ZodEnum<{
535
- strict: "strict";
536
695
  logistics: "logistics";
696
+ strict: "strict";
537
697
  near: "near";
538
698
  }>;
539
699
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -1 +1 @@
1
- import{z}from'zod';import{MODE_REGISTRY_ACTIONS,ModeRegistryFields,RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema}from'./modes.js';export const IndustryPackOperationInputSchema=z['object']({'action':z['enum'](['scaffold','list','scan','repair_builtin_templates','template_drift','resolve','list_files','read_file','write_file','get','diff','reset','delete_file','create_file','create_dir','copy','move','rename',...MODE_REGISTRY_ACTIONS])['describe']('Action:\x20\x27scaffold\x27\x20=\x20generate\x20a\x20pack\x20template\x20skeleton\x20(requires\x20name);\x20'+'\x27list\x27\x20=\x20list\x20registered\x20packs;\x20\x27scan\x27\x20=\x20scan\x20+\x20register\x20packs\x20under\x20the\x20default\x20directory;\x20'+'\x27template_drift\x27\x20=\x20REPORT\x20builtin\x20template\x20files\x20whose\x20on-disk\x20body\x20differs\x20from\x20the\x20in-code\x20catalog\x20'+'(classifies\x20no_sentinel_legacy\x20/\x20stale_release\x20/\x20user_modified);\x20run\x20it\x20FIRST\x20when\x20a\x20template\x20change\x20'+'\x27seems\x20to\x20have\x20no\x20effect.\x20'+'\x27repair_builtin_templates\x27\x20=\x20RESEED\x20those\x20legacy\x20files\x20from\x20the\x20in-code\x20catalog\x20'+'(identity-gated\x20on\x20a\x20known\x20builtin\x20id,\x20previous\x20body\x20kept\x20as\x20<file>.bak;\x20custom\x20templates\x20never\x20touched)'+'\x27resolve\x27\x20=\x20return\x20the\x20industry\x20root\x20directory;\x20\x27list_files\x27\x20=\x20list\x20files\x20under\x20the\x20industry\x20directory;\x20'+'\x27read_file\x27\x20=\x20read\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20required);\x20'+'\x27write_file\x27\x20=\x20write\x20content\x20to\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20+\x20content\x20required);\x20'+'\x27get\x27\x20=\x20return\x20registered\x20layer\x20data\x20for\x20an\x20industry\x20(name\x20required;\x20mode/dispute/compliance/supply/rules/playbook;\x20'+'an\x20optional\x20\x27layer\x27\x20selector\x20returns\x20ONE\x20layer\x20and\x20refuses\x20by\x20name\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20—\x20'+'layer=\x27template\x27\x20reads\x20the\x20builtin\x20catalog\x20template\x20data\x20instead\x20of\x20pack\x20layers,\x20with\x20\x27template\x27\x20id\x20'+'optional\x20to\x20list\x20the\x20industry\x27s\x20templates);\x20'+'\x27diff\x27\x20=\x20compare\x20registered\x20vs\x20on-disk\x20manifest\x20version/layers\x20(name\x20required);\x20'+'\x27reset\x27\x20=\x20restore\x20a\x20file\x20or\x20entire\x20pack\x20folder\x20to\x20its\x20pristine\x20annotated\x20template\x20(path\x20required).\x20'+'\x27delete_file\x27\x20=\x20delete\x20a\x20file\x20or\x20directory\x20(path\x20required).\x20'+'\x27create_file\x27\x20=\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x20'+'\x27create_dir\x27\x20=\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x20'+'\x27copy\x27\x20=\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'\x27move\x27\x20/\x20\x27rename\x27\x20=\x20move\x20or\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'Mode\x20registry\x20(industry/scenario\x20configuration):\x20\x27recommend_industry\x27\x20=\x20business\x20intent\x20→\x20top-3\x20'+'similar\x20industries\x20+\x20reference\x20examples;\x20\x27list_modes\x27\x20=\x20builtin\x20+\x20custom\x20modes;\x20\x27derive_user_mode\x27\x20=\x20'+'derive\x20a\x20custom\x20mode\x20from\x20a\x20builtin;\x20\x27evolve_user_mode\x27\x20=\x20iterate\x20an\x20existing\x20custom\x20mode;\x20'+'\x27register_user_mode\x27\x20=\x20register\x20a\x20fully\x20custom\x20mode;\x20\x27unregister_user_mode\x27\x20=\x20delete\x20a\x20custom\x20mode;\x20'+'\x27register_custom_metric\x27\x20/\x20\x27register_custom_constraint\x27\x20=\x20register\x20global\x20evaluation\x20metric/constraint;\x20'+'\x27list_metrics_constraints\x27\x20=\x20list\x20metrics\x20+\x20constraints\x20(filterable).'),'name':z['string']()['optional']()['describe']('Industry\x20name\x20(lowercase\x20snake_case,\x20e.g.\x20\x27life_service\x27);\x20required\x20for\x20scaffold\x20and\x20get.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template'])['optional']()['describe']('Optional\x20single-layer\x20selector\x20for\x20action=\x27get\x27.\x20Non-template\x20values\x20return\x20ONLY\x20that\x20registered\x20'+'pack\x20layer\x20and\x20refuse\x20with\x20a\x20named\x20error\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20(stub\x20packs\x20carry\x20'+'only\x20mode/match).\x20\x27template\x27\x20reads\x20the\x20builtin\x20catalog:\x20with\x20\x27template\x27\x20set,\x20one\x20full\x20template\x20'+'projection;\x20without\x20it,\x20the\x20industry\x27s\x20template\x20summaries.'),'template':z['string']()['optional']()['describe']('Builtin\x20template\x20id\x20\x27<industry>/<variant>\x27\x20(e.g.\x20\x27rental/p2p-shortstay\x27);\x20used\x20with\x20'+'action=\x27get\x27\x20+\x20layer=\x27template\x27.'),'path':z['string']()['optional']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20read_file,\x20write_file,\x20reset,\x20create_file,\x20create_dir).'),'content':z['string']()['optional']()['describe']('Text\x20content\x20to\x20write\x20(required\x20for\x20write_file;\x20optional\x20for\x20create_file).'),'from':z['string']()['optional']()['describe']('Source\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'to':z['string']()['optional']()['describe']('Destination\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'authorize':z['boolean']()['optional']()['describe']('EXPLICIT\x20USER\x20AUTHORIZATION\x20(C5)\x20required\x20before\x20any\x20action\x20that\x20MODIFIES\x20a\x20user-editable\x20'+'template\x20file\x20(any\x20path\x20under\x20\x27<industry>/templates/\x27)\x20—\x20write_file\x20/\x20delete_file\x20/\x20reset\x20/\x20'+'move\x20/\x20rename\x20on\x20such\x20a\x20path,\x20copy\x20ONTO\x20an\x20existing\x20such\x20file,\x20and\x20every\x20'+'repair_builtin_templates\x20execution.\x20WITHOUT\x20this\x20flag\x20'+'the\x20action\x20refuses\x20(or\x20returns\x20a\x20plan-only\x20preview\x20for\x20repair_builtin_templates).\x20Set\x20it\x20ONLY\x20'+'after\x20the\x20user\x20has\x20explicitly\x20confirmed\x20the\x20specific\x20change\x20in\x20the\x20conversation.'),'include_user_edited':z['array'](z['string']()['min'](0x1))['max'](0x32)['optional']()['describe']('Builtin\x20template\x20ids\x20(\x27<industry>/<variant>\x27)\x20whose\x20USER-EDIT\x20PROTECTION\x20is\x20explicitly\x20lifted\x20'+'for\x20repair_builtin_templates\x20/\x20template_drift\x20(b9-2).\x20A\x20sentinel\x20whose\x20hash\x20no\x20longer\x20binds\x20'+'its\x20body\x20normally\x20locks\x20the\x20file\x20out\x20of\x20the\x20seed-upgrade\x20channel\x20(presumed\x20user\x20edit);\x20pass\x20'+'the\x20ids\x20the\x20user\x20EXPLICITLY\x20approved\x20for\x20reseed\x20after\x20reviewing\x20the\x20field-level\x20diff\x20—\x20e.g.\x20'+'machine-proven\x20provenance\x20rot\x20(stale\x20deployment\x20stamp\x20or\x20an\x20authorized\x20write\x20that\x20updated\x20'+'the\x20body\x20without\x20re-stamping).\x20The\x20list\x20IS\x20the\x20per-file\x20consent:\x20it\x20must\x20ride\x20BOTH\x20the\x20'+'plan-only\x20preview\x20and\x20the\x20authorize=true\x20execute\x20call.\x20Never\x20list\x20an\x20id\x20the\x20user\x20has\x20not\x20'+'personally\x20confirmed.'),...ModeRegistryFields})['strict']();export const IndustryPackOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('scaffold'),'ok':z['boolean']()['describe']('Whether\x20the\x20skeleton\x20was\x20created.'),'dir':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20pack\x20directory.'),'files':z['array'](z['string']())['describe']('Created\x20file\x20paths\x20(relative\x20to\x20dir).'),'errors':z['array'](z['string']())['describe']('Validation/creation\x20errors\x20(empty\x20=\x20ok).')}),z['object']({'action':z['literal']('list'),'packs':z['array'](z['object']({'name':z['string'](),'kind':z['enum'](['full','stub'])['describe']('\x27full\x27\x20=\x20a\x20real\x20pack\x20registering\x20at\x20least\x20one\x20business\x20layer\x20'+'(dispute/compliance/supply/rules/playbook);\x20\x27stub\x27\x20=\x20a\x20builtin-mode\x20alias\x20'+'carrying\x20only\x20mode/match\x20data\x20(its\x20missing\x20layers\x20are\x20named\x20by\x20`get`).'),'version':z['string'](),'layers':z['array'](z['string']()),'product_refs':z['array'](z['string']())['describe']('Reference\x20platforms\x20mirrored\x20by\x20the\x20pack\x27s\x20builtin\x20templates.'),'registered_at':z['number']()}))['describe']('Currently\x20registered\x20packs.')}),z['object']({'action':z['literal']('scan'),'results':z['array'](z['object']({'ok':z['boolean'](),'errors':z['array'](z['string']()),'registered':z['array'](z['string']())}))['describe']('One\x20registration\x20result\x20per\x20scanned\x20pack\x20directory.')}),z['object']({'action':z['literal']('repair_builtin_templates'),'dir':z['string'](),'reseeded_count':z['number']()['int']()['nonnegative'](),'requires_authorization':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20call\x20was\x20a\x20plan-only\x20PREVIEW\x20(no\x20writes).\x20Re-call\x20with\x20authorize=true\x20'+'after\x20the\x20user\x20explicitly\x20confirms\x20to\x20execute\x20the\x20reseed.'),'results':z['array'](z['object']({'template':z['string'](),'status':z['string'](),'path':z['string'](),'detail':z['string']()['optional']()})),'note':z['string']()}),z['object']({'action':z['literal']('template_drift'),'dir':z['string'](),'drift_count':z['number']()['int']()['nonnegative'](),'drift':z['array'](z['object']({'template':z['string'](),'path':z['string'](),'state':z['string'](),'detail':z['string']()})),'note':z['string']()}),z['object']({'action':z['literal']('resolve'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.')}),z['object']({'action':z['literal']('list_files'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.'),'files':z['array'](z['object']({'path':z['string']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root.'),'is_dir':z['boolean'](),'size':z['number']()['describe']('File\x20size\x20in\x20bytes\x20(0\x20for\x20directories).'),'mtime':z['number']()['describe']('Last-modified\x20time\x20(epoch\x20ms).')}))['describe']('Files\x20under\x20the\x20industry\x20root.')}),z['object']({'action':z['literal']('read_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20read\x20file.'),'content':z['string']()['describe']('File\x20content\x20(text).')}),z['object']({'action':z['literal']('write_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20written\x20file.'),'ok':z['boolean']()['describe']('Whether\x20the\x20file\x20was\x20written.'),'restamped':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20content\x20equaled\x20a\x20builtin\x20template\x27s\x20canonical\x20body\x20and\x20was\x20written\x20with\x20a\x20'+'fresh\x20release\x20stamp\x20(b9-2:\x20keeps\x20the\x20sentinel\x20hash\x20bound\x20so\x20the\x20seed-upgrade\x20channel\x20'+'stays\x20reachable).'),'note':z['string']()['optional']()['describe']('Human-readable\x20note\x20(set\x20when\x20restamped).')}),z['object']({'action':z['literal']('get'),'category':z['string']()['describe']('Industry\x20name.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template'])['optional']()['describe']('Echoes\x20the\x20requested\x20single-layer\x20selector\x20(absent\x20=\x20full\x20projection).'),'kind':z['enum'](['full','stub'])['optional']()['describe']('Registered\x20pack\x20completeness\x20(M-K14):\x20absent\x20when\x20the\x20pack\x20is\x20not\x20registered.'),'layers':z['array'](z['string']())['optional']()['describe']('Layers\x20the\x20registered\x20pack\x20declares\x20(absent\x20when\x20the\x20pack\x20is\x20not\x20registered).'),'missing_layers':z['array'](z['string']())['optional']()['describe']('Standard\x20business\x20layers\x20NOT\x20registered\x20for\x20this\x20pack\x20(stub\x20packs\x20list\x20'+'dispute/compliance/supply/rules/playbook\x20here)\x20—\x20data\x20was\x20not\x20silently\x20omitted.'),'note':z['string']()['optional']()['describe']('Named\x20explanation\x20for\x20missing\x20layers\x20or\x20template\x20listing\x20scope.'),'template':z['unknown']()['optional']()['describe']('Full\x20builtin\x20catalog\x20template\x20projection\x20(get\x20+\x20layer=\x27template\x27\x20with\x20a\x20template\x20id).'),'templates':z['array'](z['object']({'id':z['string']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27.'),'variant':z['string'](),'product_ref':z['string']()['describe']('Benchmark\x20product\x20this\x20archetype\x20models.'),'key_risk':z['string']()['describe']('Primary\x20risk\x20this\x20template\x20mitigates.')}))['optional']()['describe']('Template\x20summaries\x20for\x20the\x20industry\x20(get\x20+\x20layer=\x27template\x27\x20without\x20a\x20template\x20id).'),'mode':z['object']({'name':z['string']()['describe']('Mode\x20name.'),'display_name':z['string']()['describe']('Mode\x20display\x20name.'),'key_risk':z['string']()['describe']('The\x20industry\x27s\x20dominant\x20risk.'),'needs':z['array'](z['string']())['describe']('Industry\x20need\x20descriptions\x20(satisfaction\x20requires\x20the\x20evaluation\x20puzzle).'),'analyze_questions':z['array'](z['string']())['optional']()['describe']('Industry-embedded\x20Analyze\x20key\x20questions\x20(max\x202)\x20—\x20the\x20fallback\x20'+'follow-ups\x20when\x20the\x20user\x27s\x20persona\x20has\x20none\x20embedded.')})['optional']()['describe']('Registered\x20industry\x20MODE\x20data\x20(key_risk/needs/analyze\x20defaults),\x20if\x20any.'),'dispute':z['unknown']()['optional']()['describe']('Registered\x20dispute\x20rules\x20(if\x20any).'),'compliance':z['unknown']()['optional']()['describe']('Registered\x20compliance\x20rules\x20(if\x20any).'),'supply':z['unknown']()['optional']()['describe']('Registered\x20supply\x20rules\x20(if\x20any).'),'rules':z['unknown']()['optional']()['describe']('Registered\x20declarative\x20industry\x20rules\x20(if\x20any).'),'playbook':z['unknown']()['optional']()['describe']('Registered\x20playbook\x20(if\x20any).')}),z['object']({'action':z['literal']('diff'),'name':z['string']()['describe']('Industry\x20name.'),'registered':z['object']({'version':z['string'](),'layers':z['array'](z['string']()),'registered_at':z['number']()})['nullable']()['describe']('Currently\x20registered\x20metadata.'),'disk':z['object']({'version':z['string'](),'layers':z['array'](z['string']())})['nullable']()['describe']('On-disk\x20manifest\x20metadata.'),'upgradable':z['boolean']()['describe']('Whether\x20the\x20on-disk\x20version\x20differs\x20from\x20registered.'),'layer_diff':z['object']({'added':z['array'](z['string']()),'removed':z['array'](z['string']())})['describe']('Layer\x20difference\x20(disk\x20vs\x20registered).')}),z['object']({'action':z['literal']('reset'),'ok':z['boolean']()['describe']('Whether\x20reset\x20succeeded.'),'layout':z['enum'](['merged','legacy'])['describe']('Layout\x20format\x20that\x20was\x20restored:\x20\x27merged\x27\x20(single\x20pack.json\x20+\x20playbook.md)\x20or\x20\x27legacy\x27\x20(split\x20files).'),'target':z['string']()['describe']('Normalised\x20reset\x20target\x20path\x20(pack\x20name\x20or\x20file).'),'restored_files':z['array'](z['string']())['describe']('Files\x20that\x20were\x20restored\x20to\x20pristine\x20annotated\x20templates.'),'errors':z['array'](z['string']())['describe']('Errors\x20encountered\x20during\x20reset.')}),z['object']({'action':z['literal']('delete_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20deleted\x20file\x20or\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20file.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_dir'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('copy'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('move'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('rename'),'from':z['string']()['describe']('Absolute\x20old\x20path.'),'to':z['string']()['describe']('Absolute\x20new\x20path.'),'ok':z['boolean']()}),...[RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema]])})['strict']();
1
+ import{z}from'zod';import{MODE_REGISTRY_ACTIONS,ModeRegistryFields,RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema}from'./modes.js';export const IndustryPackOperationInputSchema=z['object']({'action':z['enum'](['scaffold','list','scan','repair_builtin_templates','template_drift','resolve','list_files','read_file','write_file','get','capability_list','capability_get','compose_probe','product_cards','product_card','diff','reset','delete_file','create_file','create_dir','copy','move','rename',...MODE_REGISTRY_ACTIONS])['describe']('Action:\x20\x27scaffold\x27\x20=\x20generate\x20a\x20pack\x20template\x20skeleton\x20(requires\x20name);\x20'+'\x27list\x27\x20=\x20list\x20registered\x20packs;\x20\x27scan\x27\x20=\x20scan\x20+\x20register\x20packs\x20under\x20the\x20default\x20directory;\x20'+'\x27template_drift\x27\x20=\x20REPORT\x20builtin\x20template\x20files\x20whose\x20on-disk\x20body\x20differs\x20from\x20the\x20in-code\x20catalog\x20'+'(classifies\x20no_sentinel_legacy\x20/\x20stale_release\x20/\x20user_modified);\x20run\x20it\x20FIRST\x20when\x20a\x20template\x20change\x20'+'\x27seems\x20to\x20have\x20no\x20effect.\x20'+'\x27repair_builtin_templates\x27\x20=\x20RESEED\x20those\x20legacy\x20files\x20from\x20the\x20in-code\x20catalog\x20'+'(identity-gated\x20on\x20a\x20known\x20builtin\x20id,\x20previous\x20body\x20kept\x20in\x20the\x20hidden\x20templates/.archive/\x20dir;\x20custom\x20templates\x20never\x20touched)'+'\x27resolve\x27\x20=\x20return\x20the\x20industry\x20root\x20directory;\x20\x27list_files\x27\x20=\x20list\x20files\x20under\x20the\x20industry\x20directory;\x20'+'\x27read_file\x27\x20=\x20read\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20required);\x20'+'\x27write_file\x27\x20=\x20write\x20content\x20to\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20+\x20content\x20required);\x20'+'\x27get\x27\x20=\x20return\x20registered\x20layer\x20data\x20for\x20an\x20industry\x20(name\x20required;\x20mode/dispute/compliance/supply/rules/playbook;\x20'+'an\x20optional\x20\x27layer\x27\x20selector\x20returns\x20ONE\x20layer\x20and\x20refuses\x20by\x20name\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20—\x20'+'layer=\x27template\x27\x20reads\x20the\x20builtin\x20catalog\x20template\x20data\x20instead\x20of\x20pack\x20layers,\x20with\x20\x27template\x27\x20id\x20'+'optional\x20to\x20list\x20the\x20industry\x27s\x20templates);\x20'+'\x27capability_list\x27\x20=\x20list\x20the\x20Capability\x20Lattice\x20registry\x20(composable\x20business\x20units;\x20optional\x20\x27group\x27\x20filter);\x20'+'\x27capability_get\x27\x20=\x20full\x20card\x20of\x20ONE\x20capability\x20id\x20(intent/binds/requires/excludes/risks/disclosures/cost/constraints);\x20'+'\x27compose_probe\x27\x20=\x20probe\x20whether\x20a\x20capability\x20selection\x20can\x20coexist\x20in\x20one\x20build\x20—\x20static\x20lattice\x20check\x20+\x20optional\x20base-template\x20compile\x20baseline\x20(capabilities[]\x20required;\x20optional\x20\x27template\x27\x20as\x20the\x20base\x20build);\x20'+'\x27product_cards\x27\x20=\x20FRONT-stage\x20ProductCard\x20summaries\x20for\x20the\x20catalog\x20or\x20one\x20industry\x20(optional\x20\x27name\x27);\x20'+'\x27product_card\x27\x20=\x20the\x20full\x20ProductCard\x20of\x20ONE\x20builtin\x20template\x20(template\x20id\x20required)\x20—\x20alignment/features/cost/params/risks,\x20every\x20assertion\x20projected\x20from\x20declared\x20data;\x20'+'\x27diff\x27\x20=\x20compare\x20registered\x20vs\x20on-disk\x20manifest\x20version/layers\x20(name\x20required);\x20'+'\x27reset\x27\x20=\x20restore\x20a\x20file\x20or\x20entire\x20pack\x20folder\x20to\x20its\x20pristine\x20annotated\x20template\x20(path\x20required).\x20'+'\x27delete_file\x27\x20=\x20delete\x20a\x20file\x20or\x20directory\x20(path\x20required).\x20'+'\x27create_file\x27\x20=\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x20'+'\x27create_dir\x27\x20=\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x20'+'\x27copy\x27\x20=\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'\x27move\x27\x20/\x20\x27rename\x27\x20=\x20move\x20or\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'Mode\x20registry\x20(industry/scenario\x20configuration):\x20\x27recommend_industry\x27\x20=\x20business\x20intent\x20→\x20top-3\x20'+'similar\x20industries\x20+\x20reference\x20examples;\x20\x27list_modes\x27\x20=\x20builtin\x20+\x20custom\x20modes;\x20\x27derive_user_mode\x27\x20=\x20'+'derive\x20a\x20custom\x20mode\x20from\x20a\x20builtin;\x20\x27evolve_user_mode\x27\x20=\x20iterate\x20an\x20existing\x20custom\x20mode;\x20'+'\x27register_user_mode\x27\x20=\x20register\x20a\x20fully\x20custom\x20mode;\x20\x27unregister_user_mode\x27\x20=\x20delete\x20a\x20custom\x20mode;\x20'+'\x27register_custom_metric\x27\x20/\x20\x27register_custom_constraint\x27\x20=\x20register\x20global\x20evaluation\x20metric/constraint;\x20'+'\x27list_metrics_constraints\x27\x20=\x20list\x20metrics\x20+\x20constraints\x20(filterable).'),'name':z['string']()['optional']()['describe']('Industry\x20name\x20(lowercase\x20snake_case,\x20e.g.\x20\x27life_service\x27);\x20required\x20for\x20scaffold\x20and\x20get.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template','params','components'])['optional']()['describe']('Optional\x20single-layer\x20selector\x20for\x20action=\x27get\x27.\x20Non-template\x20values\x20return\x20ONLY\x20that\x20registered\x20'+'pack\x20layer\x20and\x20refuse\x20with\x20a\x20named\x20error\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20(stub\x20packs\x20carry\x20'+'only\x20mode/match).\x20\x27template\x27\x20reads\x20the\x20builtin\x20catalog:\x20with\x20\x27template\x27\x20set,\x20one\x20full\x20template\x20'+'projection;\x20without\x20it,\x20the\x20industry\x27s\x20template\x20summaries.\x20\x27params\x27\x20is\x20the\x20merchant-facing\x20'+'settings\x20surface:\x20with\x20\x27template\x27\x20set,\x20every\x20declared\x20parameter\x20of\x20that\x20template\x20in\x20business\x20'+'order\x20(meaning,\x20unit,\x20default,\x20accepted\x20values,\x20proven\x20status,\x20landing,\x20editable);\x20without\x20a\x20'+'template\x20id\x20it\x20requires\x20\x27query\x27\x20and\x20searches\x20the\x20catalog\x20for\x20the\x20business\x20facet.\x20\x27components\x27\x20'+'is\x20the\x20companion\x20object\x20surface:\x20every\x20Service/Sale/allocator/allocation/machine/guard/'+'repository\x20component\x20with\x20what\x20it\x20is,\x20HOW\x20to\x20configure\x20it\x20(surface\x20+\x20field\x20path)\x20and\x20WHEN,\x20'+'the\x20effect\x20once\x20it\x20takes\x20effect,\x20and\x20the\x20objects\x20it\x20is\x20bound\x20to\x20—\x20a\x20component\x20that\x20cannot\x20be\x20'+'configured\x20states\x20why\x20(e.g.\x20a\x20money\x20split\x20hard-coded\x20in\x20the\x20template\x20body).'),'query':z['string']()['optional']()['describe']('Free-text\x20business\x20phrase\x20(e.g.\x20\x27settlement\x20window\x27,\x20\x27take\x20rate\x27,\x20\x27cancel\x20fee\x27,\x20\x27allocator\x20'+'split\x27,\x20\x27repository\x20policy\x27)\x20used\x20with\x20action=\x27get\x27\x20+\x20layer=\x27params\x27\x20or\x20layer=\x27components\x27\x20to\x20'+'RANK\x20that\x20plane.\x20A\x20phrase\x20that\x20names\x20nothing\x20returns\x20an\x20empty\x20match\x20list\x20—\x20never\x20the\x20'+'least-bad\x20row.'),'template':z['string']()['optional']()['describe']('Builtin\x20template\x20id\x20\x27<industry>/<variant>\x27\x20(e.g.\x20\x27rental/p2p-shortstay\x27);\x20used\x20with\x20'+'action=\x27get\x27\x20+\x20layer=\x27template\x27\x20/\x20\x27params\x27\x20/\x20\x27components\x27,\x20and\x20with\x20action=\x27compose_probe\x27\x20'+'as\x20the\x20base\x20build\x20the\x20capability\x20selection\x20is\x20probed\x20against.'),'capabilities':z['array'](z['string']()['min'](0x1))['max'](0xc)['optional']()['describe']('Capability\x20ids\x20(from\x20capability_list)\x20—\x20required\x20for\x20action=\x27compose_probe\x27\x20'+'(the\x20selection\x20to\x20probe;\x201..12\x20ids),\x20echoed\x20by\x20capability_get.'),'group':z['string']()['optional']()['describe']('Capability\x20group\x20filter\x20for\x20action=\x27capability_list\x27:\x20fund_safety\x20/\x20trust_evidence\x20/\x20'+'fulfillment\x20/\x20promotion\x20/\x20governance\x20/\x20composition.'),'path':z['string']()['optional']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20read_file,\x20write_file,\x20reset,\x20create_file,\x20create_dir).'),'content':z['string']()['optional']()['describe']('Text\x20content\x20to\x20write\x20(required\x20for\x20write_file;\x20optional\x20for\x20create_file).'),'from':z['string']()['optional']()['describe']('Source\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'to':z['string']()['optional']()['describe']('Destination\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'authorize':z['boolean']()['optional']()['describe']('EXPLICIT\x20USER\x20AUTHORIZATION\x20(C5)\x20required\x20before\x20any\x20action\x20that\x20MODIFIES\x20a\x20user-editable\x20'+'template\x20file\x20(any\x20path\x20under\x20\x27<industry>/templates/\x27)\x20—\x20write_file\x20/\x20delete_file\x20/\x20reset\x20/\x20'+'move\x20/\x20rename\x20on\x20such\x20a\x20path,\x20copy\x20ONTO\x20an\x20existing\x20such\x20file,\x20and\x20every\x20'+'repair_builtin_templates\x20execution.\x20WITHOUT\x20this\x20flag\x20'+'the\x20action\x20refuses\x20(or\x20returns\x20a\x20plan-only\x20preview\x20for\x20repair_builtin_templates).\x20Set\x20it\x20ONLY\x20'+'after\x20the\x20user\x20has\x20explicitly\x20confirmed\x20the\x20specific\x20change\x20in\x20the\x20conversation.'),'include_user_edited':z['array'](z['string']()['min'](0x1))['max'](0x32)['optional']()['describe']('Builtin\x20template\x20ids\x20(\x27<industry>/<variant>\x27)\x20whose\x20USER-EDIT\x20PROTECTION\x20is\x20explicitly\x20lifted\x20'+'for\x20repair_builtin_templates\x20/\x20template_drift\x20(b9-2).\x20A\x20sentinel\x20whose\x20hash\x20no\x20longer\x20binds\x20'+'its\x20body\x20normally\x20locks\x20the\x20file\x20out\x20of\x20the\x20seed-upgrade\x20channel\x20(presumed\x20user\x20edit);\x20pass\x20'+'the\x20ids\x20the\x20user\x20EXPLICITLY\x20approved\x20for\x20reseed\x20after\x20reviewing\x20the\x20field-level\x20diff\x20—\x20e.g.\x20'+'machine-proven\x20provenance\x20rot\x20(stale\x20deployment\x20stamp\x20or\x20an\x20authorized\x20write\x20that\x20updated\x20'+'the\x20body\x20without\x20re-stamping).\x20The\x20list\x20IS\x20the\x20per-file\x20consent:\x20it\x20must\x20ride\x20BOTH\x20the\x20'+'plan-only\x20preview\x20and\x20the\x20authorize=true\x20execute\x20call.\x20Never\x20list\x20an\x20id\x20the\x20user\x20has\x20not\x20'+'personally\x20confirmed.'),...ModeRegistryFields})['strict']();export const IndustryPackOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('scaffold'),'ok':z['boolean']()['describe']('Whether\x20the\x20skeleton\x20was\x20created.'),'dir':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20pack\x20directory.'),'files':z['array'](z['string']())['describe']('Created\x20file\x20paths\x20(relative\x20to\x20dir).'),'errors':z['array'](z['string']())['describe']('Validation/creation\x20errors\x20(empty\x20=\x20ok).')}),z['object']({'action':z['literal']('list'),'packs':z['array'](z['object']({'name':z['string'](),'kind':z['enum'](['full','stub'])['describe']('\x27full\x27\x20=\x20a\x20real\x20pack\x20registering\x20at\x20least\x20one\x20business\x20layer\x20'+'(dispute/compliance/supply/rules/playbook);\x20\x27stub\x27\x20=\x20a\x20builtin-mode\x20alias\x20'+'carrying\x20only\x20mode/match\x20data\x20(its\x20missing\x20layers\x20are\x20named\x20by\x20`get`).'),'version':z['string'](),'layers':z['array'](z['string']()),'product_refs':z['array'](z['string']())['describe']('Reference\x20platforms\x20mirrored\x20by\x20the\x20pack\x27s\x20builtin\x20templates.'),'registered_at':z['number']()}))['describe']('Currently\x20registered\x20packs.')}),z['object']({'action':z['literal']('scan'),'results':z['array'](z['object']({'ok':z['boolean'](),'errors':z['array'](z['string']()),'registered':z['array'](z['string']())}))['describe']('One\x20registration\x20result\x20per\x20scanned\x20pack\x20directory.')}),z['object']({'action':z['literal']('repair_builtin_templates'),'dir':z['string'](),'reseeded_count':z['number']()['int']()['nonnegative'](),'requires_authorization':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20call\x20was\x20a\x20plan-only\x20PREVIEW\x20(no\x20writes).\x20Re-call\x20with\x20authorize=true\x20'+'after\x20the\x20user\x20explicitly\x20confirms\x20to\x20execute\x20the\x20reseed.'),'results':z['array'](z['object']({'template':z['string'](),'status':z['string'](),'path':z['string'](),'detail':z['string']()['optional']()})),'note':z['string']()}),z['object']({'action':z['literal']('template_drift'),'dir':z['string'](),'drift_count':z['number']()['int']()['nonnegative'](),'drift':z['array'](z['object']({'template':z['string'](),'path':z['string'](),'state':z['string'](),'detail':z['string']()})),'note':z['string']()}),z['object']({'action':z['literal']('resolve'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.')}),z['object']({'action':z['literal']('list_files'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.'),'files':z['array'](z['object']({'path':z['string']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root.'),'is_dir':z['boolean'](),'size':z['number']()['describe']('File\x20size\x20in\x20bytes\x20(0\x20for\x20directories).'),'mtime':z['number']()['describe']('Last-modified\x20time\x20(epoch\x20ms).')}))['describe']('Files\x20under\x20the\x20industry\x20root.')}),z['object']({'action':z['literal']('read_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20read\x20file.'),'content':z['string']()['describe']('File\x20content\x20(text).')}),z['object']({'action':z['literal']('write_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20written\x20file.'),'ok':z['boolean']()['describe']('Whether\x20the\x20file\x20was\x20written.'),'restamped':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20content\x20equaled\x20a\x20builtin\x20template\x27s\x20canonical\x20body\x20and\x20was\x20written\x20with\x20a\x20'+'fresh\x20release\x20stamp\x20(b9-2:\x20keeps\x20the\x20sentinel\x20hash\x20bound\x20so\x20the\x20seed-upgrade\x20channel\x20'+'stays\x20reachable).'),'note':z['string']()['optional']()['describe']('Human-readable\x20note\x20(set\x20when\x20restamped).')}),z['object']({'action':z['literal']('get'),'category':z['string']()['describe']('Industry\x20name.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template','params','components'])['optional']()['describe']('Echoes\x20the\x20requested\x20single-layer\x20selector\x20(absent\x20=\x20full\x20projection).'),'kind':z['enum'](['full','stub'])['optional']()['describe']('Registered\x20pack\x20completeness\x20(M-K14):\x20absent\x20when\x20the\x20pack\x20is\x20not\x20registered.'),'layers':z['array'](z['string']())['optional']()['describe']('Layers\x20the\x20registered\x20pack\x20declares\x20(absent\x20when\x20the\x20pack\x20is\x20not\x20registered).'),'missing_layers':z['array'](z['string']())['optional']()['describe']('Standard\x20business\x20layers\x20NOT\x20registered\x20for\x20this\x20pack\x20(stub\x20packs\x20list\x20'+'dispute/compliance/supply/rules/playbook\x20here)\x20—\x20data\x20was\x20not\x20silently\x20omitted.'),'note':z['string']()['optional']()['describe']('Named\x20explanation\x20for\x20missing\x20layers\x20or\x20template\x20listing\x20scope.'),'template':z['unknown']()['optional']()['describe']('Full\x20builtin\x20catalog\x20template\x20projection\x20(get\x20+\x20layer=\x27template\x27\x20with\x20a\x20template\x20id).'),'templates':z['array'](z['object']({'id':z['string']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27.'),'variant':z['string'](),'product_ref':z['string']()['describe']('Benchmark\x20product\x20this\x20archetype\x20models.'),'key_risk':z['string']()['describe']('Primary\x20risk\x20this\x20template\x20mitigates.')}))['optional']()['describe']('Template\x20summaries\x20for\x20the\x20industry\x20(get\x20+\x20layer=\x27template\x27\x20without\x20a\x20template\x20id).'),'mode':z['object']({'name':z['string']()['describe']('Mode\x20name.'),'display_name':z['string']()['describe']('Mode\x20display\x20name.'),'key_risk':z['string']()['describe']('The\x20industry\x27s\x20dominant\x20risk.'),'needs':z['array'](z['string']())['describe']('Industry\x20need\x20descriptions\x20(satisfaction\x20requires\x20the\x20evaluation\x20puzzle).'),'analyze_questions':z['array'](z['string']())['optional']()['describe']('Industry-embedded\x20Analyze\x20key\x20questions\x20(max\x202)\x20—\x20the\x20fallback\x20'+'follow-ups\x20when\x20the\x20user\x27s\x20persona\x20has\x20none\x20embedded.')})['optional']()['describe']('Registered\x20industry\x20MODE\x20data\x20(key_risk/needs/analyze\x20defaults),\x20if\x20any.'),'query':z['string']()['optional']()['describe']('Echoes\x20the\x20\x27query\x27\x20used\x20to\x20rank\x20parameters.'),'param_summary':z['object']({'total':z['number']()['describe']('Declared\x20parameters\x20of\x20this\x20template.'),'editable':z['number']()['describe']('Parameters\x20the\x20front\x20stage\x20may\x20render\x20as\x20an\x20editable\x20control.'),'live':z['number']()['describe']('Parameters\x20proven\x20to\x20change\x20the\x20compiled\x20plan.'),'inert':z['number']()['describe']('Parameters\x20that\x20compile\x20to\x20the\x20same\x20plan\x20(shown,\x20not\x20offered).'),'not_flippable':z['number']()['describe']('Parameters\x20with\x20no\x20numeric\x20probe\x20(free-text).'),'hidden':z['number']()['describe']('Prose\x20directives:\x20listed\x20for\x20completeness,\x20never\x20offered.'),'undescribed':z['number']()['describe']('Rows\x20whose\x20meaning\x20is\x20not\x20curated\x20yet\x20(honest\x20fallback).')})['optional']()['describe']('Counts\x20over\x20the\x20returned\x20param\x20plane\x20(absent\x20unless\x20layer=\x27params\x27).'),'params':z['array'](z['record'](z['string'](),z['unknown']()))['optional']()['describe']('Full\x20param\x20plane\x20in\x20business\x20order:\x20key,\x20tier/tier_name,\x20tags,\x20kind\x20'+'(money/ratio/duration/count/enum/flag/text/list),\x20unit/unit_hint,\x20meaning,\x20'+'bounds\x20(enterable\x20range:\x20rates\x200..10000,\x20amounts/counts\x20non-negative),\x20default,\x20'+'allowed\x20values\x20(enums),\x20disclosure,\x20selector,\x20status,\x20effect,\x20landing,\x20landing_line,\x20'+'editable,\x20inert_reason\x20(why\x20a\x20row\x20cannot\x20be\x20set).'),'param_matches':z['array'](z['record'](z['string'](),z['unknown']()))['optional']()['describe']('Ranked\x20parameter\x20hits\x20for\x20\x27query\x27\x20—\x20each\x20carries\x20score\x20+\x20explainable\x20reasons\x20'+'(key\x20/\x20key-word\x20/\x20tag\x20/\x20alias\x20/\x20meaning\x20/\x20facet).\x20Empty\x20means\x20the\x20phrase\x20names\x20no\x20setting.\x20'+'A\x20query\x20made\x20only\x20of\x20tag\x20names\x20(\x27pricing\x27,\x20\x27risk\x27)\x20is\x20a\x20facet\x20request:\x20it\x20returns\x20that\x20'+'slice\x20in\x20tier\x20order.'),'component_summary':z['object']({'total':z['number']()['describe']('Components\x20on\x20the\x20plane\x20for\x20this\x20template.'),'configurable':z['number']()['describe']('Components\x20the\x20merchant\x20can\x20configure.'),'fixed':z['number']()['describe']('Components\x20that\x20cannot\x20be\x20configured\x20(each\x20carries\x20why_not).'),'hardcoded_splits':z['number']()['describe']('Allocator\x20rows\x20whose\x20money\x20split\x20is\x20a\x20genuine\x20literal\x20in\x20the\x20template\x20body\x20(rail/unset/surplus\x20rows\x20excluded\x20—\x20they\x20are\x20not\x20splits).'),'structural_rails':z['number']()['describe']('Allocator\x20rows\x20that\x20pay\x20the\x20entire\x20escrow\x20(100%):\x20the\x20payout\x20rail\x20itself,\x20not\x20a\x20rate.'),'unset_legs':z['number']()['describe']('Allocator\x20rows\x20at\x200\x20bps:\x20declared\x20placeholder\x20legs\x20(usually\x20the\x20order-side\x20residual\x20of\x20a\x20two-leg\x20group).'),'surplus_rows':z['number']()['describe']('Allocator\x20rows\x20whose\x20size\x20is\x20the\x20remainder\x20of\x20the\x20other\x20rows.'),'by_family':z['record'](z['string'](),z['number']())['describe']('Component\x20counts\x20by\x20family\x20(service/sales/allocator/allocation/machine/guard/repository/reward/arbitration/permission/treasury).')})['optional']()['describe']('Counts\x20over\x20the\x20returned\x20component\x20plane\x20(absent\x20unless\x20layer=\x27components\x27).'),'components':z['array'](z['record'](z['string'](),z['unknown']()))['optional']()['describe']('Full\x20component\x20plane:\x20id,\x20family,\x20what\x20(business\x20meaning),\x20how\x20(surface:\x20create\x20/\x20pre-publish\x20/\x20'+'append-only\x20/\x20post-publish\x20/\x20immutable,\x20and\x20via:\x20the\x20MCP\x20field\x20path),\x20effect\x20(what\x20changes\x20on\x20'+'chain\x20once\x20it\x20takes\x20effect),\x20related\x20(bound\x20objects\x20/\x20guard\x20/\x20fee_param\x20/\x20node),\x20configurable,\x20'+'freeze\x20(allocator\x20rows\x20only:\x20rail\x20=\x20full-escrow\x20payout\x20rail,\x20unset\x20=\x200\x20bps\x20placeholder\x20leg,\x20'+'split\x20=\x20genuine\x20split\x20frozen\x20in\x20the\x20template\x20body,\x20surplus\x20=\x20remainder\x20row),\x20why_not\x20(present\x20'+'on\x20every\x20non-configurable\x20component).'),'component_matches':z['array'](z['record'](z['string'](),z['unknown']()))['optional']()['describe']('Ranked\x20component\x20hits\x20for\x20\x27query\x27\x20(per-template),\x20each\x20headed\x20by\x20its\x20template\x20id.\x20Empty\x20means\x20the\x20'+'phrase\x20names\x20no\x20component\x20—\x20nothing\x20is\x20guessed.'),'dispute':z['unknown']()['optional']()['describe']('Registered\x20dispute\x20rules\x20(if\x20any).'),'compliance':z['unknown']()['optional']()['describe']('Registered\x20compliance\x20rules\x20(if\x20any).'),'supply':z['unknown']()['optional']()['describe']('Registered\x20supply\x20rules\x20(if\x20any).'),'rules':z['unknown']()['optional']()['describe']('Registered\x20declarative\x20industry\x20rules\x20(if\x20any).'),'playbook':z['unknown']()['optional']()['describe']('Registered\x20playbook\x20(if\x20any).')}),z['object']({'action':z['literal']('capability_list'),'total':z['number']()['describe']('Capabilities\x20in\x20the\x20filtered\x20registry\x20view.'),'capabilities':z['array'](z['object']({'id':z['string'](),'name':z['string'](),'group':z['string'](),'description':z['string'](),'source':z['string']()['describe']('\x27core\x27\x20=\x20the\x2018\x20former\x20business\x20modules;\x20\x27composition\x27\x20=\x20cross-object\x20composition\x20seeds.'),'requires':z['array'](z['string']())['describe']('Capability\x20ids\x20that\x20must\x20be\x20adopted\x20together.'),'excludes':z['array'](z['string']())['describe']('Capability\x20ids\x20that\x20cannot\x20coexist\x20in\x20one\x20selection.'),'provides':z['array'](z['string']())['describe']('WorkflowCapabilities\x20bits\x20the\x20selection\x20can\x20claim.'),'requires_keeper':z['boolean']()}))['describe']('Registry\x20view\x20in\x20registry\x20order.')}),z['object']({'action':z['literal']('capability_get'),'capability':z['unknown']()['describe']('Full\x20capability\x20card:\x20identity,\x20group,\x20intent\x20(guard\x20design\x20pattern\x20ids\x20—\x20the\x20backend\x20truth),\x20'+'binds,\x20requires/excludes\x20(lattice\x20edges),\x20provides,\x20params,\x20risks,\x20disclosures,\x20cost,\x20'+'requiredConstraints,\x20evaluationImpact,\x20industryFit,\x20intentSignal\x20vocabulary\x20is\x20internal,\x20'+'userProtections,\x20merchantObligations,\x20keeper\x20duty.')}),z['object']({'action':z['literal']('compose_probe'),'capabilities':z['array'](z['string']())['describe']('The\x20probed\x20selection\x20(deduplicated).'),'feasible':z['boolean']()['describe']('true\x20=\x20no\x20lattice\x20or\x20compile\x20blocker.\x20Every\x20false\x20is\x20backed\x20by\x20named\x20blockers.'),'blockers':z['array'](z['object']({'code':z['string']()['describe']('COMPOSE-UNKNOWN-CAPABILITY\x20/\x20COMPOSE-REQUIRES-MISSING\x20/\x20COMPOSE-EXCLUDES-CONFLICT\x20/\x20COMPOSE-BASE-TEMPLATE-UNKNOWN\x20or\x20a\x20compile/audit\x20code.'),'detail':z['string']()}))['describe']('Named\x20findings\x20—\x20the\x20probe\x20measures,\x20it\x20never\x20guesses.'),'risks':z['array'](z['string']())['describe']('Aggregated\x20risk\x20notes\x20of\x20the\x20selection.'),'disclosures':z['array'](z['string']())['describe']('Aggregated\x20disclosure\x20obligations\x20of\x20the\x20selection.'),'cost_delta':z['object']({'gas_objects':z['number']()['describe']('Estimated\x20extra\x20on-chain\x20objects\x20beyond\x20the\x20base\x20build.'),'funds':z['array'](z['string']())['describe']('Pools\x20the\x20merchant\x20must\x20fill\x20(e.g.\x20compensation_fund).')})['describe']('Structural\x20cost\x20delta\x20of\x20the\x20selection.'),'provides':z['array'](z['string']())['describe']('WorkflowCapabilities\x20bits\x20the\x20selection\x20can\x20jointly\x20claim.'),'plan_steps':z['number']()['optional']()['describe']('Compiled\x20plan\x20step\x20count\x20of\x20the\x20base\x20template\x20(absent\x20without\x20\x27template\x27).'),'audit_score':z['number']()['optional']()['describe']('100\x20when\x20the\x20base\x20template\x20compiles\x20+\x20refluxes\x20clean,\x20else\x200\x20(absent\x20without\x20\x27template\x27).'),'templates_version':z['number']()['describe']('Template\x20catalog\x20sentinel\x20the\x20probe\x20ran\x20against.')}),z['object']({'action':z['literal']('product_cards'),'industry':z['string']()['describe']('Industry\x20filter\x20echoed\x20(\x27all\x27\x20when\x20absent).'),'total':z['number']()['describe']('Card\x20summaries\x20returned.'),'cards':z['array'](z['object']({'template_id':z['string'](),'industry':z['string'](),'product_ref':z['string']()['describe']('Benchmark\x20slug\x20(the\x20only\x20sanctioned\x20company\x20reference).'),'archetype':z['string'](),'one_liner':z['string']()['describe']('Mechanically\x20composed\x20from\x20declared\x20counts\x20—\x20no\x20invention.'),'cost_headline':z['object']({'platform_fee_bps':z['number'](),'gas_objects_estimate':z['number']()['describe']('Machine\x20nodes\x20+\x20guard\x20refs,\x20pre-compile\x20basis.'),'compensation_fund':z['enum'](['allowed','forbidden'])}),'params':z['object']({'total':z['number'](),'editable':z['number']()}),'templates_version':z['number']()}))['describe']('FRONT-stage\x20card\x20summaries\x20(full\x20rows\x20via\x20layer=\x27params\x27;\x20compiled\x20verdict\x20via\x20compose_probe).')}),z['object']({'action':z['literal']('product_card'),'alignment':z['object']({'template_id':z['string'](),'industry':z['string'](),'variant':z['string'](),'product_ref':z['string'](),'archetype':z['string'](),'phase':z['number'](),'one_liner':z['string'](),'evidence':z['array'](z['object']({'source':z['string'](),'detail':z['string']()}))['describe']('Every\x20card\x20assertion\x20is\x20anchored\x20—\x20no\x20anchor,\x20no\x20assertion.')})['describe']('WHO\x20this\x20product\x20aligns\x20with.'),'features':z['object']({'flow':z['array'](z['string']())['describe']('machine_shape\x20projected\x20as\x20merchant-view\x20steps.'),'fund_speed':z['unknown']()['describe']('Declared\x20settlement\x20clock\x20(settle_hours\x20/\x20auto_confirm_hours)\x20or\x20null.'),'model':z['array'](z['string']())['describe']('trust_mechanisms\x20verbatim.'),'vs_traditional':z['array'](z['object']({'dimension':z['string'](),'wowok':z['string']()['describe']('WoWok-side\x20figure\x20computed\x20from\x20declared\x20params.'),'traditional':z['null']()['describe']('ALWAYS\x20null\x20here\x20—\x20the\x20incumbent\x20figure\x20is\x20the\x20skill\x20layer\x27s\x20narrative\x20job;\x20the\x20card\x20never\x20invents\x20one.'),'wowok_evidence':z['array'](z['string']())}))['describe']('Take-rate\x20comparisons\x20the\x20template\x27s\x20declared\x20keys\x20can\x20back.')})['describe']('WHAT\x20the\x20product\x20does\x20and\x20how\x20it\x20compares.'),'cost':z['object']({'platform_fee':z['object']({'bps':z['number'](),'cap_bps':z['unknown'](),'self_platform':z['string'](),'evidence':z['array'](z['unknown']())}),'gas_objects_estimate':z['object']({'value':z['number'](),'basis':z['string']()}),'compensation_fund':z['object']({'policy':z['enum'](['allowed','forbidden']),'note':z['string']()}),'keeper_dependencies':z['array'](z['string']())})['describe']('WHAT\x20it\x20costs\x20to\x20run.'),'params':z['object']({'total':z['number'](),'editable':z['number'](),'live':z['number'](),'groups':z['array'](z['object']({'group':z['string'](),'tier':z['number'](),'count':z['number']()}))['describe']('Business-order\x20groups,\x20tier\x20ascending\x20(1\x20=\x20money\x20&\x20admission).'),'full_rows_via':z['string']()['describe']('Pointer\x20to\x20the\x20full\x20row\x20surface\x20(never\x20duplicated\x20here).')})['describe']('WHAT\x20the\x20merchant\x20can\x20set\x20(summary;\x20full\x20rows\x20via\x20layer=\x27params\x27).'),'risks':z['object']({'key_risk':z['string'](),'differences':z['array'](z['string']()),'user_inputs':z['array'](z['string']()),'capability_risks':z['array'](z['string']())['describe']('Empty\x20until\x20the\x20Binding\x20Table\x20lands\x20(M2+)\x20—\x20never\x20faked.'),'capability_risks_note':z['string']()})['describe']('WHAT\x20can\x20go\x20wrong\x20(template-declared\x20only).'),'templates_version':z['number']()}),z['object']({'action':z['literal']('diff'),'name':z['string']()['describe']('Industry\x20name.'),'registered':z['object']({'version':z['string'](),'layers':z['array'](z['string']()),'registered_at':z['number']()})['nullable']()['describe']('Currently\x20registered\x20metadata.'),'disk':z['object']({'version':z['string'](),'layers':z['array'](z['string']())})['nullable']()['describe']('On-disk\x20manifest\x20metadata.'),'upgradable':z['boolean']()['describe']('Whether\x20the\x20on-disk\x20version\x20differs\x20from\x20registered.'),'layer_diff':z['object']({'added':z['array'](z['string']()),'removed':z['array'](z['string']())})['describe']('Layer\x20difference\x20(disk\x20vs\x20registered).')}),z['object']({'action':z['literal']('reset'),'ok':z['boolean']()['describe']('Whether\x20reset\x20succeeded.'),'layout':z['enum'](['merged','legacy'])['describe']('Layout\x20format\x20that\x20was\x20restored:\x20\x27merged\x27\x20(single\x20pack.json\x20+\x20playbook.md)\x20or\x20\x27legacy\x27\x20(split\x20files).'),'target':z['string']()['describe']('Normalised\x20reset\x20target\x20path\x20(pack\x20name\x20or\x20file).'),'restored_files':z['array'](z['string']())['describe']('Files\x20that\x20were\x20restored\x20to\x20pristine\x20annotated\x20templates.'),'errors':z['array'](z['string']())['describe']('Errors\x20encountered\x20during\x20reset.')}),z['object']({'action':z['literal']('delete_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20deleted\x20file\x20or\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20file.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_dir'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('copy'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('move'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('rename'),'from':z['string']()['describe']('Absolute\x20old\x20path.'),'to':z['string']()['describe']('Absolute\x20new\x20path.'),'ok':z['boolean']()}),...[RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema]])})['strict']();
@@ -187,8 +187,8 @@ export declare const RecommendIndustryResultSchema: z.ZodObject<{
187
187
  ir_industry_match: z.ZodOptional<z.ZodBoolean>;
188
188
  requirement_support: z.ZodOptional<z.ZodNumber>;
189
189
  location_sensitivity: z.ZodEnum<{
190
- strict: "strict";
191
190
  logistics: "logistics";
191
+ strict: "strict";
192
192
  near: "near";
193
193
  }>;
194
194
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -222,8 +222,8 @@ export declare const ListModesResultSchema: z.ZodObject<{
222
222
  key_risk: z.ZodString;
223
223
  machine_nodes: z.ZodArray<z.ZodString>;
224
224
  location_sensitivity: z.ZodEnum<{
225
- strict: "strict";
226
225
  logistics: "logistics";
226
+ strict: "strict";
227
227
  near: "near";
228
228
  }>;
229
229
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -244,8 +244,8 @@ export declare const ListModesResultSchema: z.ZodObject<{
244
244
  key_risk: z.ZodString;
245
245
  machine_nodes: z.ZodArray<z.ZodString>;
246
246
  location_sensitivity: z.ZodEnum<{
247
- strict: "strict";
248
247
  logistics: "logistics";
248
+ strict: "strict";
249
249
  near: "near";
250
250
  }>;
251
251
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -271,8 +271,8 @@ export declare const DeriveUserModeResultSchema: z.ZodObject<{
271
271
  key_risk: z.ZodString;
272
272
  machine_nodes: z.ZodArray<z.ZodString>;
273
273
  location_sensitivity: z.ZodEnum<{
274
- strict: "strict";
275
274
  logistics: "logistics";
275
+ strict: "strict";
276
276
  near: "near";
277
277
  }>;
278
278
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -297,8 +297,8 @@ export declare const EvolveUserModeResultSchema: z.ZodObject<{
297
297
  key_risk: z.ZodString;
298
298
  machine_nodes: z.ZodArray<z.ZodString>;
299
299
  location_sensitivity: z.ZodEnum<{
300
- strict: "strict";
301
300
  logistics: "logistics";
301
+ strict: "strict";
302
302
  near: "near";
303
303
  }>;
304
304
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -323,8 +323,8 @@ export declare const RegisterUserModeResultSchema: z.ZodObject<{
323
323
  key_risk: z.ZodString;
324
324
  machine_nodes: z.ZodArray<z.ZodString>;
325
325
  location_sensitivity: z.ZodEnum<{
326
- strict: "strict";
327
326
  logistics: "logistics";
327
+ strict: "strict";
328
328
  near: "near";
329
329
  }>;
330
330
  trust_selling_points: z.ZodArray<z.ZodString>;
@@ -382,6 +382,30 @@ export declare const KeeperOperationOutputSchema: z.ZodObject<{
382
382
  top_risks: z.ZodArray<z.ZodString>;
383
383
  stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
384
384
  }, z.core.$strip>>;
385
+ blueprint_verdict: z.ZodOptional<z.ZodObject<{
386
+ host: z.ZodString;
387
+ status: z.ZodEnum<{
388
+ blocked: "blocked";
389
+ proceed_with_warnings: "proceed_with_warnings";
390
+ proceed: "proceed";
391
+ }>;
392
+ statement: z.ZodString;
393
+ findings: z.ZodArray<z.ZodObject<{
394
+ source: z.ZodString;
395
+ code: z.ZodString;
396
+ level: z.ZodEnum<{
397
+ info: "info";
398
+ critical: "critical";
399
+ warning: "warning";
400
+ }>;
401
+ detail: z.ZodString;
402
+ }, z.core.$strip>>;
403
+ host_context: z.ZodOptional<z.ZodObject<{
404
+ signer_subject: z.ZodString;
405
+ order_anchor: z.ZodString;
406
+ identity_obligation: z.ZodString;
407
+ }, z.core.$strip>>;
408
+ }, z.core.$strip>>;
385
409
  }, z.core.$strict>>;
386
410
  workflow_guidance: z.ZodOptional<z.ZodObject<{
387
411
  current_node: z.ZodString;
@@ -478,6 +502,8 @@ export declare const KeeperOperationOutputSchema: z.ZodObject<{
478
502
  note: z.ZodOptional<z.ZodString>;
479
503
  }, z.core.$strict>>;
480
504
  note: z.ZodOptional<z.ZodString>;
505
+ digest: z.ZodOptional<z.ZodString>;
506
+ signer: z.ZodOptional<z.ZodString>;
481
507
  }, z.core.$strict>>;
482
508
  review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
509
  step: z.ZodEnum<{