@wowok/agent-mcp 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/communication/wts-attestation.d.ts +34 -0
  2. package/dist/communication/wts-attestation.js +1 -0
  3. package/dist/config/exposure.d.ts +8 -8
  4. package/dist/config/judgment.d.ts +45 -20
  5. package/dist/config/rule-engine.d.ts +30 -20
  6. package/dist/config/rule-engine.js +1 -1
  7. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  8. package/dist/evaluation/engine.js +1 -1
  9. package/dist/experience/realtime-feedback.js +1 -1
  10. package/dist/extensions/industry-pack.js +1 -1
  11. package/dist/graph/onchain/expand.js +1 -1
  12. package/dist/graph/onchain/exposure.js +1 -1
  13. package/dist/graph/onchain/facts.js +1 -1
  14. package/dist/graph/onchain/sdk-batch.d.ts +1 -0
  15. package/dist/graph/onchain/sdk-batch.js +1 -1
  16. package/dist/graph/onchain/sdk-dataplane.d.ts +1 -0
  17. package/dist/graph/onchain/sdk-dataplane.js +1 -1
  18. package/dist/knowledge/allocation-risk.d.ts +2 -1
  19. package/dist/knowledge/allocation-risk.js +1 -1
  20. package/dist/knowledge/allocation-templates.d.ts +1 -1
  21. package/dist/knowledge/allocation-templates.js +1 -1
  22. package/dist/knowledge/arbitration-ledger.js +1 -1
  23. package/dist/knowledge/audit-rules.d.ts +1 -1
  24. package/dist/knowledge/audit-rules.js +1 -1
  25. package/dist/knowledge/baselines/rules/allocation.json +31 -1
  26. package/dist/knowledge/builtin-templates.d.ts +3 -1
  27. package/dist/knowledge/builtin-templates.js +1 -1
  28. package/dist/knowledge/discount-threshold.d.ts +15 -0
  29. package/dist/knowledge/discount-threshold.js +1 -0
  30. package/dist/knowledge/entity-recipient-guard.d.ts +21 -0
  31. package/dist/knowledge/entity-recipient-guard.js +1 -0
  32. package/dist/knowledge/getting-started.js +1 -1
  33. package/dist/knowledge/guard-design-patterns.js +1 -1
  34. package/dist/knowledge/guard-lint.js +1 -1
  35. package/dist/knowledge/guard-templates.js +1 -1
  36. package/dist/knowledge/guard-translation.js +1 -1
  37. package/dist/knowledge/index.d.ts +2 -2
  38. package/dist/knowledge/index.js +1 -1
  39. package/dist/knowledge/industry-generalizer.d.ts +38 -1
  40. package/dist/knowledge/industry-generalizer.js +1 -1
  41. package/dist/knowledge/industry-registry.js +1 -1
  42. package/dist/knowledge/industry-strategy.js +1 -1
  43. package/dist/knowledge/jsonrpc-enum.js +1 -1
  44. package/dist/knowledge/machine-topology.d.ts +34 -0
  45. package/dist/knowledge/machine-topology.js +1 -1
  46. package/dist/knowledge/onchain-constants.d.ts +2 -2
  47. package/dist/knowledge/onchain-constants.js +1 -1
  48. package/dist/knowledge/scenario-modes.d.ts +11 -0
  49. package/dist/knowledge/scenario-modes.js +1 -1
  50. package/dist/knowledge/strategy-manuals.d.ts +1 -1
  51. package/dist/knowledge/strategy-manuals.js +1 -1
  52. package/dist/knowledge/template-loader.d.ts +41 -0
  53. package/dist/knowledge/template-loader.js +1 -1
  54. package/dist/knowledge/template-registry.js +1 -1
  55. package/dist/knowledge/template-scanner.js +1 -1
  56. package/dist/knowledge/tool-constraints.js +1 -1
  57. package/dist/knowledge/tools-reference.js +1 -1
  58. package/dist/knowledge/workflow-guidance.d.ts +4 -0
  59. package/dist/knowledge/workflow-guidance.js +1 -1
  60. package/dist/monitor/MonitorLoop.js +1 -1
  61. package/dist/participation/arbitrator-interest.js +1 -1
  62. package/dist/participation/customer-interest.js +1 -1
  63. package/dist/participation/merchant-interest.js +1 -1
  64. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  65. package/dist/playbooks/service-build/index.d.ts +1 -0
  66. package/dist/playbooks/service-build/intent-analyzer.d.ts +1 -0
  67. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  68. package/dist/playbooks/service-build/machine-nodes.d.ts +1 -1
  69. package/dist/playbooks/service-build/machine-nodes.js +1 -1
  70. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  71. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  72. package/dist/playbooks/service-build/mode-actions.d.ts +12 -1
  73. package/dist/playbooks/service-build/mode-actions.js +1 -1
  74. package/dist/playbooks/service-build/object-panorama.d.ts +27 -1
  75. package/dist/playbooks/service-build/object-panorama.js +1 -1
  76. package/dist/playbooks/service-build/participation-radar.js +1 -1
  77. package/dist/playbooks/service-build/pipeline-actions.d.ts +4 -0
  78. package/dist/playbooks/service-build/pipeline-actions.js +1 -1
  79. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  80. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +1 -0
  81. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +1 -0
  82. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  83. package/dist/playbooks/service-build/semantic-graph.d.ts +1 -0
  84. package/dist/playbooks/service-build/semantic-graph.js +1 -1
  85. package/dist/playbooks/service-build/service-panorama.js +1 -1
  86. package/dist/playbooks/service-build/service-quote.js +1 -1
  87. package/dist/review/index.js +1 -1
  88. package/dist/role/profiles.js +1 -1
  89. package/dist/role/types.d.ts +2 -0
  90. package/dist/role/types.js +1 -1
  91. package/dist/safety/confirm-gate.js +1 -1
  92. package/dist/schema/call/allocation.d.ts +7 -7
  93. package/dist/schema/call/arbitration.d.ts +1 -1
  94. package/dist/schema/call/arbitration.js +1 -1
  95. package/dist/schema/call/base.d.ts +5 -5
  96. package/dist/schema/call/base.js +1 -1
  97. package/dist/schema/call/bridge.d.ts +5 -9
  98. package/dist/schema/call/bridge.js +1 -1
  99. package/dist/schema/call/contact.d.ts +1 -1
  100. package/dist/schema/call/demand.d.ts +1 -1
  101. package/dist/schema/call/guard.d.ts +11 -11
  102. package/dist/schema/call/handler.js +1 -1
  103. package/dist/schema/call/machine.d.ts +3 -2
  104. package/dist/schema/call/machine.js +1 -1
  105. package/dist/schema/call/order.d.ts +1 -1
  106. package/dist/schema/call/payment.d.ts +1 -1
  107. package/dist/schema/call/permission.d.ts +1 -1
  108. package/dist/schema/call/personal.d.ts +1 -1
  109. package/dist/schema/call/progress.d.ts +1 -1
  110. package/dist/schema/call/proof.d.ts +2 -2
  111. package/dist/schema/call/repository.d.ts +1 -1
  112. package/dist/schema/call/reward.d.ts +1 -1
  113. package/dist/schema/call/semantic.js +1 -1
  114. package/dist/schema/call/service.d.ts +5 -5
  115. package/dist/schema/call/service.js +1 -1
  116. package/dist/schema/call/treasury.d.ts +1 -1
  117. package/dist/schema/common/index.js +1 -1
  118. package/dist/schema/evaluation/index.d.ts +6 -2
  119. package/dist/schema/evaluation/index.js +1 -1
  120. package/dist/schema/goal/index.d.ts +8 -8
  121. package/dist/schema/goal/planning.d.ts +22 -15
  122. package/dist/schema/goal/planning.js +1 -1
  123. package/dist/schema/industry-pack/index.d.ts +39 -0
  124. package/dist/schema/industry-pack/index.js +1 -1
  125. package/dist/schema/industry-pack/modes.d.ts +15 -0
  126. package/dist/schema/industry-pack/modes.js +1 -1
  127. package/dist/schema/intent-radar/index.d.ts +3 -0
  128. package/dist/schema/intent-radar/index.js +1 -1
  129. package/dist/schema/local/index.d.ts +577 -18
  130. package/dist/schema/local/index.js +1 -1
  131. package/dist/schema/messenger/index.d.ts +160 -20
  132. package/dist/schema/messenger/index.js +1 -1
  133. package/dist/schema/operations.d.ts +32 -28
  134. package/dist/schema/operations.js +1 -1
  135. package/dist/schema/persona/index.d.ts +818 -708
  136. package/dist/schema/persona/index.js +1 -1
  137. package/dist/schema/query/bi.d.ts +22 -6
  138. package/dist/schema/query/bi.js +1 -1
  139. package/dist/schema/query/index.d.ts +32 -32
  140. package/dist/schema/query/index.js +1 -1
  141. package/dist/schema/schema-query/index.d.ts +3 -3
  142. package/dist/schema/schema-version.js +1 -1
  143. package/dist/schema/utils/node-parser.js +1 -1
  144. package/dist/schema/watch/index.d.ts +2 -2
  145. package/dist/schema/workflow/index.d.ts +2 -2
  146. package/dist/schema-query-impl/index.js +1 -1
  147. package/dist/schemas/account_operation.output.json +6 -2
  148. package/dist/schemas/account_operation.schema.json +1 -1
  149. package/dist/schemas/bridge_operation.schema.json +2 -10
  150. package/dist/schemas/evaluation_operation.output.json +2 -0
  151. package/dist/schemas/evaluation_operation.schema.json +2 -0
  152. package/dist/schemas/index.json +7 -1
  153. package/dist/schemas/industry_pack_operation.output.json +196 -4
  154. package/dist/schemas/industry_pack_operation.schema.json +3 -1
  155. package/dist/schemas/intent_radar.output.json +2 -0
  156. package/dist/schemas/intent_radar.schema.json +1 -0
  157. package/dist/schemas/local_cache_operation.output.json +1536 -0
  158. package/dist/schemas/local_cache_operation.schema.json +101 -0
  159. package/dist/schemas/local_mark_operation.output.json +51 -36
  160. package/dist/schemas/local_mark_operation.schema.json +1 -0
  161. package/dist/schemas/messenger_operation.output.json +42 -4
  162. package/dist/schemas/messenger_operation.schema.json +358 -35
  163. package/dist/schemas/onchain_operations.schema.json +14 -14
  164. package/dist/schemas/onchain_operations_allocation.schema.json +1 -1
  165. package/dist/schemas/onchain_operations_arbitration.schema.json +3 -3
  166. package/dist/schemas/onchain_operations_machine.schema.json +2 -2
  167. package/dist/schemas/onchain_operations_payment.schema.json +1 -1
  168. package/dist/schemas/onchain_operations_reward.schema.json +1 -1
  169. package/dist/schemas/onchain_operations_service.schema.json +5 -5
  170. package/dist/schemas/onchain_operations_treasury.schema.json +1 -1
  171. package/dist/schemas/onchain_table_data.output.json +16 -1
  172. package/dist/schemas/persona_operation.output.json +266 -0
  173. package/dist/schemas/persona_operation.schema.json +42 -0
  174. package/dist/schemas/query_toolkit.output.json +12 -5
  175. package/dist/schemas/query_toolkit.schema.json +18 -3
  176. package/dist/tools/handlers/benchmark-migration.d.ts +17 -0
  177. package/dist/tools/handlers/benchmark-migration.js +1 -1
  178. package/dist/tools/handlers/bridge.js +1 -1
  179. package/dist/tools/handlers/config.js +1 -1
  180. package/dist/tools/handlers/industry-pack.js +1 -1
  181. package/dist/tools/handlers/local.d.ts +1 -0
  182. package/dist/tools/handlers/local.js +1 -1
  183. package/dist/tools/handlers/messenger.d.ts +9 -2
  184. package/dist/tools/handlers/messenger.js +1 -1
  185. package/dist/tools/handlers/name-resolution.d.ts +4 -0
  186. package/dist/tools/handlers/name-resolution.js +1 -0
  187. package/dist/tools/handlers/name-resolution.spec.d.ts +1 -0
  188. package/dist/tools/handlers/name-resolution.spec.js +1 -0
  189. package/dist/tools/handlers/onchain-name-registration.d.ts +37 -0
  190. package/dist/tools/handlers/onchain-name-registration.js +1 -0
  191. package/dist/tools/handlers/onchain-name-registration.spec.d.ts +1 -0
  192. package/dist/tools/handlers/onchain-name-registration.spec.js +1 -0
  193. package/dist/tools/handlers/onchain.d.ts +1 -0
  194. package/dist/tools/handlers/onchain.js +1 -1
  195. package/dist/tools/handlers/query.d.ts +1 -0
  196. package/dist/tools/handlers/query.js +1 -1
  197. package/dist/tools/index.js +1 -1
  198. package/dist/tools/registry/business.js +1 -1
  199. package/dist/tools/registry/local.js +1 -1
  200. package/dist/tools/sanitize-description-roundtrip.spec.d.ts +1 -0
  201. package/dist/tools/sanitize-description-roundtrip.spec.js +1 -0
  202. package/dist/tools/sanitize-output.d.ts +1 -0
  203. package/dist/tools/sanitize-output.js +1 -1
  204. package/dist/tools/wrap.js +1 -1
  205. package/package.json +4 -3
@@ -2861,6 +2861,20 @@
2861
2861
  ],
2862
2862
  "additionalProperties": false
2863
2863
  }
2864
+ },
2865
+ "severity_overrides": {
2866
+ "type": "object",
2867
+ "propertyNames": {
2868
+ "type": "string"
2869
+ },
2870
+ "additionalProperties": {
2871
+ "type": "string",
2872
+ "enum": [
2873
+ "error",
2874
+ "warning",
2875
+ "info"
2876
+ ]
2877
+ }
2864
2878
  }
2865
2879
  },
2866
2880
  "additionalProperties": false
@@ -5893,6 +5907,20 @@
5893
5907
  ],
5894
5908
  "additionalProperties": false
5895
5909
  }
5910
+ },
5911
+ "severity_overrides": {
5912
+ "type": "object",
5913
+ "propertyNames": {
5914
+ "type": "string"
5915
+ },
5916
+ "additionalProperties": {
5917
+ "type": "string",
5918
+ "enum": [
5919
+ "error",
5920
+ "warning",
5921
+ "info"
5922
+ ]
5923
+ }
5896
5924
  }
5897
5925
  },
5898
5926
  "additionalProperties": false
@@ -8726,6 +8754,20 @@
8726
8754
  ],
8727
8755
  "additionalProperties": false
8728
8756
  }
8757
+ },
8758
+ "severity_overrides": {
8759
+ "type": "object",
8760
+ "propertyNames": {
8761
+ "type": "string"
8762
+ },
8763
+ "additionalProperties": {
8764
+ "type": "string",
8765
+ "enum": [
8766
+ "error",
8767
+ "warning",
8768
+ "info"
8769
+ ]
8770
+ }
8729
8771
  }
8730
8772
  },
8731
8773
  "additionalProperties": false
@@ -11612,6 +11654,20 @@
11612
11654
  ],
11613
11655
  "additionalProperties": false
11614
11656
  }
11657
+ },
11658
+ "severity_overrides": {
11659
+ "type": "object",
11660
+ "propertyNames": {
11661
+ "type": "string"
11662
+ },
11663
+ "additionalProperties": {
11664
+ "type": "string",
11665
+ "enum": [
11666
+ "error",
11667
+ "warning",
11668
+ "info"
11669
+ ]
11670
+ }
11615
11671
  }
11616
11672
  },
11617
11673
  "additionalProperties": false
@@ -14445,6 +14501,20 @@
14445
14501
  ],
14446
14502
  "additionalProperties": false
14447
14503
  }
14504
+ },
14505
+ "severity_overrides": {
14506
+ "type": "object",
14507
+ "propertyNames": {
14508
+ "type": "string"
14509
+ },
14510
+ "additionalProperties": {
14511
+ "type": "string",
14512
+ "enum": [
14513
+ "error",
14514
+ "warning",
14515
+ "info"
14516
+ ]
14517
+ }
14448
14518
  }
14449
14519
  },
14450
14520
  "additionalProperties": false
@@ -17344,6 +17414,20 @@
17344
17414
  ],
17345
17415
  "additionalProperties": false
17346
17416
  }
17417
+ },
17418
+ "severity_overrides": {
17419
+ "type": "object",
17420
+ "propertyNames": {
17421
+ "type": "string"
17422
+ },
17423
+ "additionalProperties": {
17424
+ "type": "string",
17425
+ "enum": [
17426
+ "error",
17427
+ "warning",
17428
+ "info"
17429
+ ]
17430
+ }
17347
17431
  }
17348
17432
  },
17349
17433
  "additionalProperties": false
@@ -20177,6 +20261,20 @@
20177
20261
  ],
20178
20262
  "additionalProperties": false
20179
20263
  }
20264
+ },
20265
+ "severity_overrides": {
20266
+ "type": "object",
20267
+ "propertyNames": {
20268
+ "type": "string"
20269
+ },
20270
+ "additionalProperties": {
20271
+ "type": "string",
20272
+ "enum": [
20273
+ "error",
20274
+ "warning",
20275
+ "info"
20276
+ ]
20277
+ }
20180
20278
  }
20181
20279
  },
20182
20280
  "additionalProperties": false
@@ -23168,6 +23266,20 @@
23168
23266
  ],
23169
23267
  "additionalProperties": false
23170
23268
  }
23269
+ },
23270
+ "severity_overrides": {
23271
+ "type": "object",
23272
+ "propertyNames": {
23273
+ "type": "string"
23274
+ },
23275
+ "additionalProperties": {
23276
+ "type": "string",
23277
+ "enum": [
23278
+ "error",
23279
+ "warning",
23280
+ "info"
23281
+ ]
23282
+ }
23171
23283
  }
23172
23284
  },
23173
23285
  "additionalProperties": false
@@ -26001,6 +26113,20 @@
26001
26113
  ],
26002
26114
  "additionalProperties": false
26003
26115
  }
26116
+ },
26117
+ "severity_overrides": {
26118
+ "type": "object",
26119
+ "propertyNames": {
26120
+ "type": "string"
26121
+ },
26122
+ "additionalProperties": {
26123
+ "type": "string",
26124
+ "enum": [
26125
+ "error",
26126
+ "warning",
26127
+ "info"
26128
+ ]
26129
+ }
26004
26130
  }
26005
26131
  },
26006
26132
  "additionalProperties": false
@@ -28881,6 +29007,20 @@
28881
29007
  ],
28882
29008
  "additionalProperties": false
28883
29009
  }
29010
+ },
29011
+ "severity_overrides": {
29012
+ "type": "object",
29013
+ "propertyNames": {
29014
+ "type": "string"
29015
+ },
29016
+ "additionalProperties": {
29017
+ "type": "string",
29018
+ "enum": [
29019
+ "error",
29020
+ "warning",
29021
+ "info"
29022
+ ]
29023
+ }
28884
29024
  }
28885
29025
  },
28886
29026
  "additionalProperties": false
@@ -31826,6 +31966,20 @@
31826
31966
  ],
31827
31967
  "additionalProperties": false
31828
31968
  }
31969
+ },
31970
+ "severity_overrides": {
31971
+ "type": "object",
31972
+ "propertyNames": {
31973
+ "type": "string"
31974
+ },
31975
+ "additionalProperties": {
31976
+ "type": "string",
31977
+ "enum": [
31978
+ "error",
31979
+ "warning",
31980
+ "info"
31981
+ ]
31982
+ }
31829
31983
  }
31830
31984
  },
31831
31985
  "additionalProperties": false
@@ -34659,6 +34813,20 @@
34659
34813
  ],
34660
34814
  "additionalProperties": false
34661
34815
  }
34816
+ },
34817
+ "severity_overrides": {
34818
+ "type": "object",
34819
+ "propertyNames": {
34820
+ "type": "string"
34821
+ },
34822
+ "additionalProperties": {
34823
+ "type": "string",
34824
+ "enum": [
34825
+ "error",
34826
+ "warning",
34827
+ "info"
34828
+ ]
34829
+ }
34662
34830
  }
34663
34831
  },
34664
34832
  "additionalProperties": false
@@ -37507,6 +37675,20 @@
37507
37675
  ],
37508
37676
  "additionalProperties": false
37509
37677
  }
37678
+ },
37679
+ "severity_overrides": {
37680
+ "type": "object",
37681
+ "propertyNames": {
37682
+ "type": "string"
37683
+ },
37684
+ "additionalProperties": {
37685
+ "type": "string",
37686
+ "enum": [
37687
+ "error",
37688
+ "warning",
37689
+ "info"
37690
+ ]
37691
+ }
37510
37692
  }
37511
37693
  },
37512
37694
  "additionalProperties": false
@@ -40372,6 +40554,20 @@
40372
40554
  ],
40373
40555
  "additionalProperties": false
40374
40556
  }
40557
+ },
40558
+ "severity_overrides": {
40559
+ "type": "object",
40560
+ "propertyNames": {
40561
+ "type": "string"
40562
+ },
40563
+ "additionalProperties": {
40564
+ "type": "string",
40565
+ "enum": [
40566
+ "error",
40567
+ "warning",
40568
+ "info"
40569
+ ]
40570
+ }
40375
40571
  }
40376
40572
  },
40377
40573
  "additionalProperties": false
@@ -43296,6 +43492,20 @@
43296
43492
  ],
43297
43493
  "additionalProperties": false
43298
43494
  }
43495
+ },
43496
+ "severity_overrides": {
43497
+ "type": "object",
43498
+ "propertyNames": {
43499
+ "type": "string"
43500
+ },
43501
+ "additionalProperties": {
43502
+ "type": "string",
43503
+ "enum": [
43504
+ "error",
43505
+ "warning",
43506
+ "info"
43507
+ ]
43508
+ }
43299
43509
  }
43300
43510
  },
43301
43511
  "additionalProperties": false
@@ -46129,6 +46339,20 @@
46129
46339
  ],
46130
46340
  "additionalProperties": false
46131
46341
  }
46342
+ },
46343
+ "severity_overrides": {
46344
+ "type": "object",
46345
+ "propertyNames": {
46346
+ "type": "string"
46347
+ },
46348
+ "additionalProperties": {
46349
+ "type": "string",
46350
+ "enum": [
46351
+ "error",
46352
+ "warning",
46353
+ "info"
46354
+ ]
46355
+ }
46132
46356
  }
46133
46357
  },
46134
46358
  "additionalProperties": false
@@ -49009,6 +49233,20 @@
49009
49233
  ],
49010
49234
  "additionalProperties": false
49011
49235
  }
49236
+ },
49237
+ "severity_overrides": {
49238
+ "type": "object",
49239
+ "propertyNames": {
49240
+ "type": "string"
49241
+ },
49242
+ "additionalProperties": {
49243
+ "type": "string",
49244
+ "enum": [
49245
+ "error",
49246
+ "warning",
49247
+ "info"
49248
+ ]
49249
+ }
49012
49250
  }
49013
49251
  },
49014
49252
  "additionalProperties": false
@@ -51882,6 +52120,20 @@
51882
52120
  ],
51883
52121
  "additionalProperties": false
51884
52122
  }
52123
+ },
52124
+ "severity_overrides": {
52125
+ "type": "object",
52126
+ "propertyNames": {
52127
+ "type": "string"
52128
+ },
52129
+ "additionalProperties": {
52130
+ "type": "string",
52131
+ "enum": [
52132
+ "error",
52133
+ "warning",
52134
+ "info"
52135
+ ]
52136
+ }
51885
52137
  }
51886
52138
  },
51887
52139
  "additionalProperties": false
@@ -54964,6 +55216,20 @@
54964
55216
  ],
54965
55217
  "additionalProperties": false
54966
55218
  }
55219
+ },
55220
+ "severity_overrides": {
55221
+ "type": "object",
55222
+ "propertyNames": {
55223
+ "type": "string"
55224
+ },
55225
+ "additionalProperties": {
55226
+ "type": "string",
55227
+ "enum": [
55228
+ "error",
55229
+ "warning",
55230
+ "info"
55231
+ ]
55232
+ }
54967
55233
  }
54968
55234
  },
54969
55235
  "additionalProperties": false
@@ -2902,6 +2902,20 @@
2902
2902
  ],
2903
2903
  "additionalProperties": false
2904
2904
  }
2905
+ },
2906
+ "severity_overrides": {
2907
+ "type": "object",
2908
+ "propertyNames": {
2909
+ "type": "string"
2910
+ },
2911
+ "additionalProperties": {
2912
+ "type": "string",
2913
+ "enum": [
2914
+ "error",
2915
+ "warning",
2916
+ "info"
2917
+ ]
2918
+ }
2905
2919
  }
2906
2920
  },
2907
2921
  "additionalProperties": false
@@ -5735,6 +5749,20 @@
5735
5749
  ],
5736
5750
  "additionalProperties": false
5737
5751
  }
5752
+ },
5753
+ "severity_overrides": {
5754
+ "type": "object",
5755
+ "propertyNames": {
5756
+ "type": "string"
5757
+ },
5758
+ "additionalProperties": {
5759
+ "type": "string",
5760
+ "enum": [
5761
+ "error",
5762
+ "warning",
5763
+ "info"
5764
+ ]
5765
+ }
5738
5766
  }
5739
5767
  },
5740
5768
  "additionalProperties": false
@@ -8705,6 +8733,20 @@
8705
8733
  ],
8706
8734
  "additionalProperties": false
8707
8735
  }
8736
+ },
8737
+ "severity_overrides": {
8738
+ "type": "object",
8739
+ "propertyNames": {
8740
+ "type": "string"
8741
+ },
8742
+ "additionalProperties": {
8743
+ "type": "string",
8744
+ "enum": [
8745
+ "error",
8746
+ "warning",
8747
+ "info"
8748
+ ]
8749
+ }
8708
8750
  }
8709
8751
  },
8710
8752
  "additionalProperties": false
@@ -9275,7 +9275,7 @@
9275
9275
  "type": "null"
9276
9276
  }
9277
9277
  ],
9278
- "description": "Minimum order total for the discount to apply (smallest units) — the discount applies only when the order total is greater than or equal to this value. null means the discount never applies (a used coupon object is still consumed, with no effect on the total)."
9278
+ "description": "Minimum order total for the discount to apply (smallest units) — when set, the discount applies only if the PRE-discount order total is greater than or equal to this value. null (or 0) means NO threshold, so the discount applies UNCONDITIONALLY. Sharp edge: an order below a set threshold is NOT rejected — it completes at FULL price and the one-time coupon object is still consumed and destroyed."
9279
9279
  },
9280
9280
  "off": {
9281
9281
  "anyOf": [
@@ -16429,7 +16429,7 @@
16429
16429
  "const": "object_panorama"
16430
16430
  },
16431
16431
  "result": {
16432
- "description": "ObjectPanorama (discriminated object_type + head + typed fields + per-type extras)."
16432
+ "description": "ObjectPanorama (discriminated object_type + head + typed fields + per-type extras, incl. Proof anchored_root + wts_anchor_check)."
16433
16433
  }
16434
16434
  },
16435
16435
  "required": [
@@ -16775,10 +16775,13 @@
16775
16775
  "enum": [
16776
16776
  "merchant",
16777
16777
  "customer",
16778
+ "demander",
16778
16779
  "prospect",
16779
16780
  "supplier",
16780
16781
  "collaborator",
16781
- "arbitrator"
16782
+ "arbitrator",
16783
+ "neutral",
16784
+ "system"
16782
16785
  ],
16783
16786
  "description": "Derived commercial role from on-chain data (Order.builder + PermissionPerm grants + named operators), never caller-asserted."
16784
16787
  },
@@ -17218,10 +17221,13 @@
17218
17221
  "enum": [
17219
17222
  "merchant",
17220
17223
  "customer",
17224
+ "demander",
17221
17225
  "prospect",
17222
17226
  "supplier",
17223
17227
  "collaborator",
17224
- "arbitrator"
17228
+ "arbitrator",
17229
+ "neutral",
17230
+ "system"
17225
17231
  ],
17226
17232
  "description": "Derived commercial role from on-chain data (Order.builder + PermissionPerm grants + named operators), never caller-asserted."
17227
17233
  },
@@ -21005,7 +21011,8 @@
21005
21011
  ],
21006
21012
  "additionalProperties": false
21007
21013
  }
21008
- ]
21014
+ ],
21015
+ "description": "Envelope: { query_type, result }. READ PATH = structuredContent.result.result.<payload> — the 'result' key appears TWICE by design (outer = tool envelope, inner = per-query_type answer), so the payload for e.g. onchain_objects is at `result.result.objects`, for account_balance `result.result.balance`, for onchain_received `result.result.received`. Do NOT read `result.objects` — it is undefined there and an empty read is indistinguishable from 'object absent on chain'."
21009
21016
  },
21010
21017
  "network": {
21011
21018
  "description": "Network the data was READ from for single-network on-chain query types (e.g. account_balance, onchain_objects, onchain_transaction, panoramas). Omitted for purely-local queries (local_*), static cross-chain data (scenario_topology), and two-network results (migration_preflight). When network_source='default' the input omitted the network and the SDK's current default network was used.",
@@ -373,7 +373,7 @@
373
373
  "description": "List of object IDs (names or addresses) to query in batch"
374
374
  },
375
375
  "no_cache": {
376
- "description": "Set to true to bypass cache and fetch fresh on-chain data",
376
+ "description": "Set to FALSE to allow the session cache; OMIT (or pass true) for a forced-fresh read. ⚠️ DEFAULT IS FRESH ON PURPOSE: a cached snapshot here reports a PRE-TRANSACTION value for exactly the fields an agent uses to decide whether money moved — on testnet this reported a stale `compensation_fund`, a stale `order.claimed_by`, and a stale `allocation.balance`. Only pass no_cache:false when you deliberately want a cheap repeat read of data you already know is current. The response carries `_read_freshness` (source live|session_cache, fetched_at) so a snapshot can never be mistaken for state.",
377
377
  "type": "boolean"
378
378
  },
379
379
  "network": {
@@ -391,7 +391,7 @@
391
391
  "objects"
392
392
  ],
393
393
  "additionalProperties": false,
394
- "description": "Batch query on-chain WOWOK objects by ID or name — supports Service, Machine, Order, Treasury, Reward, Arb, Personal, Contact, and more. Use to inspect one or more objects in a single call. Returns: { objects: ObjectBase[] }"
394
+ "description": "Batch query on-chain WOWOK objects by ID or name — supports Service, Machine, Order, Treasury, Reward, Arb, Personal, Contact, and more. Use to inspect one or more objects in a single call. FORCED-FRESH by default (see no_cache) and the response includes `_read_freshness` provenance. Returns: { objects: ObjectBase[], _read_freshness: { source, no_cache, fetched_at, note } }"
395
395
  },
396
396
  {
397
397
  "type": "object",
@@ -1010,6 +1010,17 @@
1010
1010
  "additionalProperties": false
1011
1011
  }
1012
1012
  },
1013
+ "discount": {
1014
+ "description": "C-10: Discount (coupon) object address or LocalMark name to price the basket WITH. Without it the quote is always the UNDISCOUNTED total, so a discounted buyer cannot compute the exact total_pay that order_new requires (it must equal the order total precisely — any drift aborts with E_COIN_NOT_ENOUGH). RATES subtracts total*off/10000; MINUS/FIXED subtracts min(total, off), mirroring the on-chain rule with integer floor division. Read-only: quoting does NOT consume the coupon.",
1015
+ "anyOf": [
1016
+ {
1017
+ "type": "string"
1018
+ },
1019
+ {
1020
+ "type": "null"
1021
+ }
1022
+ ]
1023
+ },
1013
1024
  "context_network": {
1014
1025
  "type": "string",
1015
1026
  "enum": [
@@ -1069,6 +1080,10 @@
1069
1080
  "description": "DEPRECATED alias of object_address (accepted for call compatibility; must be a plain address or LocalMark NAME string, not an object). Prefer object_address. Example: {\"query_type\": \"object_panorama\", \"object_address\": \"0xabc...\"}.",
1070
1081
  "type": "string"
1071
1082
  },
1083
+ "wts_file_path": {
1084
+ "description": "Proof objects only: local path to the .wts evidence packet to cross-check against this anchor. Returns wts_anchor_check — whether the packet's message roots match the frozen root, whether the server key matches, and whether the Proof predates the packet (a frozen Proof is what makes WTS content non-re-fabricable after the fact).",
1085
+ "type": "string"
1086
+ },
1072
1087
  "context_network": {
1073
1088
  "type": "string",
1074
1089
  "enum": [
@@ -1083,7 +1098,7 @@
1083
1098
  "query_type"
1084
1099
  ],
1085
1100
  "additionalProperties": false,
1086
- "description": "ONE-CALL detail-page panorama for Progress / Demand / Order / Arb / Repository objects (client panorama family): discriminated `object_type` + head (name/tags/description) + the object's own typed fields + type-specific extras (Demand presenters from the GLOBAL tx table, Progress session/forwards, Arb votes & propositions, Repository policies). Read-only."
1101
+ "description": "ONE-CALL detail-page panorama for Progress / Demand / Order / Arb / Repository / Proof objects (client panorama family): discriminated `object_type` + head (name/tags/description) + the object's own typed fields + type-specific extras (Demand presenters from the GLOBAL tx table, Progress session/forwards, Arb votes & propositions, Repository policies, Proof anchored root + WTS cross-check). Read-only."
1087
1102
  },
1088
1103
  {
1089
1104
  "type": "object",
@@ -1,2 +1,19 @@
1
+ import { type IndustryTemplate } from "../../knowledge/template-loader.js";
2
+ import type { DeliverableDefinition } from "../../playbooks/service-build/intent-analyzer.js";
3
+ import type { IndustryMode } from "../../extensions/index.js";
1
4
  import type { ToolDispatchResult } from "../types.js";
5
+ export declare function validateAllocatorRows(t: IndustryTemplate): string[];
6
+ interface PlanDivergence {
7
+ severity: "critical" | "warning";
8
+ item: string;
9
+ detail: string;
10
+ action: string;
11
+ }
12
+ export declare function planDivergences(t: IndustryTemplate, allocation: Array<{
13
+ recipient: string;
14
+ percentage: number;
15
+ }> | undefined): PlanDivergence[];
16
+ export declare function variantPaymentModel(t: IndustryTemplate): "milestone" | "subscription" | "escrow";
17
+ export declare function variantDeliverables(t: IndustryTemplate, traits: IndustryMode["traits"] | undefined): DeliverableDefinition[];
2
18
  export declare function handleBenchmarkMigrationOperation(args: unknown): Promise<ToolDispatchResult>;
19
+ export {};