@wowok/agent-mcp 2.6.3 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/dist/customer/customer-advice.d.ts +31 -0
  2. package/dist/customer/customer-advice.js +129 -0
  3. package/dist/customer/index.d.ts +2 -0
  4. package/dist/customer/index.js +2 -0
  5. package/dist/customer/info-puzzle.d.ts +8 -1
  6. package/dist/customer/info-puzzle.js +30 -5
  7. package/dist/customer/order-monitor.d.ts +2 -0
  8. package/dist/customer/order-monitor.js +3 -2
  9. package/dist/customer/post-purchase.d.ts +2 -0
  10. package/dist/customer/post-purchase.js +6 -5
  11. package/dist/customer/preorder-compare.d.ts +24 -0
  12. package/dist/customer/preorder-compare.js +34 -0
  13. package/dist/customer/reminder-system.d.ts +2 -0
  14. package/dist/customer/reminder-system.js +2 -1
  15. package/dist/customer/risk-assessment.js +4 -3
  16. package/dist/customer/types.d.ts +5 -0
  17. package/dist/examples/arbitration-dispute-create.json +41 -0
  18. package/dist/examples/arbitration-vote-weighted.json +35 -0
  19. package/dist/examples/arbitration-voting-guard-add.json +38 -0
  20. package/dist/examples/demand-present-service.json +33 -0
  21. package/dist/examples/gen-passport-verify-guard.json +48 -0
  22. package/dist/examples/guard-template-balance-check.json +36 -15
  23. package/dist/examples/guard-template-time-lock.json +33 -12
  24. package/dist/examples/insurance-guard-claim-timelock.json +75 -0
  25. package/dist/examples/insurance-guard-withdraw-allocation.json +96 -0
  26. package/dist/examples/insurance-machine-create-publish.json +75 -0
  27. package/dist/examples/insurance-service-allocators-publish.json +56 -0
  28. package/dist/examples/machine-multisig-threshold.json +86 -0
  29. package/dist/examples/machine-template-7node-rental.json +99 -94
  30. package/dist/examples/payment-scenario-bound.json +45 -0
  31. package/dist/examples/rental-ziroom-machine-create.json +126 -114
  32. package/dist/examples/rental-ziroom-permission-create.json +10 -3
  33. package/dist/examples/rental-ziroom-service-create.json +27 -18
  34. package/dist/examples/retail-adv-guard-customer-win-create.json +80 -0
  35. package/dist/examples/retail-adv-guard-messenger-proof-create.json +65 -0
  36. package/dist/examples/retail-adv-guard-reward-timeout-create.json +92 -0
  37. package/dist/examples/retail-adv-reward-guard-add.json +51 -0
  38. package/dist/examples/retail-myshop-allocation-activate.json +55 -0
  39. package/dist/examples/retail-myshop-arbitration-create.json +40 -0
  40. package/dist/examples/retail-myshop-contact-create.json +43 -0
  41. package/dist/examples/retail-myshop-order-create.json +56 -0
  42. package/dist/examples/retail-myshop-progress-operate.json +38 -0
  43. package/dist/examples/retail-myshop-reward-create.json +35 -0
  44. package/dist/examples/service-discount-issue.json +46 -0
  45. package/dist/examples/threebody-guard-create.json +56 -0
  46. package/dist/examples/threebody-machine-create.json +72 -0
  47. package/dist/examples/threebody-permission-create.json +38 -0
  48. package/dist/examples/threebody-service-allocators.json +49 -0
  49. package/dist/examples/travel-guard-time-lock.json +69 -0
  50. package/dist/examples/travel-guard-weather-oracle.json +70 -0
  51. package/dist/examples/travel-machine-create.json +136 -0
  52. package/dist/examples/travel-repository-create.json +47 -0
  53. package/dist/examples/travel-service-create.json +102 -0
  54. package/dist/examples/travel-treasury-create.json +34 -0
  55. package/dist/examples/treasury-deposit.json +37 -0
  56. package/dist/examples/treasury-withdraw.json +38 -0
  57. package/dist/extensions/business-modules.d.ts +49 -0
  58. package/dist/extensions/business-modules.js +287 -0
  59. package/dist/extensions/capability-manifest.js +192 -5
  60. package/dist/extensions/constraint-registry.js +3 -1
  61. package/dist/extensions/modes.js +10 -4
  62. package/dist/extensions/registry.d.ts +14 -9
  63. package/dist/extensions/registry.js +69 -14
  64. package/dist/extensions/types.d.ts +1 -0
  65. package/dist/knowledge/fund-layer.d.ts +67 -1
  66. package/dist/knowledge/fund-layer.js +561 -12
  67. package/dist/knowledge/guard-templates.d.ts +10 -0
  68. package/dist/knowledge/guard-templates.js +50 -0
  69. package/dist/knowledge/index.d.ts +2 -2
  70. package/dist/knowledge/index.js +2 -2
  71. package/dist/knowledge/machine-risk.js +4 -1
  72. package/dist/knowledge/progress-context.js +1 -1
  73. package/dist/knowledge/progress-ledger.js +3 -3
  74. package/dist/knowledge/progress-templates.js +1 -1
  75. package/dist/knowledge/progress-translation.js +1 -1
  76. package/dist/knowledge/safety-rules.d.ts +83 -1
  77. package/dist/knowledge/safety-rules.js +166 -2
  78. package/dist/knowledge/scenario-modes.d.ts +1 -1
  79. package/dist/knowledge/scenario-modes.js +13 -11
  80. package/dist/knowledge/template-registry.d.ts +48 -0
  81. package/dist/knowledge/template-registry.js +341 -0
  82. package/dist/knowledge/tool-constraints.js +6 -6
  83. package/dist/knowledge/tools-reference.js +11 -8
  84. package/dist/participation/merchant-interest.d.ts +32 -0
  85. package/dist/participation/merchant-interest.js +100 -0
  86. package/dist/participation/radar-core.d.ts +104 -0
  87. package/dist/participation/radar-core.js +269 -0
  88. package/dist/project/context-assembly.js +8 -0
  89. package/dist/project/edit-planner.js +27 -56
  90. package/dist/project/evaluation.d.ts +36 -0
  91. package/dist/project/evaluation.js +422 -56
  92. package/dist/project/game-theory.d.ts +43 -0
  93. package/dist/project/game-theory.js +177 -0
  94. package/dist/project/graph-builder.js +1 -0
  95. package/dist/project/handlers.d.ts +38 -0
  96. package/dist/project/handlers.js +65 -35
  97. package/dist/project/intent-analyzer.d.ts +71 -0
  98. package/dist/project/intent-analyzer.js +149 -0
  99. package/dist/project/machine-nodes.d.ts +2 -0
  100. package/dist/project/machine-nodes.js +36 -0
  101. package/dist/project/merchant-guide.d.ts +165 -0
  102. package/dist/project/merchant-guide.js +264 -0
  103. package/dist/project/mode-actions.d.ts +199 -0
  104. package/dist/project/mode-actions.js +309 -0
  105. package/dist/project/participation-radar.d.ts +18 -0
  106. package/dist/project/participation-radar.js +428 -0
  107. package/dist/project/pipeline-actions.d.ts +101 -0
  108. package/dist/project/pipeline-actions.js +109 -0
  109. package/dist/project/semantic-graph.d.ts +95 -0
  110. package/dist/project/semantic-graph.js +245 -0
  111. package/dist/schema/call/allocation.d.ts +11 -11
  112. package/dist/schema/call/allocation.js +11 -1
  113. package/dist/schema/call/arbitration.d.ts +21 -21
  114. package/dist/schema/call/arbitration.js +17 -9
  115. package/dist/schema/call/base.d.ts +2 -2
  116. package/dist/schema/call/base.js +1 -1
  117. package/dist/schema/call/bridge.d.ts +127 -127
  118. package/dist/schema/call/bridge.js +12 -12
  119. package/dist/schema/call/contact.d.ts +3 -3
  120. package/dist/schema/call/demand.d.ts +3 -3
  121. package/dist/schema/call/guard.d.ts +11 -11
  122. package/dist/schema/call/guard.js +1 -1
  123. package/dist/schema/call/machine.d.ts +216 -21
  124. package/dist/schema/call/machine.js +1 -1
  125. package/dist/schema/call/order.d.ts +7 -7
  126. package/dist/schema/call/payment.d.ts +3 -3
  127. package/dist/schema/call/permission.d.ts +3 -3
  128. package/dist/schema/call/personal.d.ts +337 -3
  129. package/dist/schema/call/personal.js +10 -0
  130. package/dist/schema/call/progress.d.ts +177 -9
  131. package/dist/schema/call/progress.js +7 -3
  132. package/dist/schema/call/proof.d.ts +6 -6
  133. package/dist/schema/call/repository.d.ts +3 -3
  134. package/dist/schema/call/reward.d.ts +57 -57
  135. package/dist/schema/call/semantic.js +41 -1
  136. package/dist/schema/call/service.d.ts +114 -114
  137. package/dist/schema/call/service.js +11 -2
  138. package/dist/schema/call/treasury.d.ts +57 -57
  139. package/dist/schema/messenger/index.js +4 -1
  140. package/dist/schema/operations.d.ts +713 -291
  141. package/dist/schema/operations.js +33 -0
  142. package/dist/schema/project/index.d.ts +4635 -100
  143. package/dist/schema/project/index.js +868 -1
  144. package/dist/schema/query/index.d.ts +363 -19
  145. package/dist/schema/query/index.js +25 -3
  146. package/dist/schema/schema-query/index.d.ts +13 -7
  147. package/dist/schema/schema-query/index.js +29 -5
  148. package/dist/schema/trust/index.d.ts +1012 -6
  149. package/dist/schema/trust/index.js +212 -11
  150. package/dist/schema/utils/skills-recommendation.js +1 -0
  151. package/dist/schema-query/index.d.ts +4 -1
  152. package/dist/schema-query/index.js +255 -1
  153. package/dist/schemas/bridge_operation.schema.json +14 -7
  154. package/dist/schemas/guard2file.schema.json +2 -0
  155. package/dist/schemas/index.json +1 -1
  156. package/dist/schemas/machineNode2file.schema.json +2 -0
  157. package/dist/schemas/messenger_operation.schema.json +1 -1
  158. package/dist/schemas/onchain_operations.schema.json +143 -15
  159. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  160. package/dist/schemas/onchain_operations_arbitration.schema.json +7 -5
  161. package/dist/schemas/onchain_operations_contact.schema.json +1 -0
  162. package/dist/schemas/onchain_operations_demand.schema.json +1 -0
  163. package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -0
  164. package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -0
  165. package/dist/schemas/onchain_operations_guard.schema.json +578 -0
  166. package/dist/schemas/onchain_operations_machine.schema.json +1 -0
  167. package/dist/schemas/onchain_operations_order.schema.json +4 -3
  168. package/dist/schemas/onchain_operations_payment.schema.json +1 -0
  169. package/dist/schemas/onchain_operations_permission.schema.json +1 -0
  170. package/dist/schemas/onchain_operations_personal.schema.json +37 -0
  171. package/dist/schemas/onchain_operations_progress.schema.json +90 -3
  172. package/dist/schemas/onchain_operations_proof.schema.json +1 -0
  173. package/dist/schemas/onchain_operations_repository.schema.json +1 -0
  174. package/dist/schemas/onchain_operations_reward.schema.json +1 -0
  175. package/dist/schemas/onchain_operations_service.schema.json +4 -3
  176. package/dist/schemas/onchain_operations_treasury.schema.json +1 -0
  177. package/dist/schemas/project_operation.output.json +2243 -1
  178. package/dist/schemas/project_operation.schema.json +683 -1
  179. package/dist/schemas/query_toolkit.output.json +1 -1
  180. package/dist/schemas/query_toolkit.schema.json +37 -0
  181. package/dist/schemas/schema_query.output.json +1 -1
  182. package/dist/schemas/schema_query.schema.json +30 -5
  183. package/dist/schemas/trust_score.output.json +392 -1
  184. package/dist/schemas/trust_score.schema.json +275 -1
  185. package/dist/tools/handlers/onchain.js +73 -8
  186. package/dist/tools/handlers/project.js +46 -0
  187. package/dist/tools/handlers/query.js +117 -2
  188. package/dist/tools/handlers/schema-query.js +41 -0
  189. package/dist/tools/handlers/trust.js +192 -6
  190. package/dist/tools/index.js +52 -9
  191. package/dist/tools/wrap.js +194 -15
  192. package/package.json +2 -2
@@ -20,7 +20,7 @@ export declare const OperateSchema: z.ZodEffects<z.ZodObject<{
20
20
  forward: string;
21
21
  next_node_name: string;
22
22
  }>;
23
- op: z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>;
23
+ op: z.ZodDefault<z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>>;
24
24
  message: z.ZodOptional<z.ZodString>;
25
25
  }, "strict", z.ZodTypeAny, {
26
26
  op: "next" | "hold" | "unhold" | "adminUnhold";
@@ -30,12 +30,12 @@ export declare const OperateSchema: z.ZodEffects<z.ZodObject<{
30
30
  };
31
31
  message?: string | undefined;
32
32
  }, {
33
- op: "next" | "hold" | "unhold" | "adminUnhold";
34
33
  operation: {
35
34
  forward: string;
36
35
  next_node_name: string;
37
36
  };
38
37
  message?: string | undefined;
38
+ op?: "next" | "hold" | "unhold" | "adminUnhold" | undefined;
39
39
  }>, {
40
40
  op: "next" | "hold" | "unhold" | "adminUnhold";
41
41
  operation: {
@@ -140,7 +140,7 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
140
140
  forward: string;
141
141
  next_node_name: string;
142
142
  }>;
143
- op: z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>;
143
+ op: z.ZodDefault<z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>>;
144
144
  message: z.ZodOptional<z.ZodString>;
145
145
  }, "strict", z.ZodTypeAny, {
146
146
  op: "next" | "hold" | "unhold" | "adminUnhold";
@@ -150,12 +150,12 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
150
150
  };
151
151
  message?: string | undefined;
152
152
  }, {
153
- op: "next" | "hold" | "unhold" | "adminUnhold";
154
153
  operation: {
155
154
  forward: string;
156
155
  next_node_name: string;
157
156
  };
158
157
  message?: string | undefined;
158
+ op?: "next" | "hold" | "unhold" | "adminUnhold" | undefined;
159
159
  }>, {
160
160
  op: "next" | "hold" | "unhold" | "adminUnhold";
161
161
  operation: {
@@ -164,6 +164,51 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
164
164
  };
165
165
  message?: string | undefined;
166
166
  }, unknown>>;
167
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
168
+ id: z.ZodString;
169
+ type: z.ZodString;
170
+ content_raw: z.ZodOptional<z.ZodAny>;
171
+ }, "strict", z.ZodTypeAny, {
172
+ type: string;
173
+ id: string;
174
+ content_raw?: any;
175
+ }, {
176
+ type: string;
177
+ id: string;
178
+ content_raw?: any;
179
+ }>, "many">, z.ZodObject<{
180
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
181
+ token_type: z.ZodEffects<z.ZodString, string, string>;
182
+ received: z.ZodArray<z.ZodObject<{
183
+ id: z.ZodString;
184
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
185
+ payment: z.ZodString;
186
+ }, "strict", z.ZodTypeAny, {
187
+ id: string;
188
+ balance: string | number;
189
+ payment: string;
190
+ }, {
191
+ id: string;
192
+ balance: string | number;
193
+ payment: string;
194
+ }>, "many">;
195
+ }, "strict", z.ZodTypeAny, {
196
+ received: {
197
+ id: string;
198
+ balance: string | number;
199
+ payment: string;
200
+ }[];
201
+ balance: string | number;
202
+ token_type: string;
203
+ }, {
204
+ received: {
205
+ id: string;
206
+ balance: string | number;
207
+ payment: string;
208
+ }[];
209
+ balance: string | number;
210
+ token_type: string;
211
+ }>, z.ZodLiteral<"recently">]>>;
167
212
  }, "strict", z.ZodTypeAny, {
168
213
  object: string;
169
214
  repository?: {
@@ -175,6 +220,19 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
175
220
  } | {
176
221
  op: "clear";
177
222
  } | undefined;
223
+ owner_receive?: {
224
+ received: {
225
+ id: string;
226
+ balance: string | number;
227
+ payment: string;
228
+ }[];
229
+ balance: string | number;
230
+ token_type: string;
231
+ } | "recently" | {
232
+ type: string;
233
+ id: string;
234
+ content_raw?: any;
235
+ }[] | undefined;
178
236
  operate?: {
179
237
  op: "next" | "hold" | "unhold" | "adminUnhold";
180
238
  operation: {
@@ -198,6 +256,19 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
198
256
  }, {
199
257
  object: string;
200
258
  repository?: unknown;
259
+ owner_receive?: {
260
+ received: {
261
+ id: string;
262
+ balance: string | number;
263
+ payment: string;
264
+ }[];
265
+ balance: string | number;
266
+ token_type: string;
267
+ } | "recently" | {
268
+ type: string;
269
+ id: string;
270
+ content_raw?: any;
271
+ }[] | undefined;
201
272
  operate?: unknown;
202
273
  task?: string | undefined;
203
274
  progress_namedOperator?: {
@@ -309,7 +380,7 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
309
380
  forward: string;
310
381
  next_node_name: string;
311
382
  }>;
312
- op: z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>;
383
+ op: z.ZodDefault<z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>>;
313
384
  message: z.ZodOptional<z.ZodString>;
314
385
  }, "strict", z.ZodTypeAny, {
315
386
  op: "next" | "hold" | "unhold" | "adminUnhold";
@@ -319,12 +390,12 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
319
390
  };
320
391
  message?: string | undefined;
321
392
  }, {
322
- op: "next" | "hold" | "unhold" | "adminUnhold";
323
393
  operation: {
324
394
  forward: string;
325
395
  next_node_name: string;
326
396
  };
327
397
  message?: string | undefined;
398
+ op?: "next" | "hold" | "unhold" | "adminUnhold" | undefined;
328
399
  }>, {
329
400
  op: "next" | "hold" | "unhold" | "adminUnhold";
330
401
  operation: {
@@ -333,6 +404,51 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
333
404
  };
334
405
  message?: string | undefined;
335
406
  }, unknown>>;
407
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
408
+ id: z.ZodString;
409
+ type: z.ZodString;
410
+ content_raw: z.ZodOptional<z.ZodAny>;
411
+ }, "strict", z.ZodTypeAny, {
412
+ type: string;
413
+ id: string;
414
+ content_raw?: any;
415
+ }, {
416
+ type: string;
417
+ id: string;
418
+ content_raw?: any;
419
+ }>, "many">, z.ZodObject<{
420
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
421
+ token_type: z.ZodEffects<z.ZodString, string, string>;
422
+ received: z.ZodArray<z.ZodObject<{
423
+ id: z.ZodString;
424
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
425
+ payment: z.ZodString;
426
+ }, "strict", z.ZodTypeAny, {
427
+ id: string;
428
+ balance: string | number;
429
+ payment: string;
430
+ }, {
431
+ id: string;
432
+ balance: string | number;
433
+ payment: string;
434
+ }>, "many">;
435
+ }, "strict", z.ZodTypeAny, {
436
+ received: {
437
+ id: string;
438
+ balance: string | number;
439
+ payment: string;
440
+ }[];
441
+ balance: string | number;
442
+ token_type: string;
443
+ }, {
444
+ received: {
445
+ id: string;
446
+ balance: string | number;
447
+ payment: string;
448
+ }[];
449
+ balance: string | number;
450
+ token_type: string;
451
+ }>, z.ZodLiteral<"recently">]>>;
336
452
  }, "strict", z.ZodTypeAny, {
337
453
  object: string;
338
454
  repository?: {
@@ -344,6 +460,19 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
344
460
  } | {
345
461
  op: "clear";
346
462
  } | undefined;
463
+ owner_receive?: {
464
+ received: {
465
+ id: string;
466
+ balance: string | number;
467
+ payment: string;
468
+ }[];
469
+ balance: string | number;
470
+ token_type: string;
471
+ } | "recently" | {
472
+ type: string;
473
+ id: string;
474
+ content_raw?: any;
475
+ }[] | undefined;
347
476
  operate?: {
348
477
  op: "next" | "hold" | "unhold" | "adminUnhold";
349
478
  operation: {
@@ -367,6 +496,19 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
367
496
  }, {
368
497
  object: string;
369
498
  repository?: unknown;
499
+ owner_receive?: {
500
+ received: {
501
+ id: string;
502
+ balance: string | number;
503
+ payment: string;
504
+ }[];
505
+ balance: string | number;
506
+ token_type: string;
507
+ } | "recently" | {
508
+ type: string;
509
+ id: string;
510
+ content_raw?: any;
511
+ }[] | undefined;
370
512
  operate?: unknown;
371
513
  task?: string | undefined;
372
514
  progress_namedOperator?: {
@@ -391,10 +533,11 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
391
533
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
392
534
  project: z.ZodOptional<z.ZodString>;
393
535
  client_schema_version: z.ZodOptional<z.ZodString>;
394
- schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
536
+ schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
395
537
  dry_run: z.ZodOptional<z.ZodBoolean>;
396
538
  }, "strict", z.ZodTypeAny, {
397
539
  account: string;
540
+ schema_strict_mode: boolean;
398
541
  no_cache?: boolean | undefined;
399
542
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
400
543
  permission_guard?: string[] | undefined;
@@ -403,7 +546,6 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
403
546
  user_intent_phrases?: string[] | undefined;
404
547
  project?: string | undefined;
405
548
  client_schema_version?: string | undefined;
406
- schema_strict_mode?: boolean | undefined;
407
549
  dry_run?: boolean | undefined;
408
550
  }, {
409
551
  no_cache?: boolean | undefined;
@@ -610,6 +752,19 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
610
752
  } | {
611
753
  op: "clear";
612
754
  } | undefined;
755
+ owner_receive?: {
756
+ received: {
757
+ id: string;
758
+ balance: string | number;
759
+ payment: string;
760
+ }[];
761
+ balance: string | number;
762
+ token_type: string;
763
+ } | "recently" | {
764
+ type: string;
765
+ id: string;
766
+ content_raw?: any;
767
+ }[] | undefined;
613
768
  operate?: {
614
769
  op: "next" | "hold" | "unhold" | "adminUnhold";
615
770
  operation: {
@@ -660,6 +815,7 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
660
815
  } | undefined;
661
816
  env?: {
662
817
  account: string;
818
+ schema_strict_mode: boolean;
663
819
  no_cache?: boolean | undefined;
664
820
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
665
821
  permission_guard?: string[] | undefined;
@@ -668,13 +824,25 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
668
824
  user_intent_phrases?: string[] | undefined;
669
825
  project?: string | undefined;
670
826
  client_schema_version?: string | undefined;
671
- schema_strict_mode?: boolean | undefined;
672
827
  dry_run?: boolean | undefined;
673
828
  } | undefined;
674
829
  }, {
675
830
  data: {
676
831
  object: string;
677
832
  repository?: unknown;
833
+ owner_receive?: {
834
+ received: {
835
+ id: string;
836
+ balance: string | number;
837
+ payment: string;
838
+ }[];
839
+ balance: string | number;
840
+ token_type: string;
841
+ } | "recently" | {
842
+ type: string;
843
+ id: string;
844
+ content_raw?: any;
845
+ }[] | undefined;
678
846
  operate?: unknown;
679
847
  task?: string | undefined;
680
848
  progress_namedOperator?: {
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { CallEnvSchema, SubmissionCallSchema, ObjectsSchema } from "./base.js";
3
3
  import { ProgressNamedOperatorSchema } from "./machine.js";
4
- import { NameOrAddressSchema, NameSchema } from "../common/index.js";
4
+ import { NameOrAddressSchema, NameSchema, ReceivedObjectsOrRecentlySchema, RECEIVE_FORMAT_BLOCK_OBJECTS } from "../common/index.js";
5
5
  export const ProgressNextSchema = z.object({
6
6
  next_node_name: NameSchema.describe("Next node name."),
7
7
  forward: NameSchema.describe("Next forward name."),
@@ -16,11 +16,14 @@ export const OperateSchema = z.preprocess((val) => {
16
16
  delete obj.hold;
17
17
  }
18
18
  }
19
+ if (obj.op === undefined && !("hold" in obj)) {
20
+ obj.op = "next";
21
+ }
19
22
  }
20
23
  return val;
21
24
  }, z.object({
22
25
  operation: ProgressNextSchema,
23
- op: z.enum(["next", "hold", "unhold", "adminUnhold"]).describe("Operation type on the forward (CANONICAL form — prefer this): " +
26
+ op: z.enum(["next", "hold", "unhold", "adminUnhold"]).default("next").describe("Operation type on the forward (CANONICAL form — prefer this). DEFAULT: 'next' when omitted. " +
24
27
  "'next' = advance the forward (accomplish); " +
25
28
  "'hold' = set hold to block the forward; " +
26
29
  "'unhold' = self-unhold, release own hold (no 224 permission needed); " +
@@ -28,13 +31,14 @@ export const OperateSchema = z.preprocess((val) => {
28
31
  "LEGACY ALIAS: `hold: boolean` is auto-converted to `op` — `hold:true`→`op:'hold'`, `hold:false`→`op:'next'`. " +
29
32
  "New code should use `op` directly."),
30
33
  message: z.string().optional().describe("Operation result message."),
31
- }).strict()).describe("Advance Progress object. CANONICAL form: {operation, op: 'next'|'hold'|'unhold'|'adminUnhold', message?}. LEGACY form (auto-converted): {operation, hold: boolean, message?} where hold:true→op:'hold', hold:false→op:'next'.");
34
+ }).strict()).describe("Advance Progress object. CANONICAL form: {operation, op: 'next'|'hold'|'unhold'|'adminUnhold', message?} — 'next' is the default when op is omitted. LEGACY form (auto-converted): {operation, hold: boolean, message?} where hold:true→op:'hold', hold:false→op:'next'.");
32
35
  export const CallProgress_DataSchema = z.object({
33
36
  object: NameOrAddressSchema.describe("Progress object ID or name."),
34
37
  task: NameOrAddressSchema.optional().describe("Task ID. Cannot be changed after setting."),
35
38
  repository: ObjectsSchema.optional().describe("Consensus data Repository object list."),
36
39
  progress_namedOperator: ProgressNamedOperatorSchema.optional().describe("Manage operators for Progress permission namespace."),
37
40
  operate: OperateSchema.optional().describe("Advance Progress object. op field selects the operation: next/hold/unhold/adminUnhold."),
41
+ owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this Progress object and send them to the owner of the bound Machine's Permission object." + RECEIVE_FORMAT_BLOCK_OBJECTS),
38
42
  }).strict().describe("On-chain, operate an existing Progress object.");
39
43
  export const CallProgress_InputSchema = z.object({
40
44
  data: CallProgress_DataSchema,
@@ -116,10 +116,11 @@ export declare const CallProof_InputSchema: z.ZodObject<{
116
116
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
117
117
  project: z.ZodOptional<z.ZodString>;
118
118
  client_schema_version: z.ZodOptional<z.ZodString>;
119
- schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
119
+ schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
120
120
  dry_run: z.ZodOptional<z.ZodBoolean>;
121
121
  }, "strict", z.ZodTypeAny, {
122
122
  account: string;
123
+ schema_strict_mode: boolean;
123
124
  no_cache?: boolean | undefined;
124
125
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
125
126
  permission_guard?: string[] | undefined;
@@ -128,7 +129,6 @@ export declare const CallProof_InputSchema: z.ZodObject<{
128
129
  user_intent_phrases?: string[] | undefined;
129
130
  project?: string | undefined;
130
131
  client_schema_version?: string | undefined;
131
- schema_strict_mode?: boolean | undefined;
132
132
  dry_run?: boolean | undefined;
133
133
  }, {
134
134
  no_cache?: boolean | undefined;
@@ -161,6 +161,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
161
161
  };
162
162
  env?: {
163
163
  account: string;
164
+ schema_strict_mode: boolean;
164
165
  no_cache?: boolean | undefined;
165
166
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
166
167
  permission_guard?: string[] | undefined;
@@ -169,7 +170,6 @@ export declare const CallProof_InputSchema: z.ZodObject<{
169
170
  user_intent_phrases?: string[] | undefined;
170
171
  project?: string | undefined;
171
172
  client_schema_version?: string | undefined;
172
- schema_strict_mode?: boolean | undefined;
173
173
  dry_run?: boolean | undefined;
174
174
  } | undefined;
175
175
  }, {
@@ -220,10 +220,11 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
220
220
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
221
221
  project: z.ZodOptional<z.ZodString>;
222
222
  client_schema_version: z.ZodOptional<z.ZodString>;
223
- schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
223
+ schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
224
224
  dry_run: z.ZodOptional<z.ZodBoolean>;
225
225
  }, "strict", z.ZodTypeAny, {
226
226
  account: string;
227
+ schema_strict_mode: boolean;
227
228
  no_cache?: boolean | undefined;
228
229
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
229
230
  permission_guard?: string[] | undefined;
@@ -232,7 +233,6 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
232
233
  user_intent_phrases?: string[] | undefined;
233
234
  project?: string | undefined;
234
235
  client_schema_version?: string | undefined;
235
- schema_strict_mode?: boolean | undefined;
236
236
  dry_run?: boolean | undefined;
237
237
  }, {
238
238
  no_cache?: boolean | undefined;
@@ -257,6 +257,7 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
257
257
  about_address?: string | null | undefined;
258
258
  env?: {
259
259
  account: string;
260
+ schema_strict_mode: boolean;
260
261
  no_cache?: boolean | undefined;
261
262
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
262
263
  permission_guard?: string[] | undefined;
@@ -265,7 +266,6 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
265
266
  user_intent_phrases?: string[] | undefined;
266
267
  project?: string | undefined;
267
268
  client_schema_version?: string | undefined;
268
- schema_strict_mode?: boolean | undefined;
269
269
  dry_run?: boolean | undefined;
270
270
  } | undefined;
271
271
  }, {
@@ -1918,10 +1918,11 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1918
1918
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1919
1919
  project: z.ZodOptional<z.ZodString>;
1920
1920
  client_schema_version: z.ZodOptional<z.ZodString>;
1921
- schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
1921
+ schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1922
1922
  dry_run: z.ZodOptional<z.ZodBoolean>;
1923
1923
  }, "strict", z.ZodTypeAny, {
1924
1924
  account: string;
1925
+ schema_strict_mode: boolean;
1925
1926
  no_cache?: boolean | undefined;
1926
1927
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1927
1928
  permission_guard?: string[] | undefined;
@@ -1930,7 +1931,6 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1930
1931
  user_intent_phrases?: string[] | undefined;
1931
1932
  project?: string | undefined;
1932
1933
  client_schema_version?: string | undefined;
1933
- schema_strict_mode?: boolean | undefined;
1934
1934
  dry_run?: boolean | undefined;
1935
1935
  }, {
1936
1936
  no_cache?: boolean | undefined;
@@ -2244,6 +2244,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2244
2244
  } | undefined;
2245
2245
  env?: {
2246
2246
  account: string;
2247
+ schema_strict_mode: boolean;
2247
2248
  no_cache?: boolean | undefined;
2248
2249
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
2249
2250
  permission_guard?: string[] | undefined;
@@ -2252,7 +2253,6 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2252
2253
  user_intent_phrases?: string[] | undefined;
2253
2254
  project?: string | undefined;
2254
2255
  client_schema_version?: string | undefined;
2255
- schema_strict_mode?: boolean | undefined;
2256
2256
  dry_run?: boolean | undefined;
2257
2257
  } | undefined;
2258
2258
  }, {