@wowok/agent-mcp 3.1.5 → 3.1.6
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/evaluation/arbitration-game.js +1 -1
- package/dist/evaluation/builtins/graph-service.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/analyze.spec.js +1 -1
- package/dist/graph/onchain/extract.js +1 -1
- package/dist/graph/onchain/facts.d.ts +1 -0
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/fixtures.js +1 -1
- package/dist/graph/onchain/onchain.spec.js +1 -1
- package/dist/graph/onchain/strategy.js +1 -1
- package/dist/graph/onchain/strategy.spec.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/knowledge/alloc-audit-policy.spec.js +1 -1
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +1 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json +20 -0
- package/dist/knowledge/baselines/rules/allocation.json +1 -19
- package/dist/knowledge/baselines/rules/arb.json +1 -1
- package/dist/knowledge/baselines/rules/guard.json +8 -8
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/guard-design-patterns.d.ts +2 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-design-patterns.spec.d.ts +1 -0
- package/dist/knowledge/guard-design-patterns.spec.js +1 -0
- package/dist/knowledge/guard-lint.d.ts +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/safety-rules.extract-amount.spec.d.ts +1 -0
- package/dist/knowledge/safety-rules.extract-amount.spec.js +1 -0
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tool-constraints.js +1 -1
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/pipeline-actions.d.ts +1 -1
- package/dist/playbooks/service-build/pipeline-actions.js +1 -1
- package/dist/playbooks/service-build/risk-aggregator.js +1 -1
- package/dist/role/derivation.d.ts +1 -1
- package/dist/role/derivation.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +7 -0
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.d.ts +4 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +48 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +26 -0
- package/dist/schema/call/contact.d.ts +4 -0
- package/dist/schema/call/demand.d.ts +4 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/guard.d.ts +12 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +8 -0
- package/dist/schema/call/order.d.ts +4 -0
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +4 -0
- package/dist/schema/call/permission.d.ts +4 -0
- package/dist/schema/call/personal.d.ts +4 -0
- package/dist/schema/call/progress.d.ts +4 -0
- package/dist/schema/call/proof.d.ts +8 -0
- package/dist/schema/call/repository.d.ts +4 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +4 -0
- package/dist/schema/call/semantic-customer-advice.spec.js +1 -1
- package/dist/schema/call/semantic.d.ts +11 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +14 -0
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +4 -0
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/keeper/index.d.ts +5 -0
- package/dist/schema/local/index.d.ts +28 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +5 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +83 -0
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +16 -0
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -0
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +25 -1
- package/dist/schemas/bridge_operation.output.json +25 -1
- package/dist/schemas/bridge_operation.schema.json +40 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/keeper_operation.output.json +24 -1
- package/dist/schemas/local_history_operation.output.json +25 -1
- package/dist/schemas/local_info_operation.output.json +25 -1
- package/dist/schemas/local_mark_operation.output.json +25 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +24 -1
- package/dist/schemas/messenger_operation.schema.json +2 -2
- package/dist/schemas/monitor_events.output.json +24 -1
- package/dist/schemas/monitor_subscription.output.json +24 -1
- package/dist/schemas/onchain_events.output.json +24 -1
- package/dist/schemas/onchain_operations.output.json +73 -3
- package/dist/schemas/onchain_operations.schema.json +3286 -821
- package/dist/schemas/onchain_operations_allocation.schema.json +12 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +18 -10
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_guard.schema.json +2896 -596
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +10 -2
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +14 -6
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +43 -10
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +35 -12
- package/dist/schemas/query_toolkit.output.json +1179 -10
- package/dist/schemas/query_toolkit.schema.json +11 -11
- package/dist/schemas/workflow_operation.schema.json +8 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.spec.d.ts +1 -0
- package/dist/tools/handlers/dispatch-expectations.spec.js +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/package.json +2 -2
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
"guard_rejected",
|
|
132
132
|
"state_conflict",
|
|
133
133
|
"insufficient_balance",
|
|
134
|
+
"transaction_expired",
|
|
134
135
|
"stock_exhausted",
|
|
135
136
|
"sale_suspended",
|
|
136
137
|
"discount_invalid",
|
|
@@ -906,7 +907,7 @@
|
|
|
906
907
|
"type": "string"
|
|
907
908
|
},
|
|
908
909
|
"test_result": {
|
|
909
|
-
"description": "gen_passport static test result.
|
|
910
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
910
911
|
"type": "object",
|
|
911
912
|
"properties": {
|
|
912
913
|
"status": {
|
|
@@ -924,6 +925,29 @@
|
|
|
924
925
|
"passport_id": {
|
|
925
926
|
"description": "Generated Passport ID (if pass)",
|
|
926
927
|
"type": "string"
|
|
928
|
+
},
|
|
929
|
+
"guard_results": {
|
|
930
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
931
|
+
"type": "array",
|
|
932
|
+
"items": {
|
|
933
|
+
"type": "object",
|
|
934
|
+
"properties": {
|
|
935
|
+
"guard": {
|
|
936
|
+
"type": "string"
|
|
937
|
+
},
|
|
938
|
+
"result": {
|
|
939
|
+
"type": "boolean"
|
|
940
|
+
},
|
|
941
|
+
"impack": {
|
|
942
|
+
"type": "boolean"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"required": [
|
|
946
|
+
"guard",
|
|
947
|
+
"result"
|
|
948
|
+
],
|
|
949
|
+
"additionalProperties": false
|
|
950
|
+
}
|
|
927
951
|
}
|
|
928
952
|
},
|
|
929
953
|
"required": [
|
|
@@ -86,6 +86,14 @@
|
|
|
86
86
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
87
87
|
"type": "boolean"
|
|
88
88
|
},
|
|
89
|
+
"response_level": {
|
|
90
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
91
|
+
"type": "string",
|
|
92
|
+
"enum": [
|
|
93
|
+
"compact",
|
|
94
|
+
"full"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
89
97
|
"confirm_mode": {
|
|
90
98
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
91
99
|
"type": "string",
|
|
@@ -3345,7 +3345,7 @@
|
|
|
3345
3345
|
"type": "string"
|
|
3346
3346
|
},
|
|
3347
3347
|
"test_result": {
|
|
3348
|
-
"description": "gen_passport static test result.
|
|
3348
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
3349
3349
|
"type": "object",
|
|
3350
3350
|
"properties": {
|
|
3351
3351
|
"status": {
|
|
@@ -3363,6 +3363,29 @@
|
|
|
3363
3363
|
"passport_id": {
|
|
3364
3364
|
"description": "Generated Passport ID (if pass)",
|
|
3365
3365
|
"type": "string"
|
|
3366
|
+
},
|
|
3367
|
+
"guard_results": {
|
|
3368
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
3369
|
+
"type": "array",
|
|
3370
|
+
"items": {
|
|
3371
|
+
"type": "object",
|
|
3372
|
+
"properties": {
|
|
3373
|
+
"guard": {
|
|
3374
|
+
"type": "string"
|
|
3375
|
+
},
|
|
3376
|
+
"result": {
|
|
3377
|
+
"type": "boolean"
|
|
3378
|
+
},
|
|
3379
|
+
"impack": {
|
|
3380
|
+
"type": "boolean"
|
|
3381
|
+
}
|
|
3382
|
+
},
|
|
3383
|
+
"required": [
|
|
3384
|
+
"guard",
|
|
3385
|
+
"result"
|
|
3386
|
+
],
|
|
3387
|
+
"additionalProperties": false
|
|
3388
|
+
}
|
|
3366
3389
|
}
|
|
3367
3390
|
},
|
|
3368
3391
|
"required": [
|
|
@@ -1401,7 +1401,7 @@
|
|
|
1401
1401
|
"properties": {
|
|
1402
1402
|
"guard": {
|
|
1403
1403
|
"type": "string",
|
|
1404
|
-
"description": "Guard address or name"
|
|
1404
|
+
"description": "Guard address or name. ⚠️ MAINNET-ONLY: Messenger guards must be Guard objects on MAINNET — a testnet Guard is rejected at add time ('Guard not found on mainnet'). Create the Guard on mainnet before adding it here."
|
|
1405
1405
|
},
|
|
1406
1406
|
"passportValiditySeconds": {
|
|
1407
1407
|
"type": "number",
|
|
@@ -1417,7 +1417,7 @@
|
|
|
1417
1417
|
"additionalProperties": false,
|
|
1418
1418
|
"description": "Guard parameter"
|
|
1419
1419
|
},
|
|
1420
|
-
"description": "Guards to add to guard list"
|
|
1420
|
+
"description": "Guards to add to guard list. ⚠️ MAINNET-ONLY: only mainnet Guard objects are supported — testnet Guards are rejected."
|
|
1421
1421
|
}
|
|
1422
1422
|
},
|
|
1423
1423
|
"required": [
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
"type": "string"
|
|
921
921
|
},
|
|
922
922
|
"test_result": {
|
|
923
|
-
"description": "gen_passport static test result.
|
|
923
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
924
924
|
"type": "object",
|
|
925
925
|
"properties": {
|
|
926
926
|
"status": {
|
|
@@ -938,6 +938,29 @@
|
|
|
938
938
|
"passport_id": {
|
|
939
939
|
"description": "Generated Passport ID (if pass)",
|
|
940
940
|
"type": "string"
|
|
941
|
+
},
|
|
942
|
+
"guard_results": {
|
|
943
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
944
|
+
"type": "array",
|
|
945
|
+
"items": {
|
|
946
|
+
"type": "object",
|
|
947
|
+
"properties": {
|
|
948
|
+
"guard": {
|
|
949
|
+
"type": "string"
|
|
950
|
+
},
|
|
951
|
+
"result": {
|
|
952
|
+
"type": "boolean"
|
|
953
|
+
},
|
|
954
|
+
"impack": {
|
|
955
|
+
"type": "boolean"
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
"required": [
|
|
959
|
+
"guard",
|
|
960
|
+
"result"
|
|
961
|
+
],
|
|
962
|
+
"additionalProperties": false
|
|
963
|
+
}
|
|
941
964
|
}
|
|
942
965
|
},
|
|
943
966
|
"required": [
|
|
@@ -947,7 +947,7 @@
|
|
|
947
947
|
"type": "string"
|
|
948
948
|
},
|
|
949
949
|
"test_result": {
|
|
950
|
-
"description": "gen_passport static test result.
|
|
950
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
951
951
|
"type": "object",
|
|
952
952
|
"properties": {
|
|
953
953
|
"status": {
|
|
@@ -965,6 +965,29 @@
|
|
|
965
965
|
"passport_id": {
|
|
966
966
|
"description": "Generated Passport ID (if pass)",
|
|
967
967
|
"type": "string"
|
|
968
|
+
},
|
|
969
|
+
"guard_results": {
|
|
970
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
971
|
+
"type": "array",
|
|
972
|
+
"items": {
|
|
973
|
+
"type": "object",
|
|
974
|
+
"properties": {
|
|
975
|
+
"guard": {
|
|
976
|
+
"type": "string"
|
|
977
|
+
},
|
|
978
|
+
"result": {
|
|
979
|
+
"type": "boolean"
|
|
980
|
+
},
|
|
981
|
+
"impack": {
|
|
982
|
+
"type": "boolean"
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
"required": [
|
|
986
|
+
"guard",
|
|
987
|
+
"result"
|
|
988
|
+
],
|
|
989
|
+
"additionalProperties": false
|
|
990
|
+
}
|
|
968
991
|
}
|
|
969
992
|
},
|
|
970
993
|
"required": [
|
|
@@ -2601,7 +2601,7 @@
|
|
|
2601
2601
|
"type": "string"
|
|
2602
2602
|
},
|
|
2603
2603
|
"test_result": {
|
|
2604
|
-
"description": "gen_passport static test result.
|
|
2604
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
2605
2605
|
"type": "object",
|
|
2606
2606
|
"properties": {
|
|
2607
2607
|
"status": {
|
|
@@ -2619,6 +2619,29 @@
|
|
|
2619
2619
|
"passport_id": {
|
|
2620
2620
|
"description": "Generated Passport ID (if pass)",
|
|
2621
2621
|
"type": "string"
|
|
2622
|
+
},
|
|
2623
|
+
"guard_results": {
|
|
2624
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
2625
|
+
"type": "array",
|
|
2626
|
+
"items": {
|
|
2627
|
+
"type": "object",
|
|
2628
|
+
"properties": {
|
|
2629
|
+
"guard": {
|
|
2630
|
+
"type": "string"
|
|
2631
|
+
},
|
|
2632
|
+
"result": {
|
|
2633
|
+
"type": "boolean"
|
|
2634
|
+
},
|
|
2635
|
+
"impack": {
|
|
2636
|
+
"type": "boolean"
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2639
|
+
"required": [
|
|
2640
|
+
"guard",
|
|
2641
|
+
"result"
|
|
2642
|
+
],
|
|
2643
|
+
"additionalProperties": false
|
|
2644
|
+
}
|
|
2622
2645
|
}
|
|
2623
2646
|
},
|
|
2624
2647
|
"required": [
|
|
@@ -3071,7 +3071,7 @@
|
|
|
3071
3071
|
"type": "string"
|
|
3072
3072
|
},
|
|
3073
3073
|
"test_result": {
|
|
3074
|
-
"description": "gen_passport static test result.
|
|
3074
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
3075
3075
|
"type": "object",
|
|
3076
3076
|
"properties": {
|
|
3077
3077
|
"status": {
|
|
@@ -3089,6 +3089,29 @@
|
|
|
3089
3089
|
"passport_id": {
|
|
3090
3090
|
"description": "Generated Passport ID (if pass)",
|
|
3091
3091
|
"type": "string"
|
|
3092
|
+
},
|
|
3093
|
+
"guard_results": {
|
|
3094
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
3095
|
+
"type": "array",
|
|
3096
|
+
"items": {
|
|
3097
|
+
"type": "object",
|
|
3098
|
+
"properties": {
|
|
3099
|
+
"guard": {
|
|
3100
|
+
"type": "string"
|
|
3101
|
+
},
|
|
3102
|
+
"result": {
|
|
3103
|
+
"type": "boolean"
|
|
3104
|
+
},
|
|
3105
|
+
"impack": {
|
|
3106
|
+
"type": "boolean"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
"required": [
|
|
3110
|
+
"guard",
|
|
3111
|
+
"result"
|
|
3112
|
+
],
|
|
3113
|
+
"additionalProperties": false
|
|
3114
|
+
}
|
|
3092
3115
|
}
|
|
3093
3116
|
},
|
|
3094
3117
|
"required": [
|
|
@@ -5033,7 +5056,7 @@
|
|
|
5033
5056
|
"type": "string"
|
|
5034
5057
|
},
|
|
5035
5058
|
"test_result": {
|
|
5036
|
-
"description": "gen_passport static test result.
|
|
5059
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
5037
5060
|
"type": "object",
|
|
5038
5061
|
"properties": {
|
|
5039
5062
|
"status": {
|
|
@@ -5051,6 +5074,29 @@
|
|
|
5051
5074
|
"passport_id": {
|
|
5052
5075
|
"description": "Generated Passport ID (if pass)",
|
|
5053
5076
|
"type": "string"
|
|
5077
|
+
},
|
|
5078
|
+
"guard_results": {
|
|
5079
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
5080
|
+
"type": "array",
|
|
5081
|
+
"items": {
|
|
5082
|
+
"type": "object",
|
|
5083
|
+
"properties": {
|
|
5084
|
+
"guard": {
|
|
5085
|
+
"type": "string"
|
|
5086
|
+
},
|
|
5087
|
+
"result": {
|
|
5088
|
+
"type": "boolean"
|
|
5089
|
+
},
|
|
5090
|
+
"impack": {
|
|
5091
|
+
"type": "boolean"
|
|
5092
|
+
}
|
|
5093
|
+
},
|
|
5094
|
+
"required": [
|
|
5095
|
+
"guard",
|
|
5096
|
+
"result"
|
|
5097
|
+
],
|
|
5098
|
+
"additionalProperties": false
|
|
5099
|
+
}
|
|
5054
5100
|
}
|
|
5055
5101
|
},
|
|
5056
5102
|
"required": [
|
|
@@ -5622,6 +5668,7 @@
|
|
|
5622
5668
|
"guard_rejected",
|
|
5623
5669
|
"state_conflict",
|
|
5624
5670
|
"insufficient_balance",
|
|
5671
|
+
"transaction_expired",
|
|
5625
5672
|
"stock_exhausted",
|
|
5626
5673
|
"sale_suspended",
|
|
5627
5674
|
"discount_invalid",
|
|
@@ -6403,7 +6450,7 @@
|
|
|
6403
6450
|
"type": "string"
|
|
6404
6451
|
},
|
|
6405
6452
|
"test_result": {
|
|
6406
|
-
"description": "gen_passport static test result.
|
|
6453
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
6407
6454
|
"type": "object",
|
|
6408
6455
|
"properties": {
|
|
6409
6456
|
"status": {
|
|
@@ -6421,6 +6468,29 @@
|
|
|
6421
6468
|
"passport_id": {
|
|
6422
6469
|
"description": "Generated Passport ID (if pass)",
|
|
6423
6470
|
"type": "string"
|
|
6471
|
+
},
|
|
6472
|
+
"guard_results": {
|
|
6473
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
6474
|
+
"type": "array",
|
|
6475
|
+
"items": {
|
|
6476
|
+
"type": "object",
|
|
6477
|
+
"properties": {
|
|
6478
|
+
"guard": {
|
|
6479
|
+
"type": "string"
|
|
6480
|
+
},
|
|
6481
|
+
"result": {
|
|
6482
|
+
"type": "boolean"
|
|
6483
|
+
},
|
|
6484
|
+
"impack": {
|
|
6485
|
+
"type": "boolean"
|
|
6486
|
+
}
|
|
6487
|
+
},
|
|
6488
|
+
"required": [
|
|
6489
|
+
"guard",
|
|
6490
|
+
"result"
|
|
6491
|
+
],
|
|
6492
|
+
"additionalProperties": false
|
|
6493
|
+
}
|
|
6424
6494
|
}
|
|
6425
6495
|
},
|
|
6426
6496
|
"required": [
|