@wowok/agent-mcp 3.4.3 → 3.4.4

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 (853) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/build-stamp.js +1 -0
  3. package/dist/chain-semantics/composition-truth.js +1 -1
  4. package/dist/chain-semantics/eval-order.js +1 -1
  5. package/dist/chain-semantics/freeze-map.js +1 -1
  6. package/dist/chain-semantics/fund-flow.js +1 -1
  7. package/dist/chain-semantics/object-graph.js +1 -1
  8. package/dist/composition/audit.js +1 -1
  9. package/dist/composition/compile.js +1 -1
  10. package/dist/composition/emit-phases.js +1 -1
  11. package/dist/composition/generate.js +1 -1
  12. package/dist/composition/guard-fill.js +1 -1
  13. package/dist/composition/input-normalize.js +1 -1
  14. package/dist/composition/materialize.js +1 -1
  15. package/dist/composition/mode-gates.js +1 -1
  16. package/dist/composition/plan.js +1 -1
  17. package/dist/composition/product-card.js +1 -1
  18. package/dist/composition/shape-expand.js +1 -0
  19. package/dist/config/judgment.js +1 -1
  20. package/dist/config/template-params.js +1 -1
  21. package/dist/data/sync/cdc.js +1 -1
  22. package/dist/data/sync/graphql-source.js +1 -1
  23. package/dist/evaluation/engine.js +1 -1
  24. package/dist/experience/realtime-feedback.js +1 -1
  25. package/dist/graph/onchain/expand.js +1 -1
  26. package/dist/graph/onchain/exposure.js +1 -1
  27. package/dist/graph/onchain/sdk-batch.js +1 -1
  28. package/dist/harness/entry-ignite-selfheal.js +1 -0
  29. package/dist/harness/forward-leg-preflight.js +1 -0
  30. package/dist/harness/recover.js +1 -1
  31. package/dist/keeper/detectors.js +1 -1
  32. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  33. package/dist/knowledge/arb-operation-face.js +1 -0
  34. package/dist/knowledge/arbitration-rail-verifier.js +1 -1
  35. package/dist/knowledge/arbitration-templates.js +1 -1
  36. package/dist/knowledge/audit-rules.d.ts +15 -0
  37. package/dist/knowledge/audit-rules.js +1 -1
  38. package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
  39. package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
  40. package/dist/knowledge/baselines/rules/arb.json.good +174 -0
  41. package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
  42. package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
  43. package/dist/knowledge/baselines/rules/contact.json.good +152 -0
  44. package/dist/knowledge/baselines/rules/demand.json.good +158 -0
  45. package/dist/knowledge/baselines/rules/graph.json.good +534 -0
  46. package/dist/knowledge/baselines/rules/guard.json +18 -5
  47. package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
  48. package/dist/knowledge/baselines/rules/machine.json.good +734 -0
  49. package/dist/knowledge/baselines/rules/oracle.json +1 -1
  50. package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
  51. package/dist/knowledge/baselines/rules/order.json.good +549 -0
  52. package/dist/knowledge/baselines/rules/payment.json.good +205 -0
  53. package/dist/knowledge/baselines/rules/permission.json.good +330 -0
  54. package/dist/knowledge/baselines/rules/personal.json.good +139 -0
  55. package/dist/knowledge/baselines/rules/plan.json +343 -1
  56. package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
  57. package/dist/knowledge/baselines/rules/progress.json.good +364 -0
  58. package/dist/knowledge/baselines/rules/proof.json.good +158 -0
  59. package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
  60. package/dist/knowledge/baselines/rules/repository.json.good +244 -0
  61. package/dist/knowledge/baselines/rules/resource.json.good +117 -0
  62. package/dist/knowledge/baselines/rules/reward.json +10 -10
  63. package/dist/knowledge/baselines/rules/reward.json.good +586 -0
  64. package/dist/knowledge/baselines/rules/service.json.good +595 -0
  65. package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
  66. package/dist/knowledge/baselines/rules/util.json.good +101 -0
  67. package/dist/knowledge/builtin-templates.d.ts +13 -1
  68. package/dist/knowledge/builtin-templates.js +1 -1
  69. package/dist/knowledge/chain-query-registry.js +1 -1
  70. package/dist/knowledge/discount-threshold.js +1 -1
  71. package/dist/knowledge/fee-param-bindings.js +1 -1
  72. package/dist/knowledge/fund-layer.d.ts +2 -0
  73. package/dist/knowledge/fund-layer.js +1 -1
  74. package/dist/knowledge/getting-started.js +1 -1
  75. package/dist/knowledge/guard-binding-table.js +1 -1
  76. package/dist/knowledge/guard-binding-verifier.js +1 -1
  77. package/dist/knowledge/guard-create-preflight.js +1 -0
  78. package/dist/knowledge/guard-field-cognition.js +1 -1
  79. package/dist/knowledge/guard-host-context.js +1 -1
  80. package/dist/knowledge/guard-leg-eval.js +1 -0
  81. package/dist/knowledge/guard-node-gates.js +1 -1
  82. package/dist/knowledge/guard-puzzle.js +1 -1
  83. package/dist/knowledge/guard-quality.js +1 -0
  84. package/dist/knowledge/guard-render.js +1 -1
  85. package/dist/knowledge/guard-risk.js +1 -1
  86. package/dist/knowledge/guard-semantic-walk.js +1 -0
  87. package/dist/knowledge/guard-templates.d.ts +1 -0
  88. package/dist/knowledge/guard-templates.js +1 -1
  89. package/dist/knowledge/guard-translation.js +1 -1
  90. package/dist/knowledge/index.js +1 -1
  91. package/dist/knowledge/industry-registry.js +1 -1
  92. package/dist/knowledge/jsonrpc-enum.js +1 -1
  93. package/dist/knowledge/param-schema.js +1 -1
  94. package/dist/knowledge/param-tiers.js +1 -1
  95. package/dist/knowledge/path-oracle/coverage.js +1 -1
  96. package/dist/knowledge/path-oracle/index.js +1 -1
  97. package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
  98. package/dist/knowledge/path-oracle/products/algora.js +1 -0
  99. package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
  100. package/dist/knowledge/path-oracle/products/amazon.js +1 -0
  101. package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
  102. package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
  103. package/dist/knowledge/path-oracle/products/contra.js +1 -0
  104. package/dist/knowledge/path-oracle/products/costco.js +1 -0
  105. package/dist/knowledge/path-oracle/products/coursera.js +1 -0
  106. package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
  107. package/dist/knowledge/path-oracle/products/etsy.js +1 -0
  108. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
  109. package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
  110. package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
  111. package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
  112. package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
  113. package/dist/knowledge/path-oracle/products/klook.js +1 -0
  114. package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
  115. package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
  116. package/dist/knowledge/path-oracle/products/patreon.js +1 -0
  117. package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
  118. package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
  119. package/dist/knowledge/path-oracle/products/shansong.js +1 -0
  120. package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
  121. package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
  122. package/dist/knowledge/path-oracle/products/upwork.js +1 -0
  123. package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
  124. package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
  125. package/dist/knowledge/pattern-resolutions.js +1 -1
  126. package/dist/knowledge/product-detail-source.js +1 -1
  127. package/dist/knowledge/product-doc-b5.js +1 -1
  128. package/dist/knowledge/product-doc-facets.js +1 -0
  129. package/dist/knowledge/projection.js +1 -1
  130. package/dist/knowledge/publish-gate.js +1 -1
  131. package/dist/knowledge/publish-surface-contract.js +1 -1
  132. package/dist/knowledge/recipient-constraint.d.ts +20 -0
  133. package/dist/knowledge/recipient-constraint.js +1 -1
  134. package/dist/knowledge/rule-declaration-types.d.ts +13 -0
  135. package/dist/knowledge/rule-declaration-types.js +1 -0
  136. package/dist/knowledge/rule-declarations.js +1 -0
  137. package/dist/knowledge/scenario-modes.d.ts +6 -0
  138. package/dist/knowledge/scenario-topology.js +1 -1
  139. package/dist/knowledge/template-loader.js +1 -1
  140. package/dist/knowledge/template-prose.js +1 -1
  141. package/dist/knowledge/template-registry.js +1 -1
  142. package/dist/knowledge/template-scanner.js +1 -1
  143. package/dist/knowledge/tools-reference.js +1 -1
  144. package/dist/monitor/MonitorLoop.js +1 -1
  145. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  146. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  147. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  148. package/dist/playbooks/service-build/object-panorama.js +1 -1
  149. package/dist/playbooks/service-build/participation-radar.js +1 -1
  150. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  151. package/dist/playbooks/service-build/service-panorama.js +1 -1
  152. package/dist/playbooks/service-build/service-quote.js +1 -1
  153. package/dist/review/index.js +1 -1
  154. package/dist/review/service.js +1 -1
  155. package/dist/safety/confirm-gate.js +1 -1
  156. package/dist/schema/benchmark-migration/index.d.ts +9 -0
  157. package/dist/schema/benchmark-migration/index.js +1 -1
  158. package/dist/schema/call/arbitration.d.ts +8 -0
  159. package/dist/schema/call/arbitration.js +1 -1
  160. package/dist/schema/call/base.d.ts +8 -0
  161. package/dist/schema/call/base.js +1 -1
  162. package/dist/schema/call/bridge.d.ts +2 -0
  163. package/dist/schema/call/error-codes.d.ts +1 -1
  164. package/dist/schema/call/error-codes.js +1 -1
  165. package/dist/schema/call/handler.d.ts +2 -1
  166. package/dist/schema/call/handler.js +1 -1
  167. package/dist/schema/call/order.d.ts +10 -0
  168. package/dist/schema/call/permission-handler.js +1 -1
  169. package/dist/schema/call/permission.js +1 -1
  170. package/dist/schema/call/progress.d.ts +15 -0
  171. package/dist/schema/call/progress.js +1 -1
  172. package/dist/schema/call/receipt.d.ts +1 -0
  173. package/dist/schema/call/receipt.js +1 -1
  174. package/dist/schema/call/repository.d.ts +12 -0
  175. package/dist/schema/call/repository.js +1 -1
  176. package/dist/schema/call/reward.js +1 -1
  177. package/dist/schema/call/semantic.d.ts +1 -0
  178. package/dist/schema/call/semantic.js +1 -1
  179. package/dist/schema/call/service.d.ts +5 -3
  180. package/dist/schema/call/service.js +1 -1
  181. package/dist/schema/common/index.js +1 -1
  182. package/dist/schema/envelope-unify.js +1 -1
  183. package/dist/schema/goal/index.d.ts +23 -0
  184. package/dist/schema/goal/planning.js +1 -1
  185. package/dist/schema/industry-pack/index.d.ts +2 -2
  186. package/dist/schema/local/index.d.ts +20 -0
  187. package/dist/schema/local/index.js +1 -1
  188. package/dist/schema/local/wip.d.ts +4 -0
  189. package/dist/schema/local/wip.js +1 -1
  190. package/dist/schema/messenger/index.d.ts +5 -0
  191. package/dist/schema/messenger/index.js +1 -1
  192. package/dist/schema/operations.d.ts +944 -1
  193. package/dist/schema/operations.js +1 -1
  194. package/dist/schema/query/bi.js +1 -1
  195. package/dist/schema/query/index.d.ts +5 -5
  196. package/dist/schema/query/index.js +1 -1
  197. package/dist/schema/schema-version.js +1 -1
  198. package/dist/schema/workspace/index.d.ts +2 -2
  199. package/dist/schema-query-impl/index.js +1 -1
  200. package/dist/schemas/account_operation.schema.json +1 -257
  201. package/dist/schemas/ask_user.schema.json +1 -78
  202. package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
  203. package/dist/schemas/bridge_operation.schema.json +1 -1069
  204. package/dist/schemas/config_operation.schema.json +1 -82
  205. package/dist/schemas/employee_operation.schema.json +1 -319
  206. package/dist/schemas/evaluation_operation.schema.json +1 -3932
  207. package/dist/schemas/goal_operation.schema.json +1 -1650
  208. package/dist/schemas/guard2file.schema.json +1 -137
  209. package/dist/schemas/index.json +1 -285
  210. package/dist/schemas/industry_pack_operation.schema.json +1 -582
  211. package/dist/schemas/intent_radar.schema.json +1 -155
  212. package/dist/schemas/keeper_operation.schema.json +1 -364
  213. package/dist/schemas/local_cache_operation.schema.json +1 -116
  214. package/dist/schemas/local_history_operation.schema.json +1 -105
  215. package/dist/schemas/local_info_operation.schema.json +1 -140
  216. package/dist/schemas/local_mark_operation.schema.json +1 -124
  217. package/dist/schemas/machineNode2file.schema.json +1 -137
  218. package/dist/schemas/messenger_operation.schema.json +1 -2068
  219. package/dist/schemas/monitor_events.schema.json +1 -87
  220. package/dist/schemas/monitor_subscription.schema.json +1 -327
  221. package/dist/schemas/onchain_events.schema.json +1 -207
  222. package/dist/schemas/onchain_operations.schema.json +1 -28699
  223. package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
  224. package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
  225. package/dist/schemas/onchain_operations_contact.schema.json +1 -988
  226. package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
  227. package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
  228. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
  229. package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
  230. package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
  231. package/dist/schemas/onchain_operations_order.schema.json +1 -1121
  232. package/dist/schemas/onchain_operations_payment.schema.json +1 -316
  233. package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
  234. package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
  235. package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
  236. package/dist/schemas/onchain_operations_proof.schema.json +1 -750
  237. package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
  238. package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
  239. package/dist/schemas/onchain_operations_service.schema.json +1 -2602
  240. package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
  241. package/dist/schemas/onchain_table_data.schema.json +1 -1146
  242. package/dist/schemas/permission_operation.schema.json +1 -43
  243. package/dist/schemas/persona_operation.schema.json +1 -10424
  244. package/dist/schemas/query_toolkit.schema.json +1 -1867
  245. package/dist/schemas/schema_query.schema.json +1 -116
  246. package/dist/schemas/service_clone_operation.schema.json +1 -49
  247. package/dist/schemas/settle_sweep.schema.json +1 -0
  248. package/dist/schemas/strategy_review_operation.schema.json +1 -66
  249. package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
  250. package/dist/schemas/watch_operation.schema.json +1 -145
  251. package/dist/schemas/wip_file.schema.json +1 -299
  252. package/dist/schemas/workflow_operation.schema.json +1 -722
  253. package/dist/schemas/workspace_operation.schema.json +1 -104
  254. package/dist/schemas/wowok_buildin_info.schema.json +1 -758
  255. package/dist/tools/handlers/benchmark-migration.js +1 -1
  256. package/dist/tools/handlers/config.js +1 -1
  257. package/dist/tools/handlers/entry-edge-recipe.js +1 -1
  258. package/dist/tools/handlers/file-export.js +1 -1
  259. package/dist/tools/handlers/local.js +1 -1
  260. package/dist/tools/handlers/messenger.js +1 -1
  261. package/dist/tools/handlers/onchain.js +1 -1
  262. package/dist/tools/handlers/pending-settlement-recipe.js +1 -0
  263. package/dist/tools/handlers/plan-recovery.js +1 -0
  264. package/dist/tools/handlers/query.js +1 -1
  265. package/dist/tools/handlers/repository-row-id.js +1 -0
  266. package/dist/tools/handlers/review-chain.js +1 -1
  267. package/dist/tools/handlers/settle-sweep.js +1 -0
  268. package/dist/tools/handlers/stale-build-check.js +1 -1
  269. package/dist/tools/handlers/submission-assembly.js +1 -1
  270. package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
  271. package/dist/tools/handlers/wip-upload.js +1 -1
  272. package/dist/tools/index.d.ts +3 -1
  273. package/dist/tools/index.js +1 -1
  274. package/dist/tools/move-fn-index.gen.js +1 -1
  275. package/dist/tools/publish-gate-state.js +1 -1
  276. package/dist/tools/registry/business.js +1 -1
  277. package/dist/tools/registry/onchain.js +1 -1
  278. package/dist/tools/shared.js +1 -1
  279. package/dist/tools/types.d.ts +1 -1
  280. package/dist/tools/wrap.js +1 -1
  281. package/package.json +11 -4
  282. package/dist/chain-semantics/composition-truth.d.ts +0 -102
  283. package/dist/chain-semantics/eval-order.d.ts +0 -17
  284. package/dist/chain-semantics/field-capability.d.ts +0 -11
  285. package/dist/chain-semantics/freeze-map.d.ts +0 -11
  286. package/dist/chain-semantics/fund-flow.d.ts +0 -10
  287. package/dist/chain-semantics/guard-verbs.d.ts +0 -22
  288. package/dist/chain-semantics/index.d.ts +0 -12
  289. package/dist/chain-semantics/object-graph.d.ts +0 -18
  290. package/dist/communication/evidence.d.ts +0 -6
  291. package/dist/communication/message-cursors.d.ts +0 -35
  292. package/dist/communication/proof-reuse.d.ts +0 -9
  293. package/dist/communication/wts-attestation.d.ts +0 -39
  294. package/dist/composition/audit.d.ts +0 -15
  295. package/dist/composition/blueprint-view.d.ts +0 -63
  296. package/dist/composition/compile.d.ts +0 -83
  297. package/dist/composition/emit-phases.d.ts +0 -234
  298. package/dist/composition/generate.d.ts +0 -40
  299. package/dist/composition/guard-fill.d.ts +0 -52
  300. package/dist/composition/inflight.d.ts +0 -86
  301. package/dist/composition/input-normalize.d.ts +0 -15
  302. package/dist/composition/materialize.d.ts +0 -78
  303. package/dist/composition/mode-gates.d.ts +0 -35
  304. package/dist/composition/param-disclosure.d.ts +0 -61
  305. package/dist/composition/plan-retry-ledger.d.ts +0 -37
  306. package/dist/composition/plan.d.ts +0 -121
  307. package/dist/composition/product-card.d.ts +0 -94
  308. package/dist/composition/reflux.d.ts +0 -28
  309. package/dist/composition/supply-chain-emit.d.ts +0 -46
  310. package/dist/config/config-audit.spec.d.ts +0 -1
  311. package/dist/config/config-audit.spec.js +0 -1
  312. package/dist/config/config-warnings.d.ts +0 -2
  313. package/dist/config/index.d.ts +0 -4
  314. package/dist/config/judgment.spec.d.ts +0 -1
  315. package/dist/config/judgment.spec.js +0 -1
  316. package/dist/config/match-policy-file.d.ts +0 -34
  317. package/dist/config/match-policy-file.spec.d.ts +0 -1
  318. package/dist/config/match-policy-file.spec.js +0 -1
  319. package/dist/config/rule-engine.spec.d.ts +0 -1
  320. package/dist/config/rule-engine.spec.js +0 -1
  321. package/dist/config/runtime.d.ts +0 -29
  322. package/dist/config/store-policy.d.ts +0 -14
  323. package/dist/config/store-policy.spec.d.ts +0 -1
  324. package/dist/config/store-policy.spec.js +0 -1
  325. package/dist/config/template-params.d.ts +0 -42
  326. package/dist/config/template-params.spec.d.ts +0 -1
  327. package/dist/config/template-params.spec.js +0 -1
  328. package/dist/customer/account-events.d.ts +0 -32
  329. package/dist/data/api/api.spec.d.ts +0 -1
  330. package/dist/data/api/api.spec.js +0 -1
  331. package/dist/data/api/cli.d.ts +0 -1
  332. package/dist/data/api/head.d.ts +0 -16
  333. package/dist/data/api/head.spec.d.ts +0 -1
  334. package/dist/data/api/head.spec.js +0 -1
  335. package/dist/data/api/index.d.ts +0 -2
  336. package/dist/data/api/match.d.ts +0 -69
  337. package/dist/data/api/match.spec.d.ts +0 -1
  338. package/dist/data/api/match.spec.js +0 -1
  339. package/dist/data/api/server.d.ts +0 -13
  340. package/dist/data/projection/cli.d.ts +0 -1
  341. package/dist/data/projection/edges.d.ts +0 -8
  342. package/dist/data/projection/edges.spec.d.ts +0 -1
  343. package/dist/data/projection/edges.spec.js +0 -1
  344. package/dist/data/projection/facets.d.ts +0 -18
  345. package/dist/data/projection/facets.spec.d.ts +0 -1
  346. package/dist/data/projection/facets.spec.js +0 -1
  347. package/dist/data/projection/facts.d.ts +0 -40
  348. package/dist/data/projection/index.d.ts +0 -6
  349. package/dist/data/projection/project.d.ts +0 -10
  350. package/dist/data/projection/projection.spec.d.ts +0 -1
  351. package/dist/data/projection/projection.spec.js +0 -1
  352. package/dist/data/projection/schema.d.ts +0 -1
  353. package/dist/data/projection/store.d.ts +0 -51
  354. package/dist/data/projection/types.d.ts +0 -169
  355. package/dist/data/sync/cdc.d.ts +0 -33
  356. package/dist/data/sync/cdc.spec.d.ts +0 -1
  357. package/dist/data/sync/cdc.spec.js +0 -1
  358. package/dist/data/sync/graphql-source.d.ts +0 -16
  359. package/dist/data/sync/index.d.ts +0 -5
  360. package/dist/data/sync/reconciler.d.ts +0 -14
  361. package/dist/data/sync/reconciler.spec.d.ts +0 -1
  362. package/dist/data/sync/reconciler.spec.js +0 -1
  363. package/dist/data/sync/schema.d.ts +0 -1
  364. package/dist/data/sync/store.d.ts +0 -24
  365. package/dist/data/sync/sync.spec.d.ts +0 -1
  366. package/dist/data/sync/sync.spec.js +0 -1
  367. package/dist/data/sync/synchronizer.d.ts +0 -10
  368. package/dist/data/sync/types.d.ts +0 -164
  369. package/dist/evaluation/acceptance.d.ts +0 -33
  370. package/dist/evaluation/architecture.spec.d.ts +0 -1
  371. package/dist/evaluation/architecture.spec.js +0 -1
  372. package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
  373. package/dist/evaluation/builtins/demand-match.d.ts +0 -16
  374. package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
  375. package/dist/evaluation/builtins/graph-service.spec.js +0 -1
  376. package/dist/evaluation/builtins/index.d.ts +0 -4
  377. package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
  378. package/dist/evaluation/builtins/purity.spec.js +0 -1
  379. package/dist/evaluation/composer.d.ts +0 -38
  380. package/dist/evaluation/facets/catalog.d.ts +0 -19
  381. package/dist/evaluation/gap.d.ts +0 -2
  382. package/dist/evaluation/guard-scan.d.ts +0 -10
  383. package/dist/evaluation/index.d.ts +0 -14
  384. package/dist/evaluation/injection.d.ts +0 -6
  385. package/dist/evaluation/location-match.d.ts +0 -42
  386. package/dist/evaluation/match-operation.d.ts +0 -23
  387. package/dist/evaluation/match-policy-resolver.d.ts +0 -9
  388. package/dist/evaluation/match-policy.spec.d.ts +0 -1
  389. package/dist/evaluation/match-policy.spec.js +0 -1
  390. package/dist/evaluation/path-reasoning.d.ts +0 -37
  391. package/dist/evaluation/standards.d.ts +0 -11
  392. package/dist/evaluation/standards.spec.d.ts +0 -1
  393. package/dist/evaluation/standards.spec.js +0 -1
  394. package/dist/evaluation/structured-lines.d.ts +0 -8
  395. package/dist/evaluation/user-injection.d.ts +0 -6
  396. package/dist/experience/experience-reuse.d.ts +0 -10
  397. package/dist/experience/index.d.ts +0 -7
  398. package/dist/experience/persistence-config.d.ts +0 -6
  399. package/dist/experience/persistence.d.ts +0 -21
  400. package/dist/experience/realtime-feedback.d.ts +0 -5
  401. package/dist/experience/user-profile.d.ts +0 -25
  402. package/dist/extensions/capability.d.ts +0 -91
  403. package/dist/extensions/industry-audit.spec.d.ts +0 -1
  404. package/dist/extensions/industry-audit.spec.js +0 -1
  405. package/dist/goal/GoalClassifier.d.ts +0 -17
  406. package/dist/goal/GoalEngine.d.ts +0 -175
  407. package/dist/goal/GoalStore.d.ts +0 -27
  408. package/dist/goal/next-steps.d.ts +0 -12
  409. package/dist/goal/plan-approval.d.ts +0 -5
  410. package/dist/goal/pursue.d.ts +0 -18
  411. package/dist/graph/base.d.ts +0 -8
  412. package/dist/graph/onchain/analyze.d.ts +0 -59
  413. package/dist/graph/onchain/analyze.spec.d.ts +0 -1
  414. package/dist/graph/onchain/analyze.spec.js +0 -1
  415. package/dist/graph/onchain/anti-cheat.d.ts +0 -69
  416. package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
  417. package/dist/graph/onchain/anti-cheat.spec.js +0 -1
  418. package/dist/graph/onchain/dataplane.d.ts +0 -44
  419. package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
  420. package/dist/graph/onchain/edge-batch.spec.js +0 -1
  421. package/dist/graph/onchain/edge-schema.d.ts +0 -69
  422. package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
  423. package/dist/graph/onchain/entity-profile.spec.js +0 -1
  424. package/dist/graph/onchain/event-history.spec.d.ts +0 -1
  425. package/dist/graph/onchain/event-history.spec.js +0 -1
  426. package/dist/graph/onchain/expand.d.ts +0 -4
  427. package/dist/graph/onchain/exploration.d.ts +0 -28
  428. package/dist/graph/onchain/exploration.spec.d.ts +0 -1
  429. package/dist/graph/onchain/exploration.spec.js +0 -1
  430. package/dist/graph/onchain/exposure.d.ts +0 -18
  431. package/dist/graph/onchain/exposure.spec.d.ts +0 -1
  432. package/dist/graph/onchain/exposure.spec.js +0 -1
  433. package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
  434. package/dist/graph/onchain/extract-deep.spec.js +0 -1
  435. package/dist/graph/onchain/extract.d.ts +0 -29
  436. package/dist/graph/onchain/facet-projection.d.ts +0 -99
  437. package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
  438. package/dist/graph/onchain/facet-projection.spec.js +0 -1
  439. package/dist/graph/onchain/facts.spec.d.ts +0 -1
  440. package/dist/graph/onchain/facts.spec.js +0 -1
  441. package/dist/graph/onchain/field-manifest.d.ts +0 -29
  442. package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
  443. package/dist/graph/onchain/field-manifest.spec.js +0 -1
  444. package/dist/graph/onchain/fixtures.d.ts +0 -80
  445. package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
  446. package/dist/graph/onchain/fixtures.spec.js +0 -1
  447. package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
  448. package/dist/graph/onchain/graph-policy.spec.js +0 -1
  449. package/dist/graph/onchain/index.d.ts +0 -29
  450. package/dist/graph/onchain/interest.d.ts +0 -10
  451. package/dist/graph/onchain/interest.spec.d.ts +0 -1
  452. package/dist/graph/onchain/interest.spec.js +0 -1
  453. package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
  454. package/dist/graph/onchain/label-lint.spec.js +0 -1
  455. package/dist/graph/onchain/names.d.ts +0 -23
  456. package/dist/graph/onchain/names.spec.d.ts +0 -1
  457. package/dist/graph/onchain/names.spec.js +0 -1
  458. package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
  459. package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
  460. package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
  461. package/dist/graph/onchain/onchain.spec.d.ts +0 -1
  462. package/dist/graph/onchain/onchain.spec.js +0 -1
  463. package/dist/graph/onchain/policy.d.ts +0 -8
  464. package/dist/graph/onchain/project-relationship.d.ts +0 -3
  465. package/dist/graph/onchain/proposal-graph.d.ts +0 -11
  466. package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
  467. package/dist/graph/onchain/proposal-graph.spec.js +0 -1
  468. package/dist/graph/onchain/sdk-batch.d.ts +0 -129
  469. package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
  470. package/dist/graph/onchain/strategy.spec.d.ts +0 -1
  471. package/dist/graph/onchain/strategy.spec.js +0 -1
  472. package/dist/graph/onchain/synthesis.d.ts +0 -20
  473. package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
  474. package/dist/graph/onchain/synthesis.spec.js +0 -1
  475. package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
  476. package/dist/graph/onchain/table-ledger.spec.js +0 -1
  477. package/dist/graph/onchain/viewport.d.ts +0 -6
  478. package/dist/harness/auto-escalation.d.ts +0 -15
  479. package/dist/intent/enrich.d.ts +0 -1
  480. package/dist/intent/index.d.ts +0 -23
  481. package/dist/intent/matcher.d.ts +0 -2
  482. package/dist/intent/store.d.ts +0 -19
  483. package/dist/intent/types.d.ts +0 -32
  484. package/dist/keeper/KeeperScan.d.ts +0 -41
  485. package/dist/keeper/KeeperStore.d.ts +0 -43
  486. package/dist/keeper/detectors.d.ts +0 -42
  487. package/dist/keeper/keeper.spec.d.ts +0 -1
  488. package/dist/keeper/keeper.spec.js +0 -1
  489. package/dist/keeper/types.d.ts +0 -67
  490. package/dist/knowledge/account-marks.d.ts +0 -36
  491. package/dist/knowledge/allocation-ledger.d.ts +0 -75
  492. package/dist/knowledge/allocation-puzzle.d.ts +0 -138
  493. package/dist/knowledge/allocation-risk.d.ts +0 -82
  494. package/dist/knowledge/allocation-templates.d.ts +0 -38
  495. package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
  496. package/dist/knowledge/anti-cheat.d.ts +0 -2
  497. package/dist/knowledge/arb-fund-facts.d.ts +0 -51
  498. package/dist/knowledge/arb-risk.d.ts +0 -39
  499. package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
  500. package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
  501. package/dist/knowledge/arbitration-risk.d.ts +0 -114
  502. package/dist/knowledge/arbitration-templates.d.ts +0 -39
  503. package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
  504. package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
  505. package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
  506. package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
  507. package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
  508. package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
  509. package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
  510. package/dist/knowledge/bridge-risk.d.ts +0 -36
  511. package/dist/knowledge/catalog-facts.d.ts +0 -4
  512. package/dist/knowledge/chain-query-registry.d.ts +0 -14
  513. package/dist/knowledge/commission-landing.d.ts +0 -26
  514. package/dist/knowledge/component-schema.d.ts +0 -64
  515. package/dist/knowledge/contact-risk.d.ts +0 -32
  516. package/dist/knowledge/contact-templates.d.ts +0 -26
  517. package/dist/knowledge/contract-invariants.d.ts +0 -54
  518. package/dist/knowledge/demand-risk.d.ts +0 -30
  519. package/dist/knowledge/discount-threshold.d.ts +0 -26
  520. package/dist/knowledge/dynamic-pricing.d.ts +0 -29
  521. package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
  522. package/dist/knowledge/event-semantics.d.ts +0 -23
  523. package/dist/knowledge/evidence-review.d.ts +0 -35
  524. package/dist/knowledge/fee-param-bindings.d.ts +0 -28
  525. package/dist/knowledge/flywheel-loop.d.ts +0 -41
  526. package/dist/knowledge/game-scenarios.d.ts +0 -21
  527. package/dist/knowledge/getting-started.d.ts +0 -37
  528. package/dist/knowledge/goal-completion.d.ts +0 -31
  529. package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
  530. package/dist/knowledge/guard-binding-table.d.ts +0 -52
  531. package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
  532. package/dist/knowledge/guard-bindings.d.ts +0 -21
  533. package/dist/knowledge/guard-blueprint.d.ts +0 -68
  534. package/dist/knowledge/guard-design-patterns.d.ts +0 -38
  535. package/dist/knowledge/guard-eval.d.ts +0 -15
  536. package/dist/knowledge/guard-field-cognition.d.ts +0 -48
  537. package/dist/knowledge/guard-host-context.d.ts +0 -24
  538. package/dist/knowledge/guard-ledger.d.ts +0 -19
  539. package/dist/knowledge/guard-leg-map.d.ts +0 -5
  540. package/dist/knowledge/guard-lint.d.ts +0 -79
  541. package/dist/knowledge/guard-node-gates.d.ts +0 -9
  542. package/dist/knowledge/guard-puzzle.d.ts +0 -188
  543. package/dist/knowledge/guard-render.d.ts +0 -71
  544. package/dist/knowledge/guard-risk.d.ts +0 -71
  545. package/dist/knowledge/guard-submission-brief.d.ts +0 -94
  546. package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
  547. package/dist/knowledge/guard-translation.d.ts +0 -58
  548. package/dist/knowledge/index.d.ts +0 -299
  549. package/dist/knowledge/industry-evolution.d.ts +0 -82
  550. package/dist/knowledge/industry-generalizer.d.ts +0 -63
  551. package/dist/knowledge/industry-rule-node.d.ts +0 -7
  552. package/dist/knowledge/industry-strategy.d.ts +0 -91
  553. package/dist/knowledge/intent-metrics.d.ts +0 -43
  554. package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
  555. package/dist/knowledge/knob-docs.d.ts +0 -5
  556. package/dist/knowledge/machine-fork-watch.d.ts +0 -9
  557. package/dist/knowledge/machine-ledger.d.ts +0 -42
  558. package/dist/knowledge/machine-puzzle.d.ts +0 -206
  559. package/dist/knowledge/machine-risk.d.ts +0 -72
  560. package/dist/knowledge/machine-templates.d.ts +0 -92
  561. package/dist/knowledge/machine-topology.d.ts +0 -116
  562. package/dist/knowledge/machine-translation.d.ts +0 -96
  563. package/dist/knowledge/market-metrics.d.ts +0 -34
  564. package/dist/knowledge/market-operations.d.ts +0 -46
  565. package/dist/knowledge/migration-preflight.d.ts +0 -27
  566. package/dist/knowledge/object-dependency.d.ts +0 -31
  567. package/dist/knowledge/operation-dictionary.d.ts +0 -18
  568. package/dist/knowledge/order-ledger.d.ts +0 -69
  569. package/dist/knowledge/order-puzzle.d.ts +0 -162
  570. package/dist/knowledge/order-risk.d.ts +0 -62
  571. package/dist/knowledge/order-templates.d.ts +0 -50
  572. package/dist/knowledge/param-schema.d.ts +0 -93
  573. package/dist/knowledge/param-tiers.d.ts +0 -27
  574. package/dist/knowledge/passport-ledger.d.ts +0 -60
  575. package/dist/knowledge/passport-templates.d.ts +0 -40
  576. package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
  577. package/dist/knowledge/path-oracle/index.d.ts +0 -5
  578. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
  579. package/dist/knowledge/path-oracle/schema.d.ts +0 -188
  580. package/dist/knowledge/pattern-resolutions.d.ts +0 -110
  581. package/dist/knowledge/payment-risk.d.ts +0 -38
  582. package/dist/knowledge/payment-tracker.d.ts +0 -63
  583. package/dist/knowledge/permission-ledger.d.ts +0 -49
  584. package/dist/knowledge/permission-puzzle.d.ts +0 -122
  585. package/dist/knowledge/permission-risk.d.ts +0 -70
  586. package/dist/knowledge/permission-templates.d.ts +0 -38
  587. package/dist/knowledge/personal-risk.d.ts +0 -36
  588. package/dist/knowledge/product-detail-source.d.ts +0 -37
  589. package/dist/knowledge/product-doc-b5.d.ts +0 -16
  590. package/dist/knowledge/progress-ledger.d.ts +0 -63
  591. package/dist/knowledge/progress-puzzle.d.ts +0 -82
  592. package/dist/knowledge/progress-risk.d.ts +0 -75
  593. package/dist/knowledge/progress-templates.d.ts +0 -38
  594. package/dist/knowledge/projection.d.ts +0 -54
  595. package/dist/knowledge/projection.spec.d.ts +0 -1
  596. package/dist/knowledge/projection.spec.js +0 -1
  597. package/dist/knowledge/proof-risk.d.ts +0 -33
  598. package/dist/knowledge/protocol-facts.d.ts +0 -17
  599. package/dist/knowledge/publish-gate.d.ts +0 -20
  600. package/dist/knowledge/publish-readiness.d.ts +0 -25
  601. package/dist/knowledge/publish-surface-contract.d.ts +0 -16
  602. package/dist/knowledge/puzzle-projections.d.ts +0 -11
  603. package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
  604. package/dist/knowledge/registrar-risk.d.ts +0 -34
  605. package/dist/knowledge/release-sentinel.d.ts +0 -12
  606. package/dist/knowledge/repository-risk.d.ts +0 -46
  607. package/dist/knowledge/repository-write-semantics.d.ts +0 -27
  608. package/dist/knowledge/reputation-rules.d.ts +0 -36
  609. package/dist/knowledge/requirement-families.d.ts +0 -13
  610. package/dist/knowledge/resource-risk.d.ts +0 -32
  611. package/dist/knowledge/reward-ledger.d.ts +0 -97
  612. package/dist/knowledge/reward-puzzle.d.ts +0 -98
  613. package/dist/knowledge/reward-risk.d.ts +0 -86
  614. package/dist/knowledge/reward-templates.d.ts +0 -25
  615. package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
  616. package/dist/knowledge/rule-outcome.d.ts +0 -5
  617. package/dist/knowledge/scenario-topology.d.ts +0 -48
  618. package/dist/knowledge/semantic-ir.d.ts +0 -136
  619. package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
  620. package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
  621. package/dist/knowledge/service-ledger.d.ts +0 -87
  622. package/dist/knowledge/service-puzzle.d.ts +0 -158
  623. package/dist/knowledge/service-risk-node.d.ts +0 -3
  624. package/dist/knowledge/service-risk.d.ts +0 -110
  625. package/dist/knowledge/service-templates.d.ts +0 -41
  626. package/dist/knowledge/settlement-semantics.d.ts +0 -1
  627. package/dist/knowledge/strategy-manuals.d.ts +0 -15
  628. package/dist/knowledge/supply-chain.d.ts +0 -35
  629. package/dist/knowledge/template-index.d.ts +0 -19
  630. package/dist/knowledge/template-loader.d.ts +0 -425
  631. package/dist/knowledge/template-nav.d.ts +0 -9
  632. package/dist/knowledge/template-prose.d.ts +0 -50
  633. package/dist/knowledge/template-registry.d.ts +0 -48
  634. package/dist/knowledge/template-scanner.d.ts +0 -158
  635. package/dist/knowledge/template-test-profiles.d.ts +0 -17
  636. package/dist/knowledge/template-validation.d.ts +0 -3
  637. package/dist/knowledge/tools-reference.d.ts +0 -17
  638. package/dist/knowledge/treasury-ledger.d.ts +0 -42
  639. package/dist/knowledge/treasury-puzzle.d.ts +0 -163
  640. package/dist/knowledge/treasury-risk.d.ts +0 -88
  641. package/dist/knowledge/treasury-templates.d.ts +0 -38
  642. package/dist/knowledge/universal-template.d.ts +0 -22
  643. package/dist/knowledge/util-risk.d.ts +0 -30
  644. package/dist/knowledge/workflow-guidance.d.ts +0 -194
  645. package/dist/knowledge/workspace-lists.d.ts +0 -61
  646. package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
  647. package/dist/monitor/SuggestionBridge.spec.js +0 -1
  648. package/dist/participation/arbitrator-interest.d.ts +0 -22
  649. package/dist/participation/demander-interest.d.ts +0 -23
  650. package/dist/participation/employee-kpi.d.ts +0 -37
  651. package/dist/participation/employee-kpi.spec.d.ts +0 -1
  652. package/dist/participation/employee-kpi.spec.js +0 -1
  653. package/dist/participation/employee-store.d.ts +0 -16
  654. package/dist/participation/game-context.d.ts +0 -25
  655. package/dist/participation/index.d.ts +0 -2
  656. package/dist/participation/node-action-advisor.d.ts +0 -68
  657. package/dist/participation/time-window.d.ts +0 -48
  658. package/dist/persona/facet-profile.d.ts +0 -33
  659. package/dist/persona/persona-audit.spec.d.ts +0 -1
  660. package/dist/persona/persona-audit.spec.js +0 -1
  661. package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
  662. package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
  663. package/dist/playbooks/service-build/facet-money.d.ts +0 -33
  664. package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
  665. package/dist/playbooks/service-build/facet-money.spec.js +0 -1
  666. package/dist/playbooks/service-build/game-theory.d.ts +0 -47
  667. package/dist/playbooks/service-build/index.d.ts +0 -15
  668. package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
  669. package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
  670. package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
  671. package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
  672. package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
  673. package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
  674. package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
  675. package/dist/playbooks/service-build/object-type.d.ts +0 -1
  676. package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
  677. package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
  678. package/dist/playbooks/service-build/process.d.ts +0 -6
  679. package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
  680. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
  681. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
  682. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
  683. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
  684. package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
  685. package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
  686. package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
  687. package/dist/playbooks/service-build/service-quote.d.ts +0 -2
  688. package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
  689. package/dist/playbooks/service-build/service-quote.spec.js +0 -1
  690. package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
  691. package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
  692. package/dist/playbooks/service-build/topology-query.d.ts +0 -25
  693. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
  694. package/dist/relationship/derivation.d.ts +0 -95
  695. package/dist/relationship/derivation.spec.d.ts +0 -1
  696. package/dist/relationship/derivation.spec.js +0 -1
  697. package/dist/relationship/incentive.d.ts +0 -38
  698. package/dist/relationship/index.d.ts +0 -4
  699. package/dist/relationship/registry.d.ts +0 -13
  700. package/dist/relationship/types.d.ts +0 -45
  701. package/dist/review/arb.d.ts +0 -4
  702. package/dist/review/demand.d.ts +0 -3
  703. package/dist/review/index.d.ts +0 -3
  704. package/dist/review/machine.d.ts +0 -3
  705. package/dist/review/order.d.ts +0 -8
  706. package/dist/review/progress.d.ts +0 -3
  707. package/dist/review/repository.d.ts +0 -3
  708. package/dist/review/service.d.ts +0 -5
  709. package/dist/review/types.d.ts +0 -163
  710. package/dist/role/derivation.d.ts +0 -35
  711. package/dist/role/index.d.ts +0 -6
  712. package/dist/role/intent.d.ts +0 -23
  713. package/dist/role/model.d.ts +0 -9
  714. package/dist/role/profiles.d.ts +0 -26
  715. package/dist/role/resolution.d.ts +0 -27
  716. package/dist/runtime/instance-registry.d.ts +0 -14
  717. package/dist/safety/index.d.ts +0 -3
  718. package/dist/schema/call/permission-handler.d.ts +0 -5
  719. package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
  720. package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
  721. package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
  722. package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
  723. package/dist/schema/envelope-unify.d.ts +0 -5
  724. package/dist/schema/goal/planning.d.ts +0 -742
  725. package/dist/schema/industry-pack/modes.d.ts +0 -447
  726. package/dist/schema/query/bi.d.ts +0 -3369
  727. package/dist/schema/utils/guard-query-utils.d.ts +0 -18
  728. package/dist/schema/utils/permission-index-utils.d.ts +0 -2
  729. package/dist/schema/utils/skills-recommendation.d.ts +0 -2
  730. package/dist/schema-query-impl/index.d.ts +0 -83
  731. package/dist/schemas/account_operation.output.json +0 -3869
  732. package/dist/schemas/ask_user.output.json +0 -54
  733. package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
  734. package/dist/schemas/bridge_operation.output.json +0 -1548
  735. package/dist/schemas/config_operation.output.json +0 -896
  736. package/dist/schemas/employee_operation.output.json +0 -307
  737. package/dist/schemas/evaluation_operation.output.json +0 -4716
  738. package/dist/schemas/guard2file.output.json +0 -83
  739. package/dist/schemas/industry_pack_operation.output.json +0 -2985
  740. package/dist/schemas/intent_radar.output.json +0 -326
  741. package/dist/schemas/keeper_operation.output.json +0 -1441
  742. package/dist/schemas/local_cache_operation.output.json +0 -1718
  743. package/dist/schemas/local_history_operation.output.json +0 -1644
  744. package/dist/schemas/local_info_operation.output.json +0 -1530
  745. package/dist/schemas/local_mark_operation.output.json +0 -1622
  746. package/dist/schemas/machineNode2file.output.json +0 -88
  747. package/dist/schemas/messenger_operation.output.json +0 -4692
  748. package/dist/schemas/monitor_events.output.json +0 -1602
  749. package/dist/schemas/monitor_subscription.output.json +0 -1629
  750. package/dist/schemas/onchain_events.output.json +0 -4053
  751. package/dist/schemas/onchain_operations.output.json +0 -7788
  752. package/dist/schemas/onchain_table_data.output.json +0 -11868
  753. package/dist/schemas/permission_operation.output.json +0 -205
  754. package/dist/schemas/persona_operation.output.json +0 -64612
  755. package/dist/schemas/query_toolkit.output.json +0 -28302
  756. package/dist/schemas/schema_query.output.json +0 -81
  757. package/dist/schemas/service_clone_operation.output.json +0 -247
  758. package/dist/schemas/strategy_review_operation.output.json +0 -532
  759. package/dist/schemas/watch_operation.output.json +0 -930
  760. package/dist/schemas/wip_file.output.json +0 -360
  761. package/dist/schemas/workflow_operation.output.json +0 -422
  762. package/dist/schemas/workspace_operation.output.json +0 -477
  763. package/dist/schemas/wowok_buildin_info.output.json +0 -2477
  764. package/dist/strategy/collectors.d.ts +0 -66
  765. package/dist/strategy/collectors.spec.d.ts +0 -1
  766. package/dist/strategy/collectors.spec.js +0 -1
  767. package/dist/strategy/index.d.ts +0 -5
  768. package/dist/strategy/metrics.d.ts +0 -20
  769. package/dist/strategy/review.d.ts +0 -48
  770. package/dist/strategy/scorecard.d.ts +0 -32
  771. package/dist/strategy/store.d.ts +0 -26
  772. package/dist/task/ProcessStore.d.ts +0 -98
  773. package/dist/task/playbook.d.ts +0 -11
  774. package/dist/task/substep-trace.d.ts +0 -91
  775. package/dist/tools/build-fingerprint.d.ts +0 -28
  776. package/dist/tools/error-catalog.d.ts +0 -17
  777. package/dist/tools/handlers/ask-user.d.ts +0 -3
  778. package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
  779. package/dist/tools/handlers/bridge.d.ts +0 -8
  780. package/dist/tools/handlers/config.d.ts +0 -2
  781. package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
  782. package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
  783. package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
  784. package/dist/tools/handlers/employee.d.ts +0 -8
  785. package/dist/tools/handlers/employee.spec.d.ts +0 -1
  786. package/dist/tools/handlers/employee.spec.js +0 -1
  787. package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
  788. package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
  789. package/dist/tools/handlers/evaluation.d.ts +0 -2
  790. package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
  791. package/dist/tools/handlers/evaluation.spec.js +0 -1
  792. package/dist/tools/handlers/file-export.d.ts +0 -3
  793. package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
  794. package/dist/tools/handlers/goal.d.ts +0 -4
  795. package/dist/tools/handlers/industry-pack.d.ts +0 -3
  796. package/dist/tools/handlers/intent-radar.d.ts +0 -2
  797. package/dist/tools/handlers/keeper.d.ts +0 -12
  798. package/dist/tools/handlers/local.d.ts +0 -6
  799. package/dist/tools/handlers/mark-namespace.d.ts +0 -30
  800. package/dist/tools/handlers/messenger.d.ts +0 -24
  801. package/dist/tools/handlers/monitor.d.ts +0 -26
  802. package/dist/tools/handlers/name-resolution.d.ts +0 -4
  803. package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
  804. package/dist/tools/handlers/name-resolution.spec.js +0 -1
  805. package/dist/tools/handlers/network.d.ts +0 -1
  806. package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
  807. package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
  808. package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
  809. package/dist/tools/handlers/onchain.d.ts +0 -132
  810. package/dist/tools/handlers/permission.d.ts +0 -2
  811. package/dist/tools/handlers/persona.d.ts +0 -4
  812. package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
  813. package/dist/tools/handlers/review-chain.d.ts +0 -19
  814. package/dist/tools/handlers/schema-query.d.ts +0 -2
  815. package/dist/tools/handlers/service-clone.d.ts +0 -20
  816. package/dist/tools/handlers/stale-build-check.d.ts +0 -9
  817. package/dist/tools/handlers/strategy-review.d.ts +0 -2
  818. package/dist/tools/handlers/submission-assembly.d.ts +0 -55
  819. package/dist/tools/handlers/watch.d.ts +0 -2
  820. package/dist/tools/handlers/winner-derivation.d.ts +0 -20
  821. package/dist/tools/handlers/wip-upload.d.ts +0 -22
  822. package/dist/tools/handlers/wip.d.ts +0 -2
  823. package/dist/tools/handlers/workflow.d.ts +0 -2
  824. package/dist/tools/handlers/workspace.d.ts +0 -4
  825. package/dist/tools/move-fn-index.gen.d.ts +0 -3
  826. package/dist/tools/publish-gate-state.d.ts +0 -5
  827. package/dist/tools/registry/agent.d.ts +0 -2
  828. package/dist/tools/registry/bridge.d.ts +0 -2
  829. package/dist/tools/registry/business.d.ts +0 -2
  830. package/dist/tools/registry/config.d.ts +0 -2
  831. package/dist/tools/registry/evaluation.d.ts +0 -2
  832. package/dist/tools/registry/files.d.ts +0 -2
  833. package/dist/tools/registry/identity.d.ts +0 -2
  834. package/dist/tools/registry/interaction.d.ts +0 -2
  835. package/dist/tools/registry/local.d.ts +0 -2
  836. package/dist/tools/registry/messenger.d.ts +0 -2
  837. package/dist/tools/registry/monitor.d.ts +0 -2
  838. package/dist/tools/registry/onchain.d.ts +0 -2
  839. package/dist/tools/registry/query.d.ts +0 -2
  840. package/dist/tools/retry.d.ts +0 -8
  841. package/dist/tools/rules-hook.d.ts +0 -5
  842. package/dist/tools/runtime-health.d.ts +0 -10
  843. package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
  844. package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
  845. package/dist/tools/sanitize-output.d.ts +0 -4
  846. package/dist/tools/sanitize-output.spec.d.ts +0 -1
  847. package/dist/tools/sanitize-output.spec.js +0 -1
  848. package/dist/tools/shared.d.ts +0 -20
  849. package/dist/tools/transport-integrity.d.ts +0 -7
  850. package/dist/tools/upgrade-check.d.ts +0 -75
  851. package/dist/tools/wip-deploy-assist.d.ts +0 -34
  852. package/dist/tools/wip-verify-ledger.d.ts +0 -16
  853. package/dist/tools/wrap.d.ts +0 -45
@@ -1,86 +0,0 @@
1
- import { type Facts, type FindingExposure } from "../config/rule-engine.js";
2
- import { type RewardScene, type RewardAmountType } from "./reward-ledger.js";
3
- export type RewardRiskLevel = "critical" | "high" | "medium" | "low";
4
- export type RewardRiskCategory = "structural" | "semantic" | "permission" | "lifecycle" | "cross_object" | "business_semantic" | "fund_recovery";
5
- export interface RewardRisk {
6
- id: string;
7
- level: RewardRiskLevel;
8
- category: RewardRiskCategory;
9
- title: string;
10
- description: string;
11
- affected_stakeholders: RewardStakeholder[];
12
- scenario: string;
13
- mitigation: string;
14
- evidence?: string;
15
- related_move_error?: string;
16
- auto_fixable: boolean;
17
- exposure?: FindingExposure;
18
- }
19
- export type RewardStakeholder = "owner" | "claimer" | "service_provider" | "system";
20
- export interface RewardRiskRule {
21
- id: string;
22
- category: RewardRiskCategory;
23
- trigger: string;
24
- check: (ctx: RewardRiskCheckContext) => RewardRisk | null;
25
- }
26
- export interface RewardGuardAddEntry {
27
- guard: string;
28
- recipient: {
29
- GuardIdentifier: number;
30
- } | {
31
- Entity: string;
32
- } | {
33
- Signer: unknown;
34
- };
35
- amount: {
36
- type: RewardAmountType | string;
37
- value: number | string;
38
- };
39
- expiration_time?: number;
40
- store_from_id?: number | null;
41
- }
42
- export interface RewardRiskCheckContext {
43
- object?: string | null;
44
- claim?: string;
45
- description?: string;
46
- coin_add?: {
47
- amount: string | number;
48
- coin_type: string;
49
- };
50
- receive?: {
51
- token_type: string;
52
- };
53
- guard_add?: RewardGuardAddEntry[];
54
- guard_remove?: string;
55
- guard_expiration_time?: number | null;
56
- owner_receive?: unknown;
57
- um?: string | null;
58
- reward_type?: string;
59
- current_balance?: string;
60
- current_guard_count?: number;
61
- current_record_count_for_recipient?: number;
62
- current_guard_not_added_expiration_time?: number | null;
63
- current_clock_ms?: number;
64
- permission_address?: string;
65
- signer?: string;
66
- target_guard_addresses?: string[];
67
- passport_submission_value_types?: Record<number, string>;
68
- passport_identifier_is_address?: Record<number, boolean>;
69
- guard_store_from_id_compatible?: Record<string, boolean>;
70
- user_intent_phrases?: string[];
71
- guard_expected_progress_state?: string;
72
- machine_has_wonder_node?: boolean;
73
- }
74
- export declare function rewardRiskFacts(ctx: RewardRiskCheckContext): Facts;
75
- export declare const REWARD_RISK_VERSION = "1.2.0";
76
- export declare function getAllRewardRiskRules(): RewardRiskRule[];
77
- export interface RewardRiskAssessment {
78
- summary: string;
79
- scene?: RewardScene;
80
- risks: RewardRisk[];
81
- overall_risk: RewardRiskLevel;
82
- risks_by_category: Partial<Record<RewardRiskCategory, number>>;
83
- stakeholder_advice: Partial<Record<RewardStakeholder, string[]>>;
84
- needs_human_review: boolean;
85
- }
86
- export declare function assessRewardRisks(ctx: RewardRiskCheckContext): RewardRiskAssessment;
@@ -1,25 +0,0 @@
1
- export type RewardTemplateType = "first_order" | "referral" | "loyalty" | "flash_sale" | "bulk_discount" | "milestone" | "cashback" | "wonder_praise" | "wonder_feedback";
2
- export interface RewardTemplate {
3
- type: RewardTemplateType;
4
- name: string;
5
- description: string;
6
- guardCondition: string;
7
- amountRange: {
8
- min: string;
9
- max: string;
10
- };
11
- allocationStrategy: "fixed" | "proportional" | "tiered";
12
- parameters: Array<{
13
- name: string;
14
- type: "string" | "number" | "address";
15
- description: string;
16
- required: boolean;
17
- }>;
18
- example: string;
19
- relevantGuardOps: string[];
20
- }
21
- export declare const REWARD_TEMPLATES: RewardTemplate[];
22
- export declare function getRewardTemplate(type: string): RewardTemplate | undefined;
23
- export declare function listRewardTemplates(): RewardTemplate[];
24
- export declare function suggestRewardTemplate(intent: string): RewardTemplate | undefined;
25
- export declare const REWARD_TEMPLATES_VERSION = 1;
@@ -1,49 +0,0 @@
1
- import { type NodeAnalyzer } from "../graph/onchain/index.js";
2
- export declare const MACHINE_RULE_NODE_ANALYZER_ID = "MK1";
3
- export declare const machineRuleNodeAnalyzer: NodeAnalyzer;
4
- export declare const GUARD_RULE_NODE_ANALYZER_ID = "GD1";
5
- export declare const guardRuleNodeAnalyzer: NodeAnalyzer;
6
- export declare const PERMISSION_RULE_NODE_ANALYZER_ID = "PM1";
7
- export declare const permissionRuleNodeAnalyzer: NodeAnalyzer;
8
- export declare const ALLOCATION_RULE_NODE_ANALYZER_ID = "AL1";
9
- export declare function allocationPackRisks(puzzle: unknown): unknown[];
10
- export declare const allocationRuleNodeAnalyzer: NodeAnalyzer;
11
- export declare const SERVICE_ALLOCATION_SEMANTICS_ANALYZER_ID = "SA1";
12
- export declare const ALLOCATION_SEMANTICS_ANALYZER_ID = "SA2";
13
- export declare const serviceAllocationSemanticsNodeAnalyzer: NodeAnalyzer;
14
- export declare const allocationSemanticsNodeAnalyzer: NodeAnalyzer;
15
- export declare const TREASURY_RULE_NODE_ANALYZER_ID = "TR1";
16
- export declare const treasuryRuleNodeAnalyzer: NodeAnalyzer;
17
- export declare const ARBITRATION_RULE_NODE_ANALYZER_ID = "AR1";
18
- export declare const arbitrationRuleNodeAnalyzer: NodeAnalyzer;
19
- export declare const ARB_L3_RULE_NODE_ANALYZER_ID = "AR3";
20
- export declare const arbL3RuleNodeAnalyzer: NodeAnalyzer;
21
- export declare const REWARD_RULE_NODE_ANALYZER_ID = "RW1";
22
- export declare const rewardRuleNodeAnalyzer: NodeAnalyzer;
23
- export declare const PROGRESS_RULE_NODE_ANALYZER_ID = "PR1";
24
- export declare const progressRuleNodeAnalyzer: NodeAnalyzer;
25
- export declare const ORDER_RULE_NODE_ANALYZER_ID = "OR1";
26
- export declare const orderRuleNodeAnalyzer: NodeAnalyzer;
27
- export declare const CONTACT_RULE_NODE_ANALYZER_ID = "CT1";
28
- export declare const contactRuleNodeAnalyzer: NodeAnalyzer;
29
- export declare const REPOSITORY_RULE_NODE_ANALYZER_ID = "RP1";
30
- export declare const repositoryRuleNodeAnalyzer: NodeAnalyzer;
31
- export declare const REPOSITORY_WRITE_SEMANTICS_NODE_ANALYZER_ID = "RP2";
32
- export declare const repositoryWriteSemanticsNodeAnalyzer: NodeAnalyzer;
33
- export declare const DEMAND_RULE_NODE_ANALYZER_ID = "DM1";
34
- export declare const demandRuleNodeAnalyzer: NodeAnalyzer;
35
- export declare const PAYMENT_RULE_NODE_ANALYZER_ID = "PY1";
36
- export declare const paymentRuleNodeAnalyzer: NodeAnalyzer;
37
- export declare const PROOF_RULE_NODE_ANALYZER_ID = "PF1";
38
- export declare const proofRuleNodeAnalyzer: NodeAnalyzer;
39
- export declare const RESOURCE_RULE_NODE_ANALYZER_ID = "RS1";
40
- export declare const resourceRuleNodeAnalyzer: NodeAnalyzer;
41
- export declare const PERSONAL_RULE_NODE_ANALYZER_ID = "PS1";
42
- export declare const personalRuleNodeAnalyzer: NodeAnalyzer;
43
- export declare const UTIL_RULE_NODE_ANALYZER_ID = "UT1";
44
- export declare const utilRuleNodeAnalyzer: NodeAnalyzer;
45
- export declare const REGISTRAR_RULE_NODE_ANALYZER_ID = "RG1";
46
- export declare const registrarRuleNodeAnalyzer: NodeAnalyzer;
47
- export declare const BRIDGE_RULE_NODE_ANALYZER_ID = "BR1";
48
- export declare const bridgeRuleNodeAnalyzer: NodeAnalyzer;
49
- export declare const RULE_NODE_ANALYZERS: NodeAnalyzer[];
@@ -1,5 +0,0 @@
1
- import type { Confidence, NodeRuleOutcome, TopoNode } from "../graph/onchain/index.js";
2
- export declare function riskToOutcome(risk: unknown, confidence: Confidence, carryNative?: boolean): NodeRuleOutcome;
3
- export declare function safeRunPack(fn: (ctx: any) => unknown, ctx: unknown): unknown[];
4
- export declare function puzzlePayloadOf(node: TopoNode): Record<string, unknown> | undefined;
5
- export declare function recipientAuditRisks(puzzle: unknown): unknown[];
@@ -1,48 +0,0 @@
1
- export interface BridgeParticipant {
2
- object: string;
3
- role: string;
4
- }
5
- export interface BridgeField {
6
- object: string;
7
- field: string;
8
- meaning: string;
9
- }
10
- export interface ScenarioBridge {
11
- id: string;
12
- code: string;
13
- name: string;
14
- edge_refs: string[];
15
- participants: BridgeParticipant[];
16
- bridge_fields: BridgeField[];
17
- move_anchor: string;
18
- scenario: {
19
- from: string;
20
- to: string;
21
- merged: string;
22
- };
23
- capability_gained: string;
24
- value_flow?: string;
25
- prerequisites: string[];
26
- examples: string[];
27
- }
28
- export interface ScenarioChain {
29
- id: string;
30
- name: string;
31
- steps: Array<{
32
- bridge: string;
33
- note?: string;
34
- }>;
35
- application_capability: string;
36
- objects_touched: string[];
37
- }
38
- export declare const SCENARIO_BRIDGE_REGISTRY: ScenarioBridge[];
39
- export declare const SCENARIO_CHAINS: ScenarioChain[];
40
- export declare const SCENARIO_TOPOLOGY_VERSION = "1.1.0";
41
- export declare function getBridgeById(id: string): ScenarioBridge | undefined;
42
- export declare function getBridgeByCode(code: string): ScenarioBridge | undefined;
43
- export declare function getBridgesByObject(objectType: string): ScenarioBridge[];
44
- export declare function getBridgesForEdge(schemaId: string): ScenarioBridge[];
45
- export declare function detectBridgesForEdges(schemaIds: Iterable<string>): ScenarioBridge[];
46
- export declare function getChainById(id: string): ScenarioChain | undefined;
47
- export declare function summarizeBridge(b: ScenarioBridge): string;
48
- export declare function detectBridgesForObjects(objectTypes: string[]): ScenarioBridge[];
@@ -1,136 +0,0 @@
1
- import { z } from "zod";
2
- import { type DomainPriorMatch, type TraitInferenceResult } from "./industry-generalizer.js";
3
- import { type IndustryTraits } from "./industry-registry.js";
4
- export declare const SEMANTIC_IR_SCHEMA_VERSION: 2;
5
- export declare const SEMANTIC_IR_ACCEPTED_INPUT_VERSIONS: readonly [1, 2];
6
- export declare const TRAIT_KEYS: Array<keyof IndustryTraits>;
7
- export declare const SEMANTIC_CLAIM_KEYS: readonly ["reward_pool_amount", "funding_threshold_amount", "min_order_price_amount"];
8
- export type SemanticClaimKey = (typeof SEMANTIC_CLAIM_KEYS)[number];
9
- export declare function resolveClaimKey(raw: string): {
10
- key: SemanticClaimKey;
11
- note?: string;
12
- } | undefined;
13
- export declare const SemanticIRInputSchema: z.ZodObject<{
14
- schema_version: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
15
- locale: z.ZodString;
16
- traits: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
- trait: z.ZodString;
18
- value: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
19
- confidence: z.ZodNumber;
20
- span: z.ZodOptional<z.ZodObject<{
21
- start: z.ZodNumber;
22
- end: z.ZodNumber;
23
- }, z.core.$strict>>;
24
- quote: z.ZodOptional<z.ZodString>;
25
- }, z.core.$strict>>>;
26
- domains: z.ZodOptional<z.ZodArray<z.ZodObject<{
27
- domain: z.ZodString;
28
- confidence: z.ZodOptional<z.ZodNumber>;
29
- span: z.ZodOptional<z.ZodObject<{
30
- start: z.ZodNumber;
31
- end: z.ZodNumber;
32
- }, z.core.$strict>>;
33
- quote: z.ZodOptional<z.ZodString>;
34
- }, z.core.$strict>>>;
35
- claims: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
- key: z.ZodString;
37
- value: z.ZodNumber;
38
- confidence: z.ZodOptional<z.ZodNumber>;
39
- span: z.ZodOptional<z.ZodObject<{
40
- start: z.ZodNumber;
41
- end: z.ZodNumber;
42
- }, z.core.$strict>>;
43
- quote: z.ZodOptional<z.ZodString>;
44
- }, z.core.$strict>>>;
45
- discovery: z.ZodOptional<z.ZodObject<{
46
- industry: z.ZodOptional<z.ZodString>;
47
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
- product_ref: z.ZodOptional<z.ZodString>;
49
- english_summary: z.ZodOptional<z.ZodString>;
50
- confidence: z.ZodOptional<z.ZodNumber>;
51
- }, z.core.$strict>>;
52
- provenance: z.ZodObject<{
53
- source: z.ZodEnum<{
54
- human: "human";
55
- caller_llm: "caller_llm";
56
- }>;
57
- model: z.ZodOptional<z.ZodString>;
58
- prompt_version: z.ZodOptional<z.ZodString>;
59
- generated_at: z.ZodOptional<z.ZodNumber>;
60
- }, z.core.$strict>;
61
- }, z.core.$strict>;
62
- export type SemanticIRInput = z.infer<typeof SemanticIRInputSchema>;
63
- export interface SemanticIRTraitEvidence {
64
- trait: keyof IndustryTraits;
65
- value: boolean | string;
66
- confidence: number;
67
- span?: {
68
- start: number;
69
- end: number;
70
- };
71
- quote?: string;
72
- }
73
- export interface SemanticIRDomainEvidence {
74
- domain: string;
75
- confidence: number;
76
- span?: {
77
- start: number;
78
- end: number;
79
- };
80
- quote?: string;
81
- }
82
- export interface SemanticIRClaim {
83
- key: SemanticClaimKey;
84
- value: number;
85
- confidence: number;
86
- span?: {
87
- start: number;
88
- end: number;
89
- };
90
- quote?: string;
91
- }
92
- export interface SemanticIRDiscovery {
93
- industry?: string;
94
- tags: string[];
95
- product_ref?: string;
96
- english_summary?: string;
97
- confidence?: number;
98
- }
99
- export interface CanonicalSemanticIR {
100
- schema_version: typeof SEMANTIC_IR_SCHEMA_VERSION;
101
- locale: string;
102
- traits: SemanticIRTraitEvidence[];
103
- domains: SemanticIRDomainEvidence[];
104
- claims: SemanticIRClaim[];
105
- discovery: SemanticIRDiscovery;
106
- provenance: {
107
- source: "caller_llm" | "human";
108
- model?: string;
109
- prompt_version?: string;
110
- generated_at?: number;
111
- };
112
- }
113
- export interface NormalizedSemanticIR {
114
- ir: CanonicalSemanticIR;
115
- digest: string;
116
- issues: string[];
117
- }
118
- export declare function semanticIrDigest(ir: CanonicalSemanticIR): string;
119
- export declare function normalizeSemanticIR(raw: unknown, options?: {
120
- source_text?: string;
121
- }): NormalizedSemanticIR;
122
- export declare function discoverySignal(ir: CanonicalSemanticIR): SemanticIRDiscovery | undefined;
123
- export declare function claimNumber(ir: CanonicalSemanticIR, key: SemanticClaimKey): number | undefined;
124
- export interface SemanticIRConflict {
125
- trait: string;
126
- keyword_value: boolean | string;
127
- keyword_confidence: number;
128
- ir_value: boolean | string;
129
- ir_confidence: number;
130
- }
131
- export interface MergedTraitInference extends TraitInferenceResult {
132
- conflicts: SemanticIRConflict[];
133
- }
134
- export declare function mergeSemanticIR(base: TraitInferenceResult, ir: CanonicalSemanticIR): MergedTraitInference;
135
- export declare function domainPriorsFromIR(ir: CanonicalSemanticIR): DomainPriorMatch[];
136
- export declare function mergeDomainPriors(keywordPriors: DomainPriorMatch[], irPriors: DomainPriorMatch[]): DomainPriorMatch[];
@@ -1,36 +0,0 @@
1
- import type { TopoNode, Viewport } from "../graph/onchain/index.js";
2
- export declare const SERVICE_ALLOCATION_SEMANTICS_ANALYZER_ID = "SA1";
3
- export declare const ALLOCATION_SEMANTICS_ANALYZER_ID = "SA2";
4
- export type AllocationSemanticsRuleId = "R-ALC-S-01" | "R-ALC-S-02" | "R-ALC-S-03" | "R-ALC-S-04" | "R-ALC-S-05" | "R-ALC-S-06";
5
- export interface AllocationSemanticsRisk {
6
- id: AllocationSemanticsRuleId;
7
- level: "info" | "low" | "medium" | "high" | "critical";
8
- title: string;
9
- description: string;
10
- mitigation?: string;
11
- evidence?: string;
12
- affected_stakeholders: Array<"owner" | "customer" | "buyer" | "system">;
13
- confidence: "exact" | "bounded";
14
- }
15
- interface NormalizedSharing {
16
- who: string;
17
- value?: string;
18
- mode?: number;
19
- }
20
- interface NormalizedAllocator {
21
- guard?: string;
22
- sharing: NormalizedSharing[];
23
- fix?: string;
24
- max?: string;
25
- }
26
- export declare function serviceAllocatorsOf(data: Record<string, unknown>): NormalizedAllocator[];
27
- export interface AllocationInstanceFacts {
28
- allocators: NormalizedAllocator[];
29
- threshold?: string;
30
- forObject?: string;
31
- forGuard?: string;
32
- }
33
- export declare function allocationInstanceFactsOf(data: Record<string, unknown>): AllocationInstanceFacts;
34
- export declare function analyzeServiceAllocationSemantics(data: Record<string, unknown>, node: TopoNode, v: Viewport): AllocationSemanticsRisk[];
35
- export declare function analyzeAllocationInstanceSemantics(data: Record<string, unknown>, node: TopoNode, v: Viewport): AllocationSemanticsRisk[];
36
- export {};
@@ -1,3 +0,0 @@
1
- import { type NodeAnalyzer } from "../graph/onchain/index.js";
2
- export declare const SERVICE_ALLOCATOR_AUDIT_NODE_ANALYZER_ID = "ALC1";
3
- export declare const serviceAllocatorAuditNodeAnalyzer: NodeAnalyzer;
@@ -1,87 +0,0 @@
1
- export interface ServiceScene {
2
- id: string;
3
- name: string;
4
- category: "retail" | "rental" | "subscription" | "workflow" | "arbitration" | "compensation_fund" | "reward" | "dynamic_pricing" | "multi_allocator" | "buy_guard" | "order_allocator" | "general";
5
- permission_index_range: string;
6
- builtin_indexes: ServicePermissionEntry[];
7
- cross_object_bindings: ServiceCrossObjectBinding[];
8
- order_flow_stages: ServiceOrderFlowStage[];
9
- owner_operations: string[];
10
- admin_operations: string[];
11
- permission_index_operations: string[];
12
- mutable_after_publish: {
13
- machine: boolean;
14
- arbitrations: boolean;
15
- order_allocators: boolean;
16
- buy_guard: boolean;
17
- rewards: "mutable" | "locked_by_duration";
18
- compensation_fund_withdraw: "mutable" | "locked_by_duration";
19
- compensation_fund_receive: "mutable" | "locked_by_duration";
20
- sales: boolean;
21
- description: boolean;
22
- location: boolean;
23
- repositories: boolean;
24
- customer_required: boolean;
25
- discount: boolean;
26
- um: boolean;
27
- pause: boolean;
28
- };
29
- publish_prerequisites: string[];
30
- common_patterns: string[];
31
- recommended_templates: string[];
32
- }
33
- export interface ServicePermissionEntry {
34
- index: number;
35
- name: string;
36
- description: string;
37
- governed_operation: string;
38
- post_publish_mutability: "mutable" | "immutable" | "one_shot" | "locked_by_duration" | "na";
39
- }
40
- export interface ServiceCrossObjectBinding {
41
- object: "Machine" | "Allocation" | "Arbitration" | "Repository" | "Reward" | "Guard" | "Treasury" | "Contact" | "Progress";
42
- field: string;
43
- required: boolean;
44
- locked_after_publish: boolean;
45
- notes: string;
46
- }
47
- export interface ServiceOrderFlowStage {
48
- stage: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
49
- name: "pre_check" | "wip_verify" | "quote" | "create_order" | "create_allocation" | "create_progress" | "post_actions" | "return_result";
50
- preconditions: string[];
51
- side_effects: string[];
52
- always_executed: boolean;
53
- }
54
- export declare const SERVICE_PERMISSIONS: ServicePermissionEntry[];
55
- export declare const SERVICE_LISTING_REFUND_GATES: {
56
- readonly price_floor: {
57
- readonly rule: "A sale listed at price 0 is REFUSED at construction time (aborts E_PRICE_BELOW_FLOOR = 44) — applies to every sale-minting path (sales add / sales set / replace). The SDK refuses it locally in the sale builder.";
58
- readonly rationale: "A zero-priced listing plus an allocation-free 0-amount order produced stores whose entire economics live outside the chain. Repricing an EXISTING sale down to zero stays legal and is caught at buy time by the zero-total order gate.";
59
- };
60
- readonly restock: {
61
- readonly rule: "Refund restocking is opt-in per SKU: the merchant marks an ALIVE sale with the restock flag (305), then a refunded order's purchased units can be put back on shelf (305). Two-pass on-chain (validate every line, then apply) — ALL lines restock or NOTHING mutates. Unflagged or delisted lines abort E_RESTOCK_NOT_FLAGGED = 46 / E_SALE_ITEM_NOT_FOUND. Quantities come from the order's purchase rows. ONCE-PER-ORDER: the restock operation stamps the order with a RestockStamp dynamic field and a second call for the same order aborts E_RESTOCK_ALREADY_APPLIED = 49 (a replay would stack the purchased units again, an unbounded +quantity). OWNERSHIP-BOUND: only an order whose service field is THIS service restocks here — a foreign order aborts E_ORDER_SERVICE_NOT_MATCH = 26. The applied state lives in a RestockStamp dynamic field on the service (no public query primitive); the MCP restock op:'order' pre-gate reads that stamp pre-send and refuses a replay without burning gas.";
62
- readonly events: "StockRestockedEvent per line (service, order, item, quantity, time).";
63
- };
64
- readonly dismissal_conclusion: {
65
- readonly rule: "The dismissal conclusion stamps a CONCLUDED, DEFENDANT-FAVORED ruling onto the order (claimed_by = case address) — the mirror of the compensation claim. Requires: order belongs to this service, arbitration on the merchant allowlist, no self-judging (E_ARBITRATION_PERMISSION_CONFLICT), case concluded (Arbitrated/Withdrawn) AND indemnity none/0 (E_CASE_NOT_DISMISSAL_CONCLUSION = 48). Permissionless keeper surface; writes a flag, moves no funds.";
66
- readonly closes: "A dismissal ruling would otherwise never stamp claimed_by (the zero-indemnity claim gate refuses the claim path), so a buyer who LOST the case kept every `claimed_by none` refund rail open forever.";
67
- };
68
- };
69
- export declare const SERVICE_ORDER_FLOW_STAGES: ServiceOrderFlowStage[];
70
- export declare const SERVICE_CROSS_OBJECT_BINDINGS: ServiceCrossObjectBinding[];
71
- export declare const SERVICE_REWARDS_BUYER_DD: string;
72
- export declare const SUBSERVICE_ACCOUNT_ALIGNMENT: string;
73
- export declare const SERVICE_SCENES: ServiceScene[];
74
- export declare const SERVICE_LEDGER_VERSION = "1.1.0";
75
- export declare function getScenesByCategory(category: ServiceScene["category"]): ServiceScene[];
76
- export declare function findSceneById(id: string): ServiceScene | undefined;
77
- export declare function getServicePermissionByIndex(index: number): ServicePermissionEntry | undefined;
78
- export declare function isServicePermission(index: number): boolean;
79
- export declare function getPermissionsByMutability(mutability: ServicePermissionEntry["post_publish_mutability"]): ServicePermissionEntry[];
80
- export declare function getImmutablePostPublishPermissions(): ServicePermissionEntry[];
81
- export declare function getLockedByDurationPermissions(): ServicePermissionEntry[];
82
- export declare function inferSceneFromIntent(intent: string): ServiceScene | undefined;
83
- export declare function getAllServiceScenes(): ServiceScene[];
84
- export declare function getServiceScenesCount(): number;
85
- export declare function getServicePermissionsCount(): number;
86
- export declare function getOrderFlowStage(stage: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8): ServiceOrderFlowStage | undefined;
87
- export declare function getCrossObjectBindings(): ServiceCrossObjectBinding[];
@@ -1,158 +0,0 @@
1
- import { type ServicePermissionEntry } from "./service-ledger.js";
2
- export interface ServiceIntentPuzzle {
3
- action: "create" | "modify" | "publish" | "pause" | "order" | "compensate" | "query";
4
- business_scenario: "retail" | "service" | "digital_goods" | "rental" | "freelance" | "travel_package" | "subscription" | "general";
5
- lifecycle_phase: "draft" | "published" | "paused" | "deprecated";
6
- primary_goal: string;
7
- failure_conditions: string[];
8
- }
9
- export interface ServiceBindingPuzzle {
10
- coin_type: string;
11
- permission: string;
12
- owner: string;
13
- admins: string[];
14
- um?: string | null;
15
- machine?: string | null;
16
- buy_guard?: string | null;
17
- order_allocators?: object | null;
18
- arbitrations: string[];
19
- rewards: string[];
20
- repositories: string[];
21
- compensation_fund_balance: string;
22
- setting_lock_duration: string;
23
- }
24
- export interface ServicePermissionAllocatorPuzzle {
25
- permission_indexes_used: ServicePermissionEntry[];
26
- allocators_configured: boolean;
27
- allocators_summary?: string;
28
- guards_bound: {
29
- kind: "buy_guard";
30
- address: string;
31
- }[];
32
- treasury_addresses_referenced: string[];
33
- }
34
- export interface ServiceGuardProtectionPuzzle {
35
- buy_guard_bound: boolean;
36
- buy_guard_address?: string;
37
- buy_guard_post_publish_mutable: boolean;
38
- allocators_guards_count: number;
39
- repository_guards_count: number;
40
- }
41
- export interface ServiceDisputeHandlingPuzzle {
42
- arbitrations_count: number;
43
- arbitrations_addresses: string[];
44
- compensation_fund_configured: boolean;
45
- compensation_fund_balance: string;
46
- setting_lock_duration_ms: string;
47
- setting_lock_duration_can_only_increase: boolean;
48
- publish_prerequisites_met: boolean;
49
- publish_blockers: string[];
50
- }
51
- export interface ServiceConstraintChecklist {
52
- F_S_01_description_length_le_4000: boolean;
53
- F_S_02_sales_count_le_50: boolean;
54
- F_S_03_repositories_count_le_100: boolean;
55
- F_S_04_arbitrations_count_le_20: boolean;
56
- F_S_05_rewards_count_le_20: boolean;
57
- F_S_06_customer_required_count_le_10: boolean;
58
- F_S_07_customer_required_each_le_20: boolean;
59
- F_S_08_discount_once_le_1000: boolean;
60
- F_S_09_discount_receivers_le_1000: boolean;
61
- F_S_10_discount_total_le_20000: boolean;
62
- F_S_11_wip_url_length_le_1024: boolean;
63
- F_S_12_wip_hash_length_le_64: boolean;
64
- F_S_13_wip_hash_not_empty: boolean;
65
- F_S_14_quote_stock_sufficient: boolean;
66
- F_S_15_quote_sale_not_suspended: boolean;
67
- F_S_16_buy_requires_published: boolean;
68
- F_S_17_buy_requires_not_paused: boolean;
69
- F_S_18_publish_requires_order_allocators: boolean;
70
- F_S_19_publish_compensation_fund_requires_arbitrations: boolean;
71
- F_S_20_machine_immutable_post_publish: boolean;
72
- F_S_21_arbitrations_immutable_post_publish: boolean;
73
- F_S_22_order_allocators_immutable_post_publish: boolean;
74
- F_S_23_bPublished_irreversible: boolean;
75
- F_S_24_setting_lock_duration_only_increases: boolean;
76
- F_S_25_compensation_fund_withdraw_locked_by_duration: boolean;
77
- F_S_26_compensation_fund_withdraw_requires_paused: boolean;
78
- F_S_27_quote_deducts_stock_side_effect: boolean;
79
- F_S_28_order_service_must_match: boolean;
80
- F_S_29_order_one_to_one_with_service: boolean;
81
- F_S_30_permission_indexes_300_to_320: boolean;
82
- }
83
- export type ServicePuzzleDimension = "A" | "B" | "C" | "D" | "E" | "F";
84
- export interface ServicePuzzle {
85
- intent?: ServiceIntentPuzzle;
86
- binding?: ServiceBindingPuzzle;
87
- permission_allocator?: ServicePermissionAllocatorPuzzle;
88
- guard_protection?: ServiceGuardProtectionPuzzle;
89
- dispute_handling?: ServiceDisputeHandlingPuzzle;
90
- constraints?: ServiceConstraintChecklist;
91
- }
92
- export interface ServicePuzzleCompleteness {
93
- dimensions: ServicePuzzleDimension[];
94
- missing: ServicePuzzleDimension[];
95
- missing_details: {
96
- dimension: ServicePuzzleDimension;
97
- reason: string;
98
- }[];
99
- complete: boolean;
100
- next_step: string;
101
- }
102
- export interface ServiceOrderFlowPuzzle {
103
- stage_1_pre_check: {
104
- bPublished: boolean;
105
- bPaused: boolean;
106
- buy_guard?: string;
107
- ready: boolean;
108
- };
109
- stage_2_wip_verify: {
110
- items_count: number;
111
- wip_verified: boolean;
112
- wip_hash_mismatches: string[];
113
- };
114
- stage_3_quote: {
115
- items_quoted: number;
116
- stock_sufficient: boolean;
117
- discount_applied: boolean;
118
- total_pay: string;
119
- };
120
- stage_4_create_order: {
121
- order_created: boolean;
122
- passport_used: boolean;
123
- };
124
- stage_5_create_allocation: {
125
- allocation_created: boolean;
126
- allocators_configured: boolean;
127
- };
128
- stage_6_create_progress: {
129
- progress_created: boolean;
130
- machine_bound: boolean;
131
- };
132
- stage_7_post_actions: {
133
- agents_set: boolean;
134
- required_info_set: boolean;
135
- transfer_set: boolean;
136
- };
137
- stage_8_return_result: {
138
- order_address?: string;
139
- allocation_address?: string;
140
- progress_address?: string;
141
- };
142
- }
143
- export declare function initPuzzleFromIntent(intent: Partial<ServiceIntentPuzzle>): ServicePuzzle;
144
- export declare function checkPuzzleCompleteness(puzzle: ServicePuzzle): ServicePuzzleCompleteness;
145
- export interface ServiceConstraintViolation {
146
- constraint_id: string;
147
- severity: "critical" | "high" | "medium" | "low";
148
- message: string;
149
- current_value?: string | number;
150
- limit?: string | number;
151
- }
152
- export declare function validateConstraints(puzzle: ServicePuzzle): ServiceConstraintViolation[];
153
- export declare function generateConfirmationText(puzzle: ServicePuzzle): string;
154
- export declare function initOrderFlowPuzzle(buy_items_count: number, machine_bound: boolean): ServiceOrderFlowPuzzle;
155
- export declare function checkOrderFlowCompleteness(flow: ServiceOrderFlowPuzzle): {
156
- complete: boolean;
157
- blockers: string[];
158
- };
@@ -1,3 +0,0 @@
1
- import { type NodeAnalyzer } from "../graph/onchain/index.js";
2
- export declare const SERVICE_RISK_NODE_ANALYZER_ID = "SR1";
3
- export declare const serviceRiskNodeAnalyzer: NodeAnalyzer;