@wowok/agent-mcp 2.6.3 → 2.6.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/README.md +13 -9
- package/dist/customer/customer-advice.d.ts +31 -0
- package/dist/customer/customer-advice.js +129 -0
- package/dist/customer/index.d.ts +2 -0
- package/dist/customer/index.js +2 -0
- package/dist/customer/info-puzzle.d.ts +8 -1
- package/dist/customer/info-puzzle.js +30 -5
- package/dist/customer/order-monitor.d.ts +2 -0
- package/dist/customer/order-monitor.js +3 -2
- package/dist/customer/post-purchase.d.ts +2 -0
- package/dist/customer/post-purchase.js +6 -5
- package/dist/customer/preorder-compare.d.ts +24 -0
- package/dist/customer/preorder-compare.js +34 -0
- package/dist/customer/reminder-system.d.ts +2 -0
- package/dist/customer/reminder-system.js +2 -1
- package/dist/customer/risk-assessment.js +4 -3
- package/dist/customer/types.d.ts +5 -0
- package/dist/examples/arbitration-dispute-create.json +41 -0
- package/dist/examples/arbitration-vote-weighted.json +35 -0
- package/dist/examples/arbitration-voting-guard-add.json +38 -0
- package/dist/examples/demand-present-service.json +33 -0
- package/dist/examples/gen-passport-verify-guard.json +48 -0
- package/dist/examples/guard-template-balance-check.json +36 -15
- package/dist/examples/guard-template-time-lock.json +33 -12
- package/dist/examples/insurance-guard-claim-timelock.json +75 -0
- package/dist/examples/insurance-guard-withdraw-allocation.json +96 -0
- package/dist/examples/insurance-machine-create-publish.json +75 -0
- package/dist/examples/insurance-service-allocators-publish.json +56 -0
- package/dist/examples/machine-multisig-threshold.json +86 -0
- package/dist/examples/machine-template-7node-rental.json +99 -94
- package/dist/examples/payment-scenario-bound.json +45 -0
- package/dist/examples/rental-ziroom-machine-create.json +126 -114
- package/dist/examples/rental-ziroom-permission-create.json +10 -3
- package/dist/examples/rental-ziroom-service-create.json +27 -18
- package/dist/examples/retail-adv-guard-customer-win-create.json +80 -0
- package/dist/examples/retail-adv-guard-messenger-proof-create.json +65 -0
- package/dist/examples/retail-adv-guard-reward-timeout-create.json +92 -0
- package/dist/examples/retail-adv-reward-guard-add.json +51 -0
- package/dist/examples/retail-myshop-allocation-activate.json +55 -0
- package/dist/examples/retail-myshop-arbitration-create.json +40 -0
- package/dist/examples/retail-myshop-contact-create.json +43 -0
- package/dist/examples/retail-myshop-order-create.json +56 -0
- package/dist/examples/retail-myshop-progress-operate.json +38 -0
- package/dist/examples/retail-myshop-reward-create.json +35 -0
- package/dist/examples/service-discount-issue.json +46 -0
- package/dist/examples/threebody-guard-create.json +56 -0
- package/dist/examples/threebody-machine-create.json +72 -0
- package/dist/examples/threebody-permission-create.json +38 -0
- package/dist/examples/threebody-service-allocators.json +49 -0
- package/dist/examples/travel-guard-time-lock.json +69 -0
- package/dist/examples/travel-guard-weather-oracle.json +70 -0
- package/dist/examples/travel-machine-create.json +136 -0
- package/dist/examples/travel-repository-create.json +47 -0
- package/dist/examples/travel-service-create.json +102 -0
- package/dist/examples/travel-treasury-create.json +34 -0
- package/dist/examples/treasury-deposit.json +37 -0
- package/dist/examples/treasury-withdraw.json +38 -0
- package/dist/extensions/business-modules.d.ts +49 -0
- package/dist/extensions/business-modules.js +287 -0
- package/dist/extensions/capability-manifest.js +192 -5
- package/dist/extensions/constraint-registry.js +3 -1
- package/dist/extensions/modes.js +10 -4
- package/dist/extensions/registry.d.ts +14 -9
- package/dist/extensions/registry.js +69 -14
- package/dist/extensions/types.d.ts +1 -0
- package/dist/knowledge/fund-layer.d.ts +67 -1
- package/dist/knowledge/fund-layer.js +561 -12
- package/dist/knowledge/guard-templates.d.ts +10 -0
- package/dist/knowledge/guard-templates.js +50 -0
- package/dist/knowledge/index.d.ts +2 -2
- package/dist/knowledge/index.js +2 -2
- package/dist/knowledge/machine-risk.js +4 -1
- package/dist/knowledge/progress-context.js +1 -1
- package/dist/knowledge/progress-ledger.js +3 -3
- package/dist/knowledge/progress-templates.js +1 -1
- package/dist/knowledge/progress-translation.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +83 -1
- package/dist/knowledge/safety-rules.js +166 -2
- package/dist/knowledge/scenario-modes.d.ts +1 -1
- package/dist/knowledge/scenario-modes.js +13 -11
- package/dist/knowledge/template-registry.d.ts +48 -0
- package/dist/knowledge/template-registry.js +341 -0
- package/dist/knowledge/tool-constraints.js +6 -6
- package/dist/knowledge/tools-reference.js +11 -8
- package/dist/participation/merchant-interest.d.ts +32 -0
- package/dist/participation/merchant-interest.js +100 -0
- package/dist/participation/radar-core.d.ts +104 -0
- package/dist/participation/radar-core.js +269 -0
- package/dist/project/context-assembly.js +8 -0
- package/dist/project/edit-planner.js +27 -56
- package/dist/project/evaluation.d.ts +36 -0
- package/dist/project/evaluation.js +422 -56
- package/dist/project/game-theory.d.ts +43 -0
- package/dist/project/game-theory.js +177 -0
- package/dist/project/graph-builder.js +1 -0
- package/dist/project/handlers.d.ts +38 -0
- package/dist/project/handlers.js +65 -35
- package/dist/project/intent-analyzer.d.ts +71 -0
- package/dist/project/intent-analyzer.js +149 -0
- package/dist/project/machine-nodes.d.ts +2 -0
- package/dist/project/machine-nodes.js +36 -0
- package/dist/project/merchant-guide.d.ts +165 -0
- package/dist/project/merchant-guide.js +264 -0
- package/dist/project/mode-actions.d.ts +199 -0
- package/dist/project/mode-actions.js +309 -0
- package/dist/project/participation-radar.d.ts +18 -0
- package/dist/project/participation-radar.js +428 -0
- package/dist/project/pipeline-actions.d.ts +101 -0
- package/dist/project/pipeline-actions.js +109 -0
- package/dist/project/semantic-graph.d.ts +95 -0
- package/dist/project/semantic-graph.js +245 -0
- package/dist/schema/call/allocation.d.ts +11 -11
- package/dist/schema/call/allocation.js +11 -1
- package/dist/schema/call/arbitration.d.ts +21 -21
- package/dist/schema/call/arbitration.js +17 -9
- package/dist/schema/call/base.d.ts +2 -2
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +127 -127
- package/dist/schema/call/bridge.js +12 -12
- package/dist/schema/call/contact.d.ts +3 -3
- package/dist/schema/call/demand.d.ts +3 -3
- package/dist/schema/call/guard.d.ts +11 -11
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +216 -21
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +7 -7
- package/dist/schema/call/payment.d.ts +3 -3
- package/dist/schema/call/permission.d.ts +3 -3
- package/dist/schema/call/personal.d.ts +337 -3
- package/dist/schema/call/personal.js +10 -0
- package/dist/schema/call/progress.d.ts +177 -9
- package/dist/schema/call/progress.js +7 -3
- package/dist/schema/call/proof.d.ts +6 -6
- package/dist/schema/call/repository.d.ts +3 -3
- package/dist/schema/call/reward.d.ts +57 -57
- package/dist/schema/call/semantic.js +41 -1
- package/dist/schema/call/service.d.ts +114 -114
- package/dist/schema/call/service.js +11 -2
- package/dist/schema/call/treasury.d.ts +57 -57
- package/dist/schema/messenger/index.js +4 -1
- package/dist/schema/operations.d.ts +713 -291
- package/dist/schema/operations.js +33 -0
- package/dist/schema/project/index.d.ts +4635 -100
- package/dist/schema/project/index.js +868 -1
- package/dist/schema/query/index.d.ts +363 -19
- package/dist/schema/query/index.js +25 -3
- package/dist/schema/schema-query/index.d.ts +13 -7
- package/dist/schema/schema-query/index.js +29 -5
- package/dist/schema/trust/index.d.ts +1012 -6
- package/dist/schema/trust/index.js +212 -11
- package/dist/schema/utils/skills-recommendation.js +1 -0
- package/dist/schema-query/index.d.ts +4 -1
- package/dist/schema-query/index.js +255 -1
- package/dist/schemas/bridge_operation.schema.json +14 -7
- package/dist/schemas/guard2file.schema.json +2 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +2 -0
- package/dist/schemas/messenger_operation.schema.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +143 -15
- package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +7 -5
- package/dist/schemas/onchain_operations_contact.schema.json +1 -0
- package/dist/schemas/onchain_operations_demand.schema.json +1 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -0
- package/dist/schemas/onchain_operations_guard.schema.json +578 -0
- package/dist/schemas/onchain_operations_machine.schema.json +1 -0
- package/dist/schemas/onchain_operations_order.schema.json +4 -3
- package/dist/schemas/onchain_operations_payment.schema.json +1 -0
- package/dist/schemas/onchain_operations_permission.schema.json +1 -0
- package/dist/schemas/onchain_operations_personal.schema.json +37 -0
- package/dist/schemas/onchain_operations_progress.schema.json +90 -3
- package/dist/schemas/onchain_operations_proof.schema.json +1 -0
- package/dist/schemas/onchain_operations_repository.schema.json +1 -0
- package/dist/schemas/onchain_operations_reward.schema.json +1 -0
- package/dist/schemas/onchain_operations_service.schema.json +4 -3
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -0
- package/dist/schemas/project_operation.output.json +2243 -1
- package/dist/schemas/project_operation.schema.json +683 -1
- package/dist/schemas/query_toolkit.output.json +1 -1
- package/dist/schemas/query_toolkit.schema.json +37 -0
- package/dist/schemas/schema_query.output.json +1 -1
- package/dist/schemas/schema_query.schema.json +30 -5
- package/dist/schemas/trust_score.output.json +392 -1
- package/dist/schemas/trust_score.schema.json +275 -1
- package/dist/tools/handlers/onchain.js +73 -8
- package/dist/tools/handlers/project.js +46 -0
- package/dist/tools/handlers/query.js +117 -2
- package/dist/tools/handlers/schema-query.js +41 -0
- package/dist/tools/handlers/trust.js +192 -6
- package/dist/tools/index.js +52 -9
- package/dist/tools/wrap.js +194 -15
- package/package.json +2 -2
package/dist/schemas/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-
|
|
5
|
+
"generatedAt": "2026-08-08T11:43:07.636Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"json",
|
|
23
23
|
"markdown"
|
|
24
24
|
],
|
|
25
|
+
"default": "json",
|
|
25
26
|
"description": "Output format: 'json' (default) or 'markdown'"
|
|
26
27
|
},
|
|
27
28
|
"env": {
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
},
|
|
78
79
|
"schema_strict_mode": {
|
|
79
80
|
"type": "boolean",
|
|
81
|
+
"default": false,
|
|
80
82
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
81
83
|
},
|
|
82
84
|
"dry_run": {
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
"additionalProperties": false
|
|
1424
1424
|
}
|
|
1425
1425
|
],
|
|
1426
|
-
"description": "Messenger operation input schema"
|
|
1426
|
+
"description": "Messenger operation input schema. PREREQUISITE: an account must ENABLE messenger before sending/receiving. There is NO 'enable' operation in this tool — enable via account_operation {messenger: {enabled: true, name_or_account: '<account>'}}, or implicitly via send_message/send_file with options.enable_messenger: true. Use proof_message to anchor a message's WTS proof on-chain (creates a Proof object consumable by Guards via proof.signer/proof.time queries)."
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
@@ -1026,6 +1026,7 @@
|
|
|
1026
1026
|
},
|
|
1027
1027
|
"schema_strict_mode": {
|
|
1028
1028
|
"type": "boolean",
|
|
1029
|
+
"default": false,
|
|
1029
1030
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
1030
1031
|
},
|
|
1031
1032
|
"dry_run": {
|
|
@@ -1189,6 +1190,7 @@
|
|
|
1189
1190
|
},
|
|
1190
1191
|
"schema_strict_mode": {
|
|
1191
1192
|
"type": "boolean",
|
|
1193
|
+
"default": false,
|
|
1192
1194
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
1193
1195
|
},
|
|
1194
1196
|
"dry_run": {
|
|
@@ -1265,6 +1267,7 @@
|
|
|
1265
1267
|
},
|
|
1266
1268
|
"schema_strict_mode": {
|
|
1267
1269
|
"type": "boolean",
|
|
1270
|
+
"default": false,
|
|
1268
1271
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
1269
1272
|
},
|
|
1270
1273
|
"dry_run": {
|
|
@@ -2075,7 +2078,7 @@
|
|
|
2075
2078
|
},
|
|
2076
2079
|
"wip_hash": {
|
|
2077
2080
|
"type": "string",
|
|
2078
|
-
"description": "
|
|
2081
|
+
"description": "SHA-256 hash (hex string) of the sale's WIP file, committed on-chain by the merchant. BUY RULE: if this is NON-EMPTY, the buyer MUST pass this exact value as wip_hash when creating an order (ServiceBuyItem.wip_hash) — NEVER use \"\". Pinning the on-chain hash prevents the merchant from replacing the WIP file (a legitimate update) between the buyer's view and order placement, ensuring 'what you see is what you get'. EMPTY means no hash was committed (TESTING ONLY, no delivery-integrity guarantee)."
|
|
2079
2082
|
}
|
|
2080
2083
|
},
|
|
2081
2084
|
"required": [
|
|
@@ -2223,11 +2226,11 @@
|
|
|
2223
2226
|
},
|
|
2224
2227
|
"rewards": {
|
|
2225
2228
|
"$ref": "#/definitions/data_service/properties/repositories",
|
|
2226
|
-
"description": "Service Reward object list."
|
|
2229
|
+
"description": "Service Reward object list. May share the Service's Permission (no conflict check — intentional: rewards are the provider's own incentive tool; only Arbitration requires a different Permission for neutrality)."
|
|
2227
2230
|
},
|
|
2228
2231
|
"arbitrations": {
|
|
2229
2232
|
"$ref": "#/definitions/data_service/properties/repositories",
|
|
2230
|
-
"description": "Service Arbitration object list. FORMAT: same as repositories — use the `objects` field name inside the operation data. Example: {arbitrations: [{name: 'my_arb_1'}, {name: 'my_arb_2'}]}. Each item is a NameOrAddress (object ID or local mark name)."
|
|
2233
|
+
"description": "Service Arbitration object list. FORMAT: same as repositories — use the `objects` field name inside the operation data. Example: {arbitrations: [{name: 'my_arb_1'}, {name: 'my_arb_2'}]}. Each item is a NameOrAddress (object ID or local mark name). ⚠️ PERMISSION RULE (contract-enforced, service.move arbitration_add_imp): every Arbitration bound here MUST use a Permission object DIFFERENT from THIS Service's permission — binding an Arbitration that shares the Service's Permission aborts with E_ARBITRATION_PERMISSION_CONFLICT (error 33). Create a dedicated Permission for each Arbitration BEFORE binding. DESIGN RATIONALE (confirmed intentional): dispute resolution requires NEUTRALITY — an Arbitration controlled by the same Permission admins as the Service it judges would be a conflict of interest. ONLY Arbitration has this check: Reward and Treasury objects MAY share the Service's Permission (they are the provider's own tools)."
|
|
2231
2234
|
},
|
|
2232
2235
|
"machine": {
|
|
2233
2236
|
"anyOf": [
|
|
@@ -3642,7 +3645,8 @@
|
|
|
3642
3645
|
"unhold",
|
|
3643
3646
|
"adminUnhold"
|
|
3644
3647
|
],
|
|
3645
|
-
"
|
|
3648
|
+
"default": "next",
|
|
3649
|
+
"description": "Operation type on the forward (CANONICAL form — prefer this). DEFAULT: 'next' when omitted. 'next' = advance the forward (accomplish); 'hold' = set hold to block the forward; 'unhold' = self-unhold, release own hold (no 224 permission needed); 'adminUnhold' = force-release hold via 224 permission (PROGRESS_UNHOLD). LEGACY ALIAS: `hold: boolean` is auto-converted to `op` — `hold:true`→`op:'hold'`, `hold:false`→`op:'next'`. New code should use `op` directly."
|
|
3646
3650
|
},
|
|
3647
3651
|
"message": {
|
|
3648
3652
|
"type": "string",
|
|
@@ -3650,11 +3654,96 @@
|
|
|
3650
3654
|
}
|
|
3651
3655
|
},
|
|
3652
3656
|
"required": [
|
|
3653
|
-
"operation"
|
|
3654
|
-
"op"
|
|
3657
|
+
"operation"
|
|
3655
3658
|
],
|
|
3656
3659
|
"additionalProperties": false,
|
|
3657
3660
|
"description": "Advance Progress object. op field selects the operation: next/hold/unhold/adminUnhold."
|
|
3661
|
+
},
|
|
3662
|
+
"owner_receive": {
|
|
3663
|
+
"anyOf": [
|
|
3664
|
+
{
|
|
3665
|
+
"type": "array",
|
|
3666
|
+
"items": {
|
|
3667
|
+
"type": "object",
|
|
3668
|
+
"properties": {
|
|
3669
|
+
"id": {
|
|
3670
|
+
"type": "string",
|
|
3671
|
+
"minLength": 1,
|
|
3672
|
+
"description": "Received object ID"
|
|
3673
|
+
},
|
|
3674
|
+
"type": {
|
|
3675
|
+
"type": "string",
|
|
3676
|
+
"minLength": 1,
|
|
3677
|
+
"description": "Object type"
|
|
3678
|
+
},
|
|
3679
|
+
"content_raw": {
|
|
3680
|
+
"description": "Raw content data"
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
"required": [
|
|
3684
|
+
"id",
|
|
3685
|
+
"type"
|
|
3686
|
+
],
|
|
3687
|
+
"additionalProperties": false,
|
|
3688
|
+
"description": "Received normal object record"
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
{
|
|
3692
|
+
"type": "object",
|
|
3693
|
+
"properties": {
|
|
3694
|
+
"balance": {
|
|
3695
|
+
"type": [
|
|
3696
|
+
"number",
|
|
3697
|
+
"string"
|
|
3698
|
+
],
|
|
3699
|
+
"description": "A coin/balance amount. Accepts three formats: (1) DISPLAY FORMAT with token symbol: \"2.5WOW\", \"10USDC\", \"0.05SUI\" — auto-converted to smallest units via the Fund Processing Layer (token precision resolved from official registry → cache → on-chain). The symbol MUST match the token's type_parameter. (2) SMALLEST UNIT (numeric string): \"10000000000\" — used as-is, no conversion. (3) SMALLEST UNIT (number): 10000000000 — used as-is (loses precision above 2^53). PRECISION RULE: for values exceeding 2^53, ALWAYS use format (1) or (2) — JS numbers lose precision. Default token: WOW (9 decimals, 1 WOW = 10^9 MIST). For custom tokens: use display format with the token's symbol, or pass smallest units directly. MONEY CONFIRMATION: all monetary fields trigger user confirmation via the Fund Processing Layer. If multiple tokens share a symbol (ambiguity), specify the full type string in type_parameter. Examples: \"2.5WOW\" (display → 2500000000), 10000000000 (number, smallest unit), \"50000000000\" (string, smallest unit). Used for: Service.sale.price, Service.compensation_fund_add balance, Treasury.deposit, Arbitration.fee, Reward.amount, stock quantities."
|
|
3700
|
+
},
|
|
3701
|
+
"token_type": {
|
|
3702
|
+
"type": "string",
|
|
3703
|
+
"description": "Asset type of Coin objects. Supports CoinWrapper<...> format for order receive operations."
|
|
3704
|
+
},
|
|
3705
|
+
"received": {
|
|
3706
|
+
"type": "array",
|
|
3707
|
+
"items": {
|
|
3708
|
+
"type": "object",
|
|
3709
|
+
"properties": {
|
|
3710
|
+
"id": {
|
|
3711
|
+
"type": "string",
|
|
3712
|
+
"description": "Received CoinWrapper object ID"
|
|
3713
|
+
},
|
|
3714
|
+
"balance": {
|
|
3715
|
+
"$ref": "#/definitions/data_progress/properties/owner_receive/anyOf/1/properties/balance"
|
|
3716
|
+
},
|
|
3717
|
+
"payment": {
|
|
3718
|
+
"type": "string",
|
|
3719
|
+
"description": "Payment object ID"
|
|
3720
|
+
}
|
|
3721
|
+
},
|
|
3722
|
+
"required": [
|
|
3723
|
+
"id",
|
|
3724
|
+
"balance",
|
|
3725
|
+
"payment"
|
|
3726
|
+
],
|
|
3727
|
+
"additionalProperties": false,
|
|
3728
|
+
"description": "Received CoinWrapper object record"
|
|
3729
|
+
},
|
|
3730
|
+
"description": "Received records of Coin objects"
|
|
3731
|
+
}
|
|
3732
|
+
},
|
|
3733
|
+
"required": [
|
|
3734
|
+
"balance",
|
|
3735
|
+
"token_type",
|
|
3736
|
+
"received"
|
|
3737
|
+
],
|
|
3738
|
+
"additionalProperties": false,
|
|
3739
|
+
"description": "Received record of Coin objects"
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"type": "string",
|
|
3743
|
+
"const": "recently"
|
|
3744
|
+
}
|
|
3745
|
+
],
|
|
3746
|
+
"description": "Unwrap CoinWrapper objects and other objects received by this Progress object and send them to the owner of the bound Machine's Permission object.\n\nACCEPTED FORMATS (F-06 unified receive operation block):\n• 'recently' (string literal) — auto-query and receive ALL recently received objects.\n Use this for the common case: \"withdraw everything the object has received.\"\n Example: receive: 'recently'\n• ReceivedNormal[] (array) — explicit list of received objects to unwrap.\n Use this when you want to receive specific objects only (not all).\n Example: receive: [{id: '0xobj1', type: '0x2::coin::Coin<0x2::sui::SUI>'}]\n• ReceivedBalance ({token_type, balance, received: [{id, balance, payment}]}) —\n receive a balance record from a specific Payment/payer.\n Use this for precise balance targeting (advanced — usually after querying\n the object's received history via query_received).\n Example: receive: {token_type: '0x2::sui::SUI', balance: 1000000, received: [{id: '0xrec1', balance: 1000000, payment: '0xpay1'}]}\nANTI-PATTERN: do NOT wrap in {result: ...} — pass the value directly."
|
|
3658
3747
|
}
|
|
3659
3748
|
},
|
|
3660
3749
|
"required": [
|
|
@@ -4854,7 +4943,7 @@
|
|
|
4854
4943
|
"type": "null"
|
|
4855
4944
|
}
|
|
4856
4945
|
],
|
|
4857
|
-
"description": "Voting deadline as Unix timestamp in MILLISECONDS (ms).
|
|
4946
|
+
"description": "Voting deadline as Unix timestamp in MILLISECONDS (ms). SEMANTICS OF SPECIAL VALUES: 0 = deadline already passed → voting is IMPOSSIBLE and the arbitrator may deliver the verdict immediately (direct-verdict flow); null = open-ended voting with no deadline (verdict allowed anytime); a future timestamp = normal voting window (recommended: now + at least 86400000 ms = 24 hours). COMMON MISTAKE: using seconds instead of milliseconds (multiply by 1000). Example: Date.now() + 259200000 for 3 days from now."
|
|
4858
4947
|
}
|
|
4859
4948
|
},
|
|
4860
4949
|
"required": [
|
|
@@ -4875,7 +4964,7 @@
|
|
|
4875
4964
|
"number",
|
|
4876
4965
|
"null"
|
|
4877
4966
|
],
|
|
4878
|
-
"description": "New voting deadline as Unix timestamp in MILLISECONDS (ms).
|
|
4967
|
+
"description": "New voting deadline as Unix timestamp in MILLISECONDS (ms). SEMANTICS OF SPECIAL VALUES: 0 = deadline already passed → voting is IMPOSSIBLE and the arbitrator may deliver the verdict immediately; null = open-ended voting with no deadline (verdict allowed anytime); a future timestamp = normal voting window (recommended: now + at least 86400000 ms = 24 hours). COMMON MISTAKE: using seconds instead of milliseconds (multiply by 1000). Example: Date.now() + 259200000 for 3 days from now."
|
|
4879
4968
|
}
|
|
4880
4969
|
},
|
|
4881
4970
|
"required": [
|
|
@@ -4897,11 +4986,12 @@
|
|
|
4897
4986
|
"type": "integer",
|
|
4898
4987
|
"minimum": 0,
|
|
4899
4988
|
"maximum": 255
|
|
4900
|
-
}
|
|
4989
|
+
},
|
|
4990
|
+
"description": "Proposition INDICES (0-based, u8) the voter agrees with — e.g. [0] votes for the first proposition. Re-voting REPLACES the voter's previous vote (old weight removed, new applied). Out-of-range index aborts with E_PROPOSITION_NOT_FOUND."
|
|
4901
4991
|
},
|
|
4902
4992
|
"voting_guard": {
|
|
4903
4993
|
"$ref": "#/definitions/data_arbitration/properties/confirm/properties/arb",
|
|
4904
|
-
"description": "
|
|
4994
|
+
"description": "Optional Voting Guard for weighted voting. THREE PATHS are supported by the SDK and Move contract: (1) voting_guard PROVIDED → vote_with_voting_guard (Guard verifies voter + determines vote weight via VoteWeight config); (2) voting_guard OMITTED but other guards trigger passport creation (e.g. env.permission_guard or usage_guard) → vote_with_passport (permission-only via passport); (3) voting_guard OMITTED and no passport context → vote (plain permission-only vote, no Guard). The Guard (when provided) must be in the Arbitration's voting_guard list."
|
|
4905
4995
|
}
|
|
4906
4996
|
},
|
|
4907
4997
|
"required": [
|
|
@@ -5258,7 +5348,7 @@
|
|
|
5258
5348
|
"object"
|
|
5259
5349
|
],
|
|
5260
5350
|
"additionalProperties": false,
|
|
5261
|
-
"description": "On-chain Arbitration operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create an Arbitration. NOTE:'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation."
|
|
5351
|
+
"description": "On-chain Arbitration operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create an Arbitration. NOTE:'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. ⚠️ PERMISSION RULE (contract-enforced, service.move arbitration_add_imp): the Arbitration's permission MUST be DIFFERENT from the permission of any Service it will be bound to — binding an Arbitration that SHARES the Service's Permission aborts with E_ARBITRATION_PERMISSION_CONFLICT (error 33). Always create a DEDICATED Permission object for each Arbitration. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation."
|
|
5262
5352
|
},
|
|
5263
5353
|
"data_contact": {
|
|
5264
5354
|
"type": "object",
|
|
@@ -6839,7 +6929,7 @@
|
|
|
6839
6929
|
},
|
|
6840
6930
|
"alloc_by_guard": {
|
|
6841
6931
|
"$ref": "#/definitions/data_allocation/anyOf/0/properties/allocators/properties/allocators/items/properties/sharing/items/properties/who/anyOf/1/properties/Entity/properties/name_or_address",
|
|
6842
|
-
"description": "Verify the specified Guard and execute the corresponding fund allocation"
|
|
6932
|
+
"description": "Verify the specified Guard and execute the corresponding fund allocation. POST-ALLOCATION CLAIM (required step): each recipient receives a CoinWrapper object (NOT spendable coins). Recipient address resolution (allocation.move): Entity recipients receive it at the Entity's address; Signer recipients receive it at the transaction sender's address; GuardIdentifier n recipients receive it at the ADDRESS SUBMITTED for identifier n in this call's submission (resolved via passport::submission_get) — conventionally the Order OBJECT address (escrow pattern), in which case the order owner claims it via operation_type='order' {object:'<order_id>', receive:'recently'}. Claim paths by holder: EOA wallet → operation_type='payment' RECEIVE mode {object:'<coinwrapper_id>', receive:true, type_parameter:'0x2::wow::WOW'}; Order object → order receive; Treasury object → treasury receive. Find pending CoinWrappers via query_toolkit query_type='onchain_received'. Verify the distribution via the immutable Payment object created by this call (allocation.payment array)."
|
|
6843
6933
|
}
|
|
6844
6934
|
},
|
|
6845
6935
|
"required": [
|
|
@@ -8595,6 +8685,42 @@
|
|
|
8595
8685
|
"additionalProperties": false,
|
|
8596
8686
|
"description": "PUBLIC: Clear ALL tags from specified on-chain identity marks."
|
|
8597
8687
|
},
|
|
8688
|
+
{
|
|
8689
|
+
"type": "object",
|
|
8690
|
+
"properties": {
|
|
8691
|
+
"op": {
|
|
8692
|
+
"type": "string",
|
|
8693
|
+
"const": "like"
|
|
8694
|
+
},
|
|
8695
|
+
"address": {
|
|
8696
|
+
"$ref": "#/definitions/data_personal/properties/mark/anyOf/0/properties/data/items/properties/address"
|
|
8697
|
+
}
|
|
8698
|
+
},
|
|
8699
|
+
"required": [
|
|
8700
|
+
"op",
|
|
8701
|
+
"address"
|
|
8702
|
+
],
|
|
8703
|
+
"additionalProperties": false,
|
|
8704
|
+
"description": "PUBLIC REPUTATION VOTE: Like an address (0x...) or LocalMark name. Goes through registrar::like — toggles off if already liked, auto-flips an existing dislike, and increments the target's PUBLIC aggregate like count (queryable via query personal / Guard entity_voted_record). Do NOT emulate with mark.add tags:['like'] — manual tags stay private in your Resource and never affect the aggregate count."
|
|
8705
|
+
},
|
|
8706
|
+
{
|
|
8707
|
+
"type": "object",
|
|
8708
|
+
"properties": {
|
|
8709
|
+
"op": {
|
|
8710
|
+
"type": "string",
|
|
8711
|
+
"const": "dislike"
|
|
8712
|
+
},
|
|
8713
|
+
"address": {
|
|
8714
|
+
"$ref": "#/definitions/data_personal/properties/mark/anyOf/0/properties/data/items/properties/address"
|
|
8715
|
+
}
|
|
8716
|
+
},
|
|
8717
|
+
"required": [
|
|
8718
|
+
"op",
|
|
8719
|
+
"address"
|
|
8720
|
+
],
|
|
8721
|
+
"additionalProperties": false,
|
|
8722
|
+
"description": "PUBLIC REPUTATION VOTE: Dislike an address (0x...) or LocalMark name. Goes through registrar::dislike — toggles off if already disliked, auto-flips an existing like, and increments the target's PUBLIC aggregate dislike count. Same manual-tag caveat as 'like'."
|
|
8723
|
+
},
|
|
8598
8724
|
{
|
|
8599
8725
|
"type": "object",
|
|
8600
8726
|
"properties": {
|
|
@@ -9317,7 +9443,8 @@
|
|
|
9317
9443
|
"unhold",
|
|
9318
9444
|
"adminUnhold"
|
|
9319
9445
|
],
|
|
9320
|
-
"
|
|
9446
|
+
"default": "next",
|
|
9447
|
+
"description": "Operation type on the forward (CANONICAL form — prefer this). DEFAULT: 'next' when omitted. 'next' = advance the forward (accomplish); 'hold' = set hold to block the forward; 'unhold' = self-unhold, release own hold (no 224 permission needed); 'adminUnhold' = force-release hold via 224 permission (PROGRESS_UNHOLD). LEGACY ALIAS: `hold: boolean` is auto-converted to `op` — `hold:true`→`op:'hold'`, `hold:false`→`op:'next'`. New code should use `op` directly."
|
|
9321
9448
|
},
|
|
9322
9449
|
"message": {
|
|
9323
9450
|
"type": "string",
|
|
@@ -9325,8 +9452,7 @@
|
|
|
9325
9452
|
}
|
|
9326
9453
|
},
|
|
9327
9454
|
"required": [
|
|
9328
|
-
"operation"
|
|
9329
|
-
"op"
|
|
9455
|
+
"operation"
|
|
9330
9456
|
],
|
|
9331
9457
|
"additionalProperties": false,
|
|
9332
9458
|
"description": "Advance order process"
|
|
@@ -10073,6 +10199,7 @@
|
|
|
10073
10199
|
},
|
|
10074
10200
|
"schema_strict_mode": {
|
|
10075
10201
|
"type": "boolean",
|
|
10202
|
+
"default": false,
|
|
10076
10203
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
10077
10204
|
},
|
|
10078
10205
|
"dry_run": {
|
|
@@ -10304,6 +10431,7 @@
|
|
|
10304
10431
|
},
|
|
10305
10432
|
"schema_strict_mode": {
|
|
10306
10433
|
"type": "boolean",
|
|
10434
|
+
"default": false,
|
|
10307
10435
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
10308
10436
|
},
|
|
10309
10437
|
"dry_run": {
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
},
|
|
362
362
|
"alloc_by_guard": {
|
|
363
363
|
"$ref": "#/definitions/data/anyOf/0/properties/allocators/properties/allocators/items/properties/sharing/items/properties/who/anyOf/1/properties/Entity/properties/name_or_address",
|
|
364
|
-
"description": "Verify the specified Guard and execute the corresponding fund allocation"
|
|
364
|
+
"description": "Verify the specified Guard and execute the corresponding fund allocation. POST-ALLOCATION CLAIM (required step): each recipient receives a CoinWrapper object (NOT spendable coins). Recipient address resolution (allocation.move): Entity recipients receive it at the Entity's address; Signer recipients receive it at the transaction sender's address; GuardIdentifier n recipients receive it at the ADDRESS SUBMITTED for identifier n in this call's submission (resolved via passport::submission_get) — conventionally the Order OBJECT address (escrow pattern), in which case the order owner claims it via operation_type='order' {object:'<order_id>', receive:'recently'}. Claim paths by holder: EOA wallet → operation_type='payment' RECEIVE mode {object:'<coinwrapper_id>', receive:true, type_parameter:'0x2::wow::WOW'}; Order object → order receive; Treasury object → treasury receive. Find pending CoinWrappers via query_toolkit query_type='onchain_received'. Verify the distribution via the immutable Payment object created by this call (allocation.payment array)."
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
367
|
"required": [
|
|
@@ -426,6 +426,7 @@
|
|
|
426
426
|
},
|
|
427
427
|
"schema_strict_mode": {
|
|
428
428
|
"type": "boolean",
|
|
429
|
+
"default": false,
|
|
429
430
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
430
431
|
},
|
|
431
432
|
"dry_run": {
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"type": "null"
|
|
216
216
|
}
|
|
217
217
|
],
|
|
218
|
-
"description": "Voting deadline as Unix timestamp in MILLISECONDS (ms).
|
|
218
|
+
"description": "Voting deadline as Unix timestamp in MILLISECONDS (ms). SEMANTICS OF SPECIAL VALUES: 0 = deadline already passed → voting is IMPOSSIBLE and the arbitrator may deliver the verdict immediately (direct-verdict flow); null = open-ended voting with no deadline (verdict allowed anytime); a future timestamp = normal voting window (recommended: now + at least 86400000 ms = 24 hours). COMMON MISTAKE: using seconds instead of milliseconds (multiply by 1000). Example: Date.now() + 259200000 for 3 days from now."
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
221
|
"required": [
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"number",
|
|
237
237
|
"null"
|
|
238
238
|
],
|
|
239
|
-
"description": "New voting deadline as Unix timestamp in MILLISECONDS (ms).
|
|
239
|
+
"description": "New voting deadline as Unix timestamp in MILLISECONDS (ms). SEMANTICS OF SPECIAL VALUES: 0 = deadline already passed → voting is IMPOSSIBLE and the arbitrator may deliver the verdict immediately; null = open-ended voting with no deadline (verdict allowed anytime); a future timestamp = normal voting window (recommended: now + at least 86400000 ms = 24 hours). COMMON MISTAKE: using seconds instead of milliseconds (multiply by 1000). Example: Date.now() + 259200000 for 3 days from now."
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
"required": [
|
|
@@ -258,11 +258,12 @@
|
|
|
258
258
|
"type": "integer",
|
|
259
259
|
"minimum": 0,
|
|
260
260
|
"maximum": 255
|
|
261
|
-
}
|
|
261
|
+
},
|
|
262
|
+
"description": "Proposition INDICES (0-based, u8) the voter agrees with — e.g. [0] votes for the first proposition. Re-voting REPLACES the voter's previous vote (old weight removed, new applied). Out-of-range index aborts with E_PROPOSITION_NOT_FOUND."
|
|
262
263
|
},
|
|
263
264
|
"voting_guard": {
|
|
264
265
|
"$ref": "#/definitions/data/properties/confirm/properties/arb",
|
|
265
|
-
"description": "
|
|
266
|
+
"description": "Optional Voting Guard for weighted voting. THREE PATHS are supported by the SDK and Move contract: (1) voting_guard PROVIDED → vote_with_voting_guard (Guard verifies voter + determines vote weight via VoteWeight config); (2) voting_guard OMITTED but other guards trigger passport creation (e.g. env.permission_guard or usage_guard) → vote_with_passport (permission-only via passport); (3) voting_guard OMITTED and no passport context → vote (plain permission-only vote, no Guard). The Guard (when provided) must be in the Arbitration's voting_guard list."
|
|
266
267
|
}
|
|
267
268
|
},
|
|
268
269
|
"required": [
|
|
@@ -619,7 +620,7 @@
|
|
|
619
620
|
"object"
|
|
620
621
|
],
|
|
621
622
|
"additionalProperties": false,
|
|
622
|
-
"description": "On-chain Arbitration operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create an Arbitration. NOTE:'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation."
|
|
623
|
+
"description": "On-chain Arbitration operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create an Arbitration. NOTE:'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. ⚠️ PERMISSION RULE (contract-enforced, service.move arbitration_add_imp): the Arbitration's permission MUST be DIFFERENT from the permission of any Service it will be bound to — binding an Arbitration that SHARES the Service's Permission aborts with E_ARBITRATION_PERMISSION_CONFLICT (error 33). Always create a DEDICATED Permission object for each Arbitration. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation."
|
|
623
624
|
},
|
|
624
625
|
"env": {
|
|
625
626
|
"type": "object",
|
|
@@ -674,6 +675,7 @@
|
|
|
674
675
|
},
|
|
675
676
|
"schema_strict_mode": {
|
|
676
677
|
"type": "boolean",
|
|
678
|
+
"default": false,
|
|
677
679
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
678
680
|
},
|
|
679
681
|
"dry_run": {
|
|
@@ -587,6 +587,7 @@
|
|
|
587
587
|
},
|
|
588
588
|
"schema_strict_mode": {
|
|
589
589
|
"type": "boolean",
|
|
590
|
+
"default": false,
|
|
590
591
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
591
592
|
},
|
|
592
593
|
"dry_run": {
|
|
@@ -1186,6 +1187,7 @@
|
|
|
1186
1187
|
},
|
|
1187
1188
|
"schema_strict_mode": {
|
|
1188
1189
|
"type": "boolean",
|
|
1190
|
+
"default": false,
|
|
1189
1191
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
1190
1192
|
},
|
|
1191
1193
|
"dry_run": {
|
|
@@ -120,6 +120,7 @@
|
|
|
120
120
|
},
|
|
121
121
|
"schema_strict_mode": {
|
|
122
122
|
"type": "boolean",
|
|
123
|
+
"default": false,
|
|
123
124
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
124
125
|
},
|
|
125
126
|
"dry_run": {
|
|
@@ -256,6 +257,7 @@
|
|
|
256
257
|
},
|
|
257
258
|
"schema_strict_mode": {
|
|
258
259
|
"type": "boolean",
|
|
260
|
+
"default": false,
|
|
259
261
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
260
262
|
},
|
|
261
263
|
"dry_run": {
|