wowok_agent 2.1.27 → 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";
@@ -6905,7 +6850,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
6905
6850
  onChain?: boolean | undefined;
6906
6851
  } | undefined;
6907
6852
  }>]>;
6908
- description: z.ZodEffects<z.ZodString, string, string>;
6853
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6909
6854
  receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6910
6855
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
6911
6856
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -7176,38 +7121,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7176
7121
  }[];
7177
7122
  }>, z.ZodObject<{
7178
7123
  op: z.ZodLiteral<"remove">;
7179
- guards: z.ZodArray<z.ZodObject<{
7180
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7181
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7182
- onChain: z.ZodOptional<z.ZodBoolean>;
7183
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
7184
- }, "strict", z.ZodTypeAny, {
7185
- name?: string | undefined;
7186
- replaceExistName?: boolean | undefined;
7187
- tags?: string[] | undefined;
7188
- onChain?: boolean | undefined;
7189
- }, {
7190
- name?: string | undefined;
7191
- replaceExistName?: boolean | undefined;
7192
- tags?: string[] | undefined;
7193
- onChain?: boolean | undefined;
7194
- }>, "many">;
7124
+ guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
7195
7125
  }, "strict", z.ZodTypeAny, {
7196
7126
  op: "remove";
7197
- guards: {
7198
- name?: string | undefined;
7199
- replaceExistName?: boolean | undefined;
7200
- tags?: string[] | undefined;
7201
- onChain?: boolean | undefined;
7202
- }[];
7127
+ guards: string[];
7203
7128
  }, {
7204
7129
  op: "remove";
7205
- guards: {
7206
- name?: string | undefined;
7207
- replaceExistName?: boolean | undefined;
7208
- tags?: string[] | undefined;
7209
- onChain?: boolean | undefined;
7210
- }[];
7130
+ guards: string[];
7211
7131
  }>, z.ZodObject<{
7212
7132
  op: z.ZodLiteral<"clear">;
7213
7133
  }, "strict", z.ZodTypeAny, {
@@ -7265,38 +7185,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7265
7185
  }[];
7266
7186
  }>, z.ZodObject<{
7267
7187
  op: z.ZodLiteral<"remove">;
7268
- guards: z.ZodArray<z.ZodObject<{
7269
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7270
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7271
- onChain: z.ZodOptional<z.ZodBoolean>;
7272
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
7273
- }, "strict", z.ZodTypeAny, {
7274
- name?: string | undefined;
7275
- replaceExistName?: boolean | undefined;
7276
- tags?: string[] | undefined;
7277
- onChain?: boolean | undefined;
7278
- }, {
7279
- name?: string | undefined;
7280
- replaceExistName?: boolean | undefined;
7281
- tags?: string[] | undefined;
7282
- onChain?: boolean | undefined;
7283
- }>, "many">;
7188
+ guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
7284
7189
  }, "strict", z.ZodTypeAny, {
7285
7190
  op: "remove";
7286
- guards: {
7287
- name?: string | undefined;
7288
- replaceExistName?: boolean | undefined;
7289
- tags?: string[] | undefined;
7290
- onChain?: boolean | undefined;
7291
- }[];
7191
+ guards: string[];
7292
7192
  }, {
7293
7193
  op: "remove";
7294
- guards: {
7295
- name?: string | undefined;
7296
- replaceExistName?: boolean | undefined;
7297
- tags?: string[] | undefined;
7298
- onChain?: boolean | undefined;
7299
- }[];
7194
+ guards: string[];
7300
7195
  }>, z.ZodObject<{
7301
7196
  op: z.ZodLiteral<"clear">;
7302
7197
  }, "strict", z.ZodTypeAny, {
@@ -7377,7 +7272,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7377
7272
  onChain?: boolean | undefined;
7378
7273
  } | undefined;
7379
7274
  };
7380
- description: string;
7275
+ description?: string | undefined;
7381
7276
  owner_receive?: {
7382
7277
  received: {
7383
7278
  id: string;
@@ -7410,12 +7305,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7410
7305
  }[];
7411
7306
  } | {
7412
7307
  op: "remove";
7413
- guards: {
7414
- name?: string | undefined;
7415
- replaceExistName?: boolean | undefined;
7416
- tags?: string[] | undefined;
7417
- onChain?: boolean | undefined;
7418
- }[];
7308
+ guards: string[];
7419
7309
  } | {
7420
7310
  op: "clear";
7421
7311
  } | undefined;
@@ -7433,12 +7323,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7433
7323
  }[];
7434
7324
  } | {
7435
7325
  op: "remove";
7436
- guards: {
7437
- name?: string | undefined;
7438
- replaceExistName?: boolean | undefined;
7439
- tags?: string[] | undefined;
7440
- onChain?: boolean | undefined;
7441
- }[];
7326
+ guards: string[];
7442
7327
  } | {
7443
7328
  op: "clear";
7444
7329
  } | undefined;
@@ -7509,7 +7394,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7509
7394
  onChain?: boolean | undefined;
7510
7395
  } | undefined;
7511
7396
  };
7512
- description: string;
7397
+ description?: string | undefined;
7513
7398
  owner_receive?: {
7514
7399
  received: {
7515
7400
  id: string;
@@ -7542,12 +7427,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7542
7427
  }[];
7543
7428
  } | {
7544
7429
  op: "remove";
7545
- guards: {
7546
- name?: string | undefined;
7547
- replaceExistName?: boolean | undefined;
7548
- tags?: string[] | undefined;
7549
- onChain?: boolean | undefined;
7550
- }[];
7430
+ guards: string[];
7551
7431
  } | {
7552
7432
  op: "clear";
7553
7433
  } | undefined;
@@ -7565,12 +7445,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7565
7445
  }[];
7566
7446
  } | {
7567
7447
  op: "remove";
7568
- guards: {
7569
- name?: string | undefined;
7570
- replaceExistName?: boolean | undefined;
7571
- tags?: string[] | undefined;
7572
- onChain?: boolean | undefined;
7573
- }[];
7448
+ guards: string[];
7574
7449
  } | {
7575
7450
  op: "clear";
7576
7451
  } | undefined;
@@ -7842,7 +7717,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7842
7717
  onChain?: boolean | undefined;
7843
7718
  } | undefined;
7844
7719
  };
7845
- description: string;
7720
+ description?: string | undefined;
7846
7721
  owner_receive?: {
7847
7722
  received: {
7848
7723
  id: string;
@@ -7875,12 +7750,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7875
7750
  }[];
7876
7751
  } | {
7877
7752
  op: "remove";
7878
- guards: {
7879
- name?: string | undefined;
7880
- replaceExistName?: boolean | undefined;
7881
- tags?: string[] | undefined;
7882
- onChain?: boolean | undefined;
7883
- }[];
7753
+ guards: string[];
7884
7754
  } | {
7885
7755
  op: "clear";
7886
7756
  } | undefined;
@@ -7898,12 +7768,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
7898
7768
  }[];
7899
7769
  } | {
7900
7770
  op: "remove";
7901
- guards: {
7902
- name?: string | undefined;
7903
- replaceExistName?: boolean | undefined;
7904
- tags?: string[] | undefined;
7905
- onChain?: boolean | undefined;
7906
- }[];
7771
+ guards: string[];
7907
7772
  } | {
7908
7773
  op: "clear";
7909
7774
  } | undefined;
@@ -8011,7 +7876,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
8011
7876
  onChain?: boolean | undefined;
8012
7877
  } | undefined;
8013
7878
  };
8014
- description: string;
7879
+ description?: string | undefined;
8015
7880
  owner_receive?: {
8016
7881
  received: {
8017
7882
  id: string;
@@ -8044,12 +7909,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
8044
7909
  }[];
8045
7910
  } | {
8046
7911
  op: "remove";
8047
- guards: {
8048
- name?: string | undefined;
8049
- replaceExistName?: boolean | undefined;
8050
- tags?: string[] | undefined;
8051
- onChain?: boolean | undefined;
8052
- }[];
7912
+ guards: string[];
8053
7913
  } | {
8054
7914
  op: "clear";
8055
7915
  } | undefined;
@@ -8067,12 +7927,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
8067
7927
  }[];
8068
7928
  } | {
8069
7929
  op: "remove";
8070
- guards: {
8071
- name?: string | undefined;
8072
- replaceExistName?: boolean | undefined;
8073
- tags?: string[] | undefined;
8074
- onChain?: boolean | undefined;
8075
- }[];
7930
+ guards: string[];
8076
7931
  } | {
8077
7932
  op: "clear";
8078
7933
  } | undefined;
@@ -12677,7 +12532,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12677
12532
  check_all_founded?: boolean | undefined;
12678
12533
  }>>;
12679
12534
  required_info: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
12680
- progress: z.ZodOptional<z.ZodDiscriminatedUnion<"hold", [z.ZodObject<{
12535
+ progress: z.ZodOptional<z.ZodObject<{
12681
12536
  operation: z.ZodObject<{
12682
12537
  next_node_name: z.ZodEffects<z.ZodString, string, string>;
12683
12538
  forward: z.ZodEffects<z.ZodString, string, string>;
@@ -12688,53 +12543,26 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12688
12543
  forward: string;
12689
12544
  next_node_name: string;
12690
12545
  }>;
12691
- hold: z.ZodLiteral<true>;
12546
+ hold: z.ZodOptional<z.ZodBoolean>;
12692
12547
  adminUnhold: z.ZodOptional<z.ZodBoolean>;
12693
12548
  message: z.ZodOptional<z.ZodString>;
12694
12549
  }, "strict", z.ZodTypeAny, {
12695
- hold: true;
12696
12550
  operation: {
12697
12551
  forward: string;
12698
12552
  next_node_name: string;
12699
12553
  };
12700
12554
  message?: string | undefined;
12555
+ hold?: boolean | undefined;
12701
12556
  adminUnhold?: boolean | undefined;
12702
12557
  }, {
12703
- hold: true;
12704
12558
  operation: {
12705
12559
  forward: string;
12706
12560
  next_node_name: string;
12707
12561
  };
12708
12562
  message?: string | undefined;
12563
+ hold?: boolean | undefined;
12709
12564
  adminUnhold?: boolean | undefined;
12710
- }>, z.ZodObject<{
12711
- operation: z.ZodObject<{
12712
- next_node_name: z.ZodEffects<z.ZodString, string, string>;
12713
- forward: z.ZodEffects<z.ZodString, string, string>;
12714
- }, "strict", z.ZodTypeAny, {
12715
- forward: string;
12716
- next_node_name: string;
12717
- }, {
12718
- forward: string;
12719
- next_node_name: string;
12720
- }>;
12721
- hold: z.ZodLiteral<false>;
12722
- message: z.ZodOptional<z.ZodString>;
12723
- }, "strict", z.ZodTypeAny, {
12724
- hold: false;
12725
- operation: {
12726
- forward: string;
12727
- next_node_name: string;
12728
- };
12729
- message?: string | undefined;
12730
- }, {
12731
- hold: false;
12732
- operation: {
12733
- forward: string;
12734
- next_node_name: string;
12735
- };
12736
- message?: string | undefined;
12737
- }>]>>;
12565
+ }>>;
12738
12566
  arb_confirm: z.ZodOptional<z.ZodObject<{
12739
12567
  arb: z.ZodEffects<z.ZodString, string, string>;
12740
12568
  confirm: z.ZodBoolean;
@@ -12851,20 +12679,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12851
12679
  }, "strict", z.ZodTypeAny, {
12852
12680
  object: string;
12853
12681
  progress?: {
12854
- hold: true;
12855
12682
  operation: {
12856
12683
  forward: string;
12857
12684
  next_node_name: string;
12858
12685
  };
12859
12686
  message?: string | undefined;
12687
+ hold?: boolean | undefined;
12860
12688
  adminUnhold?: boolean | undefined;
12861
- } | {
12862
- hold: false;
12863
- operation: {
12864
- forward: string;
12865
- next_node_name: string;
12866
- };
12867
- message?: string | undefined;
12868
12689
  } | undefined;
12869
12690
  required_info?: string | null | undefined;
12870
12691
  agents?: {
@@ -12908,20 +12729,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
12908
12729
  }, {
12909
12730
  object: string;
12910
12731
  progress?: {
12911
- hold: true;
12912
12732
  operation: {
12913
12733
  forward: string;
12914
12734
  next_node_name: string;
12915
12735
  };
12916
12736
  message?: string | undefined;
12737
+ hold?: boolean | undefined;
12917
12738
  adminUnhold?: boolean | undefined;
12918
- } | {
12919
- hold: false;
12920
- operation: {
12921
- forward: string;
12922
- next_node_name: string;
12923
- };
12924
- message?: string | undefined;
12925
12739
  } | undefined;
12926
12740
  required_info?: string | null | undefined;
12927
12741
  agents?: {
@@ -13166,20 +12980,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
13166
12980
  data: {
13167
12981
  object: string;
13168
12982
  progress?: {
13169
- hold: true;
13170
12983
  operation: {
13171
12984
  forward: string;
13172
12985
  next_node_name: string;
13173
12986
  };
13174
12987
  message?: string | undefined;
12988
+ hold?: boolean | undefined;
13175
12989
  adminUnhold?: boolean | undefined;
13176
- } | {
13177
- hold: false;
13178
- operation: {
13179
- forward: string;
13180
- next_node_name: string;
13181
- };
13182
- message?: string | undefined;
13183
12990
  } | undefined;
13184
12991
  required_info?: string | null | undefined;
13185
12992
  agents?: {
@@ -13260,20 +13067,13 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
13260
13067
  data: {
13261
13068
  object: string;
13262
13069
  progress?: {
13263
- hold: true;
13264
13070
  operation: {
13265
13071
  forward: string;
13266
13072
  next_node_name: string;
13267
13073
  };
13268
13074
  message?: string | undefined;
13075
+ hold?: boolean | undefined;
13269
13076
  adminUnhold?: boolean | undefined;
13270
- } | {
13271
- hold: false;
13272
- operation: {
13273
- forward: string;
13274
- next_node_name: string;
13275
- };
13276
- message?: string | undefined;
13277
13077
  } | undefined;
13278
13078
  required_info?: string | null | undefined;
13279
13079
  agents?: {