@wowok/agent-mcp 2.6.3 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/dist/customer/customer-advice.d.ts +31 -0
  2. package/dist/customer/customer-advice.js +129 -0
  3. package/dist/customer/index.d.ts +2 -0
  4. package/dist/customer/index.js +2 -0
  5. package/dist/customer/info-puzzle.d.ts +8 -1
  6. package/dist/customer/info-puzzle.js +30 -5
  7. package/dist/customer/order-monitor.d.ts +2 -0
  8. package/dist/customer/order-monitor.js +3 -2
  9. package/dist/customer/post-purchase.d.ts +2 -0
  10. package/dist/customer/post-purchase.js +6 -5
  11. package/dist/customer/preorder-compare.d.ts +24 -0
  12. package/dist/customer/preorder-compare.js +34 -0
  13. package/dist/customer/reminder-system.d.ts +2 -0
  14. package/dist/customer/reminder-system.js +2 -1
  15. package/dist/customer/risk-assessment.js +4 -3
  16. package/dist/customer/types.d.ts +5 -0
  17. package/dist/examples/arbitration-dispute-create.json +41 -0
  18. package/dist/examples/arbitration-vote-weighted.json +35 -0
  19. package/dist/examples/arbitration-voting-guard-add.json +38 -0
  20. package/dist/examples/demand-present-service.json +33 -0
  21. package/dist/examples/gen-passport-verify-guard.json +48 -0
  22. package/dist/examples/guard-template-balance-check.json +36 -15
  23. package/dist/examples/guard-template-time-lock.json +33 -12
  24. package/dist/examples/insurance-guard-claim-timelock.json +75 -0
  25. package/dist/examples/insurance-guard-withdraw-allocation.json +96 -0
  26. package/dist/examples/insurance-machine-create-publish.json +75 -0
  27. package/dist/examples/insurance-service-allocators-publish.json +56 -0
  28. package/dist/examples/machine-multisig-threshold.json +86 -0
  29. package/dist/examples/machine-template-7node-rental.json +99 -94
  30. package/dist/examples/payment-scenario-bound.json +45 -0
  31. package/dist/examples/rental-ziroom-machine-create.json +126 -114
  32. package/dist/examples/rental-ziroom-permission-create.json +10 -3
  33. package/dist/examples/rental-ziroom-service-create.json +27 -18
  34. package/dist/examples/retail-adv-guard-customer-win-create.json +80 -0
  35. package/dist/examples/retail-adv-guard-messenger-proof-create.json +65 -0
  36. package/dist/examples/retail-adv-guard-reward-timeout-create.json +92 -0
  37. package/dist/examples/retail-adv-reward-guard-add.json +51 -0
  38. package/dist/examples/retail-myshop-allocation-activate.json +55 -0
  39. package/dist/examples/retail-myshop-arbitration-create.json +40 -0
  40. package/dist/examples/retail-myshop-contact-create.json +43 -0
  41. package/dist/examples/retail-myshop-order-create.json +56 -0
  42. package/dist/examples/retail-myshop-progress-operate.json +38 -0
  43. package/dist/examples/retail-myshop-reward-create.json +35 -0
  44. package/dist/examples/service-discount-issue.json +46 -0
  45. package/dist/examples/threebody-guard-create.json +56 -0
  46. package/dist/examples/threebody-machine-create.json +72 -0
  47. package/dist/examples/threebody-permission-create.json +38 -0
  48. package/dist/examples/threebody-service-allocators.json +49 -0
  49. package/dist/examples/travel-guard-time-lock.json +69 -0
  50. package/dist/examples/travel-guard-weather-oracle.json +70 -0
  51. package/dist/examples/travel-machine-create.json +136 -0
  52. package/dist/examples/travel-repository-create.json +47 -0
  53. package/dist/examples/travel-service-create.json +102 -0
  54. package/dist/examples/travel-treasury-create.json +34 -0
  55. package/dist/examples/treasury-deposit.json +37 -0
  56. package/dist/examples/treasury-withdraw.json +38 -0
  57. package/dist/extensions/business-modules.d.ts +49 -0
  58. package/dist/extensions/business-modules.js +287 -0
  59. package/dist/extensions/capability-manifest.js +192 -5
  60. package/dist/extensions/constraint-registry.js +3 -1
  61. package/dist/extensions/modes.js +10 -4
  62. package/dist/extensions/registry.d.ts +14 -9
  63. package/dist/extensions/registry.js +69 -14
  64. package/dist/extensions/types.d.ts +1 -0
  65. package/dist/knowledge/fund-layer.d.ts +67 -1
  66. package/dist/knowledge/fund-layer.js +561 -12
  67. package/dist/knowledge/guard-templates.d.ts +10 -0
  68. package/dist/knowledge/guard-templates.js +50 -0
  69. package/dist/knowledge/index.d.ts +2 -2
  70. package/dist/knowledge/index.js +2 -2
  71. package/dist/knowledge/machine-risk.js +4 -1
  72. package/dist/knowledge/progress-context.js +1 -1
  73. package/dist/knowledge/progress-ledger.js +3 -3
  74. package/dist/knowledge/progress-templates.js +1 -1
  75. package/dist/knowledge/progress-translation.js +1 -1
  76. package/dist/knowledge/safety-rules.d.ts +83 -1
  77. package/dist/knowledge/safety-rules.js +166 -2
  78. package/dist/knowledge/scenario-modes.d.ts +1 -1
  79. package/dist/knowledge/scenario-modes.js +13 -11
  80. package/dist/knowledge/template-registry.d.ts +48 -0
  81. package/dist/knowledge/template-registry.js +341 -0
  82. package/dist/knowledge/tool-constraints.js +6 -6
  83. package/dist/knowledge/tools-reference.js +11 -8
  84. package/dist/participation/merchant-interest.d.ts +32 -0
  85. package/dist/participation/merchant-interest.js +100 -0
  86. package/dist/participation/radar-core.d.ts +104 -0
  87. package/dist/participation/radar-core.js +269 -0
  88. package/dist/project/context-assembly.js +8 -0
  89. package/dist/project/edit-planner.js +27 -56
  90. package/dist/project/evaluation.d.ts +36 -0
  91. package/dist/project/evaluation.js +422 -56
  92. package/dist/project/game-theory.d.ts +43 -0
  93. package/dist/project/game-theory.js +177 -0
  94. package/dist/project/graph-builder.js +1 -0
  95. package/dist/project/handlers.d.ts +38 -0
  96. package/dist/project/handlers.js +65 -35
  97. package/dist/project/intent-analyzer.d.ts +71 -0
  98. package/dist/project/intent-analyzer.js +149 -0
  99. package/dist/project/machine-nodes.d.ts +2 -0
  100. package/dist/project/machine-nodes.js +36 -0
  101. package/dist/project/merchant-guide.d.ts +165 -0
  102. package/dist/project/merchant-guide.js +264 -0
  103. package/dist/project/mode-actions.d.ts +199 -0
  104. package/dist/project/mode-actions.js +309 -0
  105. package/dist/project/participation-radar.d.ts +18 -0
  106. package/dist/project/participation-radar.js +428 -0
  107. package/dist/project/pipeline-actions.d.ts +101 -0
  108. package/dist/project/pipeline-actions.js +109 -0
  109. package/dist/project/semantic-graph.d.ts +95 -0
  110. package/dist/project/semantic-graph.js +245 -0
  111. package/dist/schema/call/allocation.d.ts +11 -11
  112. package/dist/schema/call/allocation.js +11 -1
  113. package/dist/schema/call/arbitration.d.ts +21 -21
  114. package/dist/schema/call/arbitration.js +17 -9
  115. package/dist/schema/call/base.d.ts +2 -2
  116. package/dist/schema/call/base.js +1 -1
  117. package/dist/schema/call/bridge.d.ts +127 -127
  118. package/dist/schema/call/bridge.js +12 -12
  119. package/dist/schema/call/contact.d.ts +3 -3
  120. package/dist/schema/call/demand.d.ts +3 -3
  121. package/dist/schema/call/guard.d.ts +11 -11
  122. package/dist/schema/call/guard.js +1 -1
  123. package/dist/schema/call/machine.d.ts +216 -21
  124. package/dist/schema/call/machine.js +1 -1
  125. package/dist/schema/call/order.d.ts +7 -7
  126. package/dist/schema/call/payment.d.ts +3 -3
  127. package/dist/schema/call/permission.d.ts +3 -3
  128. package/dist/schema/call/personal.d.ts +337 -3
  129. package/dist/schema/call/personal.js +10 -0
  130. package/dist/schema/call/progress.d.ts +177 -9
  131. package/dist/schema/call/progress.js +7 -3
  132. package/dist/schema/call/proof.d.ts +6 -6
  133. package/dist/schema/call/repository.d.ts +3 -3
  134. package/dist/schema/call/reward.d.ts +57 -57
  135. package/dist/schema/call/semantic.js +41 -1
  136. package/dist/schema/call/service.d.ts +114 -114
  137. package/dist/schema/call/service.js +11 -2
  138. package/dist/schema/call/treasury.d.ts +57 -57
  139. package/dist/schema/messenger/index.js +4 -1
  140. package/dist/schema/operations.d.ts +713 -291
  141. package/dist/schema/operations.js +33 -0
  142. package/dist/schema/project/index.d.ts +4635 -100
  143. package/dist/schema/project/index.js +868 -1
  144. package/dist/schema/query/index.d.ts +363 -19
  145. package/dist/schema/query/index.js +25 -3
  146. package/dist/schema/schema-query/index.d.ts +13 -7
  147. package/dist/schema/schema-query/index.js +29 -5
  148. package/dist/schema/trust/index.d.ts +1012 -6
  149. package/dist/schema/trust/index.js +212 -11
  150. package/dist/schema/utils/skills-recommendation.js +1 -0
  151. package/dist/schema-query/index.d.ts +4 -1
  152. package/dist/schema-query/index.js +255 -1
  153. package/dist/schemas/bridge_operation.schema.json +14 -7
  154. package/dist/schemas/guard2file.schema.json +2 -0
  155. package/dist/schemas/index.json +1 -1
  156. package/dist/schemas/machineNode2file.schema.json +2 -0
  157. package/dist/schemas/messenger_operation.schema.json +1 -1
  158. package/dist/schemas/onchain_operations.schema.json +143 -15
  159. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  160. package/dist/schemas/onchain_operations_arbitration.schema.json +7 -5
  161. package/dist/schemas/onchain_operations_contact.schema.json +1 -0
  162. package/dist/schemas/onchain_operations_demand.schema.json +1 -0
  163. package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -0
  164. package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -0
  165. package/dist/schemas/onchain_operations_guard.schema.json +578 -0
  166. package/dist/schemas/onchain_operations_machine.schema.json +1 -0
  167. package/dist/schemas/onchain_operations_order.schema.json +4 -3
  168. package/dist/schemas/onchain_operations_payment.schema.json +1 -0
  169. package/dist/schemas/onchain_operations_permission.schema.json +1 -0
  170. package/dist/schemas/onchain_operations_personal.schema.json +37 -0
  171. package/dist/schemas/onchain_operations_progress.schema.json +90 -3
  172. package/dist/schemas/onchain_operations_proof.schema.json +1 -0
  173. package/dist/schemas/onchain_operations_repository.schema.json +1 -0
  174. package/dist/schemas/onchain_operations_reward.schema.json +1 -0
  175. package/dist/schemas/onchain_operations_service.schema.json +4 -3
  176. package/dist/schemas/onchain_operations_treasury.schema.json +1 -0
  177. package/dist/schemas/project_operation.output.json +2243 -1
  178. package/dist/schemas/project_operation.schema.json +683 -1
  179. package/dist/schemas/query_toolkit.output.json +1 -1
  180. package/dist/schemas/query_toolkit.schema.json +37 -0
  181. package/dist/schemas/schema_query.output.json +1 -1
  182. package/dist/schemas/schema_query.schema.json +30 -5
  183. package/dist/schemas/trust_score.output.json +392 -1
  184. package/dist/schemas/trust_score.schema.json +275 -1
  185. package/dist/tools/handlers/onchain.js +73 -8
  186. package/dist/tools/handlers/project.js +46 -0
  187. package/dist/tools/handlers/query.js +117 -2
  188. package/dist/tools/handlers/schema-query.js +41 -0
  189. package/dist/tools/handlers/trust.js +192 -6
  190. package/dist/tools/index.js +52 -9
  191. package/dist/tools/wrap.js +194 -15
  192. package/package.json +2 -2
@@ -1388,6 +1388,15 @@ export declare const CallService_DataSchema: z.ZodObject<{
1388
1388
  fix?: string | number | undefined;
1389
1389
  }[];
1390
1390
  } | null | undefined;
1391
+ arbitrations?: {
1392
+ op: "set" | "add";
1393
+ objects: string[];
1394
+ } | {
1395
+ op: "remove";
1396
+ objects: string[];
1397
+ } | {
1398
+ op: "clear";
1399
+ } | undefined;
1391
1400
  sales?: {
1392
1401
  op: "add";
1393
1402
  sales: {
@@ -1440,16 +1449,21 @@ export declare const CallService_DataSchema: z.ZodObject<{
1440
1449
  } | {
1441
1450
  op: "clear";
1442
1451
  } | undefined;
1443
- arbitrations?: {
1444
- op: "set" | "add";
1445
- objects: string[];
1446
- } | {
1447
- op: "remove";
1448
- objects: string[];
1452
+ pause?: boolean | undefined;
1453
+ compensation_fund_receive?: {
1454
+ received: {
1455
+ id: string;
1456
+ balance: string | number;
1457
+ payment: string;
1458
+ }[];
1459
+ balance: string | number;
1460
+ token_type: string;
1461
+ } | "recently" | undefined;
1462
+ compensation_fund_add?: {
1463
+ balance: string | number;
1449
1464
  } | {
1450
- op: "clear";
1465
+ coin: string;
1451
1466
  } | undefined;
1452
- pause?: boolean | undefined;
1453
1467
  um?: string | null | undefined;
1454
1468
  owner_receive?: {
1455
1469
  received: {
@@ -1475,11 +1489,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
1475
1489
  } | undefined;
1476
1490
  customer_required?: string[] | undefined;
1477
1491
  location?: string | undefined;
1478
- compensation_fund_add?: {
1479
- balance: string | number;
1480
- } | {
1481
- coin: string;
1482
- } | undefined;
1483
1492
  compensation_fund_withdraw?: {
1484
1493
  payment_info: {
1485
1494
  index: string | number;
@@ -1492,15 +1501,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
1492
1501
  local_mark_first?: boolean | undefined;
1493
1502
  };
1494
1503
  } | undefined;
1495
- compensation_fund_receive?: {
1496
- received: {
1497
- id: string;
1498
- balance: string | number;
1499
- payment: string;
1500
- }[];
1501
- balance: string | number;
1502
- token_type: string;
1503
- } | "recently" | undefined;
1504
1504
  setting_lock_duration_add?: number | undefined;
1505
1505
  order_new?: {
1506
1506
  buy: {
@@ -1592,6 +1592,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1592
1592
  }[];
1593
1593
  threshold?: string | number | undefined;
1594
1594
  } | null | undefined;
1595
+ arbitrations?: unknown;
1595
1596
  sales?: {
1596
1597
  op: "add";
1597
1598
  sales: {
@@ -1636,8 +1637,21 @@ export declare const CallService_DataSchema: z.ZodObject<{
1636
1637
  time_ms_start?: number | undefined;
1637
1638
  } | undefined;
1638
1639
  rewards?: unknown;
1639
- arbitrations?: unknown;
1640
1640
  pause?: boolean | undefined;
1641
+ compensation_fund_receive?: {
1642
+ received: {
1643
+ id: string;
1644
+ balance: string | number;
1645
+ payment: string;
1646
+ }[];
1647
+ balance: string | number;
1648
+ token_type: string;
1649
+ } | "recently" | undefined;
1650
+ compensation_fund_add?: {
1651
+ balance: string | number;
1652
+ } | {
1653
+ coin: string;
1654
+ } | undefined;
1641
1655
  um?: string | null | undefined;
1642
1656
  owner_receive?: {
1643
1657
  received: {
@@ -1655,11 +1669,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
1655
1669
  repositories?: unknown;
1656
1670
  customer_required?: string[] | undefined;
1657
1671
  location?: string | undefined;
1658
- compensation_fund_add?: {
1659
- balance: string | number;
1660
- } | {
1661
- coin: string;
1662
- } | undefined;
1663
1672
  compensation_fund_withdraw?: {
1664
1673
  payment_info: {
1665
1674
  index: string | number;
@@ -1672,15 +1681,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
1672
1681
  local_mark_first?: boolean | undefined;
1673
1682
  };
1674
1683
  } | undefined;
1675
- compensation_fund_receive?: {
1676
- received: {
1677
- id: string;
1678
- balance: string | number;
1679
- payment: string;
1680
- }[];
1681
- balance: string | number;
1682
- token_type: string;
1683
- } | "recently" | undefined;
1684
1684
  setting_lock_duration_add?: number | undefined;
1685
1685
  order_new?: {
1686
1686
  buy: {
@@ -2641,6 +2641,15 @@ export declare const CallService_InputSchema: z.ZodObject<{
2641
2641
  fix?: string | number | undefined;
2642
2642
  }[];
2643
2643
  } | null | undefined;
2644
+ arbitrations?: {
2645
+ op: "set" | "add";
2646
+ objects: string[];
2647
+ } | {
2648
+ op: "remove";
2649
+ objects: string[];
2650
+ } | {
2651
+ op: "clear";
2652
+ } | undefined;
2644
2653
  sales?: {
2645
2654
  op: "add";
2646
2655
  sales: {
@@ -2693,16 +2702,21 @@ export declare const CallService_InputSchema: z.ZodObject<{
2693
2702
  } | {
2694
2703
  op: "clear";
2695
2704
  } | undefined;
2696
- arbitrations?: {
2697
- op: "set" | "add";
2698
- objects: string[];
2699
- } | {
2700
- op: "remove";
2701
- objects: string[];
2705
+ pause?: boolean | undefined;
2706
+ compensation_fund_receive?: {
2707
+ received: {
2708
+ id: string;
2709
+ balance: string | number;
2710
+ payment: string;
2711
+ }[];
2712
+ balance: string | number;
2713
+ token_type: string;
2714
+ } | "recently" | undefined;
2715
+ compensation_fund_add?: {
2716
+ balance: string | number;
2702
2717
  } | {
2703
- op: "clear";
2718
+ coin: string;
2704
2719
  } | undefined;
2705
- pause?: boolean | undefined;
2706
2720
  um?: string | null | undefined;
2707
2721
  owner_receive?: {
2708
2722
  received: {
@@ -2728,11 +2742,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
2728
2742
  } | undefined;
2729
2743
  customer_required?: string[] | undefined;
2730
2744
  location?: string | undefined;
2731
- compensation_fund_add?: {
2732
- balance: string | number;
2733
- } | {
2734
- coin: string;
2735
- } | undefined;
2736
2745
  compensation_fund_withdraw?: {
2737
2746
  payment_info: {
2738
2747
  index: string | number;
@@ -2745,15 +2754,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
2745
2754
  local_mark_first?: boolean | undefined;
2746
2755
  };
2747
2756
  } | undefined;
2748
- compensation_fund_receive?: {
2749
- received: {
2750
- id: string;
2751
- balance: string | number;
2752
- payment: string;
2753
- }[];
2754
- balance: string | number;
2755
- token_type: string;
2756
- } | "recently" | undefined;
2757
2757
  setting_lock_duration_add?: number | undefined;
2758
2758
  order_new?: {
2759
2759
  buy: {
@@ -2845,6 +2845,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2845
2845
  }[];
2846
2846
  threshold?: string | number | undefined;
2847
2847
  } | null | undefined;
2848
+ arbitrations?: unknown;
2848
2849
  sales?: {
2849
2850
  op: "add";
2850
2851
  sales: {
@@ -2889,8 +2890,21 @@ export declare const CallService_InputSchema: z.ZodObject<{
2889
2890
  time_ms_start?: number | undefined;
2890
2891
  } | undefined;
2891
2892
  rewards?: unknown;
2892
- arbitrations?: unknown;
2893
2893
  pause?: boolean | undefined;
2894
+ compensation_fund_receive?: {
2895
+ received: {
2896
+ id: string;
2897
+ balance: string | number;
2898
+ payment: string;
2899
+ }[];
2900
+ balance: string | number;
2901
+ token_type: string;
2902
+ } | "recently" | undefined;
2903
+ compensation_fund_add?: {
2904
+ balance: string | number;
2905
+ } | {
2906
+ coin: string;
2907
+ } | undefined;
2894
2908
  um?: string | null | undefined;
2895
2909
  owner_receive?: {
2896
2910
  received: {
@@ -2908,11 +2922,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
2908
2922
  repositories?: unknown;
2909
2923
  customer_required?: string[] | undefined;
2910
2924
  location?: string | undefined;
2911
- compensation_fund_add?: {
2912
- balance: string | number;
2913
- } | {
2914
- coin: string;
2915
- } | undefined;
2916
2925
  compensation_fund_withdraw?: {
2917
2926
  payment_info: {
2918
2927
  index: string | number;
@@ -2925,15 +2934,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
2925
2934
  local_mark_first?: boolean | undefined;
2926
2935
  };
2927
2936
  } | undefined;
2928
- compensation_fund_receive?: {
2929
- received: {
2930
- id: string;
2931
- balance: string | number;
2932
- payment: string;
2933
- }[];
2934
- balance: string | number;
2935
- token_type: string;
2936
- } | "recently" | undefined;
2937
2937
  setting_lock_duration_add?: number | undefined;
2938
2938
  order_new?: {
2939
2939
  buy: {
@@ -2994,10 +2994,11 @@ export declare const CallService_InputSchema: z.ZodObject<{
2994
2994
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2995
2995
  project: z.ZodOptional<z.ZodString>;
2996
2996
  client_schema_version: z.ZodOptional<z.ZodString>;
2997
- schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
2997
+ schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2998
2998
  dry_run: z.ZodOptional<z.ZodBoolean>;
2999
2999
  }, "strict", z.ZodTypeAny, {
3000
3000
  account: string;
3001
+ schema_strict_mode: boolean;
3001
3002
  no_cache?: boolean | undefined;
3002
3003
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
3003
3004
  permission_guard?: string[] | undefined;
@@ -3006,7 +3007,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3006
3007
  user_intent_phrases?: string[] | undefined;
3007
3008
  project?: string | undefined;
3008
3009
  client_schema_version?: string | undefined;
3009
- schema_strict_mode?: boolean | undefined;
3010
3010
  dry_run?: boolean | undefined;
3011
3011
  }, {
3012
3012
  no_cache?: boolean | undefined;
@@ -3244,6 +3244,15 @@ export declare const CallService_InputSchema: z.ZodObject<{
3244
3244
  fix?: string | number | undefined;
3245
3245
  }[];
3246
3246
  } | null | undefined;
3247
+ arbitrations?: {
3248
+ op: "set" | "add";
3249
+ objects: string[];
3250
+ } | {
3251
+ op: "remove";
3252
+ objects: string[];
3253
+ } | {
3254
+ op: "clear";
3255
+ } | undefined;
3247
3256
  sales?: {
3248
3257
  op: "add";
3249
3258
  sales: {
@@ -3296,16 +3305,21 @@ export declare const CallService_InputSchema: z.ZodObject<{
3296
3305
  } | {
3297
3306
  op: "clear";
3298
3307
  } | undefined;
3299
- arbitrations?: {
3300
- op: "set" | "add";
3301
- objects: string[];
3302
- } | {
3303
- op: "remove";
3304
- objects: string[];
3308
+ pause?: boolean | undefined;
3309
+ compensation_fund_receive?: {
3310
+ received: {
3311
+ id: string;
3312
+ balance: string | number;
3313
+ payment: string;
3314
+ }[];
3315
+ balance: string | number;
3316
+ token_type: string;
3317
+ } | "recently" | undefined;
3318
+ compensation_fund_add?: {
3319
+ balance: string | number;
3305
3320
  } | {
3306
- op: "clear";
3321
+ coin: string;
3307
3322
  } | undefined;
3308
- pause?: boolean | undefined;
3309
3323
  um?: string | null | undefined;
3310
3324
  owner_receive?: {
3311
3325
  received: {
@@ -3331,11 +3345,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3331
3345
  } | undefined;
3332
3346
  customer_required?: string[] | undefined;
3333
3347
  location?: string | undefined;
3334
- compensation_fund_add?: {
3335
- balance: string | number;
3336
- } | {
3337
- coin: string;
3338
- } | undefined;
3339
3348
  compensation_fund_withdraw?: {
3340
3349
  payment_info: {
3341
3350
  index: string | number;
@@ -3348,15 +3357,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3348
3357
  local_mark_first?: boolean | undefined;
3349
3358
  };
3350
3359
  } | undefined;
3351
- compensation_fund_receive?: {
3352
- received: {
3353
- id: string;
3354
- balance: string | number;
3355
- payment: string;
3356
- }[];
3357
- balance: string | number;
3358
- token_type: string;
3359
- } | "recently" | undefined;
3360
3360
  setting_lock_duration_add?: number | undefined;
3361
3361
  order_new?: {
3362
3362
  buy: {
@@ -3436,6 +3436,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3436
3436
  } | undefined;
3437
3437
  env?: {
3438
3438
  account: string;
3439
+ schema_strict_mode: boolean;
3439
3440
  no_cache?: boolean | undefined;
3440
3441
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
3441
3442
  permission_guard?: string[] | undefined;
@@ -3444,7 +3445,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3444
3445
  user_intent_phrases?: string[] | undefined;
3445
3446
  project?: string | undefined;
3446
3447
  client_schema_version?: string | undefined;
3447
- schema_strict_mode?: boolean | undefined;
3448
3448
  dry_run?: boolean | undefined;
3449
3449
  } | undefined;
3450
3450
  }, {
@@ -3490,6 +3490,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3490
3490
  }[];
3491
3491
  threshold?: string | number | undefined;
3492
3492
  } | null | undefined;
3493
+ arbitrations?: unknown;
3493
3494
  sales?: {
3494
3495
  op: "add";
3495
3496
  sales: {
@@ -3534,8 +3535,21 @@ export declare const CallService_InputSchema: z.ZodObject<{
3534
3535
  time_ms_start?: number | undefined;
3535
3536
  } | undefined;
3536
3537
  rewards?: unknown;
3537
- arbitrations?: unknown;
3538
3538
  pause?: boolean | undefined;
3539
+ compensation_fund_receive?: {
3540
+ received: {
3541
+ id: string;
3542
+ balance: string | number;
3543
+ payment: string;
3544
+ }[];
3545
+ balance: string | number;
3546
+ token_type: string;
3547
+ } | "recently" | undefined;
3548
+ compensation_fund_add?: {
3549
+ balance: string | number;
3550
+ } | {
3551
+ coin: string;
3552
+ } | undefined;
3539
3553
  um?: string | null | undefined;
3540
3554
  owner_receive?: {
3541
3555
  received: {
@@ -3553,11 +3567,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3553
3567
  repositories?: unknown;
3554
3568
  customer_required?: string[] | undefined;
3555
3569
  location?: string | undefined;
3556
- compensation_fund_add?: {
3557
- balance: string | number;
3558
- } | {
3559
- coin: string;
3560
- } | undefined;
3561
3570
  compensation_fund_withdraw?: {
3562
3571
  payment_info: {
3563
3572
  index: string | number;
@@ -3570,15 +3579,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3570
3579
  local_mark_first?: boolean | undefined;
3571
3580
  };
3572
3581
  } | undefined;
3573
- compensation_fund_receive?: {
3574
- received: {
3575
- id: string;
3576
- balance: string | number;
3577
- payment: string;
3578
- }[];
3579
- balance: string | number;
3580
- token_type: string;
3581
- } | "recently" | undefined;
3582
3582
  setting_lock_duration_add?: number | undefined;
3583
3583
  order_new?: {
3584
3584
  buy: {
@@ -67,11 +67,20 @@ export const CallService_DataSchema = z.object({
67
67
  location: LongNameSchema.optional().describe("Location of the Service"),
68
68
  sales: SalesSchema.optional().describe("Service sales products or services list."),
69
69
  repositories: ObjectsSchema.optional().describe("Service Repository object list."),
70
- rewards: ObjectsSchema.optional().describe("Service Reward object list."),
70
+ rewards: ObjectsSchema.optional().describe("Service Reward object list. " +
71
+ "May share the Service's Permission (no conflict check — intentional: rewards are the provider's own " +
72
+ "incentive tool; only Arbitration requires a different Permission for neutrality)."),
71
73
  arbitrations: ObjectsSchema.optional().describe("Service Arbitration object list. " +
72
74
  "FORMAT: same as repositories — use the `objects` field name inside the operation data. " +
73
75
  "Example: {arbitrations: [{name: 'my_arb_1'}, {name: 'my_arb_2'}]}. " +
74
- "Each item is a NameOrAddress (object ID or local mark name)."),
76
+ "Each item is a NameOrAddress (object ID or local mark name). " +
77
+ "⚠️ PERMISSION RULE (contract-enforced, service.move arbitration_add_imp): every Arbitration bound here " +
78
+ "MUST use a Permission object DIFFERENT from THIS Service's permission — binding an Arbitration that shares " +
79
+ "the Service's Permission aborts with E_ARBITRATION_PERMISSION_CONFLICT (error 33). " +
80
+ "Create a dedicated Permission for each Arbitration BEFORE binding. " +
81
+ "DESIGN RATIONALE (confirmed intentional): dispute resolution requires NEUTRALITY — an Arbitration controlled " +
82
+ "by the same Permission admins as the Service it judges would be a conflict of interest. ONLY Arbitration has " +
83
+ "this check: Reward and Treasury objects MAY share the Service's Permission (they are the provider's own tools)."),
75
84
  machine: z.union([NameOrAddressSchema, z.null()]).optional().describe("Service Machine object ID or name. The Machine object must be in published state."),
76
85
  discount: DiscountSchema.optional().describe("Issue discount."),
77
86
  discount_destroy: z.array(NameOrAddressSchema).optional().describe("Destroy existing discount object ID list."),
@@ -841,6 +841,15 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
841
841
  onChain?: boolean | undefined;
842
842
  } | undefined;
843
843
  } | undefined;
844
+ receive?: {
845
+ received: {
846
+ id: string;
847
+ balance: string | number;
848
+ payment: string;
849
+ }[];
850
+ balance: string | number;
851
+ token_type: string;
852
+ } | "recently" | undefined;
844
853
  um?: string | null | undefined;
845
854
  withdraw?: {
846
855
  amount: {
@@ -878,15 +887,6 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
878
887
  id: string;
879
888
  content_raw?: any;
880
889
  }[] | undefined;
881
- receive?: {
882
- received: {
883
- id: string;
884
- balance: string | number;
885
- payment: string;
886
- }[];
887
- balance: string | number;
888
- token_type: string;
889
- } | "recently" | undefined;
890
890
  external_deposit_guard?: {
891
891
  op: "add";
892
892
  guards: {
@@ -963,6 +963,15 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
963
963
  onChain?: boolean | undefined;
964
964
  } | undefined;
965
965
  } | undefined;
966
+ receive?: {
967
+ received: {
968
+ id: string;
969
+ balance: string | number;
970
+ payment: string;
971
+ }[];
972
+ balance: string | number;
973
+ token_type: string;
974
+ } | "recently" | undefined;
966
975
  um?: string | null | undefined;
967
976
  withdraw?: {
968
977
  amount: {
@@ -1000,15 +1009,6 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
1000
1009
  id: string;
1001
1010
  content_raw?: any;
1002
1011
  }[] | undefined;
1003
- receive?: {
1004
- received: {
1005
- id: string;
1006
- balance: string | number;
1007
- payment: string;
1008
- }[];
1009
- balance: string | number;
1010
- token_type: string;
1011
- } | "recently" | undefined;
1012
1012
  external_deposit_guard?: {
1013
1013
  op: "add";
1014
1014
  guards: {
@@ -1558,6 +1558,15 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1558
1558
  onChain?: boolean | undefined;
1559
1559
  } | undefined;
1560
1560
  } | undefined;
1561
+ receive?: {
1562
+ received: {
1563
+ id: string;
1564
+ balance: string | number;
1565
+ payment: string;
1566
+ }[];
1567
+ balance: string | number;
1568
+ token_type: string;
1569
+ } | "recently" | undefined;
1561
1570
  um?: string | null | undefined;
1562
1571
  withdraw?: {
1563
1572
  amount: {
@@ -1595,15 +1604,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1595
1604
  id: string;
1596
1605
  content_raw?: any;
1597
1606
  }[] | undefined;
1598
- receive?: {
1599
- received: {
1600
- id: string;
1601
- balance: string | number;
1602
- payment: string;
1603
- }[];
1604
- balance: string | number;
1605
- token_type: string;
1606
- } | "recently" | undefined;
1607
1607
  external_deposit_guard?: {
1608
1608
  op: "add";
1609
1609
  guards: {
@@ -1680,6 +1680,15 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1680
1680
  onChain?: boolean | undefined;
1681
1681
  } | undefined;
1682
1682
  } | undefined;
1683
+ receive?: {
1684
+ received: {
1685
+ id: string;
1686
+ balance: string | number;
1687
+ payment: string;
1688
+ }[];
1689
+ balance: string | number;
1690
+ token_type: string;
1691
+ } | "recently" | undefined;
1683
1692
  um?: string | null | undefined;
1684
1693
  withdraw?: {
1685
1694
  amount: {
@@ -1717,15 +1726,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1717
1726
  id: string;
1718
1727
  content_raw?: any;
1719
1728
  }[] | undefined;
1720
- receive?: {
1721
- received: {
1722
- id: string;
1723
- balance: string | number;
1724
- payment: string;
1725
- }[];
1726
- balance: string | number;
1727
- token_type: string;
1728
- } | "recently" | undefined;
1729
1729
  external_deposit_guard?: {
1730
1730
  op: "add";
1731
1731
  guards: {
@@ -1777,10 +1777,11 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1777
1777
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1778
1778
  project: z.ZodOptional<z.ZodString>;
1779
1779
  client_schema_version: z.ZodOptional<z.ZodString>;
1780
- schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
1780
+ schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1781
1781
  dry_run: z.ZodOptional<z.ZodBoolean>;
1782
1782
  }, "strict", z.ZodTypeAny, {
1783
1783
  account: string;
1784
+ schema_strict_mode: boolean;
1784
1785
  no_cache?: boolean | undefined;
1785
1786
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1786
1787
  permission_guard?: string[] | undefined;
@@ -1789,7 +1790,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1789
1790
  user_intent_phrases?: string[] | undefined;
1790
1791
  project?: string | undefined;
1791
1792
  client_schema_version?: string | undefined;
1792
- schema_strict_mode?: boolean | undefined;
1793
1793
  dry_run?: boolean | undefined;
1794
1794
  }, {
1795
1795
  no_cache?: boolean | undefined;
@@ -2021,6 +2021,15 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2021
2021
  onChain?: boolean | undefined;
2022
2022
  } | undefined;
2023
2023
  } | undefined;
2024
+ receive?: {
2025
+ received: {
2026
+ id: string;
2027
+ balance: string | number;
2028
+ payment: string;
2029
+ }[];
2030
+ balance: string | number;
2031
+ token_type: string;
2032
+ } | "recently" | undefined;
2024
2033
  um?: string | null | undefined;
2025
2034
  withdraw?: {
2026
2035
  amount: {
@@ -2058,15 +2067,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2058
2067
  id: string;
2059
2068
  content_raw?: any;
2060
2069
  }[] | undefined;
2061
- receive?: {
2062
- received: {
2063
- id: string;
2064
- balance: string | number;
2065
- payment: string;
2066
- }[];
2067
- balance: string | number;
2068
- token_type: string;
2069
- } | "recently" | undefined;
2070
2070
  external_deposit_guard?: {
2071
2071
  op: "add";
2072
2072
  guards: {
@@ -2137,6 +2137,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2137
2137
  } | undefined;
2138
2138
  env?: {
2139
2139
  account: string;
2140
+ schema_strict_mode: boolean;
2140
2141
  no_cache?: boolean | undefined;
2141
2142
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
2142
2143
  permission_guard?: string[] | undefined;
@@ -2145,7 +2146,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2145
2146
  user_intent_phrases?: string[] | undefined;
2146
2147
  project?: string | undefined;
2147
2148
  client_schema_version?: string | undefined;
2148
- schema_strict_mode?: boolean | undefined;
2149
2149
  dry_run?: boolean | undefined;
2150
2150
  } | undefined;
2151
2151
  }, {
@@ -2185,6 +2185,15 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2185
2185
  onChain?: boolean | undefined;
2186
2186
  } | undefined;
2187
2187
  } | undefined;
2188
+ receive?: {
2189
+ received: {
2190
+ id: string;
2191
+ balance: string | number;
2192
+ payment: string;
2193
+ }[];
2194
+ balance: string | number;
2195
+ token_type: string;
2196
+ } | "recently" | undefined;
2188
2197
  um?: string | null | undefined;
2189
2198
  withdraw?: {
2190
2199
  amount: {
@@ -2222,15 +2231,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2222
2231
  id: string;
2223
2232
  content_raw?: any;
2224
2233
  }[] | undefined;
2225
- receive?: {
2226
- received: {
2227
- id: string;
2228
- balance: string | number;
2229
- payment: string;
2230
- }[];
2231
- balance: string | number;
2232
- token_type: string;
2233
- } | "recently" | undefined;
2234
2234
  external_deposit_guard?: {
2235
2235
  op: "add";
2236
2236
  guards: {
@@ -378,7 +378,10 @@ export const MessengerOperationInputSchema = z.discriminatedUnion("operation", [
378
378
  account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
379
379
  limit: z.number().optional().describe("Maximum number of messages to pull from server"),
380
380
  }).strict(),
381
- ]).describe("Messenger operation input schema");
381
+ ]).describe("Messenger operation input schema. PREREQUISITE: an account must ENABLE messenger before sending/receiving. " +
382
+ "There is NO 'enable' operation in this tool — enable via account_operation {messenger: {enabled: true, name_or_account: '<account>'}}, " +
383
+ "or implicitly via send_message/send_file with options.enable_messenger: true. " +
384
+ "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).");
382
385
  export const MessengerOperationOutputSchema = z.object({
383
386
  result: z.discriminatedUnion("operation", [
384
387
  z.object({