@wowok/agent-mcp 2.4.3 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist/config/runtime.d.ts +4 -0
  2. package/dist/config/runtime.js +29 -5
  3. package/dist/harness/auto-escalation.d.ts +27 -0
  4. package/dist/harness/auto-escalation.js +68 -0
  5. package/dist/index.js +21 -0
  6. package/dist/knowledge/allocation-confirm.d.ts +115 -0
  7. package/dist/knowledge/allocation-confirm.js +534 -0
  8. package/dist/knowledge/allocation-context.d.ts +58 -0
  9. package/dist/knowledge/allocation-context.js +249 -0
  10. package/dist/knowledge/allocation-ledger.d.ts +67 -0
  11. package/dist/knowledge/allocation-ledger.js +463 -0
  12. package/dist/knowledge/allocation-puzzle.d.ts +135 -0
  13. package/dist/knowledge/allocation-puzzle.js +298 -0
  14. package/dist/knowledge/allocation-risk.d.ts +78 -0
  15. package/dist/knowledge/allocation-risk.js +568 -0
  16. package/dist/knowledge/allocation-templates.d.ts +38 -0
  17. package/dist/knowledge/allocation-templates.js +970 -0
  18. package/dist/knowledge/allocation-translation.d.ts +72 -0
  19. package/dist/knowledge/allocation-translation.js +585 -0
  20. package/dist/knowledge/arb-risk.d.ts +37 -0
  21. package/dist/knowledge/arb-risk.js +210 -0
  22. package/dist/knowledge/arbitration-confirm.d.ts +135 -0
  23. package/dist/knowledge/arbitration-confirm.js +559 -0
  24. package/dist/knowledge/arbitration-context.d.ts +81 -0
  25. package/dist/knowledge/arbitration-context.js +505 -0
  26. package/dist/knowledge/arbitration-ledger.d.ts +62 -0
  27. package/dist/knowledge/arbitration-ledger.js +521 -0
  28. package/dist/knowledge/arbitration-puzzle.d.ts +84 -0
  29. package/dist/knowledge/arbitration-puzzle.js +304 -0
  30. package/dist/knowledge/arbitration-risk.d.ts +112 -0
  31. package/dist/knowledge/arbitration-risk.js +433 -0
  32. package/dist/knowledge/arbitration-templates.d.ts +38 -0
  33. package/dist/knowledge/arbitration-templates.js +276 -0
  34. package/dist/knowledge/arbitration-translation.d.ts +91 -0
  35. package/dist/knowledge/arbitration-translation.js +487 -0
  36. package/dist/knowledge/bridge-risk.d.ts +36 -0
  37. package/dist/knowledge/bridge-risk.js +263 -0
  38. package/dist/knowledge/contact-risk.d.ts +32 -0
  39. package/dist/knowledge/contact-risk.js +200 -0
  40. package/dist/knowledge/demand-confirm.d.ts +32 -0
  41. package/dist/knowledge/demand-confirm.js +206 -0
  42. package/dist/knowledge/demand-risk.d.ts +30 -0
  43. package/dist/knowledge/demand-risk.js +240 -0
  44. package/dist/knowledge/demand-translation.d.ts +55 -0
  45. package/dist/knowledge/demand-translation.js +354 -0
  46. package/dist/knowledge/deployment-scanner.d.ts +63 -0
  47. package/dist/knowledge/deployment-scanner.js +762 -0
  48. package/dist/knowledge/examples-scanner-cli.d.ts +1 -0
  49. package/dist/knowledge/examples-scanner-cli.js +26 -0
  50. package/dist/knowledge/examples-scanner.d.ts +121 -0
  51. package/dist/knowledge/examples-scanner.js +825 -0
  52. package/dist/knowledge/flywheel-loop.d.ts +3 -0
  53. package/dist/knowledge/flywheel-loop.js +32 -3
  54. package/dist/knowledge/glossary.js +3 -1
  55. package/dist/knowledge/guard-confirm.d.ts +86 -0
  56. package/dist/knowledge/guard-confirm.js +406 -0
  57. package/dist/knowledge/guard-context.d.ts +56 -0
  58. package/dist/knowledge/guard-context.js +287 -0
  59. package/dist/knowledge/guard-design-patterns.d.ts +37 -0
  60. package/dist/knowledge/guard-design-patterns.js +257 -0
  61. package/dist/knowledge/guard-puzzle.js +3 -2
  62. package/dist/knowledge/guard-risk.d.ts +1 -1
  63. package/dist/knowledge/guard-risk.js +12 -14
  64. package/dist/knowledge/guard-templates.js +1 -1
  65. package/dist/knowledge/guard-translation.js +6 -5
  66. package/dist/knowledge/index.d.ts +342 -0
  67. package/dist/knowledge/index.js +344 -0
  68. package/dist/knowledge/machine-confirm.d.ts +102 -0
  69. package/dist/knowledge/machine-confirm.js +559 -0
  70. package/dist/knowledge/machine-context.d.ts +160 -0
  71. package/dist/knowledge/machine-context.js +812 -0
  72. package/dist/knowledge/machine-ledger.d.ts +41 -0
  73. package/dist/knowledge/machine-ledger.js +315 -0
  74. package/dist/knowledge/machine-puzzle.d.ts +206 -0
  75. package/dist/knowledge/machine-puzzle.js +494 -0
  76. package/dist/knowledge/machine-risk.d.ts +75 -0
  77. package/dist/knowledge/machine-risk.js +644 -0
  78. package/dist/knowledge/machine-templates.d.ts +92 -0
  79. package/dist/knowledge/machine-templates.js +1592 -0
  80. package/dist/knowledge/machine-topology.d.ts +57 -0
  81. package/dist/knowledge/machine-topology.js +234 -0
  82. package/dist/knowledge/machine-translation.d.ts +96 -0
  83. package/dist/knowledge/machine-translation.js +513 -0
  84. package/dist/knowledge/mcp-schema-audit-cli.d.ts +1 -0
  85. package/dist/knowledge/mcp-schema-audit-cli.js +45 -0
  86. package/dist/knowledge/mcp-schema-audit.d.ts +90 -0
  87. package/dist/knowledge/mcp-schema-audit.js +772 -0
  88. package/dist/knowledge/onchain-constants.d.ts +4 -0
  89. package/dist/knowledge/onchain-constants.js +35 -0
  90. package/dist/knowledge/order-confirm.d.ts +115 -0
  91. package/dist/knowledge/order-confirm.js +573 -0
  92. package/dist/knowledge/order-context.d.ts +66 -0
  93. package/dist/knowledge/order-context.js +390 -0
  94. package/dist/knowledge/order-ledger.d.ts +69 -0
  95. package/dist/knowledge/order-ledger.js +341 -0
  96. package/dist/knowledge/order-puzzle.d.ts +159 -0
  97. package/dist/knowledge/order-puzzle.js +255 -0
  98. package/dist/knowledge/order-risk.d.ts +66 -0
  99. package/dist/knowledge/order-risk.js +653 -0
  100. package/dist/knowledge/order-templates.d.ts +50 -0
  101. package/dist/knowledge/order-templates.js +368 -0
  102. package/dist/knowledge/order-translation.d.ts +78 -0
  103. package/dist/knowledge/order-translation.js +550 -0
  104. package/dist/knowledge/passport-confirm.d.ts +130 -0
  105. package/dist/knowledge/passport-confirm.js +531 -0
  106. package/dist/knowledge/passport-context.d.ts +59 -0
  107. package/dist/knowledge/passport-context.js +306 -0
  108. package/dist/knowledge/passport-ledger.d.ts +48 -0
  109. package/dist/knowledge/passport-ledger.js +282 -0
  110. package/dist/knowledge/passport-puzzle.d.ts +108 -0
  111. package/dist/knowledge/passport-puzzle.js +333 -0
  112. package/dist/knowledge/passport-risk.d.ts +70 -0
  113. package/dist/knowledge/passport-risk.js +450 -0
  114. package/dist/knowledge/passport-templates.d.ts +40 -0
  115. package/dist/knowledge/passport-templates.js +568 -0
  116. package/dist/knowledge/passport-translation.d.ts +68 -0
  117. package/dist/knowledge/passport-translation.js +516 -0
  118. package/dist/knowledge/payment-risk.d.ts +33 -0
  119. package/dist/knowledge/payment-risk.js +182 -0
  120. package/dist/knowledge/permission-confirm.d.ts +110 -0
  121. package/dist/knowledge/permission-confirm.js +426 -0
  122. package/dist/knowledge/permission-context.d.ts +58 -0
  123. package/dist/knowledge/permission-context.js +224 -0
  124. package/dist/knowledge/permission-ledger.d.ts +38 -0
  125. package/dist/knowledge/permission-ledger.js +403 -0
  126. package/dist/knowledge/permission-puzzle.d.ts +122 -0
  127. package/dist/knowledge/permission-puzzle.js +173 -0
  128. package/dist/knowledge/permission-risk.d.ts +76 -0
  129. package/dist/knowledge/permission-risk.js +411 -0
  130. package/dist/knowledge/permission-templates.d.ts +38 -0
  131. package/dist/knowledge/permission-templates.js +234 -0
  132. package/dist/knowledge/permission-translation.d.ts +57 -0
  133. package/dist/knowledge/permission-translation.js +350 -0
  134. package/dist/knowledge/personal-risk.d.ts +36 -0
  135. package/dist/knowledge/personal-risk.js +212 -0
  136. package/dist/knowledge/progress-confirm.d.ts +108 -0
  137. package/dist/knowledge/progress-confirm.js +456 -0
  138. package/dist/knowledge/progress-context.d.ts +123 -0
  139. package/dist/knowledge/progress-context.js +452 -0
  140. package/dist/knowledge/progress-ledger.d.ts +63 -0
  141. package/dist/knowledge/progress-ledger.js +327 -0
  142. package/dist/knowledge/progress-puzzle.d.ts +82 -0
  143. package/dist/knowledge/progress-puzzle.js +219 -0
  144. package/dist/knowledge/progress-risk.d.ts +74 -0
  145. package/dist/knowledge/progress-risk.js +461 -0
  146. package/dist/knowledge/progress-templates.d.ts +38 -0
  147. package/dist/knowledge/progress-templates.js +228 -0
  148. package/dist/knowledge/progress-translation.d.ts +52 -0
  149. package/dist/knowledge/progress-translation.js +401 -0
  150. package/dist/knowledge/proof-confirm.d.ts +31 -0
  151. package/dist/knowledge/proof-confirm.js +187 -0
  152. package/dist/knowledge/proof-risk.d.ts +33 -0
  153. package/dist/knowledge/proof-risk.js +207 -0
  154. package/dist/knowledge/proof-translation.d.ts +52 -0
  155. package/dist/knowledge/proof-translation.js +283 -0
  156. package/dist/knowledge/registrar-risk.d.ts +34 -0
  157. package/dist/knowledge/registrar-risk.js +217 -0
  158. package/dist/knowledge/repository-confirm.d.ts +36 -0
  159. package/dist/knowledge/repository-confirm.js +242 -0
  160. package/dist/knowledge/repository-risk.d.ts +40 -0
  161. package/dist/knowledge/repository-risk.js +312 -0
  162. package/dist/knowledge/repository-translation.d.ts +58 -0
  163. package/dist/knowledge/repository-translation.js +422 -0
  164. package/dist/knowledge/resource-risk.d.ts +32 -0
  165. package/dist/knowledge/resource-risk.js +157 -0
  166. package/dist/knowledge/reward-confirm.d.ts +113 -0
  167. package/dist/knowledge/reward-confirm.js +496 -0
  168. package/dist/knowledge/reward-context.d.ts +127 -0
  169. package/dist/knowledge/reward-context.js +504 -0
  170. package/dist/knowledge/reward-ledger.d.ts +96 -0
  171. package/dist/knowledge/reward-ledger.js +502 -0
  172. package/dist/knowledge/reward-puzzle.d.ts +97 -0
  173. package/dist/knowledge/reward-puzzle.js +288 -0
  174. package/dist/knowledge/reward-risk.d.ts +84 -0
  175. package/dist/knowledge/reward-risk.js +545 -0
  176. package/dist/knowledge/reward-translation.d.ts +58 -0
  177. package/dist/knowledge/reward-translation.js +501 -0
  178. package/dist/knowledge/safety-rules.js +11 -3
  179. package/dist/knowledge/scenario-modes.d.ts +53 -0
  180. package/dist/knowledge/scenario-modes.js +302 -0
  181. package/dist/knowledge/service-confirm.d.ts +152 -0
  182. package/dist/knowledge/service-confirm.js +699 -0
  183. package/dist/knowledge/service-context.d.ts +66 -0
  184. package/dist/knowledge/service-context.js +403 -0
  185. package/dist/knowledge/service-ledger.d.ts +71 -0
  186. package/dist/knowledge/service-ledger.js +609 -0
  187. package/dist/knowledge/service-puzzle.d.ts +158 -0
  188. package/dist/knowledge/service-puzzle.js +236 -0
  189. package/dist/knowledge/service-risk.d.ts +108 -0
  190. package/dist/knowledge/service-risk.js +615 -0
  191. package/dist/knowledge/service-templates.d.ts +39 -0
  192. package/dist/knowledge/service-templates.js +418 -0
  193. package/dist/knowledge/service-translation.d.ts +103 -0
  194. package/dist/knowledge/service-translation.js +622 -0
  195. package/dist/knowledge/tools-reference.d.ts +17 -0
  196. package/dist/knowledge/tools-reference.js +151 -0
  197. package/dist/knowledge/treasury-confirm.d.ts +133 -0
  198. package/dist/knowledge/treasury-confirm.js +512 -0
  199. package/dist/knowledge/treasury-context.d.ts +64 -0
  200. package/dist/knowledge/treasury-context.js +363 -0
  201. package/dist/knowledge/treasury-ledger.d.ts +42 -0
  202. package/dist/knowledge/treasury-ledger.js +300 -0
  203. package/dist/knowledge/treasury-puzzle.d.ts +163 -0
  204. package/dist/knowledge/treasury-puzzle.js +216 -0
  205. package/dist/knowledge/treasury-risk.d.ts +86 -0
  206. package/dist/knowledge/treasury-risk.js +440 -0
  207. package/dist/knowledge/treasury-templates.d.ts +38 -0
  208. package/dist/knowledge/treasury-templates.js +316 -0
  209. package/dist/knowledge/treasury-translation.d.ts +78 -0
  210. package/dist/knowledge/treasury-translation.js +498 -0
  211. package/dist/knowledge/util-risk.d.ts +30 -0
  212. package/dist/knowledge/util-risk.js +135 -0
  213. package/dist/project/business-puzzle.d.ts +47 -0
  214. package/dist/project/business-puzzle.js +372 -0
  215. package/dist/project/deployment-doc.d.ts +61 -0
  216. package/dist/project/deployment-doc.js +432 -0
  217. package/dist/project/risk-aggregator.d.ts +50 -0
  218. package/dist/project/risk-aggregator.js +280 -0
  219. package/dist/project/substep-trace.d.ts +130 -0
  220. package/dist/project/substep-trace.js +332 -0
  221. package/dist/schema/call/allocation.d.ts +34 -34
  222. package/dist/schema/call/arbitration.d.ts +141 -141
  223. package/dist/schema/call/base.d.ts +386 -386
  224. package/dist/schema/call/base.js +3 -3
  225. package/dist/schema/call/bridge-handler.d.ts +5 -2
  226. package/dist/schema/call/bridge.d.ts +159 -159
  227. package/dist/schema/call/contact.d.ts +110 -110
  228. package/dist/schema/call/demand.d.ts +76 -76
  229. package/dist/schema/call/handler.d.ts +2 -3
  230. package/dist/schema/call/handler.js +1 -1
  231. package/dist/schema/call/machine.d.ts +58 -58
  232. package/dist/schema/call/order.d.ts +98 -110
  233. package/dist/schema/call/permission-handler.d.ts +5 -0
  234. package/dist/schema/call/permission-handler.js +54 -0
  235. package/dist/schema/call/permission.d.ts +108 -108
  236. package/dist/schema/call/personal.d.ts +14 -14
  237. package/dist/schema/call/progress.d.ts +57 -72
  238. package/dist/schema/call/progress.js +7 -4
  239. package/dist/schema/call/proof.d.ts +18 -18
  240. package/dist/schema/call/proof.js +12 -7
  241. package/dist/schema/call/repository.d.ts +154 -154
  242. package/dist/schema/call/reward.d.ts +55 -55
  243. package/dist/schema/call/service.d.ts +231 -231
  244. package/dist/schema/call/treasury.d.ts +93 -93
  245. package/dist/schema/config/index.d.ts +178 -5
  246. package/dist/schema/config/index.js +52 -1
  247. package/dist/schema/local/index.d.ts +3554 -836
  248. package/dist/schema/local/index.js +2 -1
  249. package/dist/schema/messenger/index.d.ts +162 -162
  250. package/dist/schema/operations.d.ts +1058 -1074
  251. package/dist/schema/operations.js +7 -1
  252. package/dist/schema/project/index.d.ts +1412 -6
  253. package/dist/schema/project/index.js +441 -3
  254. package/dist/schema/query/index.d.ts +672 -672
  255. package/dist/schema/schema-query/index.d.ts +23 -3
  256. package/dist/schema/schema-query/index.js +13 -2
  257. package/dist/schema/sync-layer4.d.ts +21 -0
  258. package/dist/schema/sync-layer4.js +261 -0
  259. package/dist/schema/trust/index.d.ts +26 -26
  260. package/dist/schemas/account_operation.output.json +718 -0
  261. package/dist/schemas/config_operation.output.json +173 -0
  262. package/dist/schemas/index.json +9 -1
  263. package/dist/schemas/local_info_operation.output.json +718 -0
  264. package/dist/schemas/local_mark_operation.output.json +718 -0
  265. package/dist/schemas/onchain_operations.output.json +3 -2
  266. package/dist/schemas/onchain_operations.schema.json +1809 -336
  267. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  268. package/dist/schemas/onchain_operations_arbitration.schema.json +2 -1
  269. package/dist/schemas/onchain_operations_contact.schema.json +2 -1
  270. package/dist/schemas/onchain_operations_demand.schema.json +2 -1
  271. package/dist/schemas/onchain_operations_gen_passport.schema.json +878 -872
  272. package/dist/schemas/onchain_operations_gen_proof.schema.json +273 -0
  273. package/dist/schemas/onchain_operations_guard.schema.json +578 -579
  274. package/dist/schemas/onchain_operations_machine.schema.json +2 -1
  275. package/dist/schemas/onchain_operations_order.schema.json +13 -9
  276. package/dist/schemas/onchain_operations_payment.schema.json +0 -514
  277. package/dist/schemas/onchain_operations_permission.schema.json +0 -514
  278. package/dist/schemas/onchain_operations_personal.schema.json +0 -514
  279. package/dist/schemas/onchain_operations_progress.schema.json +14 -10
  280. package/dist/schemas/onchain_operations_proof.schema.json +699 -0
  281. package/dist/schemas/onchain_operations_repository.schema.json +2 -1
  282. package/dist/schemas/onchain_operations_reward.schema.json +2 -1
  283. package/dist/schemas/onchain_operations_service.schema.json +2 -1
  284. package/dist/schemas/onchain_operations_treasury.schema.json +2 -1
  285. package/dist/schemas/onchain_table_data.schema.json +32 -1
  286. package/dist/schemas/project_operation.output.json +918 -0
  287. package/dist/schemas/project_operation.schema.json +474 -3
  288. package/dist/schemas/query_toolkit.output.json +14906 -6
  289. package/dist/schemas/schema_query.output.json +38 -1
  290. package/dist/telemetry/index.d.ts +1 -1
  291. package/dist/tools/handlers/config.d.ts +1 -1
  292. package/dist/tools/handlers/config.js +21 -18
  293. package/dist/tools/handlers/file-export.d.ts +2 -2
  294. package/dist/tools/handlers/local.d.ts +3 -30
  295. package/dist/tools/handlers/local.js +14 -3
  296. package/dist/tools/handlers/messenger.d.ts +1 -1
  297. package/dist/tools/handlers/messenger.js +2 -1
  298. package/dist/tools/handlers/onchain.d.ts +1 -1
  299. package/dist/tools/handlers/onchain.js +24 -22
  300. package/dist/tools/handlers/project.d.ts +1 -1
  301. package/dist/tools/handlers/project.js +262 -18
  302. package/dist/tools/handlers/query.d.ts +4 -4
  303. package/dist/tools/handlers/schema-query.d.ts +1 -1
  304. package/dist/tools/handlers/schema-query.js +21 -20
  305. package/dist/tools/handlers/trust.d.ts +1 -1
  306. package/dist/tools/handlers/trust.js +2 -2
  307. package/dist/tools/handlers/wip.d.ts +1 -1
  308. package/dist/tools/handlers/wip.js +1 -1
  309. package/dist/tools/index.d.ts +1 -1
  310. package/dist/tools/index.js +96 -25
  311. package/dist/tools/rules-hook.d.ts +1 -1
  312. package/dist/tools/rules-hook.js +3 -2
  313. package/dist/tools/shared.d.ts +13 -22
  314. package/dist/tools/types.d.ts +5 -5
  315. package/dist/tools/wrap.d.ts +10 -2
  316. package/dist/tools/wrap.js +212 -0
  317. package/package.json +3 -3
@@ -15,10 +15,6 @@
15
15
  "env": {
16
16
  "$ref": "#/definitions/env",
17
17
  "$schema": "http://json-schema.org/draft-07/schema#"
18
- },
19
- "submission": {
20
- "$ref": "#/definitions/submission",
21
- "$schema": "http://json-schema.org/draft-07/schema#"
22
18
  }
23
19
  },
24
20
  "required": [
@@ -793,516 +789,6 @@
793
789
  },
794
790
  "additionalProperties": false,
795
791
  "description": "IMPORTANT: Execution environment includes: account for signing operations, network selection ([object Object]), additional Guard permissions, and more. Used to specify context information during the call. If account is not specified, the default account (\"\") will be used."
796
- },
797
- "submission": {
798
- "type": "object",
799
- "properties": {
800
- "type": {
801
- "type": "string",
802
- "const": "submission",
803
- "description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
804
- },
805
- "guard": {
806
- "type": "array",
807
- "items": {
808
- "type": "object",
809
- "properties": {
810
- "object": {
811
- "type": "string",
812
- "description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
813
- },
814
- "impack": {
815
- "type": "boolean",
816
- "description": "Whether this Guard's verification result participates in the final logic. Constraint: if false, the Guard is checked but does not block the operation. Example: true"
817
- }
818
- },
819
- "required": [
820
- "object",
821
- "impack"
822
- ],
823
- "additionalProperties": false
824
- },
825
- "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
826
- },
827
- "submission": {
828
- "type": "array",
829
- "items": {
830
- "type": "object",
831
- "properties": {
832
- "guard": {
833
- "$ref": "#/definitions/submission/properties/guard/items/properties/object",
834
- "description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
835
- },
836
- "submission": {
837
- "type": "array",
838
- "items": {
839
- "type": "object",
840
- "properties": {
841
- "identifier": {
842
- "type": "integer",
843
- "minimum": 0,
844
- "maximum": 255,
845
- "description": "Identifier (0-255) for data lookup in Guard table."
846
- },
847
- "b_submission": {
848
- "type": "boolean",
849
- "description": "Whether user submission is required for this data"
850
- },
851
- "value_type": {
852
- "anyOf": [
853
- {
854
- "type": "number",
855
- "const": 0,
856
- "description": "Bool (0)"
857
- },
858
- {
859
- "type": "number",
860
- "const": 1,
861
- "description": "Address (1)"
862
- },
863
- {
864
- "type": "number",
865
- "const": 2,
866
- "description": "String (2)"
867
- },
868
- {
869
- "type": "number",
870
- "const": 3,
871
- "description": "U8 (3)"
872
- },
873
- {
874
- "type": "number",
875
- "const": 4,
876
- "description": "U16 (4)"
877
- },
878
- {
879
- "type": "number",
880
- "const": 5,
881
- "description": "U32 (5)"
882
- },
883
- {
884
- "type": "number",
885
- "const": 6,
886
- "description": "U64 (6)"
887
- },
888
- {
889
- "type": "number",
890
- "const": 7,
891
- "description": "U128 (7)"
892
- },
893
- {
894
- "type": "number",
895
- "const": 8,
896
- "description": "U256 (8)"
897
- },
898
- {
899
- "type": "number",
900
- "const": 9,
901
- "description": "VecBool (9)"
902
- },
903
- {
904
- "type": "number",
905
- "const": 10,
906
- "description": "VecAddress (10)"
907
- },
908
- {
909
- "type": "number",
910
- "const": 11,
911
- "description": "VecString (11)"
912
- },
913
- {
914
- "type": "number",
915
- "const": 12,
916
- "description": "VecU8 (12)"
917
- },
918
- {
919
- "type": "number",
920
- "const": 13,
921
- "description": "VecU16 (13)"
922
- },
923
- {
924
- "type": "number",
925
- "const": 14,
926
- "description": "VecU32 (14)"
927
- },
928
- {
929
- "type": "number",
930
- "const": 15,
931
- "description": "VecU64 (15)"
932
- },
933
- {
934
- "type": "number",
935
- "const": 16,
936
- "description": "VecU128 (16)"
937
- },
938
- {
939
- "type": "number",
940
- "const": 17,
941
- "description": "VecU256 (17)"
942
- },
943
- {
944
- "type": "number",
945
- "const": 18,
946
- "description": "VecVecU8 (18)"
947
- },
948
- {
949
- "type": "string",
950
- "const": "Bool",
951
- "description": "Bool"
952
- },
953
- {
954
- "type": "string",
955
- "const": "Address",
956
- "description": "Address"
957
- },
958
- {
959
- "type": "string",
960
- "const": "String",
961
- "description": "String"
962
- },
963
- {
964
- "type": "string",
965
- "const": "U8",
966
- "description": "U8"
967
- },
968
- {
969
- "type": "string",
970
- "const": "U16",
971
- "description": "U16"
972
- },
973
- {
974
- "type": "string",
975
- "const": "U32",
976
- "description": "U32"
977
- },
978
- {
979
- "type": "string",
980
- "const": "U64",
981
- "description": "U64"
982
- },
983
- {
984
- "type": "string",
985
- "const": "U128",
986
- "description": "U128"
987
- },
988
- {
989
- "type": "string",
990
- "const": "U256",
991
- "description": "U256"
992
- },
993
- {
994
- "type": "string",
995
- "const": "VecBool",
996
- "description": "VecBool"
997
- },
998
- {
999
- "type": "string",
1000
- "const": "VecAddress",
1001
- "description": "VecAddress"
1002
- },
1003
- {
1004
- "type": "string",
1005
- "const": "VecString",
1006
- "description": "VecString"
1007
- },
1008
- {
1009
- "type": "string",
1010
- "const": "VecU8",
1011
- "description": "VecU8"
1012
- },
1013
- {
1014
- "type": "string",
1015
- "const": "VecU16",
1016
- "description": "VecU16"
1017
- },
1018
- {
1019
- "type": "string",
1020
- "const": "VecU32",
1021
- "description": "VecU32"
1022
- },
1023
- {
1024
- "type": "string",
1025
- "const": "VecU64",
1026
- "description": "VecU64"
1027
- },
1028
- {
1029
- "type": "string",
1030
- "const": "VecU128",
1031
- "description": "VecU128"
1032
- },
1033
- {
1034
- "type": "string",
1035
- "const": "VecU256",
1036
- "description": "VecU256"
1037
- },
1038
- {
1039
- "type": "string",
1040
- "const": "VecVecU8",
1041
- "description": "VecVecU8"
1042
- },
1043
- {
1044
- "type": "string",
1045
- "const": "bool",
1046
- "description": "bool"
1047
- },
1048
- {
1049
- "type": "string",
1050
- "const": "address",
1051
- "description": "address"
1052
- },
1053
- {
1054
- "type": "string",
1055
- "const": "string",
1056
- "description": "string"
1057
- },
1058
- {
1059
- "type": "string",
1060
- "const": "u8",
1061
- "description": "u8"
1062
- },
1063
- {
1064
- "type": "string",
1065
- "const": "u16",
1066
- "description": "u16"
1067
- },
1068
- {
1069
- "type": "string",
1070
- "const": "u32",
1071
- "description": "u32"
1072
- },
1073
- {
1074
- "type": "string",
1075
- "const": "u64",
1076
- "description": "u64"
1077
- },
1078
- {
1079
- "type": "string",
1080
- "const": "u128",
1081
- "description": "u128"
1082
- },
1083
- {
1084
- "type": "string",
1085
- "const": "u256",
1086
- "description": "u256"
1087
- },
1088
- {
1089
- "type": "string",
1090
- "const": "vecbool",
1091
- "description": "vecbool"
1092
- },
1093
- {
1094
- "type": "string",
1095
- "const": "vecaddress",
1096
- "description": "vecaddress"
1097
- },
1098
- {
1099
- "type": "string",
1100
- "const": "vecstring",
1101
- "description": "vecstring"
1102
- },
1103
- {
1104
- "type": "string",
1105
- "const": "vecu8",
1106
- "description": "vecu8"
1107
- },
1108
- {
1109
- "type": "string",
1110
- "const": "vecu16",
1111
- "description": "vecu16"
1112
- },
1113
- {
1114
- "type": "string",
1115
- "const": "vecu32",
1116
- "description": "vecu32"
1117
- },
1118
- {
1119
- "type": "string",
1120
- "const": "vecu64",
1121
- "description": "vecu64"
1122
- },
1123
- {
1124
- "type": "string",
1125
- "const": "vecu128",
1126
- "description": "vecu128"
1127
- },
1128
- {
1129
- "type": "string",
1130
- "const": "vecu256",
1131
- "description": "vecu256"
1132
- },
1133
- {
1134
- "type": "string",
1135
- "const": "vecvecu8",
1136
- "description": "vecvecu8"
1137
- }
1138
- ],
1139
- "description": "Type of the value"
1140
- },
1141
- "value": {
1142
- "anyOf": [
1143
- {
1144
- "type": "boolean"
1145
- },
1146
- {
1147
- "anyOf": [
1148
- {
1149
- "type": "object",
1150
- "properties": {
1151
- "name_or_address": {
1152
- "$ref": "#/definitions/submission/properties/guard/items/properties/object",
1153
- "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
1154
- },
1155
- "local_mark_first": {
1156
- "type": "boolean",
1157
- "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
1158
- }
1159
- },
1160
- "additionalProperties": false,
1161
- "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."
1162
- },
1163
- {
1164
- "type": "string"
1165
- }
1166
- ]
1167
- },
1168
- {
1169
- "type": "string"
1170
- },
1171
- {
1172
- "type": "number"
1173
- },
1174
- {
1175
- "type": "array",
1176
- "items": {
1177
- "type": "boolean"
1178
- }
1179
- },
1180
- {
1181
- "anyOf": [
1182
- {
1183
- "type": "object",
1184
- "properties": {
1185
- "entities": {
1186
- "type": "array",
1187
- "items": {
1188
- "$ref": "#/definitions/submission/properties/submission/items/properties/submission/items/properties/value/anyOf/1/anyOf/0"
1189
- }
1190
- },
1191
- "check_all_founded": {
1192
- "type": "boolean",
1193
- "description": "Whether to check all entities are found, if true, all entities must be found (abort and throw exception if any ID not found); if false, only return found IDs"
1194
- }
1195
- },
1196
- "required": [
1197
- "entities"
1198
- ],
1199
- "additionalProperties": false,
1200
- "description": "Used to batch find account or object IDs by name"
1201
- },
1202
- {
1203
- "type": "array",
1204
- "items": {
1205
- "type": "string"
1206
- }
1207
- }
1208
- ]
1209
- },
1210
- {
1211
- "type": "array",
1212
- "items": {
1213
- "type": "string"
1214
- }
1215
- },
1216
- {
1217
- "type": "array",
1218
- "items": {
1219
- "type": "number"
1220
- }
1221
- },
1222
- {
1223
- "type": "array",
1224
- "items": {
1225
- "type": "array",
1226
- "items": {
1227
- "type": "number"
1228
- }
1229
- }
1230
- }
1231
- ],
1232
- "description": "The actual value data"
1233
- },
1234
- "name": {
1235
- "type": "string",
1236
- "default": "",
1237
- "description": "Name or description of this data"
1238
- },
1239
- "object_type": {
1240
- "type": "string",
1241
- "enum": [
1242
- "Permission",
1243
- "Repository",
1244
- "Arb",
1245
- "Arbitration",
1246
- "Service",
1247
- "Machine",
1248
- "Order",
1249
- "Progress",
1250
- "Payment",
1251
- "Treasury",
1252
- "Guard",
1253
- "Demand",
1254
- "Passport",
1255
- "Allocation",
1256
- "Resource",
1257
- "Reward",
1258
- "Discount",
1259
- "EntityRegistrar",
1260
- "EntityLinker",
1261
- "Proof",
1262
- "WReceivedObject",
1263
- "Contact",
1264
- "TableItem_ProgressHistory",
1265
- "TableItem_PermissionPerm",
1266
- "TableItem_DemandPresenter",
1267
- "TableItem_MachineNode",
1268
- "TableItem_TreasuryHistory",
1269
- "TableItem_RepositoryData",
1270
- "TableItem_RewardRecord",
1271
- "TableItem_EntityLinker",
1272
- "TableItem_AddressMark",
1273
- "TableItem_EntityRegistrar"
1274
- ],
1275
- "description": "Object type when value_type is Address and represents a specific object"
1276
- }
1277
- },
1278
- "required": [
1279
- "identifier",
1280
- "b_submission",
1281
- "value_type"
1282
- ],
1283
- "additionalProperties": false,
1284
- "description": "Guard table item"
1285
- },
1286
- "description": "User-submitted data matching the Guard's required fields. Relation: structure must match the Guard table's column definitions. Example: [{field:'delivery_proof', value:'Qm...'}]"
1287
- }
1288
- },
1289
- "required": [
1290
- "guard",
1291
- "submission"
1292
- ],
1293
- "additionalProperties": false,
1294
- "description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
1295
- },
1296
- "description": "User-submitted data for each Guard. Relation: one entry per Guard in the guard array; fill submission fields and resubmit via call_with_submission."
1297
- }
1298
- },
1299
- "required": [
1300
- "type",
1301
- "guard",
1302
- "submission"
1303
- ],
1304
- "additionalProperties": false,
1305
- "description": "Guard verification required. The operation was blocked because one or more Guards require user-submitted data. Fill the submission array and resubmit. Semantic status is 'pending_input'."
1306
792
  }
1307
793
  }
1308
794
  }
@@ -178,13 +178,15 @@
178
178
  "additionalProperties": false,
179
179
  "description": "Specify a specific operation between current node and next node."
180
180
  },
181
- "hold": {
182
- "type": "boolean",
183
- "description": "Whether to lock operation permission. When true, locks the permission; when false or omitted, submits operation result directly."
184
- },
185
- "adminUnhold": {
186
- "type": "boolean",
187
- "description": "Whether to allow admin to force unlock. Only applicable when hold is true."
181
+ "op": {
182
+ "type": "string",
183
+ "enum": [
184
+ "next",
185
+ "hold",
186
+ "unhold",
187
+ "adminUnhold"
188
+ ],
189
+ "description": "Operation type on the forward: 'next' = advance the forward (accomplish); 'hold' = set hold to block the forward; 'unhold' = self-unhold, release own hold (no 224 permission needed); 'adminUnhold' = force-release hold via 224 permission (PROGRESS_UNHOLD)."
188
190
  },
189
191
  "message": {
190
192
  "type": "string",
@@ -192,10 +194,11 @@
192
194
  }
193
195
  },
194
196
  "required": [
195
- "operation"
197
+ "operation",
198
+ "op"
196
199
  ],
197
200
  "additionalProperties": false,
198
- "description": "Advance Progress object. Can be locking operation permission (to avoid competition for the same permission) or submitting operation result."
201
+ "description": "Advance Progress object. op field selects the operation: next/hold/unhold/adminUnhold."
199
202
  }
200
203
  },
201
204
  "required": [
@@ -291,7 +294,8 @@
291
294
  ],
292
295
  "additionalProperties": false
293
296
  },
294
- "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
297
+ "maxItems": 20,
298
+ "description": "Array of Guard objects to verify. Constraint: at most 20 entries (MAX_GUARD_COUNT_PASSPORT). Relation: each entry corresponds to a Guard bound to the operation."
295
299
  },
296
300
  "submission": {
297
301
  "type": "array",