wowok_agent 2.1.28 → 2.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3613,7 +3613,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
3613
3613
  check_all_founded?: boolean | undefined;
3614
3614
  };
3615
3615
  }>>;
3616
- operate: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
3616
+ operate: z.ZodOptional<z.ZodObject<{
3617
3617
  operation: z.ZodObject<{
3618
3618
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
3619
3619
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -3624,53 +3624,26 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
3624
3624
  forward: string;
3625
3625
  next_node_name: string;
3626
3626
  }>;
3627
- hold: z.ZodLiteral<true>;
3627
+ hold: z.ZodOptional<z.ZodBoolean>;
3628
3628
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
3629
3629
  message: z.ZodOptional<z.ZodString>;
3630
3630
  }, "strict", z.ZodTypeAny, {
3631
- hold: true;
3632
3631
  operation: {
3633
3632
  forward: string;
3634
3633
  next_node_name: string;
3635
3634
  };
3636
3635
  message?: string | undefined;
3636
+ hold?: boolean | undefined;
3637
3637
  adminUnhold?: boolean | undefined;
3638
3638
  }, {
3639
- hold: true;
3640
3639
  operation: {
3641
3640
  forward: string;
3642
3641
  next_node_name: string;
3643
3642
  };
3644
3643
  message?: string | undefined;
3644
+ hold?: boolean | undefined;
3645
3645
  adminUnhold?: boolean | undefined;
3646
- }>, z.ZodObject<{
3647
- operation: z.ZodObject<{
3648
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
3649
- forward: z.ZodEffects<z.ZodString, string, string>;
3650
- }, "strict", z.ZodTypeAny, {
3651
- forward: string;
3652
- next_node_name: string;
3653
- }, {
3654
- forward: string;
3655
- next_node_name: string;
3656
- }>;
3657
- hold: z.ZodLiteral<false>;
3658
- message: z.ZodOptional<z.ZodString>;
3659
- }, "strict", z.ZodTypeAny, {
3660
- hold: false;
3661
- operation: {
3662
- forward: string;
3663
- next_node_name: string;
3664
- };
3665
- message?: string | undefined;
3666
- }, {
3667
- hold: false;
3668
- operation: {
3669
- forward: string;
3670
- next_node_name: string;
3671
- };
3672
- message?: string | undefined;
3673
- }>]>>;
3646
+ }>>;
3674
3647
  }, "strict", z.ZodTypeAny, {
3675
3648
  object: string;
3676
3649
  task?: string | undefined;
@@ -3695,20 +3668,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
3695
3668
  };
3696
3669
  } | undefined;
3697
3670
  operate?: {
3698
- hold: true;
3699
3671
  operation: {
3700
3672
  forward: string;
3701
3673
  next_node_name: string;
3702
3674
  };
3703
3675
  message?: string | undefined;
3676
+ hold?: boolean | undefined;
3704
3677
  adminUnhold?: boolean | undefined;
3705
- } | {
3706
- hold: false;
3707
- operation: {
3708
- forward: string;
3709
- next_node_name: string;
3710
- };
3711
- message?: string | undefined;
3712
3678
  } | undefined;
3713
3679
  }, {
3714
3680
  object: string;
@@ -3734,20 +3700,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
3734
3700
  };
3735
3701
  } | undefined;
3736
3702
  operate?: {
3737
- hold: true;
3738
3703
  operation: {
3739
3704
  forward: string;
3740
3705
  next_node_name: string;
3741
3706
  };
3742
3707
  message?: string | undefined;
3708
+ hold?: boolean | undefined;
3743
3709
  adminUnhold?: boolean | undefined;
3744
- } | {
3745
- hold: false;
3746
- operation: {
3747
- forward: string;
3748
- next_node_name: string;
3749
- };
3750
- message?: string | undefined;
3751
3710
  } | undefined;
3752
3711
  }>;
3753
3712
  env: z.ZodOptional<z.ZodObject<{
@@ -3974,20 +3933,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
3974
3933
  };
3975
3934
  } | undefined;
3976
3935
  operate?: {
3977
- hold: true;
3978
3936
  operation: {
3979
3937
  forward: string;
3980
3938
  next_node_name: string;
3981
3939
  };
3982
3940
  message?: string | undefined;
3941
+ hold?: boolean | undefined;
3983
3942
  adminUnhold?: boolean | undefined;
3984
- } | {
3985
- hold: false;
3986
- operation: {
3987
- forward: string;
3988
- next_node_name: string;
3989
- };
3990
- message?: string | undefined;
3991
3943
  } | undefined;
3992
3944
  };
3993
3945
  operation_type: "progress";
@@ -4050,20 +4002,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
4050
4002
  };
4051
4003
  } | undefined;
4052
4004
  operate?: {
4053
- hold: true;
4054
4005
  operation: {
4055
4006
  forward: string;
4056
4007
  next_node_name: string;
4057
4008
  };
4058
4009
  message?: string | undefined;
4010
+ hold?: boolean | undefined;
4059
4011
  adminUnhold?: boolean | undefined;
4060
- } | {
4061
- hold: false;
4062
- operation: {
4063
- forward: string;
4064
- next_node_name: string;
4065
- };
4066
- message?: string | undefined;
4067
4012
  } | undefined;
4068
4013
  };
4069
4014
  operation_type: "progress";
@@ -12587,7 +12532,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12587
12532
  check_all_founded?: boolean | undefined;
12588
12533
  }>>;
12589
12534
  required_info: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
12590
- progress: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
12535
+ progress: z.ZodOptional<z.ZodObject<{
12591
12536
  operation: z.ZodObject<{
12592
12537
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
12593
12538
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -12598,53 +12543,26 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12598
12543
  forward: string;
12599
12544
  next_node_name: string;
12600
12545
  }>;
12601
- hold: z.ZodLiteral<true>;
12546
+ hold: z.ZodOptional<z.ZodBoolean>;
12602
12547
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
12603
12548
  message: z.ZodOptional<z.ZodString>;
12604
12549
  }, "strict", z.ZodTypeAny, {
12605
- hold: true;
12606
12550
  operation: {
12607
12551
  forward: string;
12608
12552
  next_node_name: string;
12609
12553
  };
12610
12554
  message?: string | undefined;
12555
+ hold?: boolean | undefined;
12611
12556
  adminUnhold?: boolean | undefined;
12612
12557
  }, {
12613
- hold: true;
12614
12558
  operation: {
12615
12559
  forward: string;
12616
12560
  next_node_name: string;
12617
12561
  };
12618
12562
  message?: string | undefined;
12563
+ hold?: boolean | undefined;
12619
12564
  adminUnhold?: boolean | undefined;
12620
- }>, z.ZodObject<{
12621
- operation: z.ZodObject<{
12622
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
12623
- forward: z.ZodEffects<z.ZodString, string, string>;
12624
- }, "strict", z.ZodTypeAny, {
12625
- forward: string;
12626
- next_node_name: string;
12627
- }, {
12628
- forward: string;
12629
- next_node_name: string;
12630
- }>;
12631
- hold: z.ZodLiteral<false>;
12632
- message: z.ZodOptional<z.ZodString>;
12633
- }, "strict", z.ZodTypeAny, {
12634
- hold: false;
12635
- operation: {
12636
- forward: string;
12637
- next_node_name: string;
12638
- };
12639
- message?: string | undefined;
12640
- }, {
12641
- hold: false;
12642
- operation: {
12643
- forward: string;
12644
- next_node_name: string;
12645
- };
12646
- message?: string | undefined;
12647
- }>]>>;
12565
+ }>>;
12648
12566
  arb_confirm: z.ZodOptional<z.ZodObject<{
12649
12567
  arb: z.ZodEffects<z.ZodString, string, string>;
12650
12568
  confirm: z.ZodBoolean;
@@ -12761,20 +12679,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12761
12679
  }, "strict", z.ZodTypeAny, {
12762
12680
  object: string;
12763
12681
  progress?: {
12764
- hold: true;
12765
12682
  operation: {
12766
12683
  forward: string;
12767
12684
  next_node_name: string;
12768
12685
  };
12769
12686
  message?: string | undefined;
12687
+ hold?: boolean | undefined;
12770
12688
  adminUnhold?: boolean | undefined;
12771
- } | {
12772
- hold: false;
12773
- operation: {
12774
- forward: string;
12775
- next_node_name: string;
12776
- };
12777
- message?: string | undefined;
12778
12689
  } | undefined;
12779
12690
  required_info?: string | null | undefined;
12780
12691
  agents?: {
@@ -12818,20 +12729,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12818
12729
  }, {
12819
12730
  object: string;
12820
12731
  progress?: {
12821
- hold: true;
12822
12732
  operation: {
12823
12733
  forward: string;
12824
12734
  next_node_name: string;
12825
12735
  };
12826
12736
  message?: string | undefined;
12737
+ hold?: boolean | undefined;
12827
12738
  adminUnhold?: boolean | undefined;
12828
- } | {
12829
- hold: false;
12830
- operation: {
12831
- forward: string;
12832
- next_node_name: string;
12833
- };
12834
- message?: string | undefined;
12835
12739
  } | undefined;
12836
12740
  required_info?: string | null | undefined;
12837
12741
  agents?: {
@@ -13076,20 +12980,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
13076
12980
  data: {
13077
12981
  object: string;
13078
12982
  progress?: {
13079
- hold: true;
13080
12983
  operation: {
13081
12984
  forward: string;
13082
12985
  next_node_name: string;
13083
12986
  };
13084
12987
  message?: string | undefined;
12988
+ hold?: boolean | undefined;
13085
12989
  adminUnhold?: boolean | undefined;
13086
- } | {
13087
- hold: false;
13088
- operation: {
13089
- forward: string;
13090
- next_node_name: string;
13091
- };
13092
- message?: string | undefined;
13093
12990
  } | undefined;
13094
12991
  required_info?: string | null | undefined;
13095
12992
  agents?: {
@@ -13170,20 +13067,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
13170
13067
  data: {
13171
13068
  object: string;
13172
13069
  progress?: {
13173
- hold: true;
13174
13070
  operation: {
13175
13071
  forward: string;
13176
13072
  next_node_name: string;
13177
13073
  };
13178
13074
  message?: string | undefined;
13075
+ hold?: boolean | undefined;
13179
13076
  adminUnhold?: boolean | undefined;
13180
- } | {
13181
- hold: false;
13182
- operation: {
13183
- forward: string;
13184
- next_node_name: string;
13185
- };
13186
- message?: string | undefined;
13187
13077
  } | undefined;
13188
13078
  required_info?: string | null | undefined;
13189
13079
  agents?: {
@@ -60,7 +60,7 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
60
60
  check_all_founded?: boolean | undefined;
61
61
  }>>;
62
62
  required_info: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
63
- progress: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
63
+ progress: z.ZodOptional<z.ZodObject<{
64
64
  operation: z.ZodObject<{
65
65
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
66
66
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -71,53 +71,26 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
71
71
  forward: string;
72
72
  next_node_name: string;
73
73
  }>;
74
- hold: z.ZodLiteral<true>;
74
+ hold: z.ZodOptional<z.ZodBoolean>;
75
75
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
76
76
  message: z.ZodOptional<z.ZodString>;
77
77
  }, "strict", z.ZodTypeAny, {
78
- hold: true;
79
78
  operation: {
80
79
  forward: string;
81
80
  next_node_name: string;
82
81
  };
83
82
  message?: string | undefined;
83
+ hold?: boolean | undefined;
84
84
  adminUnhold?: boolean | undefined;
85
85
  }, {
86
- hold: true;
87
86
  operation: {
88
87
  forward: string;
89
88
  next_node_name: string;
90
89
  };
91
90
  message?: string | undefined;
91
+ hold?: boolean | undefined;
92
92
  adminUnhold?: boolean | undefined;
93
- }>, z.ZodObject<{
94
- operation: z.ZodObject<{
95
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
96
- forward: z.ZodEffects<z.ZodString, string, string>;
97
- }, "strict", z.ZodTypeAny, {
98
- forward: string;
99
- next_node_name: string;
100
- }, {
101
- forward: string;
102
- next_node_name: string;
103
- }>;
104
- hold: z.ZodLiteral<false>;
105
- message: z.ZodOptional<z.ZodString>;
106
- }, "strict", z.ZodTypeAny, {
107
- hold: false;
108
- operation: {
109
- forward: string;
110
- next_node_name: string;
111
- };
112
- message?: string | undefined;
113
- }, {
114
- hold: false;
115
- operation: {
116
- forward: string;
117
- next_node_name: string;
118
- };
119
- message?: string | undefined;
120
- }>]>>;
93
+ }>>;
121
94
  arb_confirm: z.ZodOptional<z.ZodObject<{
122
95
  arb: z.ZodEffects<z.ZodString, string, string>;
123
96
  confirm: z.ZodBoolean;
@@ -234,20 +207,13 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
234
207
  }, "strict", z.ZodTypeAny, {
235
208
  object: string;
236
209
  progress?: {
237
- hold: true;
238
210
  operation: {
239
211
  forward: string;
240
212
  next_node_name: string;
241
213
  };
242
214
  message?: string | undefined;
215
+ hold?: boolean | undefined;
243
216
  adminUnhold?: boolean | undefined;
244
- } | {
245
- hold: false;
246
- operation: {
247
- forward: string;
248
- next_node_name: string;
249
- };
250
- message?: string | undefined;
251
217
  } | undefined;
252
218
  required_info?: string | null | undefined;
253
219
  agents?: {
@@ -291,20 +257,13 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
291
257
  }, {
292
258
  object: string;
293
259
  progress?: {
294
- hold: true;
295
260
  operation: {
296
261
  forward: string;
297
262
  next_node_name: string;
298
263
  };
299
264
  message?: string | undefined;
265
+ hold?: boolean | undefined;
300
266
  adminUnhold?: boolean | undefined;
301
- } | {
302
- hold: false;
303
- operation: {
304
- forward: string;
305
- next_node_name: string;
306
- };
307
- message?: string | undefined;
308
267
  } | undefined;
309
268
  required_info?: string | null | undefined;
310
269
  agents?: {
@@ -375,7 +334,7 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
375
334
  check_all_founded?: boolean | undefined;
376
335
  }>>;
377
336
  required_info: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
378
- progress: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
337
+ progress: z.ZodOptional<z.ZodObject<{
379
338
  operation: z.ZodObject<{
380
339
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
381
340
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -386,53 +345,26 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
386
345
  forward: string;
387
346
  next_node_name: string;
388
347
  }>;
389
- hold: z.ZodLiteral<true>;
348
+ hold: z.ZodOptional<z.ZodBoolean>;
390
349
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
391
350
  message: z.ZodOptional<z.ZodString>;
392
351
  }, "strict", z.ZodTypeAny, {
393
- hold: true;
394
352
  operation: {
395
353
  forward: string;
396
354
  next_node_name: string;
397
355
  };
398
356
  message?: string | undefined;
357
+ hold?: boolean | undefined;
399
358
  adminUnhold?: boolean | undefined;
400
359
  }, {
401
- hold: true;
402
360
  operation: {
403
361
  forward: string;
404
362
  next_node_name: string;
405
363
  };
406
364
  message?: string | undefined;
365
+ hold?: boolean | undefined;
407
366
  adminUnhold?: boolean | undefined;
408
- }>, z.ZodObject<{
409
- operation: z.ZodObject<{
410
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
411
- forward: z.ZodEffects<z.ZodString, string, string>;
412
- }, "strict", z.ZodTypeAny, {
413
- forward: string;
414
- next_node_name: string;
415
- }, {
416
- forward: string;
417
- next_node_name: string;
418
- }>;
419
- hold: z.ZodLiteral<false>;
420
- message: z.ZodOptional<z.ZodString>;
421
- }, "strict", z.ZodTypeAny, {
422
- hold: false;
423
- operation: {
424
- forward: string;
425
- next_node_name: string;
426
- };
427
- message?: string | undefined;
428
- }, {
429
- hold: false;
430
- operation: {
431
- forward: string;
432
- next_node_name: string;
433
- };
434
- message?: string | undefined;
435
- }>]>>;
367
+ }>>;
436
368
  arb_confirm: z.ZodOptional<z.ZodObject<{
437
369
  arb: z.ZodEffects<z.ZodString, string, string>;
438
370
  confirm: z.ZodBoolean;
@@ -549,20 +481,13 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
549
481
  }, "strict", z.ZodTypeAny, {
550
482
  object: string;
551
483
  progress?: {
552
- hold: true;
553
484
  operation: {
554
485
  forward: string;
555
486
  next_node_name: string;
556
487
  };
557
488
  message?: string | undefined;
489
+ hold?: boolean | undefined;
558
490
  adminUnhold?: boolean | undefined;
559
- } | {
560
- hold: false;
561
- operation: {
562
- forward: string;
563
- next_node_name: string;
564
- };
565
- message?: string | undefined;
566
491
  } | undefined;
567
492
  required_info?: string | null | undefined;
568
493
  agents?: {
@@ -606,20 +531,13 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
606
531
  }, {
607
532
  object: string;
608
533
  progress?: {
609
- hold: true;
610
534
  operation: {
611
535
  forward: string;
612
536
  next_node_name: string;
613
537
  };
614
538
  message?: string | undefined;
539
+ hold?: boolean | undefined;
615
540
  adminUnhold?: boolean | undefined;
616
- } | {
617
- hold: false;
618
- operation: {
619
- forward: string;
620
- next_node_name: string;
621
- };
622
- message?: string | undefined;
623
541
  } | undefined;
624
542
  required_info?: string | null | undefined;
625
543
  agents?: {
@@ -864,20 +782,13 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
864
782
  data: {
865
783
  object: string;
866
784
  progress?: {
867
- hold: true;
868
785
  operation: {
869
786
  forward: string;
870
787
  next_node_name: string;
871
788
  };
872
789
  message?: string | undefined;
790
+ hold?: boolean | undefined;
873
791
  adminUnhold?: boolean | undefined;
874
- } | {
875
- hold: false;
876
- operation: {
877
- forward: string;
878
- next_node_name: string;
879
- };
880
- message?: string | undefined;
881
792
  } | undefined;
882
793
  required_info?: string | null | undefined;
883
794
  agents?: {
@@ -957,20 +868,13 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
957
868
  data: {
958
869
  object: string;
959
870
  progress?: {
960
- hold: true;
961
871
  operation: {
962
872
  forward: string;
963
873
  next_node_name: string;
964
874
  };
965
875
  message?: string | undefined;
876
+ hold?: boolean | undefined;
966
877
  adminUnhold?: boolean | undefined;
967
- } | {
968
- hold: false;
969
- operation: {
970
- forward: string;
971
- next_node_name: string;
972
- };
973
- message?: string | undefined;
974
878
  } | undefined;
975
879
  required_info?: string | null | undefined;
976
880
  agents?: {
@@ -9,7 +9,7 @@ export declare const ProgressNextSchema: z.ZodObject<{
9
9
  forward: string;
10
10
  next_node_name: string;
11
11
  }>;
12
- export declare const OperateWithHoldSchema: z.ZodObject<{
12
+ export declare const OperateSchema: z.ZodObject<{
13
13
  operation: z.ZodObject<{
14
14
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
15
15
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -20,112 +20,26 @@ export declare const OperateWithHoldSchema: z.ZodObject<{
20
20
  forward: string;
21
21
  next_node_name: string;
22
22
  }>;
23
- hold: z.ZodLiteral<true>;
23
+ hold: z.ZodOptional<z.ZodBoolean>;
24
24
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
25
25
  message: z.ZodOptional<z.ZodString>;
26
26
  }, "strict", z.ZodTypeAny, {
27
- hold: true;
28
27
  operation: {
29
28
  forward: string;
30
29
  next_node_name: string;
31
30
  };
32
31
  message?: string | undefined;
32
+ hold?: boolean | undefined;
33
33
  adminUnhold?: boolean | undefined;
34
34
  }, {
35
- hold: true;
36
35
  operation: {
37
36
  forward: string;
38
37
  next_node_name: string;
39
38
  };
40
39
  message?: string | undefined;
40
+ hold?: boolean | undefined;
41
41
  adminUnhold?: boolean | undefined;
42
42
  }>;
43
- export declare const OperateWithoutHoldSchema: z.ZodObject<{
44
- operation: z.ZodObject<{
45
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
46
- forward: z.ZodEffects<z.ZodString, string, string>;
47
- }, "strict", z.ZodTypeAny, {
48
- forward: string;
49
- next_node_name: string;
50
- }, {
51
- forward: string;
52
- next_node_name: string;
53
- }>;
54
- hold: z.ZodLiteral<false>;
55
- message: z.ZodOptional<z.ZodString>;
56
- }, "strict", z.ZodTypeAny, {
57
- hold: false;
58
- operation: {
59
- forward: string;
60
- next_node_name: string;
61
- };
62
- message?: string | undefined;
63
- }, {
64
- hold: false;
65
- operation: {
66
- forward: string;
67
- next_node_name: string;
68
- };
69
- message?: string | undefined;
70
- }>;
71
- export declare const OperateSchema: z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
72
- operation: z.ZodObject<{
73
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
74
- forward: z.ZodEffects<z.ZodString, string, string>;
75
- }, "strict", z.ZodTypeAny, {
76
- forward: string;
77
- next_node_name: string;
78
- }, {
79
- forward: string;
80
- next_node_name: string;
81
- }>;
82
- hold: z.ZodLiteral<true>;
83
- adminUnhold: z.ZodOptional<z.ZodBoolean>;
84
- message: z.ZodOptional<z.ZodString>;
85
- }, "strict", z.ZodTypeAny, {
86
- hold: true;
87
- operation: {
88
- forward: string;
89
- next_node_name: string;
90
- };
91
- message?: string | undefined;
92
- adminUnhold?: boolean | undefined;
93
- }, {
94
- hold: true;
95
- operation: {
96
- forward: string;
97
- next_node_name: string;
98
- };
99
- message?: string | undefined;
100
- adminUnhold?: boolean | undefined;
101
- }>, z.ZodObject<{
102
- operation: z.ZodObject<{
103
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
104
- forward: z.ZodEffects<z.ZodString, string, string>;
105
- }, "strict", z.ZodTypeAny, {
106
- forward: string;
107
- next_node_name: string;
108
- }, {
109
- forward: string;
110
- next_node_name: string;
111
- }>;
112
- hold: z.ZodLiteral<false>;
113
- message: z.ZodOptional<z.ZodString>;
114
- }, "strict", z.ZodTypeAny, {
115
- hold: false;
116
- operation: {
117
- forward: string;
118
- next_node_name: string;
119
- };
120
- message?: string | undefined;
121
- }, {
122
- hold: false;
123
- operation: {
124
- forward: string;
125
- next_node_name: string;
126
- };
127
- message?: string | undefined;
128
- }>]>;
129
43
  export declare const CallProgress_DataSchema: z.ZodObject<{
130
44
  object: z.ZodEffects<z.ZodString, string, string>;
131
45
  task: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -203,7 +117,7 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
203
117
  check_all_founded?: boolean | undefined;
204
118
  };
205
119
  }>>;
206
- operate: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
120
+ operate: z.ZodOptional<z.ZodObject<{
207
121
  operation: z.ZodObject<{
208
122
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
209
123
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -214,53 +128,26 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
214
128
  forward: string;
215
129
  next_node_name: string;
216
130
  }>;
217
- hold: z.ZodLiteral<true>;
131
+ hold: z.ZodOptional<z.ZodBoolean>;
218
132
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
219
133
  message: z.ZodOptional<z.ZodString>;
220
134
  }, "strict", z.ZodTypeAny, {
221
- hold: true;
222
135
  operation: {
223
136
  forward: string;
224
137
  next_node_name: string;
225
138
  };
226
139
  message?: string | undefined;
140
+ hold?: boolean | undefined;
227
141
  adminUnhold?: boolean | undefined;
228
142
  }, {
229
- hold: true;
230
143
  operation: {
231
144
  forward: string;
232
145
  next_node_name: string;
233
146
  };
234
147
  message?: string | undefined;
148
+ hold?: boolean | undefined;
235
149
  adminUnhold?: boolean | undefined;
236
- }>, z.ZodObject<{
237
- operation: z.ZodObject<{
238
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
239
- forward: z.ZodEffects<z.ZodString, string, string>;
240
- }, "strict", z.ZodTypeAny, {
241
- forward: string;
242
- next_node_name: string;
243
- }, {
244
- forward: string;
245
- next_node_name: string;
246
- }>;
247
- hold: z.ZodLiteral<false>;
248
- message: z.ZodOptional<z.ZodString>;
249
- }, "strict", z.ZodTypeAny, {
250
- hold: false;
251
- operation: {
252
- forward: string;
253
- next_node_name: string;
254
- };
255
- message?: string | undefined;
256
- }, {
257
- hold: false;
258
- operation: {
259
- forward: string;
260
- next_node_name: string;
261
- };
262
- message?: string | undefined;
263
- }>]>>;
150
+ }>>;
264
151
  }, "strict", z.ZodTypeAny, {
265
152
  object: string;
266
153
  task?: string | undefined;
@@ -285,20 +172,13 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
285
172
  };
286
173
  } | undefined;
287
174
  operate?: {
288
- hold: true;
289
175
  operation: {
290
176
  forward: string;
291
177
  next_node_name: string;
292
178
  };
293
179
  message?: string | undefined;
180
+ hold?: boolean | undefined;
294
181
  adminUnhold?: boolean | undefined;
295
- } | {
296
- hold: false;
297
- operation: {
298
- forward: string;
299
- next_node_name: string;
300
- };
301
- message?: string | undefined;
302
182
  } | undefined;
303
183
  }, {
304
184
  object: string;
@@ -324,20 +204,13 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
324
204
  };
325
205
  } | undefined;
326
206
  operate?: {
327
- hold: true;
328
207
  operation: {
329
208
  forward: string;
330
209
  next_node_name: string;
331
210
  };
332
211
  message?: string | undefined;
212
+ hold?: boolean | undefined;
333
213
  adminUnhold?: boolean | undefined;
334
- } | {
335
- hold: false;
336
- operation: {
337
- forward: string;
338
- next_node_name: string;
339
- };
340
- message?: string | undefined;
341
214
  } | undefined;
342
215
  }>;
343
216
  export declare const CallProgress_InputSchema: z.ZodObject<{
@@ -418,7 +291,7 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
418
291
  check_all_founded?: boolean | undefined;
419
292
  };
420
293
  }>>;
421
- operate: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
294
+ operate: z.ZodOptional<z.ZodObject<{
422
295
  operation: z.ZodObject<{
423
296
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
424
297
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -429,53 +302,26 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
429
302
  forward: string;
430
303
  next_node_name: string;
431
304
  }>;
432
- hold: z.ZodLiteral<true>;
305
+ hold: z.ZodOptional<z.ZodBoolean>;
433
306
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
434
307
  message: z.ZodOptional<z.ZodString>;
435
308
  }, "strict", z.ZodTypeAny, {
436
- hold: true;
437
309
  operation: {
438
310
  forward: string;
439
311
  next_node_name: string;
440
312
  };
441
313
  message?: string | undefined;
314
+ hold?: boolean | undefined;
442
315
  adminUnhold?: boolean | undefined;
443
316
  }, {
444
- hold: true;
445
317
  operation: {
446
318
  forward: string;
447
319
  next_node_name: string;
448
320
  };
449
321
  message?: string | undefined;
322
+ hold?: boolean | undefined;
450
323
  adminUnhold?: boolean | undefined;
451
- }>, z.ZodObject<{
452
- operation: z.ZodObject<{
453
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
454
- forward: z.ZodEffects<z.ZodString, string, string>;
455
- }, "strict", z.ZodTypeAny, {
456
- forward: string;
457
- next_node_name: string;
458
- }, {
459
- forward: string;
460
- next_node_name: string;
461
- }>;
462
- hold: z.ZodLiteral<false>;
463
- message: z.ZodOptional<z.ZodString>;
464
- }, "strict", z.ZodTypeAny, {
465
- hold: false;
466
- operation: {
467
- forward: string;
468
- next_node_name: string;
469
- };
470
- message?: string | undefined;
471
- }, {
472
- hold: false;
473
- operation: {
474
- forward: string;
475
- next_node_name: string;
476
- };
477
- message?: string | undefined;
478
- }>]>>;
324
+ }>>;
479
325
  }, "strict", z.ZodTypeAny, {
480
326
  object: string;
481
327
  task?: string | undefined;
@@ -500,20 +346,13 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
500
346
  };
501
347
  } | undefined;
502
348
  operate?: {
503
- hold: true;
504
349
  operation: {
505
350
  forward: string;
506
351
  next_node_name: string;
507
352
  };
508
353
  message?: string | undefined;
354
+ hold?: boolean | undefined;
509
355
  adminUnhold?: boolean | undefined;
510
- } | {
511
- hold: false;
512
- operation: {
513
- forward: string;
514
- next_node_name: string;
515
- };
516
- message?: string | undefined;
517
356
  } | undefined;
518
357
  }, {
519
358
  object: string;
@@ -539,20 +378,13 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
539
378
  };
540
379
  } | undefined;
541
380
  operate?: {
542
- hold: true;
543
381
  operation: {
544
382
  forward: string;
545
383
  next_node_name: string;
546
384
  };
547
385
  message?: string | undefined;
386
+ hold?: boolean | undefined;
548
387
  adminUnhold?: boolean | undefined;
549
- } | {
550
- hold: false;
551
- operation: {
552
- forward: string;
553
- next_node_name: string;
554
- };
555
- message?: string | undefined;
556
388
  } | undefined;
557
389
  }>;
558
390
  env: z.ZodOptional<z.ZodObject<{
@@ -779,20 +611,13 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
779
611
  };
780
612
  } | undefined;
781
613
  operate?: {
782
- hold: true;
783
614
  operation: {
784
615
  forward: string;
785
616
  next_node_name: string;
786
617
  };
787
618
  message?: string | undefined;
619
+ hold?: boolean | undefined;
788
620
  adminUnhold?: boolean | undefined;
789
- } | {
790
- hold: false;
791
- operation: {
792
- forward: string;
793
- next_node_name: string;
794
- };
795
- message?: string | undefined;
796
621
  } | undefined;
797
622
  };
798
623
  submission?: {
@@ -854,20 +679,13 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
854
679
  };
855
680
  } | undefined;
856
681
  operate?: {
857
- hold: true;
858
682
  operation: {
859
683
  forward: string;
860
684
  next_node_name: string;
861
685
  };
862
686
  message?: string | undefined;
687
+ hold?: boolean | undefined;
863
688
  adminUnhold?: boolean | undefined;
864
- } | {
865
- hold: false;
866
- operation: {
867
- forward: string;
868
- next_node_name: string;
869
- };
870
- message?: string | undefined;
871
689
  } | undefined;
872
690
  };
873
691
  submission?: {
@@ -5,24 +5,15 @@ import { NameOrAddressSchema, NameSchema } from "../common/index.js";
5
5
  // ProgressNext 类型定义
6
6
  export const ProgressNextSchema = z.object({
7
7
  next_node_name: NameSchema.describe("Next node name."),
8
- forward: NameSchema.describe("Next node name."),
8
+ forward: NameSchema.describe("Next forward name."),
9
9
  }).strict().describe("Specify a specific operation between current node and next node.");
10
10
  // Operate 操作类型
11
- export const OperateWithHoldSchema = z.object({
11
+ export const OperateSchema = z.object({
12
12
  operation: ProgressNextSchema,
13
- hold: z.literal(true),
14
- adminUnhold: z.boolean().optional().describe("Whether to allow admin to force unlock."),
13
+ hold: z.boolean().optional().describe("Whether to lock operation permission. When true, locks the permission; when false or omitted, submits operation result directly."),
14
+ adminUnhold: z.boolean().optional().describe("Whether to allow admin to force unlock. Only applicable when hold is true."),
15
15
  message: z.string().optional().describe("Operation result message."),
16
- }).strict().describe("Advance Progress object: lock operation permission.");
17
- export const OperateWithoutHoldSchema = z.object({
18
- operation: ProgressNextSchema,
19
- hold: z.literal(false),
20
- message: z.string().optional().describe("Operation result message."),
21
- }).strict().describe("Advance Progress object: submit operation result.");
22
- export const OperateSchema = z.discriminatedUnion("hold", [
23
- OperateWithHoldSchema,
24
- OperateWithoutHoldSchema,
25
- ]);
16
+ }).strict().describe("Advance Progress object: lock operation permission (hold=true) or submit operation result (hold=false or omitted).");
26
17
  export const CallProgress_DataSchema = z.object({
27
18
  object: NameOrAddressSchema.describe("Progress object ID or name"),
28
19
  task: NameOrAddressSchema.optional().describe("Task ID. Cannot be changed after setting."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wowok_agent",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "description": "Making It Easy for Agents to Communicate, Collaborate, Trade, and Trust.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@modelcontextprotocol/sdk": "^1.29.0",
32
32
  "lodash": "^4.18.1",
33
- "wowok": "2.1.28",
33
+ "wowok": "2.1.29",
34
34
  "zod": "^3.25.76"
35
35
  },
36
36
  "devDependencies": {