@wowok/agent-mcp 2.6.1 → 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 (246) 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 +9 -2
  6. package/dist/customer/info-puzzle.js +34 -7
  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 +30 -7
  16. package/dist/customer/types.d.ts +7 -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 +59 -0
  23. package/dist/examples/guard-template-time-lock.json +60 -0
  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 +119 -0
  30. package/dist/examples/payment-scenario-bound.json +45 -0
  31. package/dist/examples/rental-ziroom-machine-create.json +149 -0
  32. package/dist/examples/rental-ziroom-permission-create.json +42 -0
  33. package/dist/examples/rental-ziroom-service-create.json +89 -0
  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/retail-myshop-service-create.json +88 -0
  45. package/dist/examples/service-discount-issue.json +46 -0
  46. package/dist/examples/threebody-guard-create.json +56 -0
  47. package/dist/examples/threebody-machine-create.json +72 -0
  48. package/dist/examples/threebody-permission-create.json +38 -0
  49. package/dist/examples/threebody-service-allocators.json +49 -0
  50. package/dist/examples/travel-guard-time-lock.json +69 -0
  51. package/dist/examples/travel-guard-weather-oracle.json +70 -0
  52. package/dist/examples/travel-machine-create.json +136 -0
  53. package/dist/examples/travel-repository-create.json +47 -0
  54. package/dist/examples/travel-service-create.json +102 -0
  55. package/dist/examples/travel-treasury-create.json +34 -0
  56. package/dist/examples/treasury-deposit.json +37 -0
  57. package/dist/examples/treasury-withdraw.json +38 -0
  58. package/dist/extensions/business-modules.d.ts +49 -0
  59. package/dist/extensions/business-modules.js +287 -0
  60. package/dist/extensions/capability-manifest.js +216 -29
  61. package/dist/extensions/constraint-registry.js +21 -19
  62. package/dist/extensions/metric-registry.js +14 -14
  63. package/dist/extensions/mode-evaluator.js +16 -16
  64. package/dist/extensions/modes.js +141 -49
  65. package/dist/extensions/registry.d.ts +16 -9
  66. package/dist/extensions/registry.js +132 -44
  67. package/dist/extensions/types.d.ts +2 -0
  68. package/dist/index.js +50 -0
  69. package/dist/knowledge/deployment-scanner.js +1 -1
  70. package/dist/knowledge/fund-layer.d.ts +138 -0
  71. package/dist/knowledge/fund-layer.js +969 -0
  72. package/dist/knowledge/guard-render.d.ts +57 -0
  73. package/dist/knowledge/guard-render.js +700 -0
  74. package/dist/knowledge/guard-submission-prompt.d.ts +31 -0
  75. package/dist/knowledge/guard-submission-prompt.js +171 -0
  76. package/dist/knowledge/guard-templates.d.ts +10 -0
  77. package/dist/knowledge/guard-templates.js +50 -0
  78. package/dist/knowledge/index.d.ts +2 -2
  79. package/dist/knowledge/index.js +2 -2
  80. package/dist/knowledge/machine-ledger.js +1 -1
  81. package/dist/knowledge/machine-render.d.ts +41 -0
  82. package/dist/knowledge/machine-render.js +565 -0
  83. package/dist/knowledge/machine-risk.js +4 -1
  84. package/dist/knowledge/machine-templates.js +4 -4
  85. package/dist/knowledge/progress-context.js +1 -1
  86. package/dist/knowledge/progress-ledger.js +3 -3
  87. package/dist/knowledge/progress-templates.js +1 -1
  88. package/dist/knowledge/progress-translation.js +1 -1
  89. package/dist/knowledge/reward-confirm.js +2 -2
  90. package/dist/knowledge/reward-puzzle.js +1 -1
  91. package/dist/knowledge/reward-risk.js +9 -9
  92. package/dist/knowledge/reward-templates.js +2 -2
  93. package/dist/knowledge/safety-rules.d.ts +83 -1
  94. package/dist/knowledge/safety-rules.js +166 -2
  95. package/dist/knowledge/scenario-modes.d.ts +1 -1
  96. package/dist/knowledge/scenario-modes.js +13 -11
  97. package/dist/knowledge/service-confirm.d.ts +1 -1
  98. package/dist/knowledge/service-confirm.js +3 -3
  99. package/dist/knowledge/service-context.js +1 -1
  100. package/dist/knowledge/service-ledger.js +1 -1
  101. package/dist/knowledge/service-risk.d.ts +1 -1
  102. package/dist/knowledge/service-risk.js +3 -3
  103. package/dist/knowledge/service-templates.js +2 -2
  104. package/dist/knowledge/service-translation.d.ts +1 -1
  105. package/dist/knowledge/service-translation.js +7 -7
  106. package/dist/knowledge/template-registry.d.ts +48 -0
  107. package/dist/knowledge/template-registry.js +341 -0
  108. package/dist/knowledge/tool-constraints.js +6 -6
  109. package/dist/knowledge/tools-reference.js +11 -8
  110. package/dist/participation/merchant-interest.d.ts +32 -0
  111. package/dist/participation/merchant-interest.js +100 -0
  112. package/dist/participation/radar-core.d.ts +104 -0
  113. package/dist/participation/radar-core.js +269 -0
  114. package/dist/project/context-assembly.js +8 -0
  115. package/dist/project/deployment-bridge.js +6 -5
  116. package/dist/project/deployment-doc.js +5 -5
  117. package/dist/project/edit-planner.d.ts +123 -0
  118. package/dist/project/edit-planner.js +1342 -0
  119. package/dist/project/evaluation.d.ts +36 -0
  120. package/dist/project/evaluation.js +734 -68
  121. package/dist/project/game-theory.d.ts +43 -0
  122. package/dist/project/game-theory.js +177 -0
  123. package/dist/project/graph-builder.js +7 -1
  124. package/dist/project/handlers.d.ts +137 -2
  125. package/dist/project/handlers.js +423 -51
  126. package/dist/project/intent-analyzer.d.ts +71 -0
  127. package/dist/project/intent-analyzer.js +149 -0
  128. package/dist/project/machine-nodes.d.ts +2 -0
  129. package/dist/project/machine-nodes.js +36 -0
  130. package/dist/project/merchant-guide.d.ts +165 -0
  131. package/dist/project/merchant-guide.js +264 -0
  132. package/dist/project/mode-actions.d.ts +199 -0
  133. package/dist/project/mode-actions.js +309 -0
  134. package/dist/project/participation-radar.d.ts +18 -0
  135. package/dist/project/participation-radar.js +428 -0
  136. package/dist/project/pipeline-actions.d.ts +101 -0
  137. package/dist/project/pipeline-actions.js +109 -0
  138. package/dist/project/semantic-graph.d.ts +95 -0
  139. package/dist/project/semantic-graph.js +245 -0
  140. package/dist/project/stage-gate.js +4 -4
  141. package/dist/schema/call/allocation.d.ts +11 -11
  142. package/dist/schema/call/allocation.js +13 -3
  143. package/dist/schema/call/arbitration.d.ts +21 -21
  144. package/dist/schema/call/arbitration.js +30 -9
  145. package/dist/schema/call/base.d.ts +2 -2
  146. package/dist/schema/call/base.js +1 -1
  147. package/dist/schema/call/bridge.d.ts +127 -127
  148. package/dist/schema/call/bridge.js +12 -12
  149. package/dist/schema/call/contact.d.ts +3 -3
  150. package/dist/schema/call/contact.js +2 -2
  151. package/dist/schema/call/demand.d.ts +3 -3
  152. package/dist/schema/call/demand.js +2 -2
  153. package/dist/schema/call/guard.d.ts +11 -11
  154. package/dist/schema/call/guard.js +2 -2
  155. package/dist/schema/call/machine.d.ts +2072 -679
  156. package/dist/schema/call/machine.js +51 -5
  157. package/dist/schema/call/order.d.ts +7 -7
  158. package/dist/schema/call/order.js +3 -6
  159. package/dist/schema/call/payment.d.ts +3 -3
  160. package/dist/schema/call/permission.d.ts +3 -3
  161. package/dist/schema/call/permission.js +2 -2
  162. package/dist/schema/call/personal.d.ts +337 -3
  163. package/dist/schema/call/personal.js +10 -0
  164. package/dist/schema/call/progress.d.ts +177 -9
  165. package/dist/schema/call/progress.js +7 -3
  166. package/dist/schema/call/proof.d.ts +6 -6
  167. package/dist/schema/call/repository.d.ts +3 -3
  168. package/dist/schema/call/repository.js +2 -2
  169. package/dist/schema/call/reward.d.ts +57 -57
  170. package/dist/schema/call/reward.js +3 -3
  171. package/dist/schema/call/semantic.js +48 -2
  172. package/dist/schema/call/service.d.ts +285 -113
  173. package/dist/schema/call/service.js +92 -28
  174. package/dist/schema/call/treasury.d.ts +57 -57
  175. package/dist/schema/call/treasury.js +3 -3
  176. package/dist/schema/common/index.d.ts +2 -0
  177. package/dist/schema/common/index.js +46 -10
  178. package/dist/schema/local/index.js +5 -1
  179. package/dist/schema/messenger/index.js +4 -1
  180. package/dist/schema/operations.d.ts +1318 -317
  181. package/dist/schema/operations.js +76 -7
  182. package/dist/schema/project/index.d.ts +5662 -164
  183. package/dist/schema/project/index.js +1136 -5
  184. package/dist/schema/query/index.d.ts +580 -19
  185. package/dist/schema/query/index.js +88 -36
  186. package/dist/schema/schema-query/index.d.ts +59 -3
  187. package/dist/schema/schema-query/index.js +45 -6
  188. package/dist/schema/trust/index.d.ts +1012 -6
  189. package/dist/schema/trust/index.js +212 -11
  190. package/dist/schema/utils/node-parser.js +13 -0
  191. package/dist/schema/utils/object-type-utils.d.ts +12 -0
  192. package/dist/schema/utils/object-type-utils.js +35 -0
  193. package/dist/schema/utils/permission-machine-check.d.ts +49 -0
  194. package/dist/schema/utils/permission-machine-check.js +121 -0
  195. package/dist/schema/utils/skills-recommendation.d.ts +2 -0
  196. package/dist/schema/utils/skills-recommendation.js +77 -0
  197. package/dist/schema-query/index.d.ts +17 -1
  198. package/dist/schema-query/index.js +359 -3
  199. package/dist/schemas/account_operation.schema.json +1 -1
  200. package/dist/schemas/bridge_operation.schema.json +14 -7
  201. package/dist/schemas/guard2file.schema.json +2 -0
  202. package/dist/schemas/index.json +1 -1
  203. package/dist/schemas/machineNode2file.schema.json +2 -0
  204. package/dist/schemas/messenger_operation.schema.json +1 -1
  205. package/dist/schemas/onchain_events.output.json +1 -1
  206. package/dist/schemas/onchain_operations.output.json +2820 -0
  207. package/dist/schemas/onchain_operations.schema.json +255 -65
  208. package/dist/schemas/onchain_operations_allocation.schema.json +7 -6
  209. package/dist/schemas/onchain_operations_arbitration.schema.json +14 -10
  210. package/dist/schemas/onchain_operations_contact.schema.json +4 -3
  211. package/dist/schemas/onchain_operations_demand.schema.json +4 -3
  212. package/dist/schemas/onchain_operations_gen_passport.schema.json +4 -2
  213. package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -0
  214. package/dist/schemas/onchain_operations_guard.schema.json +579 -1
  215. package/dist/schemas/onchain_operations_machine.schema.json +5 -4
  216. package/dist/schemas/onchain_operations_order.schema.json +7 -6
  217. package/dist/schemas/onchain_operations_payment.schema.json +2 -1
  218. package/dist/schemas/onchain_operations_permission.schema.json +3 -2
  219. package/dist/schemas/onchain_operations_personal.schema.json +37 -0
  220. package/dist/schemas/onchain_operations_progress.schema.json +91 -4
  221. package/dist/schemas/onchain_operations_proof.schema.json +2 -1
  222. package/dist/schemas/onchain_operations_repository.schema.json +4 -3
  223. package/dist/schemas/onchain_operations_reward.schema.json +7 -6
  224. package/dist/schemas/onchain_operations_service.schema.json +80 -19
  225. package/dist/schemas/onchain_operations_treasury.schema.json +5 -4
  226. package/dist/schemas/onchain_table_data.output.json +1 -1
  227. package/dist/schemas/onchain_table_data.schema.json +10 -9
  228. package/dist/schemas/project_operation.output.json +3318 -57
  229. package/dist/schemas/project_operation.schema.json +728 -4
  230. package/dist/schemas/query_toolkit.output.json +16 -16
  231. package/dist/schemas/query_toolkit.schema.json +40 -3
  232. package/dist/schemas/schema_query.output.json +65 -2
  233. package/dist/schemas/schema_query.schema.json +31 -5
  234. package/dist/schemas/trust_score.output.json +392 -1
  235. package/dist/schemas/trust_score.schema.json +275 -1
  236. package/dist/schemas/wowok_buildin_info.output.json +81 -8
  237. package/dist/schemas/wowok_buildin_info.schema.json +46 -2
  238. package/dist/tools/handlers/onchain.js +636 -6
  239. package/dist/tools/handlers/project.js +71 -2
  240. package/dist/tools/handlers/query.js +117 -2
  241. package/dist/tools/handlers/schema-query.js +65 -1
  242. package/dist/tools/handlers/trust.js +192 -6
  243. package/dist/tools/index.d.ts +8 -0
  244. package/dist/tools/index.js +229 -15
  245. package/dist/tools/wrap.js +194 -15
  246. package/package.json +2 -2
@@ -11343,7 +11343,7 @@ export declare const MachineForwardGuardSchema: z.ZodObject<{
11343
11343
  guard: string;
11344
11344
  retained_submission?: (string | number)[] | null | undefined;
11345
11345
  }>;
11346
- export declare const MachineForwardSchema: z.ZodObject<{
11346
+ export declare const MachineForwardSchema: z.ZodEffects<z.ZodObject<{
11347
11347
  name: z.ZodString;
11348
11348
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
11349
11349
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -11376,11 +11376,26 @@ export declare const MachineForwardSchema: z.ZodObject<{
11376
11376
  guard?: unknown;
11377
11377
  namedOperator?: string | null | undefined;
11378
11378
  permissionIndex?: string | number | null | undefined;
11379
+ }>, {
11380
+ name: string;
11381
+ weight: string | number;
11382
+ guard?: string | {
11383
+ guard: string;
11384
+ retained_submission?: (string | number)[] | null | undefined;
11385
+ } | null | undefined;
11386
+ namedOperator?: string | null | undefined;
11387
+ permissionIndex?: string | number | null | undefined;
11388
+ }, {
11389
+ name: string;
11390
+ weight: string | number;
11391
+ guard?: unknown;
11392
+ namedOperator?: string | null | undefined;
11393
+ permissionIndex?: string | number | null | undefined;
11379
11394
  }>;
11380
11395
  export declare const MachineNodePairSchema: z.ZodEffects<z.ZodObject<{
11381
11396
  prev_node: z.ZodString;
11382
11397
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11383
- forwards: z.ZodArray<z.ZodObject<{
11398
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
11384
11399
  name: z.ZodString;
11385
11400
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
11386
11401
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -11413,6 +11428,21 @@ export declare const MachineNodePairSchema: z.ZodEffects<z.ZodObject<{
11413
11428
  guard?: unknown;
11414
11429
  namedOperator?: string | null | undefined;
11415
11430
  permissionIndex?: string | number | null | undefined;
11431
+ }>, {
11432
+ name: string;
11433
+ weight: string | number;
11434
+ guard?: string | {
11435
+ guard: string;
11436
+ retained_submission?: (string | number)[] | null | undefined;
11437
+ } | null | undefined;
11438
+ namedOperator?: string | null | undefined;
11439
+ permissionIndex?: string | number | null | undefined;
11440
+ }, {
11441
+ name: string;
11442
+ weight: string | number;
11443
+ guard?: unknown;
11444
+ namedOperator?: string | null | undefined;
11445
+ permissionIndex?: string | number | null | undefined;
11416
11446
  }>, "many">;
11417
11447
  }, "strict", z.ZodTypeAny, {
11418
11448
  forwards: {
@@ -11466,7 +11496,7 @@ export declare const MachineNodeSchema: z.ZodObject<{
11466
11496
  pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
11467
11497
  prev_node: z.ZodString;
11468
11498
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11469
- forwards: z.ZodArray<z.ZodObject<{
11499
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
11470
11500
  name: z.ZodString;
11471
11501
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
11472
11502
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -11499,6 +11529,21 @@ export declare const MachineNodeSchema: z.ZodObject<{
11499
11529
  guard?: unknown;
11500
11530
  namedOperator?: string | null | undefined;
11501
11531
  permissionIndex?: string | number | null | undefined;
11532
+ }>, {
11533
+ name: string;
11534
+ weight: string | number;
11535
+ guard?: string | {
11536
+ guard: string;
11537
+ retained_submission?: (string | number)[] | null | undefined;
11538
+ } | null | undefined;
11539
+ namedOperator?: string | null | undefined;
11540
+ permissionIndex?: string | number | null | undefined;
11541
+ }, {
11542
+ name: string;
11543
+ weight: string | number;
11544
+ guard?: unknown;
11545
+ namedOperator?: string | null | undefined;
11546
+ permissionIndex?: string | number | null | undefined;
11502
11547
  }>, "many">;
11503
11548
  }, "strict", z.ZodTypeAny, {
11504
11549
  forwards: {
@@ -11651,7 +11696,7 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
11651
11696
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
11652
11697
  prev_node: z.ZodString;
11653
11698
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11654
- forwards: z.ZodArray<z.ZodObject<{
11699
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
11655
11700
  name: z.ZodString;
11656
11701
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
11657
11702
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -11684,6 +11729,21 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
11684
11729
  guard?: unknown;
11685
11730
  namedOperator?: string | null | undefined;
11686
11731
  permissionIndex?: string | number | null | undefined;
11732
+ }>, {
11733
+ name: string;
11734
+ weight: string | number;
11735
+ guard?: string | {
11736
+ guard: string;
11737
+ retained_submission?: (string | number)[] | null | undefined;
11738
+ } | null | undefined;
11739
+ namedOperator?: string | null | undefined;
11740
+ permissionIndex?: string | number | null | undefined;
11741
+ }, {
11742
+ name: string;
11743
+ weight: string | number;
11744
+ guard?: unknown;
11745
+ namedOperator?: string | null | undefined;
11746
+ permissionIndex?: string | number | null | undefined;
11687
11747
  }>, "many">;
11688
11748
  }, "strict", z.ZodTypeAny, {
11689
11749
  forwards: {
@@ -11806,7 +11866,7 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
11806
11866
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
11807
11867
  prev_node: z.ZodString;
11808
11868
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11809
- forwards: z.ZodArray<z.ZodObject<{
11869
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
11810
11870
  name: z.ZodString;
11811
11871
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
11812
11872
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -11839,6 +11899,21 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
11839
11899
  guard?: unknown;
11840
11900
  namedOperator?: string | null | undefined;
11841
11901
  permissionIndex?: string | number | null | undefined;
11902
+ }>, {
11903
+ name: string;
11904
+ weight: string | number;
11905
+ guard?: string | {
11906
+ guard: string;
11907
+ retained_submission?: (string | number)[] | null | undefined;
11908
+ } | null | undefined;
11909
+ namedOperator?: string | null | undefined;
11910
+ permissionIndex?: string | number | null | undefined;
11911
+ }, {
11912
+ name: string;
11913
+ weight: string | number;
11914
+ guard?: unknown;
11915
+ namedOperator?: string | null | undefined;
11916
+ permissionIndex?: string | number | null | undefined;
11842
11917
  }>, "many">;
11843
11918
  }, "strict", z.ZodTypeAny, {
11844
11919
  forwards: {
@@ -11961,7 +12036,7 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
11961
12036
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
11962
12037
  prev_node: z.ZodString;
11963
12038
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11964
- forwards: z.ZodArray<z.ZodObject<{
12039
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
11965
12040
  name: z.ZodString;
11966
12041
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
11967
12042
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -11994,6 +12069,21 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
11994
12069
  guard?: unknown;
11995
12070
  namedOperator?: string | null | undefined;
11996
12071
  permissionIndex?: string | number | null | undefined;
12072
+ }>, {
12073
+ name: string;
12074
+ weight: string | number;
12075
+ guard?: string | {
12076
+ guard: string;
12077
+ retained_submission?: (string | number)[] | null | undefined;
12078
+ } | null | undefined;
12079
+ namedOperator?: string | null | undefined;
12080
+ permissionIndex?: string | number | null | undefined;
12081
+ }, {
12082
+ name: string;
12083
+ weight: string | number;
12084
+ guard?: unknown;
12085
+ namedOperator?: string | null | undefined;
12086
+ permissionIndex?: string | number | null | undefined;
11997
12087
  }>, "many">;
11998
12088
  }, "strict", z.ZodTypeAny, {
11999
12089
  forwards: {
@@ -39731,7 +39821,7 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
39731
39821
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
39732
39822
  prev_node: z.ZodString;
39733
39823
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
39734
- forwards: z.ZodArray<z.ZodObject<{
39824
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
39735
39825
  name: z.ZodString;
39736
39826
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
39737
39827
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -39764,6 +39854,21 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
39764
39854
  guard?: unknown;
39765
39855
  namedOperator?: string | null | undefined;
39766
39856
  permissionIndex?: string | number | null | undefined;
39857
+ }>, {
39858
+ name: string;
39859
+ weight: string | number;
39860
+ guard?: string | {
39861
+ guard: string;
39862
+ retained_submission?: (string | number)[] | null | undefined;
39863
+ } | null | undefined;
39864
+ namedOperator?: string | null | undefined;
39865
+ permissionIndex?: string | number | null | undefined;
39866
+ }, {
39867
+ name: string;
39868
+ weight: string | number;
39869
+ guard?: unknown;
39870
+ namedOperator?: string | null | undefined;
39871
+ permissionIndex?: string | number | null | undefined;
39767
39872
  }>, "many">;
39768
39873
  }, "strict", z.ZodTypeAny, {
39769
39874
  forwards: {
@@ -39886,7 +39991,7 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
39886
39991
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
39887
39992
  prev_node: z.ZodString;
39888
39993
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
39889
- forwards: z.ZodArray<z.ZodObject<{
39994
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
39890
39995
  name: z.ZodString;
39891
39996
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
39892
39997
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -39919,6 +40024,21 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
39919
40024
  guard?: unknown;
39920
40025
  namedOperator?: string | null | undefined;
39921
40026
  permissionIndex?: string | number | null | undefined;
40027
+ }>, {
40028
+ name: string;
40029
+ weight: string | number;
40030
+ guard?: string | {
40031
+ guard: string;
40032
+ retained_submission?: (string | number)[] | null | undefined;
40033
+ } | null | undefined;
40034
+ namedOperator?: string | null | undefined;
40035
+ permissionIndex?: string | number | null | undefined;
40036
+ }, {
40037
+ name: string;
40038
+ weight: string | number;
40039
+ guard?: unknown;
40040
+ namedOperator?: string | null | undefined;
40041
+ permissionIndex?: string | number | null | undefined;
39922
40042
  }>, "many">;
39923
40043
  }, "strict", z.ZodTypeAny, {
39924
40044
  forwards: {
@@ -40041,7 +40161,7 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
40041
40161
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
40042
40162
  prev_node: z.ZodString;
40043
40163
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
40044
- forwards: z.ZodArray<z.ZodObject<{
40164
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
40045
40165
  name: z.ZodString;
40046
40166
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
40047
40167
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -40074,6 +40194,21 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
40074
40194
  guard?: unknown;
40075
40195
  namedOperator?: string | null | undefined;
40076
40196
  permissionIndex?: string | number | null | undefined;
40197
+ }>, {
40198
+ name: string;
40199
+ weight: string | number;
40200
+ guard?: string | {
40201
+ guard: string;
40202
+ retained_submission?: (string | number)[] | null | undefined;
40203
+ } | null | undefined;
40204
+ namedOperator?: string | null | undefined;
40205
+ permissionIndex?: string | number | null | undefined;
40206
+ }, {
40207
+ name: string;
40208
+ weight: string | number;
40209
+ guard?: unknown;
40210
+ namedOperator?: string | null | undefined;
40211
+ permissionIndex?: string | number | null | undefined;
40077
40212
  }>, "many">;
40078
40213
  }, "strict", z.ZodTypeAny, {
40079
40214
  forwards: {
@@ -44847,7 +44982,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
44847
44982
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
44848
44983
  prev_node: z.ZodString;
44849
44984
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
44850
- forwards: z.ZodArray<z.ZodObject<{
44985
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
44851
44986
  name: z.ZodString;
44852
44987
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
44853
44988
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -44880,6 +45015,21 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
44880
45015
  guard?: unknown;
44881
45016
  namedOperator?: string | null | undefined;
44882
45017
  permissionIndex?: string | number | null | undefined;
45018
+ }>, {
45019
+ name: string;
45020
+ weight: string | number;
45021
+ guard?: string | {
45022
+ guard: string;
45023
+ retained_submission?: (string | number)[] | null | undefined;
45024
+ } | null | undefined;
45025
+ namedOperator?: string | null | undefined;
45026
+ permissionIndex?: string | number | null | undefined;
45027
+ }, {
45028
+ name: string;
45029
+ weight: string | number;
45030
+ guard?: unknown;
45031
+ namedOperator?: string | null | undefined;
45032
+ permissionIndex?: string | number | null | undefined;
44883
45033
  }>, "many">;
44884
45034
  }, "strict", z.ZodTypeAny, {
44885
45035
  forwards: {
@@ -45002,7 +45152,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
45002
45152
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
45003
45153
  prev_node: z.ZodString;
45004
45154
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
45005
- forwards: z.ZodArray<z.ZodObject<{
45155
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
45006
45156
  name: z.ZodString;
45007
45157
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
45008
45158
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -45035,6 +45185,21 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
45035
45185
  guard?: unknown;
45036
45186
  namedOperator?: string | null | undefined;
45037
45187
  permissionIndex?: string | number | null | undefined;
45188
+ }>, {
45189
+ name: string;
45190
+ weight: string | number;
45191
+ guard?: string | {
45192
+ guard: string;
45193
+ retained_submission?: (string | number)[] | null | undefined;
45194
+ } | null | undefined;
45195
+ namedOperator?: string | null | undefined;
45196
+ permissionIndex?: string | number | null | undefined;
45197
+ }, {
45198
+ name: string;
45199
+ weight: string | number;
45200
+ guard?: unknown;
45201
+ namedOperator?: string | null | undefined;
45202
+ permissionIndex?: string | number | null | undefined;
45038
45203
  }>, "many">;
45039
45204
  }, "strict", z.ZodTypeAny, {
45040
45205
  forwards: {
@@ -45157,7 +45322,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
45157
45322
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
45158
45323
  prev_node: z.ZodString;
45159
45324
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
45160
- forwards: z.ZodArray<z.ZodObject<{
45325
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
45161
45326
  name: z.ZodString;
45162
45327
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
45163
45328
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -45190,6 +45355,21 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
45190
45355
  guard?: unknown;
45191
45356
  namedOperator?: string | null | undefined;
45192
45357
  permissionIndex?: string | number | null | undefined;
45358
+ }>, {
45359
+ name: string;
45360
+ weight: string | number;
45361
+ guard?: string | {
45362
+ guard: string;
45363
+ retained_submission?: (string | number)[] | null | undefined;
45364
+ } | null | undefined;
45365
+ namedOperator?: string | null | undefined;
45366
+ permissionIndex?: string | number | null | undefined;
45367
+ }, {
45368
+ name: string;
45369
+ weight: string | number;
45370
+ guard?: unknown;
45371
+ namedOperator?: string | null | undefined;
45372
+ permissionIndex?: string | number | null | undefined;
45193
45373
  }>, "many">;
45194
45374
  }, "strict", z.ZodTypeAny, {
45195
45375
  forwards: {
@@ -46728,7 +46908,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
46728
46908
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
46729
46909
  prev_node: z.ZodString;
46730
46910
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
46731
- forwards: z.ZodArray<z.ZodObject<{
46911
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
46732
46912
  name: z.ZodString;
46733
46913
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
46734
46914
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -46761,6 +46941,21 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
46761
46941
  guard?: unknown;
46762
46942
  namedOperator?: string | null | undefined;
46763
46943
  permissionIndex?: string | number | null | undefined;
46944
+ }>, {
46945
+ name: string;
46946
+ weight: string | number;
46947
+ guard?: string | {
46948
+ guard: string;
46949
+ retained_submission?: (string | number)[] | null | undefined;
46950
+ } | null | undefined;
46951
+ namedOperator?: string | null | undefined;
46952
+ permissionIndex?: string | number | null | undefined;
46953
+ }, {
46954
+ name: string;
46955
+ weight: string | number;
46956
+ guard?: unknown;
46957
+ namedOperator?: string | null | undefined;
46958
+ permissionIndex?: string | number | null | undefined;
46764
46959
  }>, "many">;
46765
46960
  }, "strict", z.ZodTypeAny, {
46766
46961
  forwards: {
@@ -47785,7 +47980,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
47785
47980
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
47786
47981
  prev_node: z.ZodString;
47787
47982
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
47788
- forwards: z.ZodArray<z.ZodObject<{
47983
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
47789
47984
  name: z.ZodString;
47790
47985
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
47791
47986
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -47818,6 +48013,21 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
47818
48013
  guard?: unknown;
47819
48014
  namedOperator?: string | null | undefined;
47820
48015
  permissionIndex?: string | number | null | undefined;
48016
+ }>, {
48017
+ name: string;
48018
+ weight: string | number;
48019
+ guard?: string | {
48020
+ guard: string;
48021
+ retained_submission?: (string | number)[] | null | undefined;
48022
+ } | null | undefined;
48023
+ namedOperator?: string | null | undefined;
48024
+ permissionIndex?: string | number | null | undefined;
48025
+ }, {
48026
+ name: string;
48027
+ weight: string | number;
48028
+ guard?: unknown;
48029
+ namedOperator?: string | null | undefined;
48030
+ permissionIndex?: string | number | null | undefined;
47821
48031
  }>, "many">;
47822
48032
  }, "strict", z.ZodTypeAny, {
47823
48033
  forwards: {
@@ -48149,16 +48359,19 @@ export declare const PermissionInfoTypeSchema: z.ZodObject<{
48149
48359
  name: z.ZodString;
48150
48360
  description: z.ZodString;
48151
48361
  object_type: z.ZodString;
48362
+ operation: z.ZodOptional<z.ZodString>;
48152
48363
  }, "strip", z.ZodTypeAny, {
48153
48364
  name: string;
48154
48365
  object_type: string;
48155
48366
  description: string;
48156
48367
  index: number;
48368
+ operation?: string | undefined;
48157
48369
  }, {
48158
48370
  name: string;
48159
48371
  object_type: string;
48160
48372
  description: string;
48161
48373
  index: number;
48374
+ operation?: string | undefined;
48162
48375
  }>;
48163
48376
  export declare const GuardInstructSchema: z.ZodObject<{
48164
48377
  name: z.ZodString;
@@ -48231,17 +48444,58 @@ export declare const PermissionFilterSchema: z.ZodObject<{
48231
48444
  name: z.ZodOptional<z.ZodString>;
48232
48445
  index: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
48233
48446
  description: z.ZodOptional<z.ZodString>;
48447
+ operation: z.ZodOptional<z.ZodString>;
48234
48448
  }, "strip", z.ZodTypeAny, {
48235
48449
  name?: string | undefined;
48236
48450
  description?: string | undefined;
48237
48451
  objectType?: import("@wowok/wowok").ObjectType | undefined;
48452
+ operation?: string | undefined;
48238
48453
  index?: number | undefined;
48239
48454
  }, {
48240
48455
  name?: string | undefined;
48241
48456
  description?: string | undefined;
48242
48457
  objectType?: import("@wowok/wowok").ObjectType | undefined;
48458
+ operation?: string | undefined;
48243
48459
  index?: number | undefined;
48244
48460
  }>;
48461
+ export declare const CommonMistakeInfoSchema: z.ZodObject<{
48462
+ object_type: z.ZodString;
48463
+ operation: z.ZodString;
48464
+ category: z.ZodEnum<["field_name", "unit", "value_range", "workflow", "timing"]>;
48465
+ mistake: z.ZodString;
48466
+ correct_usage: z.ZodString;
48467
+ wrong_example: z.ZodString;
48468
+ correct_example: z.ZodString;
48469
+ }, "strip", z.ZodTypeAny, {
48470
+ object_type: string;
48471
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
48472
+ operation: string;
48473
+ mistake: string;
48474
+ correct_usage: string;
48475
+ wrong_example: string;
48476
+ correct_example: string;
48477
+ }, {
48478
+ object_type: string;
48479
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
48480
+ operation: string;
48481
+ mistake: string;
48482
+ correct_usage: string;
48483
+ wrong_example: string;
48484
+ correct_example: string;
48485
+ }>;
48486
+ export declare const CommonMistakeFilterSchema: z.ZodObject<{
48487
+ object_type: z.ZodOptional<z.ZodString>;
48488
+ operation: z.ZodOptional<z.ZodString>;
48489
+ category: z.ZodOptional<z.ZodEnum<["field_name", "unit", "value_range", "workflow", "timing"]>>;
48490
+ }, "strip", z.ZodTypeAny, {
48491
+ object_type?: string | undefined;
48492
+ category?: "workflow" | "unit" | "field_name" | "value_range" | "timing" | undefined;
48493
+ operation?: string | undefined;
48494
+ }, {
48495
+ object_type?: string | undefined;
48496
+ category?: "workflow" | "unit" | "field_name" | "value_range" | "timing" | undefined;
48497
+ operation?: string | undefined;
48498
+ }>;
48245
48499
  export declare const BridgeTokenInfoSchema: z.ZodObject<{
48246
48500
  tokenId: z.ZodNumber;
48247
48501
  symbol: z.ZodString;
@@ -48283,15 +48537,18 @@ export declare const ProtocolInfoQuerySchema: z.ZodDiscriminatedUnion<"info", [z
48283
48537
  name: z.ZodOptional<z.ZodString>;
48284
48538
  index: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
48285
48539
  description: z.ZodOptional<z.ZodString>;
48540
+ operation: z.ZodOptional<z.ZodString>;
48286
48541
  }, "strip", z.ZodTypeAny, {
48287
48542
  name?: string | undefined;
48288
48543
  description?: string | undefined;
48289
48544
  objectType?: import("@wowok/wowok").ObjectType | undefined;
48545
+ operation?: string | undefined;
48290
48546
  index?: number | undefined;
48291
48547
  }, {
48292
48548
  name?: string | undefined;
48293
48549
  description?: string | undefined;
48294
48550
  objectType?: import("@wowok/wowok").ObjectType | undefined;
48551
+ operation?: string | undefined;
48295
48552
  index?: number | undefined;
48296
48553
  }>>;
48297
48554
  }, "strict", z.ZodTypeAny, {
@@ -48300,6 +48557,7 @@ export declare const ProtocolInfoQuerySchema: z.ZodDiscriminatedUnion<"info", [z
48300
48557
  name?: string | undefined;
48301
48558
  description?: string | undefined;
48302
48559
  objectType?: import("@wowok/wowok").ObjectType | undefined;
48560
+ operation?: string | undefined;
48303
48561
  index?: number | undefined;
48304
48562
  } | undefined;
48305
48563
  }, {
@@ -48308,8 +48566,38 @@ export declare const ProtocolInfoQuerySchema: z.ZodDiscriminatedUnion<"info", [z
48308
48566
  name?: string | undefined;
48309
48567
  description?: string | undefined;
48310
48568
  objectType?: import("@wowok/wowok").ObjectType | undefined;
48569
+ operation?: string | undefined;
48311
48570
  index?: number | undefined;
48312
48571
  } | undefined;
48572
+ }>, z.ZodObject<{
48573
+ info: z.ZodLiteral<"common mistakes">;
48574
+ filter: z.ZodOptional<z.ZodObject<{
48575
+ object_type: z.ZodOptional<z.ZodString>;
48576
+ operation: z.ZodOptional<z.ZodString>;
48577
+ category: z.ZodOptional<z.ZodEnum<["field_name", "unit", "value_range", "workflow", "timing"]>>;
48578
+ }, "strip", z.ZodTypeAny, {
48579
+ object_type?: string | undefined;
48580
+ category?: "workflow" | "unit" | "field_name" | "value_range" | "timing" | undefined;
48581
+ operation?: string | undefined;
48582
+ }, {
48583
+ object_type?: string | undefined;
48584
+ category?: "workflow" | "unit" | "field_name" | "value_range" | "timing" | undefined;
48585
+ operation?: string | undefined;
48586
+ }>>;
48587
+ }, "strict", z.ZodTypeAny, {
48588
+ info: "common mistakes";
48589
+ filter?: {
48590
+ object_type?: string | undefined;
48591
+ category?: "workflow" | "unit" | "field_name" | "value_range" | "timing" | undefined;
48592
+ operation?: string | undefined;
48593
+ } | undefined;
48594
+ }, {
48595
+ info: "common mistakes";
48596
+ filter?: {
48597
+ object_type?: string | undefined;
48598
+ category?: "workflow" | "unit" | "field_name" | "value_range" | "timing" | undefined;
48599
+ operation?: string | undefined;
48600
+ } | undefined;
48313
48601
  }>, z.ZodObject<{
48314
48602
  info: z.ZodLiteral<"guard instructions">;
48315
48603
  filter: z.ZodOptional<z.ZodObject<{
@@ -48379,16 +48667,19 @@ export declare const BuiltinPermissionSchema: z.ZodObject<{
48379
48667
  name: z.ZodString;
48380
48668
  description: z.ZodString;
48381
48669
  object_type: z.ZodString;
48670
+ operation: z.ZodOptional<z.ZodString>;
48382
48671
  }, "strip", z.ZodTypeAny, {
48383
48672
  name: string;
48384
48673
  object_type: string;
48385
48674
  description: string;
48386
48675
  index: number;
48676
+ operation?: string | undefined;
48387
48677
  }, {
48388
48678
  name: string;
48389
48679
  object_type: string;
48390
48680
  description: string;
48391
48681
  index: number;
48682
+ operation?: string | undefined;
48392
48683
  }>, "many">;
48393
48684
  }, "strip", z.ZodTypeAny, {
48394
48685
  result: {
@@ -48396,6 +48687,7 @@ export declare const BuiltinPermissionSchema: z.ZodObject<{
48396
48687
  object_type: string;
48397
48688
  description: string;
48398
48689
  index: number;
48690
+ operation?: string | undefined;
48399
48691
  }[];
48400
48692
  }, {
48401
48693
  result: {
@@ -48403,6 +48695,7 @@ export declare const BuiltinPermissionSchema: z.ZodObject<{
48403
48695
  object_type: string;
48404
48696
  description: string;
48405
48697
  index: number;
48698
+ operation?: string | undefined;
48406
48699
  }[];
48407
48700
  }>;
48408
48701
  export declare const ProtocolInfoResultWrappedSchema: z.ZodDiscriminatedUnion<"info", [z.ZodObject<{
@@ -48441,16 +48734,19 @@ export declare const ProtocolInfoResultWrappedSchema: z.ZodDiscriminatedUnion<"i
48441
48734
  name: z.ZodString;
48442
48735
  description: z.ZodString;
48443
48736
  object_type: z.ZodString;
48737
+ operation: z.ZodOptional<z.ZodString>;
48444
48738
  }, "strip", z.ZodTypeAny, {
48445
48739
  name: string;
48446
48740
  object_type: string;
48447
48741
  description: string;
48448
48742
  index: number;
48743
+ operation?: string | undefined;
48449
48744
  }, {
48450
48745
  name: string;
48451
48746
  object_type: string;
48452
48747
  description: string;
48453
48748
  index: number;
48749
+ operation?: string | undefined;
48454
48750
  }>, "many">;
48455
48751
  }, "strip", z.ZodTypeAny, {
48456
48752
  result: {
@@ -48458,6 +48754,7 @@ export declare const ProtocolInfoResultWrappedSchema: z.ZodDiscriminatedUnion<"i
48458
48754
  object_type: string;
48459
48755
  description: string;
48460
48756
  index: number;
48757
+ operation?: string | undefined;
48461
48758
  }[];
48462
48759
  info: "built-in permissions";
48463
48760
  }, {
@@ -48466,8 +48763,58 @@ export declare const ProtocolInfoResultWrappedSchema: z.ZodDiscriminatedUnion<"i
48466
48763
  object_type: string;
48467
48764
  description: string;
48468
48765
  index: number;
48766
+ operation?: string | undefined;
48469
48767
  }[];
48470
48768
  info: "built-in permissions";
48769
+ }>, z.ZodObject<{
48770
+ info: z.ZodLiteral<"common mistakes">;
48771
+ result: z.ZodArray<z.ZodObject<{
48772
+ object_type: z.ZodString;
48773
+ operation: z.ZodString;
48774
+ category: z.ZodEnum<["field_name", "unit", "value_range", "workflow", "timing"]>;
48775
+ mistake: z.ZodString;
48776
+ correct_usage: z.ZodString;
48777
+ wrong_example: z.ZodString;
48778
+ correct_example: z.ZodString;
48779
+ }, "strip", z.ZodTypeAny, {
48780
+ object_type: string;
48781
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
48782
+ operation: string;
48783
+ mistake: string;
48784
+ correct_usage: string;
48785
+ wrong_example: string;
48786
+ correct_example: string;
48787
+ }, {
48788
+ object_type: string;
48789
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
48790
+ operation: string;
48791
+ mistake: string;
48792
+ correct_usage: string;
48793
+ wrong_example: string;
48794
+ correct_example: string;
48795
+ }>, "many">;
48796
+ }, "strip", z.ZodTypeAny, {
48797
+ result: {
48798
+ object_type: string;
48799
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
48800
+ operation: string;
48801
+ mistake: string;
48802
+ correct_usage: string;
48803
+ wrong_example: string;
48804
+ correct_example: string;
48805
+ }[];
48806
+ info: "common mistakes";
48807
+ }, {
48808
+ result: {
48809
+ object_type: string;
48810
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
48811
+ operation: string;
48812
+ mistake: string;
48813
+ correct_usage: string;
48814
+ wrong_example: string;
48815
+ correct_example: string;
48816
+ }[];
48817
+ info: "common mistakes";
48471
48818
  }>, z.ZodObject<{
48472
48819
  info: z.ZodLiteral<"guard instructions">;
48473
48820
  result: z.ZodArray<z.ZodObject<{
@@ -48652,16 +48999,19 @@ export declare const ProtocolInfoResultSchema: z.ZodObject<{
48652
48999
  name: z.ZodString;
48653
49000
  description: z.ZodString;
48654
49001
  object_type: z.ZodString;
49002
+ operation: z.ZodOptional<z.ZodString>;
48655
49003
  }, "strip", z.ZodTypeAny, {
48656
49004
  name: string;
48657
49005
  object_type: string;
48658
49006
  description: string;
48659
49007
  index: number;
49008
+ operation?: string | undefined;
48660
49009
  }, {
48661
49010
  name: string;
48662
49011
  object_type: string;
48663
49012
  description: string;
48664
49013
  index: number;
49014
+ operation?: string | undefined;
48665
49015
  }>, "many">;
48666
49016
  }, "strip", z.ZodTypeAny, {
48667
49017
  result: {
@@ -48669,6 +49019,7 @@ export declare const ProtocolInfoResultSchema: z.ZodObject<{
48669
49019
  object_type: string;
48670
49020
  description: string;
48671
49021
  index: number;
49022
+ operation?: string | undefined;
48672
49023
  }[];
48673
49024
  info: "built-in permissions";
48674
49025
  }, {
@@ -48677,8 +49028,58 @@ export declare const ProtocolInfoResultSchema: z.ZodObject<{
48677
49028
  object_type: string;
48678
49029
  description: string;
48679
49030
  index: number;
49031
+ operation?: string | undefined;
48680
49032
  }[];
48681
49033
  info: "built-in permissions";
49034
+ }>, z.ZodObject<{
49035
+ info: z.ZodLiteral<"common mistakes">;
49036
+ result: z.ZodArray<z.ZodObject<{
49037
+ object_type: z.ZodString;
49038
+ operation: z.ZodString;
49039
+ category: z.ZodEnum<["field_name", "unit", "value_range", "workflow", "timing"]>;
49040
+ mistake: z.ZodString;
49041
+ correct_usage: z.ZodString;
49042
+ wrong_example: z.ZodString;
49043
+ correct_example: z.ZodString;
49044
+ }, "strip", z.ZodTypeAny, {
49045
+ object_type: string;
49046
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
49047
+ operation: string;
49048
+ mistake: string;
49049
+ correct_usage: string;
49050
+ wrong_example: string;
49051
+ correct_example: string;
49052
+ }, {
49053
+ object_type: string;
49054
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
49055
+ operation: string;
49056
+ mistake: string;
49057
+ correct_usage: string;
49058
+ wrong_example: string;
49059
+ correct_example: string;
49060
+ }>, "many">;
49061
+ }, "strip", z.ZodTypeAny, {
49062
+ result: {
49063
+ object_type: string;
49064
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
49065
+ operation: string;
49066
+ mistake: string;
49067
+ correct_usage: string;
49068
+ wrong_example: string;
49069
+ correct_example: string;
49070
+ }[];
49071
+ info: "common mistakes";
49072
+ }, {
49073
+ result: {
49074
+ object_type: string;
49075
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
49076
+ operation: string;
49077
+ mistake: string;
49078
+ correct_usage: string;
49079
+ wrong_example: string;
49080
+ correct_example: string;
49081
+ }[];
49082
+ info: "common mistakes";
48682
49083
  }>, z.ZodObject<{
48683
49084
  info: z.ZodLiteral<"guard instructions">;
48684
49085
  result: z.ZodArray<z.ZodObject<{
@@ -48840,8 +49241,20 @@ export declare const ProtocolInfoResultSchema: z.ZodObject<{
48840
49241
  object_type: string;
48841
49242
  description: string;
48842
49243
  index: number;
49244
+ operation?: string | undefined;
48843
49245
  }[];
48844
49246
  info: "built-in permissions";
49247
+ } | {
49248
+ result: {
49249
+ object_type: string;
49250
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
49251
+ operation: string;
49252
+ mistake: string;
49253
+ correct_usage: string;
49254
+ wrong_example: string;
49255
+ correct_example: string;
49256
+ }[];
49257
+ info: "common mistakes";
48845
49258
  } | {
48846
49259
  result: {
48847
49260
  name: string;
@@ -48891,8 +49304,20 @@ export declare const ProtocolInfoResultSchema: z.ZodObject<{
48891
49304
  object_type: string;
48892
49305
  description: string;
48893
49306
  index: number;
49307
+ operation?: string | undefined;
48894
49308
  }[];
48895
49309
  info: "built-in permissions";
49310
+ } | {
49311
+ result: {
49312
+ object_type: string;
49313
+ category: "workflow" | "unit" | "field_name" | "value_range" | "timing";
49314
+ operation: string;
49315
+ mistake: string;
49316
+ correct_usage: string;
49317
+ wrong_example: string;
49318
+ correct_example: string;
49319
+ }[];
49320
+ info: "common mistakes";
48896
49321
  } | {
48897
49322
  result: {
48898
49323
  name: string;
@@ -72905,7 +73330,7 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
72905
73330
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
72906
73331
  prev_node: z.ZodString;
72907
73332
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
72908
- forwards: z.ZodArray<z.ZodObject<{
73333
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
72909
73334
  name: z.ZodString;
72910
73335
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
72911
73336
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -72938,6 +73363,21 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
72938
73363
  guard?: unknown;
72939
73364
  namedOperator?: string | null | undefined;
72940
73365
  permissionIndex?: string | number | null | undefined;
73366
+ }>, {
73367
+ name: string;
73368
+ weight: string | number;
73369
+ guard?: string | {
73370
+ guard: string;
73371
+ retained_submission?: (string | number)[] | null | undefined;
73372
+ } | null | undefined;
73373
+ namedOperator?: string | null | undefined;
73374
+ permissionIndex?: string | number | null | undefined;
73375
+ }, {
73376
+ name: string;
73377
+ weight: string | number;
73378
+ guard?: unknown;
73379
+ namedOperator?: string | null | undefined;
73380
+ permissionIndex?: string | number | null | undefined;
72941
73381
  }>, "many">;
72942
73382
  }, "strict", z.ZodTypeAny, {
72943
73383
  forwards: {
@@ -73060,7 +73500,7 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73060
73500
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
73061
73501
  prev_node: z.ZodString;
73062
73502
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
73063
- forwards: z.ZodArray<z.ZodObject<{
73503
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
73064
73504
  name: z.ZodString;
73065
73505
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
73066
73506
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -73093,6 +73533,21 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73093
73533
  guard?: unknown;
73094
73534
  namedOperator?: string | null | undefined;
73095
73535
  permissionIndex?: string | number | null | undefined;
73536
+ }>, {
73537
+ name: string;
73538
+ weight: string | number;
73539
+ guard?: string | {
73540
+ guard: string;
73541
+ retained_submission?: (string | number)[] | null | undefined;
73542
+ } | null | undefined;
73543
+ namedOperator?: string | null | undefined;
73544
+ permissionIndex?: string | number | null | undefined;
73545
+ }, {
73546
+ name: string;
73547
+ weight: string | number;
73548
+ guard?: unknown;
73549
+ namedOperator?: string | null | undefined;
73550
+ permissionIndex?: string | number | null | undefined;
73096
73551
  }>, "many">;
73097
73552
  }, "strict", z.ZodTypeAny, {
73098
73553
  forwards: {
@@ -73215,7 +73670,7 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73215
73670
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
73216
73671
  prev_node: z.ZodString;
73217
73672
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
73218
- forwards: z.ZodArray<z.ZodObject<{
73673
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
73219
73674
  name: z.ZodString;
73220
73675
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
73221
73676
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -73248,6 +73703,21 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73248
73703
  guard?: unknown;
73249
73704
  namedOperator?: string | null | undefined;
73250
73705
  permissionIndex?: string | number | null | undefined;
73706
+ }>, {
73707
+ name: string;
73708
+ weight: string | number;
73709
+ guard?: string | {
73710
+ guard: string;
73711
+ retained_submission?: (string | number)[] | null | undefined;
73712
+ } | null | undefined;
73713
+ namedOperator?: string | null | undefined;
73714
+ permissionIndex?: string | number | null | undefined;
73715
+ }, {
73716
+ name: string;
73717
+ weight: string | number;
73718
+ guard?: unknown;
73719
+ namedOperator?: string | null | undefined;
73720
+ permissionIndex?: string | number | null | undefined;
73251
73721
  }>, "many">;
73252
73722
  }, "strict", z.ZodTypeAny, {
73253
73723
  forwards: {
@@ -73373,7 +73843,7 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73373
73843
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
73374
73844
  prev_node: z.ZodString;
73375
73845
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
73376
- forwards: z.ZodArray<z.ZodObject<{
73846
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
73377
73847
  name: z.ZodString;
73378
73848
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
73379
73849
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -73406,6 +73876,21 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73406
73876
  guard?: unknown;
73407
73877
  namedOperator?: string | null | undefined;
73408
73878
  permissionIndex?: string | number | null | undefined;
73879
+ }>, {
73880
+ name: string;
73881
+ weight: string | number;
73882
+ guard?: string | {
73883
+ guard: string;
73884
+ retained_submission?: (string | number)[] | null | undefined;
73885
+ } | null | undefined;
73886
+ namedOperator?: string | null | undefined;
73887
+ permissionIndex?: string | number | null | undefined;
73888
+ }, {
73889
+ name: string;
73890
+ weight: string | number;
73891
+ guard?: unknown;
73892
+ namedOperator?: string | null | undefined;
73893
+ permissionIndex?: string | number | null | undefined;
73409
73894
  }>, "many">;
73410
73895
  }, "strict", z.ZodTypeAny, {
73411
73896
  forwards: {
@@ -73531,7 +74016,7 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73531
74016
  value: z.ZodArray<z.ZodEffects<z.ZodObject<{
73532
74017
  prev_node: z.ZodString;
73533
74018
  threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
73534
- forwards: z.ZodArray<z.ZodObject<{
74019
+ forwards: z.ZodArray<z.ZodEffects<z.ZodObject<{
73535
74020
  name: z.ZodString;
73536
74021
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
73537
74022
  permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -73564,6 +74049,21 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
73564
74049
  guard?: unknown;
73565
74050
  namedOperator?: string | null | undefined;
73566
74051
  permissionIndex?: string | number | null | undefined;
74052
+ }>, {
74053
+ name: string;
74054
+ weight: string | number;
74055
+ guard?: string | {
74056
+ guard: string;
74057
+ retained_submission?: (string | number)[] | null | undefined;
74058
+ } | null | undefined;
74059
+ namedOperator?: string | null | undefined;
74060
+ permissionIndex?: string | number | null | undefined;
74061
+ }, {
74062
+ name: string;
74063
+ weight: string | number;
74064
+ guard?: unknown;
74065
+ namedOperator?: string | null | undefined;
74066
+ permissionIndex?: string | number | null | undefined;
73567
74067
  }>, "many">;
73568
74068
  }, "strict", z.ZodTypeAny, {
73569
74069
  forwards: {
@@ -75366,6 +75866,65 @@ export declare const OnchainQueryResultSchema_Part3: z.ZodUnion<[z.ZodObject<{
75366
75866
  has_next_page: boolean;
75367
75867
  cache_expire?: number | "INFINITE" | undefined;
75368
75868
  } | undefined;
75869
+ }>, z.ZodObject<{
75870
+ query_type: z.ZodLiteral<"token_value_convert">;
75871
+ result: z.ZodObject<{
75872
+ token_type: z.ZodString;
75873
+ symbol: z.ZodOptional<z.ZodString>;
75874
+ decimals: z.ZodOptional<z.ZodNumber>;
75875
+ precision_known: z.ZodBoolean;
75876
+ direction: z.ZodUnion<[z.ZodLiteral<"raw_to_unit">, z.ZodLiteral<"unit_to_raw">]>;
75877
+ input: z.ZodString;
75878
+ output: z.ZodString;
75879
+ error: z.ZodOptional<z.ZodString>;
75880
+ text: z.ZodString;
75881
+ }, "strict", z.ZodTypeAny, {
75882
+ token_type: string;
75883
+ text: string;
75884
+ input: string;
75885
+ precision_known: boolean;
75886
+ direction: "raw_to_unit" | "unit_to_raw";
75887
+ output: string;
75888
+ symbol?: string | undefined;
75889
+ error?: string | undefined;
75890
+ decimals?: number | undefined;
75891
+ }, {
75892
+ token_type: string;
75893
+ text: string;
75894
+ input: string;
75895
+ precision_known: boolean;
75896
+ direction: "raw_to_unit" | "unit_to_raw";
75897
+ output: string;
75898
+ symbol?: string | undefined;
75899
+ error?: string | undefined;
75900
+ decimals?: number | undefined;
75901
+ }>;
75902
+ }, "strict", z.ZodTypeAny, {
75903
+ result: {
75904
+ token_type: string;
75905
+ text: string;
75906
+ input: string;
75907
+ precision_known: boolean;
75908
+ direction: "raw_to_unit" | "unit_to_raw";
75909
+ output: string;
75910
+ symbol?: string | undefined;
75911
+ error?: string | undefined;
75912
+ decimals?: number | undefined;
75913
+ };
75914
+ query_type: "token_value_convert";
75915
+ }, {
75916
+ result: {
75917
+ token_type: string;
75918
+ text: string;
75919
+ input: string;
75920
+ precision_known: boolean;
75921
+ direction: "raw_to_unit" | "unit_to_raw";
75922
+ output: string;
75923
+ symbol?: string | undefined;
75924
+ error?: string | undefined;
75925
+ decimals?: number | undefined;
75926
+ };
75927
+ query_type: "token_value_convert";
75369
75928
  }>]>;
75370
75929
  export declare const AllQueryResultsSchema: z.ZodType<any>;
75371
75930
  export declare const WatchQueryOperationsResultSchema: z.ZodType<{
@@ -75389,6 +75948,8 @@ export type ServiceSale = z.infer<typeof ServiceSaleSchema>;
75389
75948
  export type PurchasedItem = z.infer<typeof PurchasedItemSchema>;
75390
75949
  export type ConstantItem = z.infer<typeof ConstantItemSchema>;
75391
75950
  export type PermissionInfoType = z.infer<typeof PermissionInfoTypeSchema>;
75951
+ export type CommonMistakeInfo = z.infer<typeof CommonMistakeInfoSchema>;
75952
+ export type CommonMistakeFilter = z.infer<typeof CommonMistakeFilterSchema>;
75392
75953
  export type BridgeTokenInfo = z.infer<typeof BridgeTokenInfoSchema>;
75393
75954
  export type ProtocolInfoQuery = z.infer<typeof ProtocolInfoQuerySchema>;
75394
75955
  export type ProtocolInfoResult = z.infer<typeof ProtocolInfoResultSchema>;