@wowok/agent-mcp 3.2.7 → 3.3.0

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 (265) hide show
  1. package/README.md +2 -2
  2. package/dist/chain-semantics/field-capability.js +1 -1
  3. package/dist/chain-semantics/freeze-map.js +1 -1
  4. package/dist/chain-semantics/fund-flow.js +1 -1
  5. package/dist/chain-semantics/guard-verbs.js +1 -1
  6. package/dist/chain-semantics/object-graph.js +1 -1
  7. package/dist/composition/audit.js +1 -1
  8. package/dist/composition/compile.d.ts +10 -1
  9. package/dist/composition/compile.js +1 -1
  10. package/dist/composition/inflight.d.ts +10 -0
  11. package/dist/composition/inflight.js +1 -1
  12. package/dist/extensions/business-modules.d.ts +1 -1
  13. package/dist/extensions/business-modules.js +1 -1
  14. package/dist/extensions/capability-manifest.js +1 -1
  15. package/dist/extensions/industry-audit.spec.js +1 -1
  16. package/dist/extensions/industry-pack.js +1 -1
  17. package/dist/graph/onchain/edge-schema.js +1 -1
  18. package/dist/graph/onchain/facts.spec.js +1 -1
  19. package/dist/graph/onchain/field-manifest.js +1 -1
  20. package/dist/harness/index.d.ts +1 -0
  21. package/dist/harness/index.js +1 -1
  22. package/dist/harness/operation-id.d.ts +1 -0
  23. package/dist/harness/operation-id.js +1 -0
  24. package/dist/harness/recover.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/intent/types.d.ts +1 -1
  27. package/dist/intent/types.js +1 -1
  28. package/dist/keeper/KeeperScan.d.ts +2 -1
  29. package/dist/keeper/KeeperScan.js +1 -1
  30. package/dist/keeper/keeper.spec.js +1 -1
  31. package/dist/keeper/types.d.ts +3 -0
  32. package/dist/keeper/types.js +1 -1
  33. package/dist/knowledge/allocator-rail-verifier.d.ts +34 -0
  34. package/dist/knowledge/allocator-rail-verifier.js +1 -0
  35. package/dist/knowledge/arbitration-ledger.js +1 -1
  36. package/dist/knowledge/arbitration-templates.js +1 -1
  37. package/dist/knowledge/arbitration-venue-order.js +1 -1
  38. package/dist/knowledge/audit-rules.d.ts +19 -1
  39. package/dist/knowledge/audit-rules.js +1 -1
  40. package/dist/knowledge/baselines/rules/alloc_audit.json +1 -1
  41. package/dist/knowledge/baselines/rules/arb.json +1 -1
  42. package/dist/knowledge/baselines/rules/guard.json +106 -1
  43. package/dist/knowledge/baselines/rules/machine.json +9 -6
  44. package/dist/knowledge/baselines/rules/plan.json +40 -17
  45. package/dist/knowledge/baselines/semantic-facts.js +1 -1
  46. package/dist/knowledge/builtin-templates.d.ts +1 -1
  47. package/dist/knowledge/builtin-templates.js +1 -1
  48. package/dist/knowledge/contract-invariants.js +1 -1
  49. package/dist/knowledge/discount-threshold.d.ts +11 -0
  50. package/dist/knowledge/discount-threshold.js +1 -1
  51. package/dist/knowledge/event-semantics.js +1 -1
  52. package/dist/knowledge/fund-layer.js +1 -1
  53. package/dist/knowledge/getting-started.js +1 -1
  54. package/dist/knowledge/guard-anchor-reach.d.ts +1 -1
  55. package/dist/knowledge/guard-anchor-reach.js +1 -1
  56. package/dist/knowledge/guard-bindings.js +1 -1
  57. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  58. package/dist/knowledge/guard-design-patterns.js +1 -1
  59. package/dist/knowledge/guard-field-cognition.js +1 -1
  60. package/dist/knowledge/guard-ledger.js +1 -1
  61. package/dist/knowledge/guard-lint.js +1 -1
  62. package/dist/knowledge/guard-render.js +1 -1
  63. package/dist/knowledge/guard-risk.d.ts +1 -0
  64. package/dist/knowledge/guard-risk.js +1 -1
  65. package/dist/knowledge/guard-submission-brief.d.ts +6 -0
  66. package/dist/knowledge/guard-submission-brief.js +1 -1
  67. package/dist/knowledge/guard-templates.d.ts +2 -2
  68. package/dist/knowledge/guard-templates.js +1 -1
  69. package/dist/knowledge/index.js +1 -1
  70. package/dist/knowledge/industry-registry.js +1 -1
  71. package/dist/knowledge/industry-strategy.js +1 -1
  72. package/dist/knowledge/jsonrpc-enum.js +1 -1
  73. package/dist/knowledge/machine-ledger.js +1 -1
  74. package/dist/knowledge/machine-puzzle.d.ts +1 -1
  75. package/dist/knowledge/machine-puzzle.js +1 -1
  76. package/dist/knowledge/machine-risk.js +1 -1
  77. package/dist/knowledge/machine-templates.js +1 -1
  78. package/dist/knowledge/machine-topology.d.ts +8 -0
  79. package/dist/knowledge/machine-topology.js +1 -1
  80. package/dist/knowledge/machine-translation.js +1 -1
  81. package/dist/knowledge/order-ledger.js +1 -1
  82. package/dist/knowledge/permission-ledger.js +1 -1
  83. package/dist/knowledge/protocol-facts.d.ts +16 -0
  84. package/dist/knowledge/protocol-facts.js +1 -0
  85. package/dist/knowledge/recipient-constraint.js +1 -1
  86. package/dist/knowledge/reward-ledger.d.ts +2 -1
  87. package/dist/knowledge/reward-ledger.js +1 -1
  88. package/dist/knowledge/reward-templates.js +1 -1
  89. package/dist/knowledge/safety-rules.d.ts +0 -2
  90. package/dist/knowledge/safety-rules.js +1 -1
  91. package/dist/knowledge/scenario-modes.d.ts +7 -0
  92. package/dist/knowledge/scenario-modes.js +1 -1
  93. package/dist/knowledge/strategy-manuals.js +1 -1
  94. package/dist/knowledge/template-loader.d.ts +13 -1
  95. package/dist/knowledge/template-loader.js +1 -1
  96. package/dist/knowledge/template-registry.js +1 -1
  97. package/dist/knowledge/template-scanner.d.ts +2 -0
  98. package/dist/knowledge/template-scanner.js +1 -1
  99. package/dist/knowledge/tool-constraints.js +1 -1
  100. package/dist/knowledge/tools-reference.js +1 -1
  101. package/dist/knowledge/workflow-guidance.d.ts +7 -3
  102. package/dist/knowledge/workflow-guidance.js +1 -1
  103. package/dist/monitor/MonitorLoop.js +1 -1
  104. package/dist/monitor/normalize.d.ts +1 -1
  105. package/dist/monitor/normalize.js +1 -1
  106. package/dist/monitor/types.d.ts +1 -1
  107. package/dist/monitor/types.js +1 -1
  108. package/dist/participation/radar-core.d.ts +1 -1
  109. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  110. package/dist/playbooks/service-build/game-theory.d.ts +1 -0
  111. package/dist/playbooks/service-build/game-theory.js +1 -1
  112. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  113. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  114. package/dist/playbooks/service-build/merchant-guide.d.ts +8 -0
  115. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  116. package/dist/playbooks/service-build/object-panorama.d.ts +28 -1
  117. package/dist/playbooks/service-build/object-panorama.js +1 -1
  118. package/dist/playbooks/service-build/participation-radar.d.ts +2 -0
  119. package/dist/playbooks/service-build/participation-radar.js +1 -1
  120. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  121. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +1 -1
  122. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  123. package/dist/playbooks/service-build/service-panorama.js +1 -1
  124. package/dist/playbooks/service-build/service-quote.js +1 -1
  125. package/dist/playbooks/service-build/service-quote.spec.js +1 -1
  126. package/dist/relationship/registry.js +1 -1
  127. package/dist/review/index.js +1 -1
  128. package/dist/role/profiles.js +1 -1
  129. package/dist/safety/confirm-gate.js +1 -1
  130. package/dist/safety/preview.d.ts +1 -0
  131. package/dist/safety/preview.js +1 -1
  132. package/dist/schema/benchmark-migration/index.d.ts +19 -1
  133. package/dist/schema/benchmark-migration/index.js +1 -1
  134. package/dist/schema/call/allocation.d.ts +1 -1
  135. package/dist/schema/call/arbitration.d.ts +8 -8
  136. package/dist/schema/call/arbitration.js +1 -1
  137. package/dist/schema/call/base.d.ts +52 -5
  138. package/dist/schema/call/base.js +1 -1
  139. package/dist/schema/call/bridge.d.ts +3 -0
  140. package/dist/schema/call/contact.d.ts +5 -5
  141. package/dist/schema/call/demand.d.ts +5 -5
  142. package/dist/schema/call/error-codes.d.ts +1 -1
  143. package/dist/schema/call/error-codes.js +1 -1
  144. package/dist/schema/call/guard.d.ts +3 -3
  145. package/dist/schema/call/guard.js +1 -1
  146. package/dist/schema/call/handler.js +1 -1
  147. package/dist/schema/call/machine.d.ts +13 -5
  148. package/dist/schema/call/machine.js +1 -1
  149. package/dist/schema/call/order.d.ts +5 -5
  150. package/dist/schema/call/order.js +1 -1
  151. package/dist/schema/call/permission.d.ts +5 -5
  152. package/dist/schema/call/personal.d.ts +4 -4
  153. package/dist/schema/call/progress.d.ts +5 -5
  154. package/dist/schema/call/progress.js +1 -1
  155. package/dist/schema/call/proof.js +1 -1
  156. package/dist/schema/call/receipt.d.ts +8 -0
  157. package/dist/schema/call/receipt.js +1 -1
  158. package/dist/schema/call/repository.d.ts +9 -9
  159. package/dist/schema/call/repository.js +1 -1
  160. package/dist/schema/call/reward.d.ts +25 -5
  161. package/dist/schema/call/reward.js +1 -1
  162. package/dist/schema/call/semantic.js +1 -1
  163. package/dist/schema/call/service.d.ts +10 -5
  164. package/dist/schema/call/service.js +1 -1
  165. package/dist/schema/call/treasury.d.ts +5 -5
  166. package/dist/schema/common/index.d.ts +6 -6
  167. package/dist/schema/common/index.js +1 -1
  168. package/dist/schema/goal/index.d.ts +17 -1
  169. package/dist/schema/goal/planning.d.ts +28 -2
  170. package/dist/schema/goal/planning.js +1 -1
  171. package/dist/schema/industry-pack/index.d.ts +3 -0
  172. package/dist/schema/industry-pack/index.js +1 -1
  173. package/dist/schema/intent-radar/index.d.ts +9 -0
  174. package/dist/schema/intent-radar/index.js +1 -1
  175. package/dist/schema/local/index.d.ts +31 -0
  176. package/dist/schema/local/index.js +1 -1
  177. package/dist/schema/messenger/index.js +1 -1
  178. package/dist/schema/operations.d.ts +57 -43
  179. package/dist/schema/operations.js +1 -1
  180. package/dist/schema/query/bi.d.ts +22 -6
  181. package/dist/schema/query/bi.js +1 -1
  182. package/dist/schema/query/index.d.ts +164 -102
  183. package/dist/schema/query/index.js +1 -1
  184. package/dist/schema/schema-query/index.d.ts +2 -0
  185. package/dist/schema/schema-query/index.js +1 -1
  186. package/dist/schema/schema-version.js +1 -1
  187. package/dist/schema/utils/permission-machine-check.d.ts +2 -0
  188. package/dist/schema/utils/permission-machine-check.js +1 -1
  189. package/dist/schema/workflow/index.d.ts +1 -1
  190. package/dist/schema-query-impl/index.d.ts +1 -1
  191. package/dist/schema-query-impl/index.js +1 -1
  192. package/dist/schemas/account_operation.output.json +3 -0
  193. package/dist/schemas/account_operation.schema.json +4 -4
  194. package/dist/schemas/benchmark_migration_operation.output.json +42 -0
  195. package/dist/schemas/benchmark_migration_operation.schema.json +40 -3
  196. package/dist/schemas/bridge_operation.output.json +3 -0
  197. package/dist/schemas/goal_operation.schema.json +52 -2
  198. package/dist/schemas/index.json +1 -1
  199. package/dist/schemas/industry_pack_operation.output.json +8 -0
  200. package/dist/schemas/industry_pack_operation.schema.json +9 -0
  201. package/dist/schemas/intent_radar.output.json +8 -2
  202. package/dist/schemas/intent_radar.schema.json +4 -1
  203. package/dist/schemas/local_cache_operation.output.json +3 -0
  204. package/dist/schemas/local_history_operation.output.json +3 -0
  205. package/dist/schemas/local_info_operation.output.json +3 -0
  206. package/dist/schemas/local_mark_operation.output.json +3 -0
  207. package/dist/schemas/messenger_operation.schema.json +4 -4
  208. package/dist/schemas/monitor_events.schema.json +3 -1
  209. package/dist/schemas/onchain_events.output.json +275 -11
  210. package/dist/schemas/onchain_events.schema.json +25 -1
  211. package/dist/schemas/onchain_operations.output.json +47 -5
  212. package/dist/schemas/onchain_operations.schema.json +664 -179
  213. package/dist/schemas/onchain_operations_allocation.schema.json +7 -7
  214. package/dist/schemas/onchain_operations_arbitration.schema.json +21 -15
  215. package/dist/schemas/onchain_operations_contact.schema.json +15 -10
  216. package/dist/schemas/onchain_operations_demand.schema.json +15 -10
  217. package/dist/schemas/onchain_operations_gen_passport.schema.json +5 -5
  218. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
  219. package/dist/schemas/onchain_operations_guard.schema.json +346 -8
  220. package/dist/schemas/onchain_operations_machine.schema.json +24 -11
  221. package/dist/schemas/onchain_operations_order.schema.json +17 -12
  222. package/dist/schemas/onchain_operations_permission.schema.json +10 -5
  223. package/dist/schemas/onchain_operations_personal.schema.json +2 -2
  224. package/dist/schemas/onchain_operations_progress.schema.json +17 -12
  225. package/dist/schemas/onchain_operations_proof.schema.json +6 -6
  226. package/dist/schemas/onchain_operations_repository.schema.json +19 -14
  227. package/dist/schemas/onchain_operations_reward.schema.json +96 -15
  228. package/dist/schemas/onchain_operations_service.schema.json +33 -21
  229. package/dist/schemas/onchain_operations_treasury.schema.json +15 -10
  230. package/dist/schemas/onchain_table_data.output.json +7 -7
  231. package/dist/schemas/query_toolkit.output.json +268 -44
  232. package/dist/schemas/query_toolkit.schema.json +1 -1
  233. package/dist/schemas/schema_query.schema.json +7 -2
  234. package/dist/schemas/workflow_operation.schema.json +5 -5
  235. package/dist/schemas/wowok_buildin_info.output.json +140 -3
  236. package/dist/schemas/wowok_buildin_info.schema.json +2 -2
  237. package/dist/tools/handlers/benchmark-migration.d.ts +66 -1
  238. package/dist/tools/handlers/benchmark-migration.js +1 -1
  239. package/dist/tools/handlers/config.js +1 -1
  240. package/dist/tools/handlers/dispatch-expectations.d.ts +0 -1
  241. package/dist/tools/handlers/dispatch-expectations.js +1 -1
  242. package/dist/tools/handlers/industry-pack.js +1 -1
  243. package/dist/tools/handlers/intent-radar.js +1 -1
  244. package/dist/tools/handlers/keeper.d.ts +1 -1
  245. package/dist/tools/handlers/local.js +1 -1
  246. package/dist/tools/handlers/onchain.d.ts +12 -0
  247. package/dist/tools/handlers/onchain.js +1 -1
  248. package/dist/tools/handlers/query.d.ts +1 -0
  249. package/dist/tools/handlers/query.js +1 -1
  250. package/dist/tools/handlers/review-chain.js +1 -1
  251. package/dist/tools/handlers/schema-query.js +1 -1
  252. package/dist/tools/handlers/workflow.js +1 -1
  253. package/dist/tools/index.js +1 -1
  254. package/dist/tools/move-fn-index.gen.js +1 -1
  255. package/dist/tools/registry/agent.js +1 -1
  256. package/dist/tools/registry/business.js +1 -1
  257. package/dist/tools/registry/files.js +1 -1
  258. package/dist/tools/registry/query.js +1 -1
  259. package/dist/tools/rules-hook.js +1 -1
  260. package/dist/tools/upgrade-check.d.ts +23 -0
  261. package/dist/tools/upgrade-check.js +1 -1
  262. package/dist/tools/wip-deploy-assist.d.ts +6 -0
  263. package/dist/tools/wip-deploy-assist.js +1 -1
  264. package/dist/tools/wrap.js +1 -1
  265. package/package.json +2 -2
@@ -1123,6 +1123,19 @@
1123
1123
  "type": "string"
1124
1124
  },
1125
1125
  "additionalProperties": {}
1126
+ },
1127
+ "review_mode": {
1128
+ "description": "Per-build review-rail mode (v53). Absent = the template's declared review_mode applies.",
1129
+ "type": "string",
1130
+ "enum": [
1131
+ "review",
1132
+ "review_reward",
1133
+ "none"
1134
+ ]
1135
+ },
1136
+ "reward_funding": {
1137
+ "description": "Review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).",
1138
+ "type": "string"
1126
1139
  }
1127
1140
  },
1128
1141
  "required": [
@@ -1171,7 +1184,7 @@
1171
1184
  }
1172
1185
  },
1173
1186
  "guard_resolutions": {
1174
- "description": "Judgment-layer resolutions for pending guard designs (keyed by pending_guard_designs[].key; C6-DEEP). A blocked audit lists every unresolved design — resolve each here (kind 'inline' with the resolved Guard table+root, or kind 'template' with a matching tpl_* id) and call merchant_guide again. Caller input wins over module-derived resolutions. The publish freeze gate still runs: a resolution only unblocks the plan when the closed audit is clean.",
1187
+ "description": "Judgment-layer resolutions for pending guard designs (keyed by pending_guard_designs[].key; C6-DEEP). A blocked audit lists every unresolved design — resolve each here (kind 'inline' with the resolved Guard table+root, or kind 'template' with a matching tpl_* id) and call merchant_guide again. Advisory designs that do not apply to this shop may be resolved with {kind:'omit'} instead (honored only for designs with no inbound binding; an omit of a bound design is refused with GUARD_OMIT_UNSUPPORTED). Caller input wins over module-derived resolutions. The publish freeze gate still runs: a resolution only unblocks the plan when the closed audit is clean.",
1175
1188
  "type": "object",
1176
1189
  "propertyNames": {
1177
1190
  "type": "string"
@@ -1216,6 +1229,7 @@
1216
1229
  "type": "string"
1217
1230
  },
1218
1231
  "table": {
1232
+ "minItems": 1,
1219
1233
  "type": "array",
1220
1234
  "items": {
1221
1235
  "type": "object",
@@ -1227,7 +1241,17 @@
1227
1241
  "description": "Guard passport table rows (identifier/b_submission/value_type/...)."
1228
1242
  },
1229
1243
  "root": {
1230
- "description": "Guard logic root node."
1244
+ "type": "object",
1245
+ "properties": {
1246
+ "type": {
1247
+ "type": "string"
1248
+ }
1249
+ },
1250
+ "required": [
1251
+ "type"
1252
+ ],
1253
+ "additionalProperties": {},
1254
+ "description": "Guard logic root node (a typed tree node)."
1231
1255
  }
1232
1256
  },
1233
1257
  "required": [
@@ -1236,9 +1260,35 @@
1236
1260
  "root"
1237
1261
  ],
1238
1262
  "additionalProperties": false
1263
+ },
1264
+ {
1265
+ "type": "object",
1266
+ "properties": {
1267
+ "kind": {
1268
+ "type": "string",
1269
+ "const": "omit"
1270
+ }
1271
+ },
1272
+ "required": [
1273
+ "kind"
1274
+ ],
1275
+ "additionalProperties": false
1239
1276
  }
1240
1277
  ]
1241
1278
  }
1279
+ },
1280
+ "review_mode": {
1281
+ "description": "Step 6 confirmation: per-build review-rail mode (v53). Absent = the template's declared review_mode applies.",
1282
+ "type": "string",
1283
+ "enum": [
1284
+ "review",
1285
+ "review_reward",
1286
+ "none"
1287
+ ]
1288
+ },
1289
+ "reward_funding": {
1290
+ "description": "Step 6 confirmation: review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).",
1291
+ "type": "string"
1242
1292
  }
1243
1293
  },
1244
1294
  "additionalProperties": false
@@ -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-10-11T11:46:49.707Z",
5
+ "generatedAt": "2026-10-16T09:16:30.649Z",
6
6
  "tools": [
7
7
  {
8
8
  "name": "onchain_operations",
@@ -370,6 +370,14 @@
370
370
  "ok": {
371
371
  "type": "boolean",
372
372
  "description": "Whether the file was written."
373
+ },
374
+ "restamped": {
375
+ "description": "true when the content equaled a builtin template's canonical body and was written with a fresh release stamp (b9-2: keeps the sentinel hash bound so the seed-upgrade channel stays reachable).",
376
+ "type": "boolean"
377
+ },
378
+ "note": {
379
+ "description": "Human-readable note (set when restamped).",
380
+ "type": "string"
373
381
  }
374
382
  },
375
383
  "required": [
@@ -82,6 +82,15 @@
82
82
  "description": "EXPLICIT USER AUTHORIZATION (C5) required before any action that MODIFIES a user-editable template file (any path under '<industry>/templates/') — write_file / delete_file / reset / move / rename on such a path, copy ONTO an existing such file, and every repair_builtin_templates execution. WITHOUT this flag the action refuses (or returns a plan-only preview for repair_builtin_templates). Set it ONLY after the user has explicitly confirmed the specific change in the conversation.",
83
83
  "type": "boolean"
84
84
  },
85
+ "include_user_edited": {
86
+ "description": "Builtin template ids ('<industry>/<variant>') whose USER-EDIT PROTECTION is explicitly lifted for repair_builtin_templates / template_drift (b9-2). A sentinel whose hash no longer binds its body normally locks the file out of the seed-upgrade channel (presumed user edit); pass the ids the user EXPLICITLY approved for reseed after reviewing the field-level diff — e.g. machine-proven provenance rot (stale deployment stamp or an authorized write that updated the body without re-stamping). The list IS the per-file consent: it must ride BOTH the plan-only preview and the authorize=true execute call. Never list an id the user has not personally confirmed.",
87
+ "maxItems": 50,
88
+ "type": "array",
89
+ "items": {
90
+ "type": "string",
91
+ "minLength": 1
92
+ }
93
+ },
85
94
  "intent": {
86
95
  "description": "Business intent text for recommend_industry (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Falls back to project_description / project_name when omitted.",
87
96
  "type": "string",
@@ -69,7 +69,10 @@
69
69
  "TreasuryEvent",
70
70
  "RewardClaimEvent",
71
71
  "RewardFundEvent",
72
- "NewPaymentEvent"
72
+ "RewardWithdrawEvent",
73
+ "NewPaymentEvent",
74
+ "PermissionChangedEvent",
75
+ "RepositoryDataOverwriteEvent"
73
76
  ]
74
77
  }
75
78
  },
@@ -165,7 +168,10 @@
165
168
  "TreasuryEvent",
166
169
  "RewardClaimEvent",
167
170
  "RewardFundEvent",
168
- "NewPaymentEvent"
171
+ "RewardWithdrawEvent",
172
+ "NewPaymentEvent",
173
+ "PermissionChangedEvent",
174
+ "RepositoryDataOverwriteEvent"
169
175
  ]
170
176
  }
171
177
  },
@@ -52,7 +52,10 @@
52
52
  "TreasuryEvent",
53
53
  "RewardClaimEvent",
54
54
  "RewardFundEvent",
55
- "NewPaymentEvent"
55
+ "RewardWithdrawEvent",
56
+ "NewPaymentEvent",
57
+ "PermissionChangedEvent",
58
+ "RepositoryDataOverwriteEvent"
56
59
  ]
57
60
  }
58
61
  }
@@ -232,13 +232,16 @@
232
232
  "network_error",
233
233
  "rate_limit",
234
234
  "gas_exceeded",
235
+ "insufficient_gas",
235
236
  "bcs_error",
236
237
  "signature_error",
237
238
  "config_error",
238
239
  "wip_verification_failed",
239
240
  "wip_storage_unavailable",
241
+ "wip_storage_rejected",
240
242
  "submission_unknown",
241
243
  "move_abort_unmapped",
244
+ "missing_data",
242
245
  "unknown"
243
246
  ]
244
247
  },
@@ -179,13 +179,16 @@
179
179
  "network_error",
180
180
  "rate_limit",
181
181
  "gas_exceeded",
182
+ "insufficient_gas",
182
183
  "bcs_error",
183
184
  "signature_error",
184
185
  "config_error",
185
186
  "wip_verification_failed",
186
187
  "wip_storage_unavailable",
188
+ "wip_storage_rejected",
187
189
  "submission_unknown",
188
190
  "move_abort_unmapped",
191
+ "missing_data",
189
192
  "unknown"
190
193
  ]
191
194
  },
@@ -65,13 +65,16 @@
65
65
  "network_error",
66
66
  "rate_limit",
67
67
  "gas_exceeded",
68
+ "insufficient_gas",
68
69
  "bcs_error",
69
70
  "signature_error",
70
71
  "config_error",
71
72
  "wip_verification_failed",
72
73
  "wip_storage_unavailable",
74
+ "wip_storage_rejected",
73
75
  "submission_unknown",
74
76
  "move_abort_unmapped",
77
+ "missing_data",
75
78
  "unknown"
76
79
  ]
77
80
  },
@@ -157,13 +157,16 @@
157
157
  "network_error",
158
158
  "rate_limit",
159
159
  "gas_exceeded",
160
+ "insufficient_gas",
160
161
  "bcs_error",
161
162
  "signature_error",
162
163
  "config_error",
163
164
  "wip_verification_failed",
164
165
  "wip_storage_unavailable",
166
+ "wip_storage_rejected",
165
167
  "submission_unknown",
166
168
  "move_abort_unmapped",
169
+ "missing_data",
167
170
  "unknown"
168
171
  ]
169
172
  },
@@ -139,7 +139,7 @@
139
139
  "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
140
140
  }
141
141
  ],
142
- "description": "Recipient address or account name - can be a string (name/address) or full object"
142
+ "description": "Recipient ACCOUNT address or account/mark name - can be a string (name/address) or full object. Messenger registers ACCOUNTS. A Contact object id IS accepted and auto-resolved on-chain to the messenger address stored inside it; any OTHER on-chain object address is rejected locally with the object type named ⚠️ ANTI-SPAM (by design): your FIRST message to a stranger IS delivered, but follow-ups are rejected until the recipient replies once — a single reply re-opens the thread. Adding the recipient to Contact/friends does NOT exempt this (server-side permission, independent of contacts). Merchant-push SOP: have the buyer send the first message, then reply in that thread."
143
143
  },
144
144
  "content": {
145
145
  "type": "string",
@@ -259,7 +259,7 @@
259
259
  "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
260
260
  }
261
261
  ],
262
- "description": "Recipient address or account name - can be a string (name/address) or full object"
262
+ "description": "Recipient ACCOUNT address or account/mark name - can be a string (name/address) or full object. Messenger registers ACCOUNTS. A Contact object id IS accepted and auto-resolved on-chain to the messenger address stored inside it; any OTHER on-chain object address is rejected locally with the object type named ⚠️ ANTI-SPAM (by design): your FIRST message to a stranger IS delivered, but follow-ups are rejected until the recipient replies once — a single reply re-opens the thread. Adding the recipient to Contact/friends does NOT exempt this (server-side permission, independent of contacts). Merchant-push SOP: have the buyer send the first message, then reply in that thread."
263
263
  },
264
264
  "filePath": {
265
265
  "type": "string",
@@ -406,7 +406,7 @@
406
406
  "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
407
407
  }
408
408
  ],
409
- "description": "Recipient address (the merchant's Contact IM address). Can be a string or full object"
409
+ "description": "Recipient ACCOUNT address or account/mark name — the merchant account AS RECORDED IN the Contact (its stored address field). A Contact object id is ALSO accepted and auto-resolved on-chain to that stored address; any OTHER on-chain object address is rejected locally with the object type named. Can be a string (name/address) or full object ⚠️ ANTI-SPAM (by design): your FIRST message to a stranger IS delivered, but follow-ups are rejected until the recipient replies once — a single reply re-opens the thread. Adding the recipient to Contact/friends does NOT exempt this (server-side permission, independent of contacts). Merchant-push SOP: have the buyer send the first message, then reply in that thread."
410
410
  },
411
411
  "fields": {
412
412
  "description": "LocalInfo field names to send (e.g. ['phone','shipping_address']). If omitted, ALL LocalInfo fields are included",
@@ -1062,7 +1062,7 @@
1062
1062
  "const": "proof_message"
1063
1063
  },
1064
1064
  "account": {
1065
- "description": "Account - can be a string (name/address/mark name) or full object. If not specified, uses default account",
1065
+ "description": "Account that PROOF reads from — must be the SENDER account that sent the message (the sent message lives only in the sender's local storage; querying from the recipient's or any other account returns 'Message not found'). Can be a string (name/address/mark name) or full object. If not specified, uses default account",
1066
1066
  "anyOf": [
1067
1067
  {
1068
1068
  "description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
@@ -26,7 +26,9 @@
26
26
  "reward",
27
27
  "service",
28
28
  "entity",
29
- "payment"
29
+ "payment",
30
+ "permission",
31
+ "repository"
30
32
  ]
31
33
  },
32
34
  "limit": {