@wowok/agent-mcp 2.3.13 → 2.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/dist/config/index.d.ts +1 -0
  2. package/dist/config/index.js +1 -0
  3. package/dist/config/runtime.d.ts +26 -0
  4. package/dist/config/runtime.js +217 -0
  5. package/dist/customer/industry-risks.d.ts +36 -0
  6. package/dist/customer/industry-risks.js +424 -0
  7. package/dist/customer/info-puzzle.d.ts +102 -0
  8. package/dist/customer/info-puzzle.js +312 -0
  9. package/dist/customer/order-monitor.d.ts +75 -0
  10. package/dist/customer/order-monitor.js +327 -0
  11. package/dist/customer/order-strategy.d.ts +36 -0
  12. package/dist/customer/order-strategy.js +373 -0
  13. package/dist/customer/post-purchase.d.ts +42 -0
  14. package/dist/customer/post-purchase.js +350 -0
  15. package/dist/customer/reminder-system.d.ts +42 -0
  16. package/dist/customer/reminder-system.js +295 -0
  17. package/dist/customer/risk-assessment.d.ts +8 -0
  18. package/dist/customer/risk-assessment.js +337 -0
  19. package/dist/customer/types.d.ts +193 -0
  20. package/dist/customer/types.js +13 -0
  21. package/dist/customer/user-preferences.d.ts +67 -0
  22. package/dist/customer/user-preferences.js +451 -0
  23. package/dist/experience/experience-reuse.d.ts +10 -0
  24. package/dist/experience/experience-reuse.js +103 -0
  25. package/dist/experience/index.d.ts +6 -0
  26. package/dist/experience/index.js +5 -0
  27. package/dist/experience/intent-distill.d.ts +3 -0
  28. package/dist/experience/intent-distill.js +83 -0
  29. package/dist/experience/realtime-feedback.d.ts +5 -0
  30. package/dist/experience/realtime-feedback.js +77 -0
  31. package/dist/experience/types.d.ts +50 -0
  32. package/dist/experience/types.js +1 -0
  33. package/dist/experience/user-profile.d.ts +25 -0
  34. package/dist/experience/user-profile.js +171 -0
  35. package/dist/harness/checkpoint.d.ts +8 -0
  36. package/dist/harness/checkpoint.js +129 -0
  37. package/dist/harness/index.d.ts +33 -0
  38. package/dist/harness/index.js +75 -0
  39. package/dist/harness/plan.d.ts +18 -0
  40. package/dist/harness/plan.js +252 -0
  41. package/dist/harness/recover.d.ts +17 -0
  42. package/dist/harness/recover.js +139 -0
  43. package/dist/harness/types.d.ts +137 -0
  44. package/dist/harness/types.js +1 -0
  45. package/dist/harness/verify.d.ts +42 -0
  46. package/dist/harness/verify.js +237 -0
  47. package/dist/index.js +667 -201
  48. package/dist/knowledge/acquisition-flywheel.d.ts +50 -0
  49. package/dist/knowledge/acquisition-flywheel.js +183 -0
  50. package/dist/knowledge/arbitration-trust.d.ts +24 -0
  51. package/dist/knowledge/arbitration-trust.js +117 -0
  52. package/dist/knowledge/audit-rules.d.ts +28 -0
  53. package/dist/knowledge/audit-rules.js +141 -0
  54. package/dist/knowledge/demand-matching.d.ts +29 -0
  55. package/dist/knowledge/demand-matching.js +132 -0
  56. package/dist/knowledge/dynamic-pricing.d.ts +31 -0
  57. package/dist/knowledge/dynamic-pricing.js +87 -0
  58. package/dist/knowledge/flywheel-loop.d.ts +87 -0
  59. package/dist/knowledge/flywheel-loop.js +378 -0
  60. package/dist/knowledge/glossary.d.ts +18 -0
  61. package/dist/knowledge/glossary.js +209 -0
  62. package/dist/knowledge/index.d.ts +64 -0
  63. package/dist/knowledge/index.js +66 -0
  64. package/dist/knowledge/industry-evolution.d.ts +82 -0
  65. package/dist/knowledge/industry-evolution.js +323 -0
  66. package/dist/knowledge/industry-generalizer.d.ts +17 -0
  67. package/dist/knowledge/industry-generalizer.js +381 -0
  68. package/dist/knowledge/industry-registry.d.ts +49 -0
  69. package/dist/knowledge/industry-registry.js +167 -0
  70. package/dist/knowledge/intent-metrics.d.ts +42 -0
  71. package/dist/knowledge/intent-metrics.js +566 -0
  72. package/dist/knowledge/process-model.d.ts +24 -0
  73. package/dist/knowledge/process-model.js +160 -0
  74. package/dist/knowledge/reputation-rules.d.ts +42 -0
  75. package/dist/knowledge/reputation-rules.js +99 -0
  76. package/dist/knowledge/reward-templates.d.ts +25 -0
  77. package/dist/knowledge/reward-templates.js +125 -0
  78. package/dist/knowledge/safety-rules.d.ts +36 -0
  79. package/dist/knowledge/safety-rules.js +171 -0
  80. package/dist/knowledge/tool-constraints.d.ts +30 -0
  81. package/dist/knowledge/tool-constraints.js +185 -0
  82. package/dist/knowledge/trust-metrics.d.ts +37 -0
  83. package/dist/knowledge/trust-metrics.js +138 -0
  84. package/dist/loop-engineering/aggregate.d.ts +50 -0
  85. package/dist/loop-engineering/aggregate.js +132 -0
  86. package/dist/loop-engineering/diagnose.d.ts +22 -0
  87. package/dist/loop-engineering/diagnose.js +273 -0
  88. package/dist/loop-engineering/improve.d.ts +26 -0
  89. package/dist/loop-engineering/improve.js +229 -0
  90. package/dist/loop-engineering/index.d.ts +4 -0
  91. package/dist/loop-engineering/index.js +4 -0
  92. package/dist/loop-engineering/pipeline.d.ts +17 -0
  93. package/dist/loop-engineering/pipeline.js +56 -0
  94. package/dist/mode-market/index.d.ts +3 -0
  95. package/dist/mode-market/index.js +3 -0
  96. package/dist/mode-market/registry.d.ts +53 -0
  97. package/dist/mode-market/registry.js +124 -0
  98. package/dist/mode-market/review.d.ts +27 -0
  99. package/dist/mode-market/review.js +214 -0
  100. package/dist/mode-market/submission.d.ts +25 -0
  101. package/dist/mode-market/submission.js +85 -0
  102. package/dist/project/graph.d.ts +71 -0
  103. package/dist/project/graph.js +314 -0
  104. package/dist/project/index.d.ts +62 -0
  105. package/dist/project/index.js +167 -0
  106. package/dist/project/namespace.d.ts +62 -0
  107. package/dist/project/namespace.js +181 -0
  108. package/dist/project/query.d.ts +40 -0
  109. package/dist/project/query.js +110 -0
  110. package/dist/safety/confirm-gate.d.ts +15 -0
  111. package/dist/safety/confirm-gate.js +44 -0
  112. package/dist/safety/index.d.ts +3 -0
  113. package/dist/safety/index.js +3 -0
  114. package/dist/safety/preview.d.ts +2 -0
  115. package/dist/safety/preview.js +36 -0
  116. package/dist/schema/call/allocation.d.ts +55 -40
  117. package/dist/schema/call/arbitration.d.ts +201 -186
  118. package/dist/schema/call/base.d.ts +2104 -24
  119. package/dist/schema/call/base.js +168 -22
  120. package/dist/schema/call/bridge-handler.js +36 -18
  121. package/dist/schema/call/bridge.d.ts +777 -120
  122. package/dist/schema/call/bridge.js +13 -2
  123. package/dist/schema/call/contact.d.ts +15 -0
  124. package/dist/schema/call/demand.d.ts +69 -54
  125. package/dist/schema/call/guard.d.ts +125 -80
  126. package/dist/schema/call/handler.d.ts +5 -1
  127. package/dist/schema/call/handler.js +108 -3
  128. package/dist/schema/call/index.d.ts +1 -0
  129. package/dist/schema/call/index.js +1 -0
  130. package/dist/schema/call/machine.d.ts +830 -800
  131. package/dist/schema/call/order.d.ts +27 -12
  132. package/dist/schema/call/payment.d.ts +15 -0
  133. package/dist/schema/call/permission.d.ts +15 -0
  134. package/dist/schema/call/personal.d.ts +15 -0
  135. package/dist/schema/call/progress.d.ts +21 -6
  136. package/dist/schema/call/proof.d.ts +42 -12
  137. package/dist/schema/call/proof.js +3 -3
  138. package/dist/schema/call/repository.d.ts +91 -76
  139. package/dist/schema/call/reward.d.ts +51 -36
  140. package/dist/schema/call/semantic.d.ts +24 -0
  141. package/dist/schema/call/semantic.js +981 -0
  142. package/dist/schema/call/service.d.ts +444 -429
  143. package/dist/schema/call/treasury.d.ts +219 -204
  144. package/dist/schema/common/index.js +3 -3
  145. package/dist/schema/local/index.d.ts +341 -74
  146. package/dist/schema/local/index.js +44 -7
  147. package/dist/schema/messenger/index.d.ts +1034 -92
  148. package/dist/schema/messenger/index.js +18 -0
  149. package/dist/schema/operations.d.ts +2634 -1817
  150. package/dist/schema/operations.js +16 -5
  151. package/dist/schema/query/index.d.ts +2293 -2289
  152. package/dist/schema/query/index.js +34 -28
  153. package/dist/schemas/account_operation.output.json +28 -16
  154. package/dist/schemas/account_operation.schema.json +2 -2
  155. package/dist/schemas/bridge_operation.output.json +520 -0
  156. package/dist/schemas/bridge_operation.schema.json +15 -0
  157. package/dist/schemas/guard2file.schema.json +15 -0
  158. package/dist/schemas/index.json +1 -1
  159. package/dist/schemas/local_info_operation.output.json +26 -0
  160. package/dist/schemas/local_info_operation.schema.json +1 -1
  161. package/dist/schemas/local_mark_operation.output.json +27 -1
  162. package/dist/schemas/local_mark_operation.schema.json +4 -4
  163. package/dist/schemas/machineNode2file.schema.json +15 -0
  164. package/dist/schemas/messenger_operation.output.json +549 -0
  165. package/dist/schemas/messenger_operation.schema.json +21 -0
  166. package/dist/schemas/onchain_events.output.json +3 -0
  167. package/dist/schemas/onchain_operations.output.json +814 -37
  168. package/dist/schemas/onchain_operations.schema.json +117 -40
  169. package/dist/schemas/onchain_operations_allocation.schema.json +26 -9
  170. package/dist/schemas/onchain_operations_arbitration.schema.json +26 -9
  171. package/dist/schemas/onchain_operations_contact.schema.json +26 -9
  172. package/dist/schemas/onchain_operations_demand.schema.json +26 -9
  173. package/dist/schemas/onchain_operations_gen_passport.schema.json +51 -17
  174. package/dist/schemas/onchain_operations_guard.schema.json +26 -9
  175. package/dist/schemas/onchain_operations_machine.schema.json +92 -32
  176. package/dist/schemas/onchain_operations_order.schema.json +26 -9
  177. package/dist/schemas/onchain_operations_payment.schema.json +26 -9
  178. package/dist/schemas/onchain_operations_permission.schema.json +26 -9
  179. package/dist/schemas/onchain_operations_personal.schema.json +26 -9
  180. package/dist/schemas/onchain_operations_progress.schema.json +26 -9
  181. package/dist/schemas/onchain_operations_repository.schema.json +26 -9
  182. package/dist/schemas/onchain_operations_reward.schema.json +26 -9
  183. package/dist/schemas/onchain_operations_service.schema.json +26 -9
  184. package/dist/schemas/onchain_operations_treasury.schema.json +26 -9
  185. package/dist/schemas/onchain_table_data.output.json +224 -69
  186. package/dist/schemas/onchain_table_data.schema.json +2 -2
  187. package/dist/schemas/query_toolkit.schema.json +5 -1
  188. package/dist/telemetry/index.d.ts +19 -0
  189. package/dist/telemetry/index.js +112 -0
  190. package/dist/telemetry/redact.d.ts +2 -0
  191. package/dist/telemetry/redact.js +23 -0
  192. package/dist/telemetry/storage.d.ts +8 -0
  193. package/dist/telemetry/storage.js +80 -0
  194. package/package.json +6 -3
@@ -257,7 +257,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
257
257
  id_from_submission?: number | undefined;
258
258
  data_from_submission?: number | undefined;
259
259
  }[];
260
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
260
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
261
261
  quote_guard?: string | null | undefined;
262
262
  }, {
263
263
  value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
@@ -268,7 +268,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
268
268
  id_from_submission?: number | undefined;
269
269
  data_from_submission?: number | undefined;
270
270
  }[];
271
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
271
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
272
272
  quote_guard?: string | null | undefined;
273
273
  }>, "many">;
274
274
  }, "strict", z.ZodTypeAny, {
@@ -282,7 +282,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
282
282
  id_from_submission?: number | undefined;
283
283
  data_from_submission?: number | undefined;
284
284
  }[];
285
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
285
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
286
286
  quote_guard?: string | null | undefined;
287
287
  }[];
288
288
  }, {
@@ -296,7 +296,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
296
296
  id_from_submission?: number | undefined;
297
297
  data_from_submission?: number | undefined;
298
298
  }[];
299
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
299
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
300
300
  quote_guard?: string | null | undefined;
301
301
  }[];
302
302
  }>;
@@ -347,7 +347,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
347
347
  id_from_submission?: number | undefined;
348
348
  data_from_submission?: number | undefined;
349
349
  }[];
350
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
350
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
351
351
  quote_guard?: string | null | undefined;
352
352
  }, {
353
353
  value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
@@ -358,7 +358,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
358
358
  id_from_submission?: number | undefined;
359
359
  data_from_submission?: number | undefined;
360
360
  }[];
361
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
361
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
362
362
  quote_guard?: string | null | undefined;
363
363
  }>, "many">;
364
364
  }, "strict", z.ZodTypeAny, {
@@ -372,7 +372,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
372
372
  id_from_submission?: number | undefined;
373
373
  data_from_submission?: number | undefined;
374
374
  }[];
375
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
375
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
376
376
  quote_guard?: string | null | undefined;
377
377
  }[];
378
378
  }, {
@@ -386,7 +386,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
386
386
  id_from_submission?: number | undefined;
387
387
  data_from_submission?: number | undefined;
388
388
  }[];
389
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
389
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
390
390
  quote_guard?: string | null | undefined;
391
391
  }[];
392
392
  }>, z.ZodObject<{
@@ -800,7 +800,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
800
800
  id_from_submission?: number | undefined;
801
801
  data_from_submission?: number | undefined;
802
802
  }[];
803
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
803
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
804
804
  quote_guard?: string | null | undefined;
805
805
  }, {
806
806
  value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
@@ -811,7 +811,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
811
811
  id_from_submission?: number | undefined;
812
812
  data_from_submission?: number | undefined;
813
813
  }[];
814
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
814
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
815
815
  quote_guard?: string | null | undefined;
816
816
  }>, "many">;
817
817
  }, "strict", z.ZodTypeAny, {
@@ -825,7 +825,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
825
825
  id_from_submission?: number | undefined;
826
826
  data_from_submission?: number | undefined;
827
827
  }[];
828
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
828
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
829
829
  quote_guard?: string | null | undefined;
830
830
  }[];
831
831
  }, {
@@ -839,7 +839,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
839
839
  id_from_submission?: number | undefined;
840
840
  data_from_submission?: number | undefined;
841
841
  }[];
842
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
842
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
843
843
  quote_guard?: string | null | undefined;
844
844
  }[];
845
845
  }>, z.ZodObject<{
@@ -1150,6 +1150,15 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1150
1150
  } | undefined;
1151
1151
  };
1152
1152
  description?: string | undefined;
1153
+ rewards?: {
1154
+ op: "set" | "add";
1155
+ objects: string[];
1156
+ } | {
1157
+ op: "remove";
1158
+ objects: string[];
1159
+ } | {
1160
+ op: "clear";
1161
+ } | undefined;
1153
1162
  owner_receive?: {
1154
1163
  received: {
1155
1164
  id: string;
@@ -1163,15 +1172,6 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1163
1172
  id: string;
1164
1173
  content_raw?: any;
1165
1174
  }[] | undefined;
1166
- rewards?: {
1167
- op: "set" | "add";
1168
- objects: string[];
1169
- } | {
1170
- op: "remove";
1171
- objects: string[];
1172
- } | {
1173
- op: "clear";
1174
- } | undefined;
1175
1175
  um?: string | null | undefined;
1176
1176
  policies?: {
1177
1177
  op: "set" | "add";
@@ -1184,7 +1184,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1184
1184
  id_from_submission?: number | undefined;
1185
1185
  data_from_submission?: number | undefined;
1186
1186
  }[];
1187
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1187
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1188
1188
  quote_guard?: string | null | undefined;
1189
1189
  }[];
1190
1190
  } | {
@@ -1238,6 +1238,15 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1238
1238
  } | undefined;
1239
1239
  };
1240
1240
  description?: string | undefined;
1241
+ rewards?: {
1242
+ op: "set" | "add";
1243
+ objects: string[];
1244
+ } | {
1245
+ op: "remove";
1246
+ objects: string[];
1247
+ } | {
1248
+ op: "clear";
1249
+ } | undefined;
1241
1250
  owner_receive?: {
1242
1251
  received: {
1243
1252
  id: string;
@@ -1251,15 +1260,6 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1251
1260
  id: string;
1252
1261
  content_raw?: any;
1253
1262
  }[] | undefined;
1254
- rewards?: {
1255
- op: "set" | "add";
1256
- objects: string[];
1257
- } | {
1258
- op: "remove";
1259
- objects: string[];
1260
- } | {
1261
- op: "clear";
1262
- } | undefined;
1263
1263
  um?: string | null | undefined;
1264
1264
  policies?: {
1265
1265
  op: "set" | "add";
@@ -1272,7 +1272,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1272
1272
  id_from_submission?: number | undefined;
1273
1273
  data_from_submission?: number | undefined;
1274
1274
  }[];
1275
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1275
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1276
1276
  quote_guard?: string | null | undefined;
1277
1277
  }[];
1278
1278
  } | {
@@ -1396,7 +1396,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1396
1396
  id_from_submission?: number | undefined;
1397
1397
  data_from_submission?: number | undefined;
1398
1398
  }[];
1399
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1399
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1400
1400
  quote_guard?: string | null | undefined;
1401
1401
  }, {
1402
1402
  value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
@@ -1407,7 +1407,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1407
1407
  id_from_submission?: number | undefined;
1408
1408
  data_from_submission?: number | undefined;
1409
1409
  }[];
1410
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1410
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1411
1411
  quote_guard?: string | null | undefined;
1412
1412
  }>, "many">;
1413
1413
  }, "strict", z.ZodTypeAny, {
@@ -1421,7 +1421,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1421
1421
  id_from_submission?: number | undefined;
1422
1422
  data_from_submission?: number | undefined;
1423
1423
  }[];
1424
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1424
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1425
1425
  quote_guard?: string | null | undefined;
1426
1426
  }[];
1427
1427
  }, {
@@ -1435,7 +1435,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1435
1435
  id_from_submission?: number | undefined;
1436
1436
  data_from_submission?: number | undefined;
1437
1437
  }[];
1438
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1438
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1439
1439
  quote_guard?: string | null | undefined;
1440
1440
  }[];
1441
1441
  }>, z.ZodObject<{
@@ -1746,6 +1746,15 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1746
1746
  } | undefined;
1747
1747
  };
1748
1748
  description?: string | undefined;
1749
+ rewards?: {
1750
+ op: "set" | "add";
1751
+ objects: string[];
1752
+ } | {
1753
+ op: "remove";
1754
+ objects: string[];
1755
+ } | {
1756
+ op: "clear";
1757
+ } | undefined;
1749
1758
  owner_receive?: {
1750
1759
  received: {
1751
1760
  id: string;
@@ -1759,15 +1768,6 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1759
1768
  id: string;
1760
1769
  content_raw?: any;
1761
1770
  }[] | undefined;
1762
- rewards?: {
1763
- op: "set" | "add";
1764
- objects: string[];
1765
- } | {
1766
- op: "remove";
1767
- objects: string[];
1768
- } | {
1769
- op: "clear";
1770
- } | undefined;
1771
1771
  um?: string | null | undefined;
1772
1772
  policies?: {
1773
1773
  op: "set" | "add";
@@ -1780,7 +1780,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1780
1780
  id_from_submission?: number | undefined;
1781
1781
  data_from_submission?: number | undefined;
1782
1782
  }[];
1783
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1783
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1784
1784
  quote_guard?: string | null | undefined;
1785
1785
  }[];
1786
1786
  } | {
@@ -1834,6 +1834,15 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1834
1834
  } | undefined;
1835
1835
  };
1836
1836
  description?: string | undefined;
1837
+ rewards?: {
1838
+ op: "set" | "add";
1839
+ objects: string[];
1840
+ } | {
1841
+ op: "remove";
1842
+ objects: string[];
1843
+ } | {
1844
+ op: "clear";
1845
+ } | undefined;
1837
1846
  owner_receive?: {
1838
1847
  received: {
1839
1848
  id: string;
@@ -1847,15 +1856,6 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1847
1856
  id: string;
1848
1857
  content_raw?: any;
1849
1858
  }[] | undefined;
1850
- rewards?: {
1851
- op: "set" | "add";
1852
- objects: string[];
1853
- } | {
1854
- op: "remove";
1855
- objects: string[];
1856
- } | {
1857
- op: "clear";
1858
- } | undefined;
1859
1859
  um?: string | null | undefined;
1860
1860
  policies?: {
1861
1861
  op: "set" | "add";
@@ -1868,7 +1868,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1868
1868
  id_from_submission?: number | undefined;
1869
1869
  data_from_submission?: number | undefined;
1870
1870
  }[];
1871
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
1871
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
1872
1872
  quote_guard?: string | null | undefined;
1873
1873
  }[];
1874
1874
  } | {
@@ -1914,18 +1914,27 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1914
1914
  no_cache: z.ZodOptional<z.ZodBoolean>;
1915
1915
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
1916
1916
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1917
+ confirmed: z.ZodOptional<z.ZodBoolean>;
1918
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1919
+ project: z.ZodOptional<z.ZodString>;
1917
1920
  }, "strict", z.ZodTypeAny, {
1918
1921
  account: string;
1919
1922
  no_cache?: boolean | undefined;
1920
1923
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1921
1924
  permission_guard?: string[] | undefined;
1922
1925
  referrer?: string | undefined;
1926
+ confirmed?: boolean | undefined;
1927
+ user_intent_phrases?: string[] | undefined;
1928
+ project?: string | undefined;
1923
1929
  }, {
1924
1930
  no_cache?: boolean | undefined;
1925
1931
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1926
1932
  account?: string | undefined;
1927
1933
  permission_guard?: string[] | undefined;
1928
1934
  referrer?: string | undefined;
1935
+ confirmed?: boolean | undefined;
1936
+ user_intent_phrases?: string[] | undefined;
1937
+ project?: string | undefined;
1929
1938
  }>>;
1930
1939
  submission: z.ZodOptional<z.ZodObject<{
1931
1940
  type: z.ZodLiteral<"submission">;
@@ -2123,6 +2132,15 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2123
2132
  } | undefined;
2124
2133
  };
2125
2134
  description?: string | undefined;
2135
+ rewards?: {
2136
+ op: "set" | "add";
2137
+ objects: string[];
2138
+ } | {
2139
+ op: "remove";
2140
+ objects: string[];
2141
+ } | {
2142
+ op: "clear";
2143
+ } | undefined;
2126
2144
  owner_receive?: {
2127
2145
  received: {
2128
2146
  id: string;
@@ -2136,15 +2154,6 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2136
2154
  id: string;
2137
2155
  content_raw?: any;
2138
2156
  }[] | undefined;
2139
- rewards?: {
2140
- op: "set" | "add";
2141
- objects: string[];
2142
- } | {
2143
- op: "remove";
2144
- objects: string[];
2145
- } | {
2146
- op: "clear";
2147
- } | undefined;
2148
2157
  um?: string | null | undefined;
2149
2158
  policies?: {
2150
2159
  op: "set" | "add";
@@ -2157,7 +2166,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2157
2166
  id_from_submission?: number | undefined;
2158
2167
  data_from_submission?: number | undefined;
2159
2168
  }[];
2160
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
2169
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
2161
2170
  quote_guard?: string | null | undefined;
2162
2171
  }[];
2163
2172
  } | {
@@ -2230,6 +2239,9 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2230
2239
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
2231
2240
  permission_guard?: string[] | undefined;
2232
2241
  referrer?: string | undefined;
2242
+ confirmed?: boolean | undefined;
2243
+ user_intent_phrases?: string[] | undefined;
2244
+ project?: string | undefined;
2233
2245
  } | undefined;
2234
2246
  }, {
2235
2247
  data: {
@@ -2247,6 +2259,15 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2247
2259
  } | undefined;
2248
2260
  };
2249
2261
  description?: string | undefined;
2262
+ rewards?: {
2263
+ op: "set" | "add";
2264
+ objects: string[];
2265
+ } | {
2266
+ op: "remove";
2267
+ objects: string[];
2268
+ } | {
2269
+ op: "clear";
2270
+ } | undefined;
2250
2271
  owner_receive?: {
2251
2272
  received: {
2252
2273
  id: string;
@@ -2260,15 +2281,6 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2260
2281
  id: string;
2261
2282
  content_raw?: any;
2262
2283
  }[] | undefined;
2263
- rewards?: {
2264
- op: "set" | "add";
2265
- objects: string[];
2266
- } | {
2267
- op: "remove";
2268
- objects: string[];
2269
- } | {
2270
- op: "clear";
2271
- } | undefined;
2272
2284
  um?: string | null | undefined;
2273
2285
  policies?: {
2274
2286
  op: "set" | "add";
@@ -2281,7 +2293,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2281
2293
  id_from_submission?: number | undefined;
2282
2294
  data_from_submission?: number | undefined;
2283
2295
  }[];
2284
- id_from: 0 | 1 | 2 | "Signer" | "signer" | "None" | "Clock" | "none" | "clock";
2296
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "signer" | "None" | "Clock" | "clock";
2285
2297
  quote_guard?: string | null | undefined;
2286
2298
  }[];
2287
2299
  } | {
@@ -2354,5 +2366,8 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2354
2366
  account?: string | undefined;
2355
2367
  permission_guard?: string[] | undefined;
2356
2368
  referrer?: string | undefined;
2369
+ confirmed?: boolean | undefined;
2370
+ user_intent_phrases?: string[] | undefined;
2371
+ project?: string | undefined;
2357
2372
  } | undefined;
2358
2373
  }>;
@@ -305,6 +305,12 @@ export declare const CallReward_DataSchema: z.ZodObject<{
305
305
  } | undefined;
306
306
  };
307
307
  description?: string | undefined;
308
+ coin_add?: {
309
+ balance: string | number;
310
+ } | {
311
+ coin: string;
312
+ } | undefined;
313
+ claim?: string | undefined;
308
314
  owner_receive?: {
309
315
  received: {
310
316
  id: string;
@@ -328,12 +334,6 @@ export declare const CallReward_DataSchema: z.ZodObject<{
328
334
  balance: string | number;
329
335
  token_type: string;
330
336
  } | "recently" | undefined;
331
- claim?: string | undefined;
332
- coin_add?: {
333
- balance: string | number;
334
- } | {
335
- coin: string;
336
- } | undefined;
337
337
  guard_add?: {
338
338
  amount: {
339
339
  value: number;
@@ -374,6 +374,12 @@ export declare const CallReward_DataSchema: z.ZodObject<{
374
374
  } | undefined;
375
375
  };
376
376
  description?: string | undefined;
377
+ coin_add?: {
378
+ balance: string | number;
379
+ } | {
380
+ coin: string;
381
+ } | undefined;
382
+ claim?: string | undefined;
377
383
  owner_receive?: {
378
384
  received: {
379
385
  id: string;
@@ -397,12 +403,6 @@ export declare const CallReward_DataSchema: z.ZodObject<{
397
403
  balance: string | number;
398
404
  token_type: string;
399
405
  } | "recently" | undefined;
400
- claim?: string | undefined;
401
- coin_add?: {
402
- balance: string | number;
403
- } | {
404
- coin: string;
405
- } | undefined;
406
406
  guard_add?: {
407
407
  amount: {
408
408
  value: number;
@@ -697,6 +697,12 @@ export declare const CallReward_InputSchema: z.ZodObject<{
697
697
  } | undefined;
698
698
  };
699
699
  description?: string | undefined;
700
+ coin_add?: {
701
+ balance: string | number;
702
+ } | {
703
+ coin: string;
704
+ } | undefined;
705
+ claim?: string | undefined;
700
706
  owner_receive?: {
701
707
  received: {
702
708
  id: string;
@@ -720,12 +726,6 @@ export declare const CallReward_InputSchema: z.ZodObject<{
720
726
  balance: string | number;
721
727
  token_type: string;
722
728
  } | "recently" | undefined;
723
- claim?: string | undefined;
724
- coin_add?: {
725
- balance: string | number;
726
- } | {
727
- coin: string;
728
- } | undefined;
729
729
  guard_add?: {
730
730
  amount: {
731
731
  value: number;
@@ -766,6 +766,12 @@ export declare const CallReward_InputSchema: z.ZodObject<{
766
766
  } | undefined;
767
767
  };
768
768
  description?: string | undefined;
769
+ coin_add?: {
770
+ balance: string | number;
771
+ } | {
772
+ coin: string;
773
+ } | undefined;
774
+ claim?: string | undefined;
769
775
  owner_receive?: {
770
776
  received: {
771
777
  id: string;
@@ -789,12 +795,6 @@ export declare const CallReward_InputSchema: z.ZodObject<{
789
795
  balance: string | number;
790
796
  token_type: string;
791
797
  } | "recently" | undefined;
792
- claim?: string | undefined;
793
- coin_add?: {
794
- balance: string | number;
795
- } | {
796
- coin: string;
797
- } | undefined;
798
798
  guard_add?: {
799
799
  amount: {
800
800
  value: number;
@@ -826,18 +826,27 @@ export declare const CallReward_InputSchema: z.ZodObject<{
826
826
  no_cache: z.ZodOptional<z.ZodBoolean>;
827
827
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
828
828
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
829
+ confirmed: z.ZodOptional<z.ZodBoolean>;
830
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
831
+ project: z.ZodOptional<z.ZodString>;
829
832
  }, "strict", z.ZodTypeAny, {
830
833
  account: string;
831
834
  no_cache?: boolean | undefined;
832
835
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
833
836
  permission_guard?: string[] | undefined;
834
837
  referrer?: string | undefined;
838
+ confirmed?: boolean | undefined;
839
+ user_intent_phrases?: string[] | undefined;
840
+ project?: string | undefined;
835
841
  }, {
836
842
  no_cache?: boolean | undefined;
837
843
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
838
844
  account?: string | undefined;
839
845
  permission_guard?: string[] | undefined;
840
846
  referrer?: string | undefined;
847
+ confirmed?: boolean | undefined;
848
+ user_intent_phrases?: string[] | undefined;
849
+ project?: string | undefined;
841
850
  }>>;
842
851
  submission: z.ZodOptional<z.ZodObject<{
843
852
  type: z.ZodLiteral<"submission">;
@@ -1036,6 +1045,12 @@ export declare const CallReward_InputSchema: z.ZodObject<{
1036
1045
  } | undefined;
1037
1046
  };
1038
1047
  description?: string | undefined;
1048
+ coin_add?: {
1049
+ balance: string | number;
1050
+ } | {
1051
+ coin: string;
1052
+ } | undefined;
1053
+ claim?: string | undefined;
1039
1054
  owner_receive?: {
1040
1055
  received: {
1041
1056
  id: string;
@@ -1059,12 +1074,6 @@ export declare const CallReward_InputSchema: z.ZodObject<{
1059
1074
  balance: string | number;
1060
1075
  token_type: string;
1061
1076
  } | "recently" | undefined;
1062
- claim?: string | undefined;
1063
- coin_add?: {
1064
- balance: string | number;
1065
- } | {
1066
- coin: string;
1067
- } | undefined;
1068
1077
  guard_add?: {
1069
1078
  amount: {
1070
1079
  value: number;
@@ -1123,6 +1132,9 @@ export declare const CallReward_InputSchema: z.ZodObject<{
1123
1132
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1124
1133
  permission_guard?: string[] | undefined;
1125
1134
  referrer?: string | undefined;
1135
+ confirmed?: boolean | undefined;
1136
+ user_intent_phrases?: string[] | undefined;
1137
+ project?: string | undefined;
1126
1138
  } | undefined;
1127
1139
  }, {
1128
1140
  data: {
@@ -1141,6 +1153,12 @@ export declare const CallReward_InputSchema: z.ZodObject<{
1141
1153
  } | undefined;
1142
1154
  };
1143
1155
  description?: string | undefined;
1156
+ coin_add?: {
1157
+ balance: string | number;
1158
+ } | {
1159
+ coin: string;
1160
+ } | undefined;
1161
+ claim?: string | undefined;
1144
1162
  owner_receive?: {
1145
1163
  received: {
1146
1164
  id: string;
@@ -1164,12 +1182,6 @@ export declare const CallReward_InputSchema: z.ZodObject<{
1164
1182
  balance: string | number;
1165
1183
  token_type: string;
1166
1184
  } | "recently" | undefined;
1167
- claim?: string | undefined;
1168
- coin_add?: {
1169
- balance: string | number;
1170
- } | {
1171
- coin: string;
1172
- } | undefined;
1173
1185
  guard_add?: {
1174
1186
  amount: {
1175
1187
  value: number;
@@ -1228,5 +1240,8 @@ export declare const CallReward_InputSchema: z.ZodObject<{
1228
1240
  account?: string | undefined;
1229
1241
  permission_guard?: string[] | undefined;
1230
1242
  referrer?: string | undefined;
1243
+ confirmed?: boolean | undefined;
1244
+ user_intent_phrases?: string[] | undefined;
1245
+ project?: string | undefined;
1231
1246
  } | undefined;
1232
1247
  }>;
@@ -0,0 +1,24 @@
1
+ import type { SemanticSummary, ObjectRole, FundRole, EventSemantic } from "./base.js";
2
+ export interface SemanticContext {
3
+ operation_type: string;
4
+ data: any;
5
+ harness?: import("../../harness/index.js").Harness;
6
+ expected?: import("../../harness/types.js").ExpectedResult;
7
+ operation_id?: string;
8
+ pre_warnings?: string[];
9
+ }
10
+ export type ErrorCode = "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "unknown";
11
+ export interface ErrorClassification {
12
+ error_code: ErrorCode;
13
+ retryable: boolean;
14
+ recovery_hint?: string;
15
+ }
16
+ export declare function classifyError(errorMsg: string): ErrorClassification;
17
+ export declare function inferIntent(operation_type: string, data: any): string;
18
+ export declare function objectTypeToRole(objectType: string): ObjectRole["role"];
19
+ export declare function tagObjectRoles(objectChanges: any[]): ObjectRole[];
20
+ export declare function tagFundRoles(balanceChanges: any[], operation_type: string, data?: any, events?: any[]): FundRole[];
21
+ export declare function eventToSemantic(event: any): EventSemantic;
22
+ export declare function annotateEvents(events: any[] | undefined): EventSemantic[];
23
+ export declare function buildSemantic(safeResult: any, context?: SemanticContext): SemanticSummary | undefined;
24
+ export declare function buildDataSemantic(data: any, context?: SemanticContext, isError?: boolean, errorMsg?: string): SemanticSummary | undefined;