@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.
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/industry-risks.d.ts +36 -0
- package/dist/customer/industry-risks.js +424 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +67 -0
- package/dist/customer/user-preferences.js +451 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +77 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/harness/checkpoint.d.ts +8 -0
- package/dist/harness/checkpoint.js +129 -0
- package/dist/harness/index.d.ts +33 -0
- package/dist/harness/index.js +75 -0
- package/dist/harness/plan.d.ts +18 -0
- package/dist/harness/plan.js +252 -0
- package/dist/harness/recover.d.ts +17 -0
- package/dist/harness/recover.js +139 -0
- package/dist/harness/types.d.ts +137 -0
- package/dist/harness/types.js +1 -0
- package/dist/harness/verify.d.ts +42 -0
- package/dist/harness/verify.js +237 -0
- package/dist/index.js +667 -201
- package/dist/knowledge/acquisition-flywheel.d.ts +50 -0
- package/dist/knowledge/acquisition-flywheel.js +183 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/index.d.ts +64 -0
- package/dist/knowledge/index.js +66 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +49 -0
- package/dist/knowledge/industry-registry.js +167 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +171 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +185 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/aggregate.d.ts +50 -0
- package/dist/loop-engineering/aggregate.js +132 -0
- package/dist/loop-engineering/diagnose.d.ts +22 -0
- package/dist/loop-engineering/diagnose.js +273 -0
- package/dist/loop-engineering/improve.d.ts +26 -0
- package/dist/loop-engineering/improve.js +229 -0
- package/dist/loop-engineering/index.d.ts +4 -0
- package/dist/loop-engineering/index.js +4 -0
- package/dist/loop-engineering/pipeline.d.ts +17 -0
- package/dist/loop-engineering/pipeline.js +56 -0
- package/dist/mode-market/index.d.ts +3 -0
- package/dist/mode-market/index.js +3 -0
- package/dist/mode-market/registry.d.ts +53 -0
- package/dist/mode-market/registry.js +124 -0
- package/dist/mode-market/review.d.ts +27 -0
- package/dist/mode-market/review.js +214 -0
- package/dist/mode-market/submission.d.ts +25 -0
- package/dist/mode-market/submission.js +85 -0
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +15 -0
- package/dist/safety/confirm-gate.js +44 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +55 -40
- package/dist/schema/call/arbitration.d.ts +201 -186
- package/dist/schema/call/base.d.ts +2104 -24
- package/dist/schema/call/base.js +168 -22
- package/dist/schema/call/bridge-handler.js +36 -18
- package/dist/schema/call/bridge.d.ts +777 -120
- package/dist/schema/call/bridge.js +13 -2
- package/dist/schema/call/contact.d.ts +15 -0
- package/dist/schema/call/demand.d.ts +69 -54
- package/dist/schema/call/guard.d.ts +125 -80
- package/dist/schema/call/handler.d.ts +5 -1
- package/dist/schema/call/handler.js +108 -3
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/call/machine.d.ts +830 -800
- package/dist/schema/call/order.d.ts +27 -12
- package/dist/schema/call/payment.d.ts +15 -0
- package/dist/schema/call/permission.d.ts +15 -0
- package/dist/schema/call/personal.d.ts +15 -0
- package/dist/schema/call/progress.d.ts +21 -6
- package/dist/schema/call/proof.d.ts +42 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +91 -76
- package/dist/schema/call/reward.d.ts +51 -36
- package/dist/schema/call/semantic.d.ts +24 -0
- package/dist/schema/call/semantic.js +981 -0
- package/dist/schema/call/service.d.ts +444 -429
- package/dist/schema/call/treasury.d.ts +219 -204
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/local/index.d.ts +341 -74
- package/dist/schema/local/index.js +44 -7
- package/dist/schema/messenger/index.d.ts +1034 -92
- package/dist/schema/messenger/index.js +18 -0
- package/dist/schema/operations.d.ts +2634 -1817
- package/dist/schema/operations.js +16 -5
- package/dist/schema/query/index.d.ts +2293 -2289
- package/dist/schema/query/index.js +34 -28
- package/dist/schemas/account_operation.output.json +28 -16
- package/dist/schemas/account_operation.schema.json +2 -2
- package/dist/schemas/bridge_operation.output.json +520 -0
- package/dist/schemas/bridge_operation.schema.json +15 -0
- package/dist/schemas/guard2file.schema.json +15 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/local_info_operation.output.json +26 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +27 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +15 -0
- package/dist/schemas/messenger_operation.output.json +549 -0
- package/dist/schemas/messenger_operation.schema.json +21 -0
- package/dist/schemas/onchain_events.output.json +3 -0
- package/dist/schemas/onchain_operations.output.json +814 -37
- package/dist/schemas/onchain_operations.schema.json +117 -40
- package/dist/schemas/onchain_operations_allocation.schema.json +26 -9
- package/dist/schemas/onchain_operations_arbitration.schema.json +26 -9
- package/dist/schemas/onchain_operations_contact.schema.json +26 -9
- package/dist/schemas/onchain_operations_demand.schema.json +26 -9
- package/dist/schemas/onchain_operations_gen_passport.schema.json +51 -17
- package/dist/schemas/onchain_operations_guard.schema.json +26 -9
- package/dist/schemas/onchain_operations_machine.schema.json +92 -32
- package/dist/schemas/onchain_operations_order.schema.json +26 -9
- package/dist/schemas/onchain_operations_payment.schema.json +26 -9
- package/dist/schemas/onchain_operations_permission.schema.json +26 -9
- package/dist/schemas/onchain_operations_personal.schema.json +26 -9
- package/dist/schemas/onchain_operations_progress.schema.json +26 -9
- package/dist/schemas/onchain_operations_repository.schema.json +26 -9
- package/dist/schemas/onchain_operations_reward.schema.json +26 -9
- package/dist/schemas/onchain_operations_service.schema.json +26 -9
- package/dist/schemas/onchain_operations_treasury.schema.json +26 -9
- package/dist/schemas/onchain_table_data.output.json +224 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/query_toolkit.schema.json +5 -1
- package/dist/telemetry/index.d.ts +19 -0
- package/dist/telemetry/index.js +112 -0
- package/dist/telemetry/redact.d.ts +2 -0
- package/dist/telemetry/redact.js +23 -0
- package/dist/telemetry/storage.d.ts +8 -0
- package/dist/telemetry/storage.js +80 -0
- package/package.json +6 -3
|
@@ -314,6 +314,21 @@
|
|
|
314
314
|
"referrer": {
|
|
315
315
|
"$ref": "#/definitions/env/properties/account",
|
|
316
316
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
317
|
+
},
|
|
318
|
+
"confirmed": {
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"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."
|
|
321
|
+
},
|
|
322
|
+
"user_intent_phrases": {
|
|
323
|
+
"type": "array",
|
|
324
|
+
"items": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"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."
|
|
328
|
+
},
|
|
329
|
+
"project": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"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."
|
|
317
332
|
}
|
|
318
333
|
},
|
|
319
334
|
"additionalProperties": false,
|
|
@@ -325,7 +340,7 @@
|
|
|
325
340
|
"type": {
|
|
326
341
|
"type": "string",
|
|
327
342
|
"const": "submission",
|
|
328
|
-
"description": "
|
|
343
|
+
"description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
|
|
329
344
|
},
|
|
330
345
|
"guard": {
|
|
331
346
|
"type": "array",
|
|
@@ -334,11 +349,11 @@
|
|
|
334
349
|
"properties": {
|
|
335
350
|
"object": {
|
|
336
351
|
"type": "string",
|
|
337
|
-
"description": "Guard object name or ID."
|
|
352
|
+
"description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
|
|
338
353
|
},
|
|
339
354
|
"impack": {
|
|
340
355
|
"type": "boolean",
|
|
341
|
-
"description": "Whether
|
|
356
|
+
"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"
|
|
342
357
|
}
|
|
343
358
|
},
|
|
344
359
|
"required": [
|
|
@@ -346,7 +361,8 @@
|
|
|
346
361
|
"impack"
|
|
347
362
|
],
|
|
348
363
|
"additionalProperties": false
|
|
349
|
-
}
|
|
364
|
+
},
|
|
365
|
+
"description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
|
|
350
366
|
},
|
|
351
367
|
"submission": {
|
|
352
368
|
"type": "array",
|
|
@@ -355,7 +371,7 @@
|
|
|
355
371
|
"properties": {
|
|
356
372
|
"guard": {
|
|
357
373
|
"$ref": "#/definitions/submission/properties/guard/items/properties/object",
|
|
358
|
-
"description": "Guard object name or ID."
|
|
374
|
+
"description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
|
|
359
375
|
},
|
|
360
376
|
"submission": {
|
|
361
377
|
"type": "array",
|
|
@@ -807,7 +823,7 @@
|
|
|
807
823
|
"additionalProperties": false,
|
|
808
824
|
"description": "Guard table item"
|
|
809
825
|
},
|
|
810
|
-
"description": "User-submitted data required
|
|
826
|
+
"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...'}]"
|
|
811
827
|
}
|
|
812
828
|
},
|
|
813
829
|
"required": [
|
|
@@ -815,8 +831,9 @@
|
|
|
815
831
|
"submission"
|
|
816
832
|
],
|
|
817
833
|
"additionalProperties": false,
|
|
818
|
-
"description": "
|
|
819
|
-
}
|
|
834
|
+
"description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
|
|
835
|
+
},
|
|
836
|
+
"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."
|
|
820
837
|
}
|
|
821
838
|
},
|
|
822
839
|
"required": [
|
|
@@ -825,7 +842,7 @@
|
|
|
825
842
|
"submission"
|
|
826
843
|
],
|
|
827
844
|
"additionalProperties": false,
|
|
828
|
-
"description": "Guard verification
|
|
845
|
+
"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'."
|
|
829
846
|
}
|
|
830
847
|
}
|
|
831
848
|
}
|
|
@@ -201,6 +201,21 @@
|
|
|
201
201
|
"referrer": {
|
|
202
202
|
"$ref": "#/definitions/env/properties/account",
|
|
203
203
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
204
|
+
},
|
|
205
|
+
"confirmed": {
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"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."
|
|
208
|
+
},
|
|
209
|
+
"user_intent_phrases": {
|
|
210
|
+
"type": "array",
|
|
211
|
+
"items": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"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."
|
|
215
|
+
},
|
|
216
|
+
"project": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"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."
|
|
204
219
|
}
|
|
205
220
|
},
|
|
206
221
|
"additionalProperties": false,
|
|
@@ -212,7 +227,7 @@
|
|
|
212
227
|
"type": {
|
|
213
228
|
"type": "string",
|
|
214
229
|
"const": "submission",
|
|
215
|
-
"description": "
|
|
230
|
+
"description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
|
|
216
231
|
},
|
|
217
232
|
"guard": {
|
|
218
233
|
"type": "array",
|
|
@@ -221,11 +236,11 @@
|
|
|
221
236
|
"properties": {
|
|
222
237
|
"object": {
|
|
223
238
|
"type": "string",
|
|
224
|
-
"description": "Guard object name or ID."
|
|
239
|
+
"description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
|
|
225
240
|
},
|
|
226
241
|
"impack": {
|
|
227
242
|
"type": "boolean",
|
|
228
|
-
"description": "Whether
|
|
243
|
+
"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"
|
|
229
244
|
}
|
|
230
245
|
},
|
|
231
246
|
"required": [
|
|
@@ -233,7 +248,8 @@
|
|
|
233
248
|
"impack"
|
|
234
249
|
],
|
|
235
250
|
"additionalProperties": false
|
|
236
|
-
}
|
|
251
|
+
},
|
|
252
|
+
"description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
|
|
237
253
|
},
|
|
238
254
|
"submission": {
|
|
239
255
|
"type": "array",
|
|
@@ -242,7 +258,7 @@
|
|
|
242
258
|
"properties": {
|
|
243
259
|
"guard": {
|
|
244
260
|
"$ref": "#/definitions/submission/properties/guard/items/properties/object",
|
|
245
|
-
"description": "Guard object name or ID."
|
|
261
|
+
"description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
|
|
246
262
|
},
|
|
247
263
|
"submission": {
|
|
248
264
|
"type": "array",
|
|
@@ -694,7 +710,7 @@
|
|
|
694
710
|
"additionalProperties": false,
|
|
695
711
|
"description": "Guard table item"
|
|
696
712
|
},
|
|
697
|
-
"description": "User-submitted data required
|
|
713
|
+
"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...'}]"
|
|
698
714
|
}
|
|
699
715
|
},
|
|
700
716
|
"required": [
|
|
@@ -702,8 +718,9 @@
|
|
|
702
718
|
"submission"
|
|
703
719
|
],
|
|
704
720
|
"additionalProperties": false,
|
|
705
|
-
"description": "
|
|
706
|
-
}
|
|
721
|
+
"description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
|
|
722
|
+
},
|
|
723
|
+
"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."
|
|
707
724
|
}
|
|
708
725
|
},
|
|
709
726
|
"required": [
|
|
@@ -712,7 +729,7 @@
|
|
|
712
729
|
"submission"
|
|
713
730
|
],
|
|
714
731
|
"additionalProperties": false,
|
|
715
|
-
"description": "Guard verification
|
|
732
|
+
"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'."
|
|
716
733
|
}
|
|
717
734
|
}
|
|
718
735
|
}
|
|
@@ -572,6 +572,21 @@
|
|
|
572
572
|
"referrer": {
|
|
573
573
|
"$ref": "#/definitions/env/properties/account",
|
|
574
574
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
575
|
+
},
|
|
576
|
+
"confirmed": {
|
|
577
|
+
"type": "boolean",
|
|
578
|
+
"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."
|
|
579
|
+
},
|
|
580
|
+
"user_intent_phrases": {
|
|
581
|
+
"type": "array",
|
|
582
|
+
"items": {
|
|
583
|
+
"type": "string"
|
|
584
|
+
},
|
|
585
|
+
"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."
|
|
586
|
+
},
|
|
587
|
+
"project": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"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."
|
|
575
590
|
}
|
|
576
591
|
},
|
|
577
592
|
"additionalProperties": false,
|
|
@@ -583,7 +598,7 @@
|
|
|
583
598
|
"type": {
|
|
584
599
|
"type": "string",
|
|
585
600
|
"const": "submission",
|
|
586
|
-
"description": "
|
|
601
|
+
"description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
|
|
587
602
|
},
|
|
588
603
|
"guard": {
|
|
589
604
|
"type": "array",
|
|
@@ -592,11 +607,11 @@
|
|
|
592
607
|
"properties": {
|
|
593
608
|
"object": {
|
|
594
609
|
"type": "string",
|
|
595
|
-
"description": "Guard object name or ID."
|
|
610
|
+
"description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
|
|
596
611
|
},
|
|
597
612
|
"impack": {
|
|
598
613
|
"type": "boolean",
|
|
599
|
-
"description": "Whether
|
|
614
|
+
"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"
|
|
600
615
|
}
|
|
601
616
|
},
|
|
602
617
|
"required": [
|
|
@@ -604,7 +619,8 @@
|
|
|
604
619
|
"impack"
|
|
605
620
|
],
|
|
606
621
|
"additionalProperties": false
|
|
607
|
-
}
|
|
622
|
+
},
|
|
623
|
+
"description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
|
|
608
624
|
},
|
|
609
625
|
"submission": {
|
|
610
626
|
"type": "array",
|
|
@@ -613,7 +629,7 @@
|
|
|
613
629
|
"properties": {
|
|
614
630
|
"guard": {
|
|
615
631
|
"$ref": "#/definitions/submission/properties/guard/items/properties/object",
|
|
616
|
-
"description": "Guard object name or ID."
|
|
632
|
+
"description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
|
|
617
633
|
},
|
|
618
634
|
"submission": {
|
|
619
635
|
"type": "array",
|
|
@@ -1065,7 +1081,7 @@
|
|
|
1065
1081
|
"additionalProperties": false,
|
|
1066
1082
|
"description": "Guard table item"
|
|
1067
1083
|
},
|
|
1068
|
-
"description": "User-submitted data required
|
|
1084
|
+
"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...'}]"
|
|
1069
1085
|
}
|
|
1070
1086
|
},
|
|
1071
1087
|
"required": [
|
|
@@ -1073,8 +1089,9 @@
|
|
|
1073
1089
|
"submission"
|
|
1074
1090
|
],
|
|
1075
1091
|
"additionalProperties": false,
|
|
1076
|
-
"description": "
|
|
1077
|
-
}
|
|
1092
|
+
"description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
|
|
1093
|
+
},
|
|
1094
|
+
"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."
|
|
1078
1095
|
}
|
|
1079
1096
|
},
|
|
1080
1097
|
"required": [
|
|
@@ -1083,7 +1100,7 @@
|
|
|
1083
1100
|
"submission"
|
|
1084
1101
|
],
|
|
1085
1102
|
"additionalProperties": false,
|
|
1086
|
-
"description": "Guard verification
|
|
1103
|
+
"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'."
|
|
1087
1104
|
}
|
|
1088
1105
|
}
|
|
1089
1106
|
}
|
|
@@ -766,6 +766,21 @@
|
|
|
766
766
|
"referrer": {
|
|
767
767
|
"$ref": "#/definitions/env/properties/account",
|
|
768
768
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
769
|
+
},
|
|
770
|
+
"confirmed": {
|
|
771
|
+
"type": "boolean",
|
|
772
|
+
"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."
|
|
773
|
+
},
|
|
774
|
+
"user_intent_phrases": {
|
|
775
|
+
"type": "array",
|
|
776
|
+
"items": {
|
|
777
|
+
"type": "string"
|
|
778
|
+
},
|
|
779
|
+
"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."
|
|
780
|
+
},
|
|
781
|
+
"project": {
|
|
782
|
+
"type": "string",
|
|
783
|
+
"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."
|
|
769
784
|
}
|
|
770
785
|
},
|
|
771
786
|
"additionalProperties": false,
|
|
@@ -777,7 +792,7 @@
|
|
|
777
792
|
"type": {
|
|
778
793
|
"type": "string",
|
|
779
794
|
"const": "submission",
|
|
780
|
-
"description": "
|
|
795
|
+
"description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
|
|
781
796
|
},
|
|
782
797
|
"guard": {
|
|
783
798
|
"type": "array",
|
|
@@ -786,11 +801,11 @@
|
|
|
786
801
|
"properties": {
|
|
787
802
|
"object": {
|
|
788
803
|
"type": "string",
|
|
789
|
-
"description": "Guard object name or ID."
|
|
804
|
+
"description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
|
|
790
805
|
},
|
|
791
806
|
"impack": {
|
|
792
807
|
"type": "boolean",
|
|
793
|
-
"description": "Whether
|
|
808
|
+
"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"
|
|
794
809
|
}
|
|
795
810
|
},
|
|
796
811
|
"required": [
|
|
@@ -798,7 +813,8 @@
|
|
|
798
813
|
"impack"
|
|
799
814
|
],
|
|
800
815
|
"additionalProperties": false
|
|
801
|
-
}
|
|
816
|
+
},
|
|
817
|
+
"description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
|
|
802
818
|
},
|
|
803
819
|
"submission": {
|
|
804
820
|
"type": "array",
|
|
@@ -807,7 +823,7 @@
|
|
|
807
823
|
"properties": {
|
|
808
824
|
"guard": {
|
|
809
825
|
"$ref": "#/definitions/submission/properties/guard/items/properties/object",
|
|
810
|
-
"description": "Guard object name or ID."
|
|
826
|
+
"description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
|
|
811
827
|
},
|
|
812
828
|
"submission": {
|
|
813
829
|
"type": "array",
|
|
@@ -1259,7 +1275,7 @@
|
|
|
1259
1275
|
"additionalProperties": false,
|
|
1260
1276
|
"description": "Guard table item"
|
|
1261
1277
|
},
|
|
1262
|
-
"description": "User-submitted data required
|
|
1278
|
+
"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...'}]"
|
|
1263
1279
|
}
|
|
1264
1280
|
},
|
|
1265
1281
|
"required": [
|
|
@@ -1267,8 +1283,9 @@
|
|
|
1267
1283
|
"submission"
|
|
1268
1284
|
],
|
|
1269
1285
|
"additionalProperties": false,
|
|
1270
|
-
"description": "
|
|
1271
|
-
}
|
|
1286
|
+
"description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
|
|
1287
|
+
},
|
|
1288
|
+
"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."
|
|
1272
1289
|
}
|
|
1273
1290
|
},
|
|
1274
1291
|
"required": [
|
|
@@ -1277,7 +1294,7 @@
|
|
|
1277
1294
|
"submission"
|
|
1278
1295
|
],
|
|
1279
1296
|
"additionalProperties": false,
|
|
1280
|
-
"description": "Guard verification
|
|
1297
|
+
"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'."
|
|
1281
1298
|
}
|
|
1282
1299
|
}
|
|
1283
1300
|
}
|
|
@@ -235,6 +235,21 @@
|
|
|
235
235
|
"referrer": {
|
|
236
236
|
"$ref": "#/definitions/env/properties/account",
|
|
237
237
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
238
|
+
},
|
|
239
|
+
"confirmed": {
|
|
240
|
+
"type": "boolean",
|
|
241
|
+
"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."
|
|
242
|
+
},
|
|
243
|
+
"user_intent_phrases": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"items": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"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."
|
|
249
|
+
},
|
|
250
|
+
"project": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"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."
|
|
238
253
|
}
|
|
239
254
|
},
|
|
240
255
|
"additionalProperties": false,
|
|
@@ -246,7 +261,7 @@
|
|
|
246
261
|
"type": {
|
|
247
262
|
"type": "string",
|
|
248
263
|
"const": "submission",
|
|
249
|
-
"description": "
|
|
264
|
+
"description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
|
|
250
265
|
},
|
|
251
266
|
"guard": {
|
|
252
267
|
"type": "array",
|
|
@@ -255,11 +270,11 @@
|
|
|
255
270
|
"properties": {
|
|
256
271
|
"object": {
|
|
257
272
|
"type": "string",
|
|
258
|
-
"description": "Guard object name or ID."
|
|
273
|
+
"description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
|
|
259
274
|
},
|
|
260
275
|
"impack": {
|
|
261
276
|
"type": "boolean",
|
|
262
|
-
"description": "Whether
|
|
277
|
+
"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"
|
|
263
278
|
}
|
|
264
279
|
},
|
|
265
280
|
"required": [
|
|
@@ -267,7 +282,8 @@
|
|
|
267
282
|
"impack"
|
|
268
283
|
],
|
|
269
284
|
"additionalProperties": false
|
|
270
|
-
}
|
|
285
|
+
},
|
|
286
|
+
"description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
|
|
271
287
|
},
|
|
272
288
|
"submission": {
|
|
273
289
|
"type": "array",
|
|
@@ -276,7 +292,7 @@
|
|
|
276
292
|
"properties": {
|
|
277
293
|
"guard": {
|
|
278
294
|
"$ref": "#/definitions/submission/properties/guard/items/properties/object",
|
|
279
|
-
"description": "Guard object name or ID."
|
|
295
|
+
"description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
|
|
280
296
|
},
|
|
281
297
|
"submission": {
|
|
282
298
|
"type": "array",
|
|
@@ -728,7 +744,7 @@
|
|
|
728
744
|
"additionalProperties": false,
|
|
729
745
|
"description": "Guard table item"
|
|
730
746
|
},
|
|
731
|
-
"description": "User-submitted data required
|
|
747
|
+
"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...'}]"
|
|
732
748
|
}
|
|
733
749
|
},
|
|
734
750
|
"required": [
|
|
@@ -736,8 +752,9 @@
|
|
|
736
752
|
"submission"
|
|
737
753
|
],
|
|
738
754
|
"additionalProperties": false,
|
|
739
|
-
"description": "
|
|
740
|
-
}
|
|
755
|
+
"description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
|
|
756
|
+
},
|
|
757
|
+
"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."
|
|
741
758
|
}
|
|
742
759
|
},
|
|
743
760
|
"required": [
|
|
@@ -746,7 +763,7 @@
|
|
|
746
763
|
"submission"
|
|
747
764
|
],
|
|
748
765
|
"additionalProperties": false,
|
|
749
|
-
"description": "Guard verification
|
|
766
|
+
"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'."
|
|
750
767
|
}
|
|
751
768
|
}
|
|
752
769
|
}
|
|
@@ -1059,6 +1059,21 @@
|
|
|
1059
1059
|
"referrer": {
|
|
1060
1060
|
"$ref": "#/definitions/env/properties/account",
|
|
1061
1061
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
|
|
1062
|
+
},
|
|
1063
|
+
"confirmed": {
|
|
1064
|
+
"type": "boolean",
|
|
1065
|
+
"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."
|
|
1066
|
+
},
|
|
1067
|
+
"user_intent_phrases": {
|
|
1068
|
+
"type": "array",
|
|
1069
|
+
"items": {
|
|
1070
|
+
"type": "string"
|
|
1071
|
+
},
|
|
1072
|
+
"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."
|
|
1073
|
+
},
|
|
1074
|
+
"project": {
|
|
1075
|
+
"type": "string",
|
|
1076
|
+
"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."
|
|
1062
1077
|
}
|
|
1063
1078
|
},
|
|
1064
1079
|
"additionalProperties": false,
|
|
@@ -1070,7 +1085,7 @@
|
|
|
1070
1085
|
"type": {
|
|
1071
1086
|
"type": "string",
|
|
1072
1087
|
"const": "submission",
|
|
1073
|
-
"description": "
|
|
1088
|
+
"description": "Discriminator for this result variant. Constraint: always 'submission'. Example: 'submission'"
|
|
1074
1089
|
},
|
|
1075
1090
|
"guard": {
|
|
1076
1091
|
"type": "array",
|
|
@@ -1079,11 +1094,11 @@
|
|
|
1079
1094
|
"properties": {
|
|
1080
1095
|
"object": {
|
|
1081
1096
|
"type": "string",
|
|
1082
|
-
"description": "Guard object name or ID."
|
|
1097
|
+
"description": "Guard object name or ID to verify against. Example: 'my-delivery-guard' or '0x123...'"
|
|
1083
1098
|
},
|
|
1084
1099
|
"impack": {
|
|
1085
1100
|
"type": "boolean",
|
|
1086
|
-
"description": "Whether
|
|
1101
|
+
"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"
|
|
1087
1102
|
}
|
|
1088
1103
|
},
|
|
1089
1104
|
"required": [
|
|
@@ -1091,7 +1106,8 @@
|
|
|
1091
1106
|
"impack"
|
|
1092
1107
|
],
|
|
1093
1108
|
"additionalProperties": false
|
|
1094
|
-
}
|
|
1109
|
+
},
|
|
1110
|
+
"description": "Array of Guard objects to verify. Relation: each entry corresponds to a Guard bound to the operation."
|
|
1095
1111
|
},
|
|
1096
1112
|
"submission": {
|
|
1097
1113
|
"type": "array",
|
|
@@ -1100,7 +1116,7 @@
|
|
|
1100
1116
|
"properties": {
|
|
1101
1117
|
"guard": {
|
|
1102
1118
|
"$ref": "#/definitions/submission/properties/guard/items/properties/object",
|
|
1103
|
-
"description": "Guard object name or ID."
|
|
1119
|
+
"description": "Guard object name or ID that requires submission data. Example: 'my-delivery-guard'"
|
|
1104
1120
|
},
|
|
1105
1121
|
"submission": {
|
|
1106
1122
|
"type": "array",
|
|
@@ -1552,7 +1568,7 @@
|
|
|
1552
1568
|
"additionalProperties": false,
|
|
1553
1569
|
"description": "Guard table item"
|
|
1554
1570
|
},
|
|
1555
|
-
"description": "User-submitted data required
|
|
1571
|
+
"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...'}]"
|
|
1556
1572
|
}
|
|
1557
1573
|
},
|
|
1558
1574
|
"required": [
|
|
@@ -1560,8 +1576,9 @@
|
|
|
1560
1576
|
"submission"
|
|
1561
1577
|
],
|
|
1562
1578
|
"additionalProperties": false,
|
|
1563
|
-
"description": "
|
|
1564
|
-
}
|
|
1579
|
+
"description": "One Guard's submission data: the Guard to verify plus the user-provided data that satisfies its requirements."
|
|
1580
|
+
},
|
|
1581
|
+
"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."
|
|
1565
1582
|
}
|
|
1566
1583
|
},
|
|
1567
1584
|
"required": [
|
|
@@ -1570,7 +1587,7 @@
|
|
|
1570
1587
|
"submission"
|
|
1571
1588
|
],
|
|
1572
1589
|
"additionalProperties": false,
|
|
1573
|
-
"description": "Guard verification
|
|
1590
|
+
"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'."
|
|
1574
1591
|
}
|
|
1575
1592
|
}
|
|
1576
1593
|
}
|