@wowok/agent-mcp 3.0.0 → 3.0.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 (245) hide show
  1. package/dist/communication/evidence.d.ts +6 -0
  2. package/dist/communication/evidence.js +1 -0
  3. package/dist/evaluation/acceptance.d.ts +24 -0
  4. package/dist/evaluation/acceptance.js +1 -0
  5. package/dist/evaluation/builtins/demand-match.d.ts +3 -2
  6. package/dist/evaluation/builtins/demand-match.js +1 -1
  7. package/dist/evaluation/builtins/service-risk.d.ts +2 -1
  8. package/dist/evaluation/builtins/service-risk.js +1 -1
  9. package/dist/evaluation/index.d.ts +1 -0
  10. package/dist/evaluation/index.js +1 -1
  11. package/dist/evaluation/match-operation.d.ts +14 -0
  12. package/dist/evaluation/match-operation.js +1 -0
  13. package/dist/experience/realtime-feedback.js +1 -1
  14. package/dist/extensions/modes.js +1 -1
  15. package/dist/goal/GoalClassifier.js +1 -1
  16. package/dist/goal/GoalEngine.d.ts +8 -0
  17. package/dist/goal/GoalEngine.js +1 -1
  18. package/dist/goal/types.d.ts +1 -1
  19. package/dist/harness/auto-escalation.d.ts +0 -12
  20. package/dist/harness/auto-escalation.js +1 -1
  21. package/dist/harness/index.d.ts +1 -14
  22. package/dist/harness/index.js +1 -1
  23. package/dist/harness/types.d.ts +0 -38
  24. package/dist/intent/types.d.ts +1 -1
  25. package/dist/intent/types.js +1 -1
  26. package/dist/keeper/KeeperScan.d.ts +39 -0
  27. package/dist/keeper/KeeperScan.js +1 -0
  28. package/dist/keeper/KeeperStore.d.ts +43 -0
  29. package/dist/keeper/KeeperStore.js +1 -0
  30. package/dist/keeper/detectors.d.ts +23 -0
  31. package/dist/keeper/detectors.js +1 -0
  32. package/dist/keeper/keeper.spec.d.ts +1 -0
  33. package/dist/keeper/keeper.spec.js +1 -0
  34. package/dist/keeper/types.d.ts +65 -0
  35. package/dist/keeper/types.js +1 -0
  36. package/dist/knowledge/demand-risk.js +1 -1
  37. package/dist/knowledge/event-semantics.d.ts +3 -0
  38. package/dist/knowledge/event-semantics.js +1 -1
  39. package/dist/knowledge/event-semantics.spec.d.ts +1 -0
  40. package/dist/knowledge/event-semantics.spec.js +1 -0
  41. package/dist/knowledge/evidence-review.d.ts +23 -0
  42. package/dist/knowledge/evidence-review.js +1 -1
  43. package/dist/knowledge/examples-scanner-cli.js +1 -1
  44. package/dist/knowledge/examples-scanner.js +1 -1
  45. package/dist/knowledge/guard-bytecode-spec.d.ts +82 -0
  46. package/dist/knowledge/guard-bytecode-spec.js +1 -0
  47. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  48. package/dist/knowledge/guard-design-patterns.js +1 -1
  49. package/dist/knowledge/index.d.ts +10 -6
  50. package/dist/knowledge/index.js +1 -1
  51. package/dist/knowledge/industry-registry.js +1 -1
  52. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  53. package/dist/knowledge/mcp-schema-audit.js +1 -1
  54. package/dist/knowledge/migration-preflight.d.ts +27 -0
  55. package/dist/knowledge/migration-preflight.js +1 -0
  56. package/dist/knowledge/scenario-modes.d.ts +1 -1
  57. package/dist/knowledge/scenario-modes.js +1 -1
  58. package/dist/knowledge/template-registry.js +1 -1
  59. package/dist/knowledge/tools-reference.js +1 -1
  60. package/dist/knowledge/workflow-guidance.d.ts +20 -0
  61. package/dist/knowledge/workflow-guidance.js +1 -1
  62. package/dist/monitor/MonitorLoop.d.ts +1 -0
  63. package/dist/monitor/MonitorLoop.js +1 -1
  64. package/dist/monitor/ScopeResolver.js +1 -1
  65. package/dist/monitor/SuggestionBridge.d.ts +1 -1
  66. package/dist/monitor/SuggestionBridge.js +1 -1
  67. package/dist/monitor/SuggestionBridge.spec.d.ts +1 -0
  68. package/dist/monitor/SuggestionBridge.spec.js +1 -0
  69. package/dist/monitor/normalize.js +1 -1
  70. package/dist/monitor/types.d.ts +0 -1
  71. package/dist/monitor/types.js +1 -1
  72. package/dist/participation/employee-kpi.d.ts +12 -0
  73. package/dist/participation/employee-kpi.js +1 -1
  74. package/dist/participation/employee-kpi.spec.d.ts +1 -0
  75. package/dist/participation/employee-kpi.spec.js +1 -0
  76. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  77. package/dist/playbooks/service-build/mode-actions.d.ts +19 -6
  78. package/dist/playbooks/service-build/mode-actions.js +1 -1
  79. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  80. package/dist/relationship/derivation.d.ts +6 -0
  81. package/dist/relationship/derivation.js +1 -1
  82. package/dist/relationship/derivation.spec.d.ts +1 -0
  83. package/dist/relationship/derivation.spec.js +1 -0
  84. package/dist/role/index.d.ts +2 -2
  85. package/dist/role/index.js +1 -1
  86. package/dist/role/model.d.ts +2 -1
  87. package/dist/role/model.js +1 -1
  88. package/dist/role/types.d.ts +5 -0
  89. package/dist/rules.d.ts +1 -1
  90. package/dist/safety/confirm-gate.js +1 -1
  91. package/dist/schema/call/semantic.js +1 -1
  92. package/dist/schema/common/index.js +1 -1
  93. package/dist/schema/employee/index.d.ts +61 -1
  94. package/dist/schema/employee/index.js +1 -1
  95. package/dist/schema/evaluation/index.d.ts +70 -5
  96. package/dist/schema/evaluation/index.js +1 -1
  97. package/dist/schema/index.d.ts +1 -0
  98. package/dist/schema/index.js +1 -1
  99. package/dist/schema/industry-pack/index.d.ts +43 -7
  100. package/dist/schema/industry-pack/modes.d.ts +42 -6
  101. package/dist/schema/industry-pack/modes.js +1 -1
  102. package/dist/schema/intent-radar/index.d.ts +3 -0
  103. package/dist/schema/intent-radar/index.js +1 -1
  104. package/dist/schema/keeper/index.d.ts +475 -0
  105. package/dist/schema/keeper/index.js +1 -0
  106. package/dist/schema/local/index.js +1 -1
  107. package/dist/schema/messenger/index.d.ts +2 -0
  108. package/dist/schema/messenger/index.js +1 -1
  109. package/dist/schema/operations.d.ts +34 -0
  110. package/dist/schema/query/bi.d.ts +188 -0
  111. package/dist/schema/query/bi.js +1 -1
  112. package/dist/schema/query/index.d.ts +48 -48
  113. package/dist/schema/query/index.js +1 -1
  114. package/dist/schema/schema-query/index.d.ts +2 -11
  115. package/dist/schema/schema-query/index.js +1 -1
  116. package/dist/schema/schema-version.js +1 -1
  117. package/dist/schema/utils/skills-recommendation.js +1 -1
  118. package/dist/schema/watch/index.d.ts +4 -0
  119. package/dist/schema/watch/index.js +1 -1
  120. package/dist/schema-query-impl/index.d.ts +33 -14
  121. package/dist/schema-query-impl/index.js +1 -1
  122. package/dist/schemas/employee_operation.output.json +100 -0
  123. package/dist/schemas/employee_operation.schema.json +148 -5
  124. package/dist/schemas/evaluation_operation.output.json +135 -9
  125. package/dist/schemas/evaluation_operation.schema.json +176 -7
  126. package/dist/schemas/index.json +7 -1
  127. package/dist/schemas/industry_pack_operation.output.json +158 -32
  128. package/dist/schemas/intent_radar.output.json +2 -0
  129. package/dist/schemas/intent_radar.schema.json +1 -0
  130. package/dist/schemas/keeper_operation.output.json +1274 -0
  131. package/dist/schemas/keeper_operation.schema.json +359 -0
  132. package/dist/schemas/messenger_operation.schema.json +8 -0
  133. package/dist/schemas/onchain_events.output.json +55 -11
  134. package/dist/schemas/onchain_events.schema.json +4 -0
  135. package/dist/schemas/onchain_table_data.output.json +59 -0
  136. package/dist/schemas/query_toolkit.output.json +428 -0
  137. package/dist/schemas/query_toolkit.schema.json +59 -0
  138. package/dist/schemas/schema_query.output.json +1 -64
  139. package/dist/schemas/schema_query.schema.json +18 -3
  140. package/dist/schemas/watch_operation.output.json +21 -1
  141. package/dist/task/playbook.js +1 -1
  142. package/dist/task/types.d.ts +1 -1
  143. package/dist/tools/handlers/bridge.js +1 -1
  144. package/dist/tools/handlers/config.js +1 -1
  145. package/dist/tools/handlers/employee.d.ts +6 -0
  146. package/dist/tools/handlers/employee.js +1 -1
  147. package/dist/tools/handlers/employee.spec.d.ts +1 -0
  148. package/dist/tools/handlers/employee.spec.js +1 -0
  149. package/dist/tools/handlers/evaluation.js +1 -1
  150. package/dist/tools/handlers/evaluation.spec.d.ts +1 -0
  151. package/dist/tools/handlers/evaluation.spec.js +1 -0
  152. package/dist/tools/handlers/intent-radar.js +1 -1
  153. package/dist/tools/handlers/keeper.d.ts +12 -0
  154. package/dist/tools/handlers/keeper.js +1 -0
  155. package/dist/tools/handlers/messenger.js +1 -1
  156. package/dist/tools/handlers/onchain.js +1 -1
  157. package/dist/tools/handlers/query.js +1 -1
  158. package/dist/tools/handlers/schema-query.js +1 -1
  159. package/dist/tools/handlers/watch.js +1 -1
  160. package/dist/tools/handlers/workflow.js +1 -1
  161. package/dist/tools/index.js +1 -1
  162. package/dist/tools/registry/agent.d.ts +2 -0
  163. package/dist/tools/registry/agent.js +1 -0
  164. package/dist/tools/registry/bridge.d.ts +2 -0
  165. package/dist/tools/registry/bridge.js +1 -0
  166. package/dist/tools/registry/business.d.ts +2 -0
  167. package/dist/tools/registry/business.js +1 -0
  168. package/dist/tools/registry/config.d.ts +2 -0
  169. package/dist/tools/registry/config.js +1 -0
  170. package/dist/tools/registry/files.d.ts +2 -0
  171. package/dist/tools/registry/files.js +1 -0
  172. package/dist/tools/registry/identity.d.ts +2 -0
  173. package/dist/tools/registry/identity.js +1 -0
  174. package/dist/tools/registry/local.d.ts +2 -0
  175. package/dist/tools/registry/local.js +1 -0
  176. package/dist/tools/registry/messenger.d.ts +2 -0
  177. package/dist/tools/registry/messenger.js +1 -0
  178. package/dist/tools/registry/monitor.d.ts +2 -0
  179. package/dist/tools/registry/monitor.js +1 -0
  180. package/dist/tools/registry/onchain.d.ts +2 -0
  181. package/dist/tools/registry/onchain.js +1 -0
  182. package/dist/tools/registry/query.d.ts +2 -0
  183. package/dist/tools/registry/query.js +1 -0
  184. package/dist/tools/registry/trust.d.ts +2 -0
  185. package/dist/tools/registry/trust.js +1 -0
  186. package/dist/tools/shared.js +1 -1
  187. package/dist/tools/wrap.js +1 -1
  188. package/package.json +2 -2
  189. package/dist/examples/arbitration-dispute-create.json +0 -41
  190. package/dist/examples/arbitration-vote-weighted.json +0 -35
  191. package/dist/examples/arbitration-voting-guard-add.json +0 -38
  192. package/dist/examples/demand-present-service.json +0 -33
  193. package/dist/examples/education-contact-create.json +0 -40
  194. package/dist/examples/freelance-contact-create.json +0 -40
  195. package/dist/examples/gen-passport-verify-guard.json +0 -48
  196. package/dist/examples/guard-template-balance-check.json +0 -59
  197. package/dist/examples/guard-template-time-lock.json +0 -60
  198. package/dist/examples/insurance-guard-claim-timelock.json +0 -75
  199. package/dist/examples/insurance-guard-withdraw-allocation.json +0 -96
  200. package/dist/examples/insurance-machine-create.json +0 -75
  201. package/dist/examples/insurance-service-allocators.json +0 -55
  202. package/dist/examples/machine-multisig-threshold.json +0 -87
  203. package/dist/examples/machine-publish.json +0 -30
  204. package/dist/examples/machine-template-7node-rental.json +0 -119
  205. package/dist/examples/payment-scenario-bound.json +0 -45
  206. package/dist/examples/rental-ziroom-machine-create.json +0 -148
  207. package/dist/examples/rental-ziroom-permission-create.json +0 -41
  208. package/dist/examples/rental-ziroom-service-create.json +0 -36
  209. package/dist/examples/retail-adv-guard-customer-win-create.json +0 -80
  210. package/dist/examples/retail-adv-guard-messenger-proof-create.json +0 -65
  211. package/dist/examples/retail-adv-guard-reward-timeout-create.json +0 -92
  212. package/dist/examples/retail-adv-reward-guard-add.json +0 -51
  213. package/dist/examples/retail-myshop-allocation-activate.json +0 -55
  214. package/dist/examples/retail-myshop-arbitration-create.json +0 -40
  215. package/dist/examples/retail-myshop-contact-create.json +0 -43
  216. package/dist/examples/retail-myshop-order-create.json +0 -56
  217. package/dist/examples/retail-myshop-progress-operate.json +0 -38
  218. package/dist/examples/retail-myshop-reward-create.json +0 -35
  219. package/dist/examples/retail-myshop-service-create.json +0 -38
  220. package/dist/examples/retail-myshop-service-customer-required.json +0 -31
  221. package/dist/examples/service-discount-issue.json +0 -46
  222. package/dist/examples/subscription-contact-create.json +0 -40
  223. package/dist/examples/threebody-guard-create.json +0 -56
  224. package/dist/examples/threebody-machine-create.json +0 -71
  225. package/dist/examples/threebody-permission-create.json +0 -38
  226. package/dist/examples/threebody-service-allocators.json +0 -48
  227. package/dist/examples/travel-guard-time-lock.json +0 -69
  228. package/dist/examples/travel-guard-weather-oracle.json +0 -70
  229. package/dist/examples/travel-machine-create.json +0 -135
  230. package/dist/examples/travel-repository-create.json +0 -47
  231. package/dist/examples/travel-service-create.json +0 -34
  232. package/dist/examples/travel-treasury-create.json +0 -34
  233. package/dist/examples/treasury-deposit.json +0 -37
  234. package/dist/examples/treasury-withdraw.json +0 -38
  235. package/dist/harness/plan.d.ts +0 -33
  236. package/dist/harness/plan.js +0 -1
  237. package/dist/knowledge/demand-matching.d.ts +0 -29
  238. package/dist/knowledge/demand-matching.js +0 -1
  239. package/dist/knowledge/guard-context.d.ts +0 -56
  240. package/dist/knowledge/guard-context.js +0 -1
  241. package/dist/knowledge/guard-migration.d.ts +0 -48
  242. package/dist/knowledge/guard-migration.js +0 -1
  243. package/dist/schemas/guard-node-schema.json +0 -1000
  244. package/dist/task/stage-gate.d.ts +0 -22
  245. package/dist/task/stage-gate.js +0 -1
@@ -106,17 +106,25 @@
106
106
  "description": "Progress node name the employee was assigned to."
107
107
  },
108
108
  "assigned_at": {
109
+ "description": "Assignment timestamp (ms) — when the progress ENTERED this node. Omit to derive it from monitored ProgressEvents (requires `progress`).",
109
110
  "type": "integer",
110
111
  "minimum": -9007199254740991,
111
- "maximum": 9007199254740991,
112
- "description": "Assignment timestamp (ms)."
112
+ "maximum": 9007199254740991
113
113
  },
114
114
  "advanced_at": {
115
- "description": "Advance timestamp (ms); omitted = still waiting (status warn).",
115
+ "description": "Advance timestamp (ms) — when the progress LEFT this node. Omit to derive it; still-current node = still waiting (status warn).",
116
116
  "type": "integer",
117
117
  "minimum": -9007199254740991,
118
118
  "maximum": 9007199254740991
119
119
  },
120
+ "progress": {
121
+ "description": "Progress object address — enables automatic assigned_at/advanced_at derivation from its monitored ProgressEvents (P1-3). Explicit timestamps override derived values.",
122
+ "type": "string"
123
+ },
124
+ "network": {
125
+ "description": "Network alias for the monitor event lookup; defaults to the current network.",
126
+ "type": "string"
127
+ },
120
128
  "budget_ms": {
121
129
  "description": "Response-time budget (ms); defaults to the stored profile's budget, else 48h.",
122
130
  "type": "integer",
@@ -130,8 +138,7 @@
130
138
  },
131
139
  "required": [
132
140
  "action",
133
- "node",
134
- "assigned_at"
141
+ "node"
135
142
  ],
136
143
  "additionalProperties": false
137
144
  },
@@ -171,6 +178,142 @@
171
178
  "loss_amount"
172
179
  ],
173
180
  "additionalProperties": false
181
+ },
182
+ {
183
+ "type": "object",
184
+ "properties": {
185
+ "action": {
186
+ "type": "string",
187
+ "const": "suggest_incentive"
188
+ },
189
+ "account": {
190
+ "type": "string",
191
+ "description": "Employee account address."
192
+ },
193
+ "kpis": {
194
+ "type": "array",
195
+ "items": {
196
+ "type": "object",
197
+ "properties": {
198
+ "node": {
199
+ "type": "string",
200
+ "description": "Progress node name."
201
+ },
202
+ "reaction_ms": {
203
+ "type": "integer",
204
+ "minimum": -9007199254740991,
205
+ "maximum": 9007199254740991,
206
+ "description": "Measured reaction time (ms); -1 when still pending."
207
+ },
208
+ "within_budget": {
209
+ "type": "boolean"
210
+ },
211
+ "status": {
212
+ "type": "string",
213
+ "enum": [
214
+ "pass",
215
+ "warn",
216
+ "fail"
217
+ ]
218
+ }
219
+ },
220
+ "required": [
221
+ "node",
222
+ "reaction_ms",
223
+ "within_budget",
224
+ "status"
225
+ ],
226
+ "additionalProperties": false
227
+ },
228
+ "description": "Node reaction KPIs from prior assess_kpi calls."
229
+ },
230
+ "acceptance": {
231
+ "description": "WIP evidence per node; a node missing here counts as an acceptance gap.",
232
+ "type": "array",
233
+ "items": {
234
+ "type": "object",
235
+ "properties": {
236
+ "node": {
237
+ "type": "string",
238
+ "description": "Machine node the acceptance refers to."
239
+ },
240
+ "wip_hashes": {
241
+ "type": "array",
242
+ "items": {
243
+ "type": "string"
244
+ },
245
+ "description": "WIP evidence hashes submitted for the node."
246
+ },
247
+ "submitted_at": {
248
+ "description": "Evidence submission timestamp (ms).",
249
+ "type": "integer",
250
+ "minimum": -9007199254740991,
251
+ "maximum": 9007199254740991
252
+ }
253
+ },
254
+ "required": [
255
+ "node",
256
+ "wip_hashes"
257
+ ],
258
+ "additionalProperties": false
259
+ }
260
+ },
261
+ "liability": {
262
+ "description": "Resolution from a prior resolve_liability call — include when an error-loss occurred.",
263
+ "type": "object",
264
+ "properties": {
265
+ "bears": {
266
+ "type": "string",
267
+ "enum": [
268
+ "merchant",
269
+ "employee"
270
+ ]
271
+ },
272
+ "must_compensate_before_resume": {
273
+ "type": "boolean"
274
+ },
275
+ "note": {
276
+ "type": "string"
277
+ }
278
+ },
279
+ "required": [
280
+ "bears",
281
+ "must_compensate_before_resume",
282
+ "note"
283
+ ],
284
+ "additionalProperties": false
285
+ },
286
+ "available_rewards": {
287
+ "description": "Reward objects the merchant can grant; without them a passing employee gets a 'configure a Reward' recommendation.",
288
+ "type": "array",
289
+ "items": {
290
+ "type": "object",
291
+ "properties": {
292
+ "address": {
293
+ "type": "string",
294
+ "description": "Reward object address."
295
+ },
296
+ "description": {
297
+ "type": "string"
298
+ }
299
+ },
300
+ "required": [
301
+ "address"
302
+ ],
303
+ "additionalProperties": false
304
+ }
305
+ },
306
+ "prior_compensation": {
307
+ "description": "Compensation already paid by this employee for prior losses (raw units).",
308
+ "type": "string"
309
+ }
310
+ },
311
+ "required": [
312
+ "action",
313
+ "account",
314
+ "kpis"
315
+ ],
316
+ "additionalProperties": false
174
317
  }
175
318
  ]
176
319
  }
@@ -733,11 +733,84 @@
733
733
  "summary"
734
734
  ],
735
735
  "additionalProperties": false
736
+ },
737
+ "next": {
738
+ "type": "object",
739
+ "properties": {
740
+ "operation": {
741
+ "type": "string",
742
+ "description": "Next on-chain operation label: demand.present_service | demand.present_service_with_passport | demand.publish | service.order_new."
743
+ },
744
+ "operation_type": {
745
+ "type": "string",
746
+ "enum": [
747
+ "demand",
748
+ "service"
749
+ ],
750
+ "description": "The onchain_operations operation_type to use."
751
+ },
752
+ "preconditions": {
753
+ "type": "array",
754
+ "items": {
755
+ "type": "string"
756
+ },
757
+ "description": "Precondition checklist to verify (query/watch) before writing."
758
+ },
759
+ "rationale": {
760
+ "type": "string",
761
+ "description": "Stable guidance describing the order-formation path."
762
+ }
763
+ },
764
+ "required": [
765
+ "operation",
766
+ "operation_type",
767
+ "preconditions",
768
+ "rationale"
769
+ ],
770
+ "additionalProperties": false
771
+ },
772
+ "order": {
773
+ "type": "object",
774
+ "properties": {
775
+ "operation": {
776
+ "type": "string",
777
+ "description": "Next on-chain operation label: demand.present_service | demand.present_service_with_passport | demand.publish | service.order_new."
778
+ },
779
+ "operation_type": {
780
+ "type": "string",
781
+ "enum": [
782
+ "demand",
783
+ "service"
784
+ ],
785
+ "description": "The onchain_operations operation_type to use."
786
+ },
787
+ "preconditions": {
788
+ "type": "array",
789
+ "items": {
790
+ "type": "string"
791
+ },
792
+ "description": "Precondition checklist to verify (query/watch) before writing."
793
+ },
794
+ "rationale": {
795
+ "type": "string",
796
+ "description": "Stable guidance describing the order-formation path."
797
+ }
798
+ },
799
+ "required": [
800
+ "operation",
801
+ "operation_type",
802
+ "preconditions",
803
+ "rationale"
804
+ ],
805
+ "additionalProperties": false,
806
+ "description": "Transaction-formation bridge: create the Order on this service (service.order_new) once selected."
736
807
  }
737
808
  },
738
809
  "required": [
739
810
  "service",
740
- "result"
811
+ "result",
812
+ "next",
813
+ "order"
741
814
  ],
742
815
  "additionalProperties": false
743
816
  }
@@ -918,11 +991,47 @@
918
991
  "summary"
919
992
  ],
920
993
  "additionalProperties": false
994
+ },
995
+ "next": {
996
+ "type": "object",
997
+ "properties": {
998
+ "operation": {
999
+ "type": "string",
1000
+ "description": "Next on-chain operation label: demand.present_service | demand.present_service_with_passport | demand.publish | service.order_new."
1001
+ },
1002
+ "operation_type": {
1003
+ "type": "string",
1004
+ "enum": [
1005
+ "demand",
1006
+ "service"
1007
+ ],
1008
+ "description": "The onchain_operations operation_type to use."
1009
+ },
1010
+ "preconditions": {
1011
+ "type": "array",
1012
+ "items": {
1013
+ "type": "string"
1014
+ },
1015
+ "description": "Precondition checklist to verify (query/watch) before writing."
1016
+ },
1017
+ "rationale": {
1018
+ "type": "string",
1019
+ "description": "Stable guidance describing the order-formation path."
1020
+ }
1021
+ },
1022
+ "required": [
1023
+ "operation",
1024
+ "operation_type",
1025
+ "preconditions",
1026
+ "rationale"
1027
+ ],
1028
+ "additionalProperties": false
921
1029
  }
922
1030
  },
923
1031
  "required": [
924
1032
  "demand",
925
- "result"
1033
+ "result",
1034
+ "next"
926
1035
  ],
927
1036
  "additionalProperties": false
928
1037
  }
@@ -1646,21 +1755,38 @@
1646
1755
  ],
1647
1756
  "additionalProperties": false
1648
1757
  },
1649
- "present": {
1758
+ "next": {
1650
1759
  "type": "object",
1651
1760
  "properties": {
1652
1761
  "operation": {
1653
1762
  "type": "string",
1654
- "description": "Move entry to present: demand.present_service (no guard) or demand.present_service_with_passport (guarded)."
1763
+ "description": "Next on-chain operation label: demand.present_service | demand.present_service_with_passport | demand.publish | service.order_new."
1655
1764
  },
1656
- "guard_required": {
1657
- "type": "boolean",
1658
- "description": "True = the demand has presentation guards; a verified passport is required."
1765
+ "operation_type": {
1766
+ "type": "string",
1767
+ "enum": [
1768
+ "demand",
1769
+ "service"
1770
+ ],
1771
+ "description": "The onchain_operations operation_type to use."
1772
+ },
1773
+ "preconditions": {
1774
+ "type": "array",
1775
+ "items": {
1776
+ "type": "string"
1777
+ },
1778
+ "description": "Precondition checklist to verify (query/watch) before writing."
1779
+ },
1780
+ "rationale": {
1781
+ "type": "string",
1782
+ "description": "Stable guidance describing the order-formation path."
1659
1783
  }
1660
1784
  },
1661
1785
  "required": [
1662
1786
  "operation",
1663
- "guard_required"
1787
+ "operation_type",
1788
+ "preconditions",
1789
+ "rationale"
1664
1790
  ],
1665
1791
  "additionalProperties": false
1666
1792
  }
@@ -1668,7 +1794,7 @@
1668
1794
  "required": [
1669
1795
  "demand",
1670
1796
  "result",
1671
- "present"
1797
+ "next"
1672
1798
  ],
1673
1799
  "additionalProperties": false
1674
1800
  },
@@ -1236,6 +1236,38 @@
1236
1236
  "additionalProperties": false
1237
1237
  }
1238
1238
  },
1239
+ "presenter_history": {
1240
+ "type": "array",
1241
+ "items": {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "demand_id": {
1245
+ "description": "Demand object that received the presentation.",
1246
+ "type": "string"
1247
+ },
1248
+ "acceptance_score": {
1249
+ "anyOf": [
1250
+ {
1251
+ "type": "number"
1252
+ },
1253
+ {
1254
+ "type": "null"
1255
+ }
1256
+ ],
1257
+ "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
1258
+ },
1259
+ "feedback_time": {
1260
+ "description": "Feedback timestamp (ms or s, informational only).",
1261
+ "type": "number"
1262
+ }
1263
+ },
1264
+ "required": [
1265
+ "acceptance_score"
1266
+ ],
1267
+ "additionalProperties": false
1268
+ },
1269
+ "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
1270
+ },
1239
1271
  "injection": {
1240
1272
  "type": "object",
1241
1273
  "properties": {
@@ -1557,6 +1589,38 @@
1557
1589
  "additionalProperties": false
1558
1590
  }
1559
1591
  },
1592
+ "presenter_history": {
1593
+ "type": "array",
1594
+ "items": {
1595
+ "type": "object",
1596
+ "properties": {
1597
+ "demand_id": {
1598
+ "description": "Demand object that received the presentation.",
1599
+ "type": "string"
1600
+ },
1601
+ "acceptance_score": {
1602
+ "anyOf": [
1603
+ {
1604
+ "type": "number"
1605
+ },
1606
+ {
1607
+ "type": "null"
1608
+ }
1609
+ ],
1610
+ "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
1611
+ },
1612
+ "feedback_time": {
1613
+ "description": "Feedback timestamp (ms or s, informational only).",
1614
+ "type": "number"
1615
+ }
1616
+ },
1617
+ "required": [
1618
+ "acceptance_score"
1619
+ ],
1620
+ "additionalProperties": false
1621
+ },
1622
+ "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
1623
+ },
1560
1624
  "injection": {
1561
1625
  "type": "object",
1562
1626
  "properties": {
@@ -1945,6 +2009,38 @@
1945
2009
  ],
1946
2010
  "additionalProperties": false
1947
2011
  },
2012
+ "presenter_history": {
2013
+ "type": "array",
2014
+ "items": {
2015
+ "type": "object",
2016
+ "properties": {
2017
+ "demand_id": {
2018
+ "description": "Demand object that received the presentation.",
2019
+ "type": "string"
2020
+ },
2021
+ "acceptance_score": {
2022
+ "anyOf": [
2023
+ {
2024
+ "type": "number"
2025
+ },
2026
+ {
2027
+ "type": "null"
2028
+ }
2029
+ ],
2030
+ "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
2031
+ },
2032
+ "feedback_time": {
2033
+ "description": "Feedback timestamp (ms or s, informational only).",
2034
+ "type": "number"
2035
+ }
2036
+ },
2037
+ "required": [
2038
+ "acceptance_score"
2039
+ ],
2040
+ "additionalProperties": false
2041
+ },
2042
+ "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
2043
+ },
1948
2044
  "injection": {
1949
2045
  "type": "object",
1950
2046
  "properties": {
@@ -2222,18 +2318,18 @@
2222
2318
  "const": "evidence_review"
2223
2319
  },
2224
2320
  "kind": {
2321
+ "description": "Off-chain evidence kind entering the closure workflow (single-item mode; omit when `items` is given).",
2225
2322
  "type": "string",
2226
2323
  "enum": [
2227
2324
  "signature_photo",
2228
2325
  "voice_recording",
2229
2326
  "delivery_proof",
2230
2327
  "weather_data"
2231
- ],
2232
- "description": "Off-chain evidence kind entering the closure workflow."
2328
+ ]
2233
2329
  },
2234
2330
  "hash_committed": {
2235
- "type": "boolean",
2236
- "description": "Whether the evidence hash is committed on-chain (authenticity anchor)."
2331
+ "description": "Whether the evidence hash is committed on-chain (authenticity anchor; single-item mode).",
2332
+ "type": "boolean"
2237
2333
  },
2238
2334
  "digital_check_passed": {
2239
2335
  "description": "OCR / machine check passed (e.g. signature recognized, waybill matched).",
@@ -2242,12 +2338,53 @@
2242
2338
  "contradiction": {
2243
2339
  "description": "A contradicting signal detected (e.g. waybill number mismatch).",
2244
2340
  "type": "boolean"
2341
+ },
2342
+ "items": {
2343
+ "description": "P2-3 list mode: review a COLLECTION of evidence items together → structured usable/manual/rejected list plus `proof_candidates` (auto-passed items with their Proof refs) the dispute initiator may reference in the dispute description (human confirms the final selection — never auto-attached). When omitted, single-item mode requires `kind` + `hash_committed`.",
2344
+ "minItems": 1,
2345
+ "type": "array",
2346
+ "items": {
2347
+ "type": "object",
2348
+ "properties": {
2349
+ "id": {
2350
+ "type": "string",
2351
+ "minLength": 1,
2352
+ "description": "Caller-side identifier (file name, Proof object id, repository ref...)."
2353
+ },
2354
+ "kind": {
2355
+ "type": "string",
2356
+ "enum": [
2357
+ "signature_photo",
2358
+ "voice_recording",
2359
+ "delivery_proof",
2360
+ "weather_data"
2361
+ ]
2362
+ },
2363
+ "hash_committed": {
2364
+ "type": "boolean"
2365
+ },
2366
+ "digital_check_passed": {
2367
+ "type": "boolean"
2368
+ },
2369
+ "contradiction": {
2370
+ "type": "boolean"
2371
+ },
2372
+ "proof_ref": {
2373
+ "description": "On-chain Proof object reference (WTS proof) when already anchored.",
2374
+ "type": "string"
2375
+ }
2376
+ },
2377
+ "required": [
2378
+ "id",
2379
+ "kind",
2380
+ "hash_committed"
2381
+ ],
2382
+ "additionalProperties": false
2383
+ }
2245
2384
  }
2246
2385
  },
2247
2386
  "required": [
2248
- "action",
2249
- "kind",
2250
- "hash_committed"
2387
+ "action"
2251
2388
  ],
2252
2389
  "additionalProperties": false
2253
2390
  },
@@ -3041,6 +3178,38 @@
3041
3178
  "description": "Force fresh on-chain enumeration (bypass the 120s local list cache).",
3042
3179
  "type": "boolean"
3043
3180
  },
3181
+ "presenter_history": {
3182
+ "type": "array",
3183
+ "items": {
3184
+ "type": "object",
3185
+ "properties": {
3186
+ "demand_id": {
3187
+ "description": "Demand object that received the presentation.",
3188
+ "type": "string"
3189
+ },
3190
+ "acceptance_score": {
3191
+ "anyOf": [
3192
+ {
3193
+ "type": "number"
3194
+ },
3195
+ {
3196
+ "type": "null"
3197
+ }
3198
+ ],
3199
+ "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
3200
+ },
3201
+ "feedback_time": {
3202
+ "description": "Feedback timestamp (ms or s, informational only).",
3203
+ "type": "number"
3204
+ }
3205
+ },
3206
+ "required": [
3207
+ "acceptance_score"
3208
+ ],
3209
+ "additionalProperties": false
3210
+ },
3211
+ "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
3212
+ },
3044
3213
  "injection": {
3045
3214
  "type": "object",
3046
3215
  "properties": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "title": "WoWok MCP Schema Index",
4
4
  "description": "Index of all available JSON schemas for WoWok MCP tools",
5
- "generatedAt": "2026-09-07T08:17:17.098Z",
5
+ "generatedAt": "2026-09-09T00:35:02.238Z",
6
6
  "tools": [
7
7
  {
8
8
  "name": "onchain_operations",
@@ -82,6 +82,12 @@
82
82
  "path": "./monitor_subscription.schema.json",
83
83
  "outputPath": "./monitor_subscription.output.json"
84
84
  },
85
+ {
86
+ "name": "keeper_operation",
87
+ "title": "Keeper - Actionable Reminders & Authorized Auto-Execution",
88
+ "path": "./keeper_operation.schema.json",
89
+ "outputPath": "./keeper_operation.output.json"
90
+ },
85
91
  {
86
92
  "name": "wowok_buildin_info",
87
93
  "title": "WoWok Build-in Information",