@wowok/agent-mcp 2.3.13 → 2.3.16

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 (194) hide show
  1. package/dist/config/index.d.ts +1 -0
  2. package/dist/config/index.js +1 -0
  3. package/dist/config/runtime.d.ts +26 -0
  4. package/dist/config/runtime.js +217 -0
  5. package/dist/customer/industry-risks.d.ts +36 -0
  6. package/dist/customer/industry-risks.js +424 -0
  7. package/dist/customer/info-puzzle.d.ts +102 -0
  8. package/dist/customer/info-puzzle.js +312 -0
  9. package/dist/customer/order-monitor.d.ts +75 -0
  10. package/dist/customer/order-monitor.js +327 -0
  11. package/dist/customer/order-strategy.d.ts +36 -0
  12. package/dist/customer/order-strategy.js +373 -0
  13. package/dist/customer/post-purchase.d.ts +42 -0
  14. package/dist/customer/post-purchase.js +350 -0
  15. package/dist/customer/reminder-system.d.ts +42 -0
  16. package/dist/customer/reminder-system.js +295 -0
  17. package/dist/customer/risk-assessment.d.ts +8 -0
  18. package/dist/customer/risk-assessment.js +337 -0
  19. package/dist/customer/types.d.ts +193 -0
  20. package/dist/customer/types.js +13 -0
  21. package/dist/customer/user-preferences.d.ts +67 -0
  22. package/dist/customer/user-preferences.js +451 -0
  23. package/dist/experience/experience-reuse.d.ts +10 -0
  24. package/dist/experience/experience-reuse.js +103 -0
  25. package/dist/experience/index.d.ts +6 -0
  26. package/dist/experience/index.js +5 -0
  27. package/dist/experience/intent-distill.d.ts +3 -0
  28. package/dist/experience/intent-distill.js +83 -0
  29. package/dist/experience/realtime-feedback.d.ts +5 -0
  30. package/dist/experience/realtime-feedback.js +77 -0
  31. package/dist/experience/types.d.ts +50 -0
  32. package/dist/experience/types.js +1 -0
  33. package/dist/experience/user-profile.d.ts +25 -0
  34. package/dist/experience/user-profile.js +171 -0
  35. package/dist/harness/checkpoint.d.ts +8 -0
  36. package/dist/harness/checkpoint.js +129 -0
  37. package/dist/harness/index.d.ts +33 -0
  38. package/dist/harness/index.js +75 -0
  39. package/dist/harness/plan.d.ts +18 -0
  40. package/dist/harness/plan.js +252 -0
  41. package/dist/harness/recover.d.ts +17 -0
  42. package/dist/harness/recover.js +139 -0
  43. package/dist/harness/types.d.ts +137 -0
  44. package/dist/harness/types.js +1 -0
  45. package/dist/harness/verify.d.ts +42 -0
  46. package/dist/harness/verify.js +237 -0
  47. package/dist/index.js +667 -201
  48. package/dist/knowledge/acquisition-flywheel.d.ts +50 -0
  49. package/dist/knowledge/acquisition-flywheel.js +183 -0
  50. package/dist/knowledge/arbitration-trust.d.ts +24 -0
  51. package/dist/knowledge/arbitration-trust.js +117 -0
  52. package/dist/knowledge/audit-rules.d.ts +28 -0
  53. package/dist/knowledge/audit-rules.js +141 -0
  54. package/dist/knowledge/demand-matching.d.ts +29 -0
  55. package/dist/knowledge/demand-matching.js +132 -0
  56. package/dist/knowledge/dynamic-pricing.d.ts +31 -0
  57. package/dist/knowledge/dynamic-pricing.js +87 -0
  58. package/dist/knowledge/flywheel-loop.d.ts +87 -0
  59. package/dist/knowledge/flywheel-loop.js +378 -0
  60. package/dist/knowledge/glossary.d.ts +18 -0
  61. package/dist/knowledge/glossary.js +209 -0
  62. package/dist/knowledge/index.d.ts +64 -0
  63. package/dist/knowledge/index.js +66 -0
  64. package/dist/knowledge/industry-evolution.d.ts +82 -0
  65. package/dist/knowledge/industry-evolution.js +323 -0
  66. package/dist/knowledge/industry-generalizer.d.ts +17 -0
  67. package/dist/knowledge/industry-generalizer.js +381 -0
  68. package/dist/knowledge/industry-registry.d.ts +49 -0
  69. package/dist/knowledge/industry-registry.js +167 -0
  70. package/dist/knowledge/intent-metrics.d.ts +42 -0
  71. package/dist/knowledge/intent-metrics.js +566 -0
  72. package/dist/knowledge/process-model.d.ts +24 -0
  73. package/dist/knowledge/process-model.js +160 -0
  74. package/dist/knowledge/reputation-rules.d.ts +42 -0
  75. package/dist/knowledge/reputation-rules.js +99 -0
  76. package/dist/knowledge/reward-templates.d.ts +25 -0
  77. package/dist/knowledge/reward-templates.js +125 -0
  78. package/dist/knowledge/safety-rules.d.ts +36 -0
  79. package/dist/knowledge/safety-rules.js +171 -0
  80. package/dist/knowledge/tool-constraints.d.ts +30 -0
  81. package/dist/knowledge/tool-constraints.js +185 -0
  82. package/dist/knowledge/trust-metrics.d.ts +37 -0
  83. package/dist/knowledge/trust-metrics.js +138 -0
  84. package/dist/loop-engineering/aggregate.d.ts +50 -0
  85. package/dist/loop-engineering/aggregate.js +132 -0
  86. package/dist/loop-engineering/diagnose.d.ts +22 -0
  87. package/dist/loop-engineering/diagnose.js +273 -0
  88. package/dist/loop-engineering/improve.d.ts +26 -0
  89. package/dist/loop-engineering/improve.js +229 -0
  90. package/dist/loop-engineering/index.d.ts +4 -0
  91. package/dist/loop-engineering/index.js +4 -0
  92. package/dist/loop-engineering/pipeline.d.ts +17 -0
  93. package/dist/loop-engineering/pipeline.js +56 -0
  94. package/dist/mode-market/index.d.ts +3 -0
  95. package/dist/mode-market/index.js +3 -0
  96. package/dist/mode-market/registry.d.ts +53 -0
  97. package/dist/mode-market/registry.js +124 -0
  98. package/dist/mode-market/review.d.ts +27 -0
  99. package/dist/mode-market/review.js +214 -0
  100. package/dist/mode-market/submission.d.ts +25 -0
  101. package/dist/mode-market/submission.js +85 -0
  102. package/dist/project/graph.d.ts +71 -0
  103. package/dist/project/graph.js +314 -0
  104. package/dist/project/index.d.ts +62 -0
  105. package/dist/project/index.js +167 -0
  106. package/dist/project/namespace.d.ts +62 -0
  107. package/dist/project/namespace.js +181 -0
  108. package/dist/project/query.d.ts +40 -0
  109. package/dist/project/query.js +110 -0
  110. package/dist/safety/confirm-gate.d.ts +15 -0
  111. package/dist/safety/confirm-gate.js +44 -0
  112. package/dist/safety/index.d.ts +3 -0
  113. package/dist/safety/index.js +3 -0
  114. package/dist/safety/preview.d.ts +2 -0
  115. package/dist/safety/preview.js +36 -0
  116. package/dist/schema/call/allocation.d.ts +55 -40
  117. package/dist/schema/call/arbitration.d.ts +201 -186
  118. package/dist/schema/call/base.d.ts +2104 -24
  119. package/dist/schema/call/base.js +168 -22
  120. package/dist/schema/call/bridge-handler.js +36 -18
  121. package/dist/schema/call/bridge.d.ts +777 -120
  122. package/dist/schema/call/bridge.js +13 -2
  123. package/dist/schema/call/contact.d.ts +15 -0
  124. package/dist/schema/call/demand.d.ts +69 -54
  125. package/dist/schema/call/guard.d.ts +125 -80
  126. package/dist/schema/call/handler.d.ts +5 -1
  127. package/dist/schema/call/handler.js +108 -3
  128. package/dist/schema/call/index.d.ts +1 -0
  129. package/dist/schema/call/index.js +1 -0
  130. package/dist/schema/call/machine.d.ts +830 -800
  131. package/dist/schema/call/order.d.ts +27 -12
  132. package/dist/schema/call/payment.d.ts +15 -0
  133. package/dist/schema/call/permission.d.ts +15 -0
  134. package/dist/schema/call/personal.d.ts +15 -0
  135. package/dist/schema/call/progress.d.ts +21 -6
  136. package/dist/schema/call/proof.d.ts +42 -12
  137. package/dist/schema/call/proof.js +3 -3
  138. package/dist/schema/call/repository.d.ts +91 -76
  139. package/dist/schema/call/reward.d.ts +51 -36
  140. package/dist/schema/call/semantic.d.ts +24 -0
  141. package/dist/schema/call/semantic.js +981 -0
  142. package/dist/schema/call/service.d.ts +444 -429
  143. package/dist/schema/call/treasury.d.ts +219 -204
  144. package/dist/schema/common/index.js +3 -3
  145. package/dist/schema/local/index.d.ts +341 -74
  146. package/dist/schema/local/index.js +44 -7
  147. package/dist/schema/messenger/index.d.ts +1034 -92
  148. package/dist/schema/messenger/index.js +18 -0
  149. package/dist/schema/operations.d.ts +2634 -1817
  150. package/dist/schema/operations.js +16 -5
  151. package/dist/schema/query/index.d.ts +2293 -2289
  152. package/dist/schema/query/index.js +34 -28
  153. package/dist/schemas/account_operation.output.json +28 -16
  154. package/dist/schemas/account_operation.schema.json +2 -2
  155. package/dist/schemas/bridge_operation.output.json +520 -0
  156. package/dist/schemas/bridge_operation.schema.json +15 -0
  157. package/dist/schemas/guard2file.schema.json +15 -0
  158. package/dist/schemas/index.json +1 -1
  159. package/dist/schemas/local_info_operation.output.json +26 -0
  160. package/dist/schemas/local_info_operation.schema.json +1 -1
  161. package/dist/schemas/local_mark_operation.output.json +27 -1
  162. package/dist/schemas/local_mark_operation.schema.json +4 -4
  163. package/dist/schemas/machineNode2file.schema.json +15 -0
  164. package/dist/schemas/messenger_operation.output.json +549 -0
  165. package/dist/schemas/messenger_operation.schema.json +21 -0
  166. package/dist/schemas/onchain_events.output.json +3 -0
  167. package/dist/schemas/onchain_operations.output.json +814 -37
  168. package/dist/schemas/onchain_operations.schema.json +117 -40
  169. package/dist/schemas/onchain_operations_allocation.schema.json +26 -9
  170. package/dist/schemas/onchain_operations_arbitration.schema.json +26 -9
  171. package/dist/schemas/onchain_operations_contact.schema.json +26 -9
  172. package/dist/schemas/onchain_operations_demand.schema.json +26 -9
  173. package/dist/schemas/onchain_operations_gen_passport.schema.json +51 -17
  174. package/dist/schemas/onchain_operations_guard.schema.json +26 -9
  175. package/dist/schemas/onchain_operations_machine.schema.json +92 -32
  176. package/dist/schemas/onchain_operations_order.schema.json +26 -9
  177. package/dist/schemas/onchain_operations_payment.schema.json +26 -9
  178. package/dist/schemas/onchain_operations_permission.schema.json +26 -9
  179. package/dist/schemas/onchain_operations_personal.schema.json +26 -9
  180. package/dist/schemas/onchain_operations_progress.schema.json +26 -9
  181. package/dist/schemas/onchain_operations_repository.schema.json +26 -9
  182. package/dist/schemas/onchain_operations_reward.schema.json +26 -9
  183. package/dist/schemas/onchain_operations_service.schema.json +26 -9
  184. package/dist/schemas/onchain_operations_treasury.schema.json +26 -9
  185. package/dist/schemas/onchain_table_data.output.json +224 -69
  186. package/dist/schemas/onchain_table_data.schema.json +2 -2
  187. package/dist/schemas/query_toolkit.schema.json +5 -1
  188. package/dist/telemetry/index.d.ts +19 -0
  189. package/dist/telemetry/index.js +112 -0
  190. package/dist/telemetry/redact.d.ts +2 -0
  191. package/dist/telemetry/redact.js +23 -0
  192. package/dist/telemetry/storage.d.ts +8 -0
  193. package/dist/telemetry/storage.js +80 -0
  194. package/package.json +6 -3
@@ -591,6 +591,21 @@
591
591
  "referrer": {
592
592
  "$ref": "#/definitions/env/properties/account",
593
593
  "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
594
+ },
595
+ "confirmed": {
596
+ "type": "boolean",
597
+ "description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
598
+ },
599
+ "user_intent_phrases": {
600
+ "type": "array",
601
+ "items": {
602
+ "type": "string"
603
+ },
604
+ "description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
605
+ },
606
+ "project": {
607
+ "type": "string",
608
+ "description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
594
609
  }
595
610
  },
596
611
  "additionalProperties": false,
@@ -602,7 +617,7 @@
602
617
  "type": {
603
618
  "type": "string",
604
619
  "const": "submission",
605
- "description": "Type of call response: submission"
620
+ "description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
606
621
  },
607
622
  "guard": {
608
623
  "type": "array",
@@ -611,11 +626,11 @@
611
626
  "properties": {
612
627
  "object": {
613
628
  "type": "string",
614
- "description": "Guard object name or ID."
629
+ "description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
615
630
  },
616
631
  "impack": {
617
632
  "type": "boolean",
618
- "description": "Whether the verification result of this Guard participates in the final verification logic. If true, the verification result of this Guard will be included in the final verification result; if false, the verification result of this Guard will not be included."
633
+ "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"
619
634
  }
620
635
  },
621
636
  "required": [
@@ -623,7 +638,8 @@
623
638
  "impack"
624
639
  ],
625
640
  "additionalProperties": false
626
- }
641
+ },
642
+ "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
627
643
  },
628
644
  "submission": {
629
645
  "type": "array",
@@ -632,7 +648,7 @@
632
648
  "properties": {
633
649
  "guard": {
634
650
  "$ref": "#/definitions/submission/properties/guard/items/properties/object",
635
- "description": "Guard object name or ID."
651
+ "description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
636
652
  },
637
653
  "submission": {
638
654
  "type": "array",
@@ -1084,7 +1100,7 @@
1084
1100
  "additionalProperties": false,
1085
1101
  "description": "Guard table item"
1086
1102
  },
1087
- "description": "User-submitted data required for Guard verification."
1103
+ "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...'}]"
1088
1104
  }
1089
1105
  },
1090
1106
  "required": [
@@ -1092,8 +1108,9 @@
1092
1108
  "submission"
1093
1109
  ],
1094
1110
  "additionalProperties": false,
1095
- "description": "Permission guard submission data."
1096
- }
1111
+ "description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
1112
+ },
1113
+ "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."
1097
1114
  }
1098
1115
  },
1099
1116
  "required": [
@@ -1102,7 +1119,7 @@
1102
1119
  "submission"
1103
1120
  ],
1104
1121
  "additionalProperties": false,
1105
- "description": "Guard verification submission data required to complete an operation. Contains: (1) 'guard' - array of Guard objects to verify, each with an object ID and an 'impack' flag indicating if its result affects the final outcome; (2) 'submission' - array of user data submissions matching the Guard's requirements. The operation proceeds only after all Guards with impack=true are successfully verified."
1122
+ "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'."
1106
1123
  },
1107
1124
  "data_service": {
1108
1125
  "type": "object",
@@ -2210,9 +2227,10 @@
2210
2227
  "description": "Previous node name"
2211
2228
  },
2212
2229
  "threshold": {
2213
- "type": "integer",
2214
- "minimum": 0,
2215
- "maximum": 4294967295,
2230
+ "type": [
2231
+ "number",
2232
+ "string"
2233
+ ],
2216
2234
  "description": "Threshold to trigger node advancement. If total Forward weight is greater than or equal to threshold, node advancement is triggered."
2217
2235
  },
2218
2236
  "forwards": {
@@ -2225,38 +2243,80 @@
2225
2243
  "description": "Forward name"
2226
2244
  },
2227
2245
  "namedOperator": {
2228
- "type": "string",
2246
+ "anyOf": [
2247
+ {
2248
+ "type": "string"
2249
+ },
2250
+ {
2251
+ "type": "null"
2252
+ },
2253
+ {
2254
+ "not": {}
2255
+ }
2256
+ ],
2229
2257
  "description": "Forward operation permission 1: Namespace (one of the two must be specified); recommended if Progress object operators are different (e.g., different delivery personnel for different orders)."
2230
2258
  },
2231
2259
  "permissionIndex": {
2232
- "type": "integer",
2260
+ "anyOf": [
2261
+ {
2262
+ "type": "number"
2263
+ },
2264
+ {
2265
+ "type": "string"
2266
+ },
2267
+ {
2268
+ "type": "null"
2269
+ },
2270
+ {
2271
+ "not": {}
2272
+ }
2273
+ ],
2233
2274
  "description": "Forward operation permission 2: Permission index (one of the two must be specified); recommended if all Progress object operators are the same (e.g., same reward reviewers for all orders)."
2234
2275
  },
2235
2276
  "weight": {
2236
- "type": "integer",
2237
- "minimum": 0,
2238
- "maximum": 65535,
2277
+ "type": [
2278
+ "number",
2279
+ "string"
2280
+ ],
2239
2281
  "description": "Forward weight"
2240
2282
  },
2241
2283
  "guard": {
2242
- "type": "object",
2243
- "properties": {
2244
- "guard": {
2245
- "type": "string",
2246
- "description": "Guard object ID"
2247
- },
2248
- "retained_submission": {
2249
- "type": "array",
2250
- "items": {
2251
- "type": "number"
2284
+ "anyOf": [
2285
+ {
2286
+ "type": "object",
2287
+ "properties": {
2288
+ "guard": {
2289
+ "type": "string",
2290
+ "description": "Guard object ID"
2291
+ },
2292
+ "retained_submission": {
2293
+ "anyOf": [
2294
+ {
2295
+ "type": "array",
2296
+ "items": {
2297
+ "type": [
2298
+ "number",
2299
+ "string"
2300
+ ]
2301
+ }
2302
+ },
2303
+ {
2304
+ "type": "null"
2305
+ }
2306
+ ],
2307
+ "description": "Data submitted by user during Guard object verification"
2308
+ }
2252
2309
  },
2253
- "description": "Data submitted by user during Guard object verification"
2310
+ "required": [
2311
+ "guard"
2312
+ ],
2313
+ "additionalProperties": false,
2314
+ "description": "Record of Guard object in MachineForwardGuard object"
2315
+ },
2316
+ {
2317
+ "type": "null"
2254
2318
  }
2255
- },
2256
- "required": [
2257
- "guard"
2258
2319
  ],
2259
- "additionalProperties": false,
2260
2320
  "description": "Guard object ID, if defined, Guard verification must also pass to complete Forward (e.g., completed promised supply chain sub-order)."
2261
2321
  }
2262
2322
  },
@@ -8102,7 +8162,7 @@
8102
8162
  "type": {
8103
8163
  "type": "string",
8104
8164
  "const": "submission",
8105
- "description": "Type of call response: submission"
8165
+ "description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
8106
8166
  },
8107
8167
  "guard": {
8108
8168
  "type": "array",
@@ -8111,11 +8171,11 @@
8111
8171
  "properties": {
8112
8172
  "object": {
8113
8173
  "$ref": "#/definitions/data_gen_passport/properties/guard/anyOf/0",
8114
- "description": "Guard object name or ID."
8174
+ "description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
8115
8175
  },
8116
8176
  "impack": {
8117
8177
  "type": "boolean",
8118
- "description": "Whether the verification result of this Guard participates in the final verification logic. If true, the verification result of this Guard will be included in the final verification result; if false, the verification result of this Guard will not be included."
8178
+ "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"
8119
8179
  }
8120
8180
  },
8121
8181
  "required": [
@@ -8123,7 +8183,8 @@
8123
8183
  "impack"
8124
8184
  ],
8125
8185
  "additionalProperties": false
8126
- }
8186
+ },
8187
+ "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
8127
8188
  },
8128
8189
  "submission": {
8129
8190
  "type": "array",
@@ -8132,7 +8193,7 @@
8132
8193
  "properties": {
8133
8194
  "guard": {
8134
8195
  "$ref": "#/definitions/data_gen_passport/properties/guard/anyOf/0",
8135
- "description": "Guard object name or ID."
8196
+ "description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
8136
8197
  },
8137
8198
  "submission": {
8138
8199
  "type": "array",
@@ -8584,7 +8645,7 @@
8584
8645
  "additionalProperties": false,
8585
8646
  "description": "Guard table item"
8586
8647
  },
8587
- "description": "User-submitted data required for Guard verification."
8648
+ "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...'}]"
8588
8649
  }
8589
8650
  },
8590
8651
  "required": [
@@ -8592,8 +8653,9 @@
8592
8653
  "submission"
8593
8654
  ],
8594
8655
  "additionalProperties": false,
8595
- "description": "Permission guard submission data."
8596
- }
8656
+ "description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
8657
+ },
8658
+ "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."
8597
8659
  }
8598
8660
  },
8599
8661
  "required": [
@@ -8635,6 +8697,21 @@
8635
8697
  "referrer": {
8636
8698
  "$ref": "#/definitions/data_gen_passport/properties/guard/anyOf/0",
8637
8699
  "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
8700
+ },
8701
+ "confirmed": {
8702
+ "type": "boolean",
8703
+ "description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
8704
+ },
8705
+ "user_intent_phrases": {
8706
+ "type": "array",
8707
+ "items": {
8708
+ "type": "string"
8709
+ },
8710
+ "description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
8711
+ },
8712
+ "project": {
8713
+ "type": "string",
8714
+ "description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
8638
8715
  }
8639
8716
  },
8640
8717
  "additionalProperties": false,
@@ -398,6 +398,21 @@
398
398
  "referrer": {
399
399
  "$ref": "#/definitions/env/properties/account",
400
400
  "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
401
+ },
402
+ "confirmed": {
403
+ "type": "boolean",
404
+ "description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
405
+ },
406
+ "user_intent_phrases": {
407
+ "type": "array",
408
+ "items": {
409
+ "type": "string"
410
+ },
411
+ "description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
412
+ },
413
+ "project": {
414
+ "type": "string",
415
+ "description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
401
416
  }
402
417
  },
403
418
  "additionalProperties": false,
@@ -409,7 +424,7 @@
409
424
  "type": {
410
425
  "type": "string",
411
426
  "const": "submission",
412
- "description": "Type of call response: submission"
427
+ "description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
413
428
  },
414
429
  "guard": {
415
430
  "type": "array",
@@ -418,11 +433,11 @@
418
433
  "properties": {
419
434
  "object": {
420
435
  "type": "string",
421
- "description": "Guard object name or ID."
436
+ "description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
422
437
  },
423
438
  "impack": {
424
439
  "type": "boolean",
425
- "description": "Whether the verification result of this Guard participates in the final verification logic. If true, the verification result of this Guard will be included in the final verification result; if false, the verification result of this Guard will not be included."
440
+ "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"
426
441
  }
427
442
  },
428
443
  "required": [
@@ -430,7 +445,8 @@
430
445
  "impack"
431
446
  ],
432
447
  "additionalProperties": false
433
- }
448
+ },
449
+ "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
434
450
  },
435
451
  "submission": {
436
452
  "type": "array",
@@ -439,7 +455,7 @@
439
455
  "properties": {
440
456
  "guard": {
441
457
  "$ref": "#/definitions/submission/properties/guard/items/properties/object",
442
- "description": "Guard object name or ID."
458
+ "description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
443
459
  },
444
460
  "submission": {
445
461
  "type": "array",
@@ -891,7 +907,7 @@
891
907
  "additionalProperties": false,
892
908
  "description": "Guard table item"
893
909
  },
894
- "description": "User-submitted data required for Guard verification."
910
+ "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...'}]"
895
911
  }
896
912
  },
897
913
  "required": [
@@ -899,8 +915,9 @@
899
915
  "submission"
900
916
  ],
901
917
  "additionalProperties": false,
902
- "description": "Permission guard submission data."
903
- }
918
+ "description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
919
+ },
920
+ "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."
904
921
  }
905
922
  },
906
923
  "required": [
@@ -909,7 +926,7 @@
909
926
  "submission"
910
927
  ],
911
928
  "additionalProperties": false,
912
- "description": "Guard verification submission data required to complete an operation. Contains: (1) 'guard' - array of Guard objects to verify, each with an object ID and an 'impack' flag indicating if its result affects the final outcome; (2) 'submission' - array of user data submissions matching the Guard's requirements. The operation proceeds only after all Guards with impack=true are successfully verified."
929
+ "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'."
913
930
  }
914
931
  }
915
932
  }
@@ -650,6 +650,21 @@
650
650
  "referrer": {
651
651
  "$ref": "#/definitions/env/properties/account",
652
652
  "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
653
+ },
654
+ "confirmed": {
655
+ "type": "boolean",
656
+ "description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
657
+ },
658
+ "user_intent_phrases": {
659
+ "type": "array",
660
+ "items": {
661
+ "type": "string"
662
+ },
663
+ "description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
664
+ },
665
+ "project": {
666
+ "type": "string",
667
+ "description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
653
668
  }
654
669
  },
655
670
  "additionalProperties": false,
@@ -661,7 +676,7 @@
661
676
  "type": {
662
677
  "type": "string",
663
678
  "const": "submission",
664
- "description": "Type of call response: submission"
679
+ "description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
665
680
  },
666
681
  "guard": {
667
682
  "type": "array",
@@ -670,11 +685,11 @@
670
685
  "properties": {
671
686
  "object": {
672
687
  "type": "string",
673
- "description": "Guard object name or ID."
688
+ "description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
674
689
  },
675
690
  "impack": {
676
691
  "type": "boolean",
677
- "description": "Whether the verification result of this Guard participates in the final verification logic. If true, the verification result of this Guard will be included in the final verification result; if false, the verification result of this Guard will not be included."
692
+ "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"
678
693
  }
679
694
  },
680
695
  "required": [
@@ -682,7 +697,8 @@
682
697
  "impack"
683
698
  ],
684
699
  "additionalProperties": false
685
- }
700
+ },
701
+ "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
686
702
  },
687
703
  "submission": {
688
704
  "type": "array",
@@ -691,7 +707,7 @@
691
707
  "properties": {
692
708
  "guard": {
693
709
  "$ref": "#/definitions/submission/properties/guard/items/properties/object",
694
- "description": "Guard object name or ID."
710
+ "description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
695
711
  },
696
712
  "submission": {
697
713
  "type": "array",
@@ -1143,7 +1159,7 @@
1143
1159
  "additionalProperties": false,
1144
1160
  "description": "Guard table item"
1145
1161
  },
1146
- "description": "User-submitted data required for Guard verification."
1162
+ "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...'}]"
1147
1163
  }
1148
1164
  },
1149
1165
  "required": [
@@ -1151,8 +1167,9 @@
1151
1167
  "submission"
1152
1168
  ],
1153
1169
  "additionalProperties": false,
1154
- "description": "Permission guard submission data."
1155
- }
1170
+ "description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
1171
+ },
1172
+ "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."
1156
1173
  }
1157
1174
  },
1158
1175
  "required": [
@@ -1161,7 +1178,7 @@
1161
1178
  "submission"
1162
1179
  ],
1163
1180
  "additionalProperties": false,
1164
- "description": "Guard verification submission data required to complete an operation. Contains: (1) 'guard' - array of Guard objects to verify, each with an object ID and an 'impack' flag indicating if its result affects the final outcome; (2) 'submission' - array of user data submissions matching the Guard's requirements. The operation proceeds only after all Guards with impack=true are successfully verified."
1181
+ "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'."
1165
1182
  }
1166
1183
  }
1167
1184
  }
@@ -337,6 +337,21 @@
337
337
  "referrer": {
338
338
  "$ref": "#/definitions/env/properties/account",
339
339
  "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
340
+ },
341
+ "confirmed": {
342
+ "type": "boolean",
343
+ "description": "Phase 2 ConfirmGate: set to true to proceed after a 'pending_confirmation' result. The operation is NOT executed until you re-call with confirmed=true after user consent."
344
+ },
345
+ "user_intent_phrases": {
346
+ "type": "array",
347
+ "items": {
348
+ "type": "string"
349
+ },
350
+ "description": "Phase 2 ConfirmGate: explicit user intent phrases collected from conversation context (e.g. 'use default account', 'force publish'). Used to bypass confirmation rules whose bypass_on_explicit_intent matches."
351
+ },
352
+ "project": {
353
+ "type": "string",
354
+ "description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
340
355
  }
341
356
  },
342
357
  "additionalProperties": false,
@@ -348,7 +363,7 @@
348
363
  "type": {
349
364
  "type": "string",
350
365
  "const": "submission",
351
- "description": "Type of call response: submission"
366
+ "description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
352
367
  },
353
368
  "guard": {
354
369
  "type": "array",
@@ -357,11 +372,11 @@
357
372
  "properties": {
358
373
  "object": {
359
374
  "type": "string",
360
- "description": "Guard object name or ID."
375
+ "description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
361
376
  },
362
377
  "impack": {
363
378
  "type": "boolean",
364
- "description": "Whether the verification result of this Guard participates in the final verification logic. If true, the verification result of this Guard will be included in the final verification result; if false, the verification result of this Guard will not be included."
379
+ "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"
365
380
  }
366
381
  },
367
382
  "required": [
@@ -369,7 +384,8 @@
369
384
  "impack"
370
385
  ],
371
386
  "additionalProperties": false
372
- }
387
+ },
388
+ "description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
373
389
  },
374
390
  "submission": {
375
391
  "type": "array",
@@ -378,7 +394,7 @@
378
394
  "properties": {
379
395
  "guard": {
380
396
  "$ref": "#/definitions/submission/properties/guard/items/properties/object",
381
- "description": "Guard object name or ID."
397
+ "description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
382
398
  },
383
399
  "submission": {
384
400
  "type": "array",
@@ -830,7 +846,7 @@
830
846
  "additionalProperties": false,
831
847
  "description": "Guard table item"
832
848
  },
833
- "description": "User-submitted data required for Guard verification."
849
+ "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...'}]"
834
850
  }
835
851
  },
836
852
  "required": [
@@ -838,8 +854,9 @@
838
854
  "submission"
839
855
  ],
840
856
  "additionalProperties": false,
841
- "description": "Permission guard submission data."
842
- }
857
+ "description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
858
+ },
859
+ "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."
843
860
  }
844
861
  },
845
862
  "required": [
@@ -848,7 +865,7 @@
848
865
  "submission"
849
866
  ],
850
867
  "additionalProperties": false,
851
- "description": "Guard verification submission data required to complete an operation. Contains: (1) 'guard' - array of Guard objects to verify, each with an object ID and an 'impack' flag indicating if its result affects the final outcome; (2) 'submission' - array of user data submissions matching the Guard's requirements. The operation proceeds only after all Guards with impack=true are successfully verified."
868
+ "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'."
852
869
  }
853
870
  }
854
871
  }