@wowok/agent-mcp 2.2.19 → 2.2.20
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
|
@@ -2420,28 +2420,50 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
2420
2420
|
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2421
2421
|
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2422
2422
|
forward: z.ZodArray<z.ZodObject<{
|
|
2423
|
-
name: z.
|
|
2424
|
-
namedOperator: z.ZodOptional<z.
|
|
2425
|
-
permissionIndex: z.ZodOptional<z.
|
|
2423
|
+
name: z.ZodString;
|
|
2424
|
+
namedOperator: z.ZodOptional<z.ZodString>;
|
|
2425
|
+
permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
2426
2426
|
weight: z.ZodNumber;
|
|
2427
|
+
guard: z.ZodOptional<z.ZodObject<{
|
|
2428
|
+
guard: z.ZodString;
|
|
2429
|
+
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2430
|
+
}, "strict", z.ZodTypeAny, {
|
|
2431
|
+
guard: string;
|
|
2432
|
+
retained_submission?: number[] | undefined;
|
|
2433
|
+
}, {
|
|
2434
|
+
guard: string;
|
|
2435
|
+
retained_submission?: number[] | undefined;
|
|
2436
|
+
}>>;
|
|
2427
2437
|
}, "strict", z.ZodTypeAny, {
|
|
2428
2438
|
name: string;
|
|
2429
2439
|
weight: number;
|
|
2430
|
-
|
|
2431
|
-
|
|
2440
|
+
guard?: {
|
|
2441
|
+
guard: string;
|
|
2442
|
+
retained_submission?: number[] | undefined;
|
|
2443
|
+
} | undefined;
|
|
2444
|
+
namedOperator?: string | undefined;
|
|
2445
|
+
permissionIndex?: number | undefined;
|
|
2432
2446
|
}, {
|
|
2433
2447
|
name: string;
|
|
2434
2448
|
weight: number;
|
|
2435
|
-
|
|
2436
|
-
|
|
2449
|
+
guard?: {
|
|
2450
|
+
guard: string;
|
|
2451
|
+
retained_submission?: number[] | undefined;
|
|
2452
|
+
} | undefined;
|
|
2453
|
+
namedOperator?: string | undefined;
|
|
2454
|
+
permissionIndex?: number | undefined;
|
|
2437
2455
|
}>, "many">;
|
|
2438
2456
|
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
2439
2457
|
}, "strict", z.ZodTypeAny, {
|
|
2440
2458
|
forward: {
|
|
2441
2459
|
name: string;
|
|
2442
2460
|
weight: number;
|
|
2443
|
-
|
|
2444
|
-
|
|
2461
|
+
guard?: {
|
|
2462
|
+
guard: string;
|
|
2463
|
+
retained_submission?: number[] | undefined;
|
|
2464
|
+
} | undefined;
|
|
2465
|
+
namedOperator?: string | undefined;
|
|
2466
|
+
permissionIndex?: number | undefined;
|
|
2445
2467
|
}[];
|
|
2446
2468
|
prior_node_name: string;
|
|
2447
2469
|
node_name: string;
|
|
@@ -2450,8 +2472,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
2450
2472
|
forward: {
|
|
2451
2473
|
name: string;
|
|
2452
2474
|
weight: number;
|
|
2453
|
-
|
|
2454
|
-
|
|
2475
|
+
guard?: {
|
|
2476
|
+
guard: string;
|
|
2477
|
+
retained_submission?: number[] | undefined;
|
|
2478
|
+
} | undefined;
|
|
2479
|
+
namedOperator?: string | undefined;
|
|
2480
|
+
permissionIndex?: number | undefined;
|
|
2455
2481
|
}[];
|
|
2456
2482
|
prior_node_name: string;
|
|
2457
2483
|
node_name: string;
|
|
@@ -2462,8 +2488,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
2462
2488
|
forward: {
|
|
2463
2489
|
name: string;
|
|
2464
2490
|
weight: number;
|
|
2465
|
-
|
|
2466
|
-
|
|
2491
|
+
guard?: {
|
|
2492
|
+
guard: string;
|
|
2493
|
+
retained_submission?: number[] | undefined;
|
|
2494
|
+
} | undefined;
|
|
2495
|
+
namedOperator?: string | undefined;
|
|
2496
|
+
permissionIndex?: number | undefined;
|
|
2467
2497
|
}[];
|
|
2468
2498
|
prior_node_name: string;
|
|
2469
2499
|
node_name: string;
|
|
@@ -2475,8 +2505,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
2475
2505
|
forward: {
|
|
2476
2506
|
name: string;
|
|
2477
2507
|
weight: number;
|
|
2478
|
-
|
|
2479
|
-
|
|
2508
|
+
guard?: {
|
|
2509
|
+
guard: string;
|
|
2510
|
+
retained_submission?: number[] | undefined;
|
|
2511
|
+
} | undefined;
|
|
2512
|
+
namedOperator?: string | undefined;
|
|
2513
|
+
permissionIndex?: number | undefined;
|
|
2480
2514
|
}[];
|
|
2481
2515
|
prior_node_name: string;
|
|
2482
2516
|
node_name: string;
|
|
@@ -2660,8 +2694,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
2660
2694
|
forward: {
|
|
2661
2695
|
name: string;
|
|
2662
2696
|
weight: number;
|
|
2663
|
-
|
|
2664
|
-
|
|
2697
|
+
guard?: {
|
|
2698
|
+
guard: string;
|
|
2699
|
+
retained_submission?: number[] | undefined;
|
|
2700
|
+
} | undefined;
|
|
2701
|
+
namedOperator?: string | undefined;
|
|
2702
|
+
permissionIndex?: number | undefined;
|
|
2665
2703
|
}[];
|
|
2666
2704
|
prior_node_name: string;
|
|
2667
2705
|
node_name: string;
|
|
@@ -2811,8 +2849,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
2811
2849
|
forward: {
|
|
2812
2850
|
name: string;
|
|
2813
2851
|
weight: number;
|
|
2814
|
-
|
|
2815
|
-
|
|
2852
|
+
guard?: {
|
|
2853
|
+
guard: string;
|
|
2854
|
+
retained_submission?: number[] | undefined;
|
|
2855
|
+
} | undefined;
|
|
2856
|
+
namedOperator?: string | undefined;
|
|
2857
|
+
permissionIndex?: number | undefined;
|
|
2816
2858
|
}[];
|
|
2817
2859
|
prior_node_name: string;
|
|
2818
2860
|
node_name: string;
|
|
@@ -3163,8 +3205,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
3163
3205
|
forward: {
|
|
3164
3206
|
name: string;
|
|
3165
3207
|
weight: number;
|
|
3166
|
-
|
|
3167
|
-
|
|
3208
|
+
guard?: {
|
|
3209
|
+
guard: string;
|
|
3210
|
+
retained_submission?: number[] | undefined;
|
|
3211
|
+
} | undefined;
|
|
3212
|
+
namedOperator?: string | undefined;
|
|
3213
|
+
permissionIndex?: number | undefined;
|
|
3168
3214
|
}[];
|
|
3169
3215
|
prior_node_name: string;
|
|
3170
3216
|
node_name: string;
|
|
@@ -3351,8 +3397,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
3351
3397
|
forward: {
|
|
3352
3398
|
name: string;
|
|
3353
3399
|
weight: number;
|
|
3354
|
-
|
|
3355
|
-
|
|
3400
|
+
guard?: {
|
|
3401
|
+
guard: string;
|
|
3402
|
+
retained_submission?: number[] | undefined;
|
|
3403
|
+
} | undefined;
|
|
3404
|
+
namedOperator?: string | undefined;
|
|
3405
|
+
permissionIndex?: number | undefined;
|
|
3356
3406
|
}[];
|
|
3357
3407
|
prior_node_name: string;
|
|
3358
3408
|
node_name: string;
|
|
@@ -13761,8 +13811,12 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
13761
13811
|
forward: {
|
|
13762
13812
|
name: string;
|
|
13763
13813
|
weight: number;
|
|
13764
|
-
|
|
13765
|
-
|
|
13814
|
+
guard?: {
|
|
13815
|
+
guard: string;
|
|
13816
|
+
retained_submission?: number[] | undefined;
|
|
13817
|
+
} | undefined;
|
|
13818
|
+
namedOperator?: string | undefined;
|
|
13819
|
+
permissionIndex?: number | undefined;
|
|
13766
13820
|
}[];
|
|
13767
13821
|
prior_node_name: string;
|
|
13768
13822
|
node_name: string;
|
|
@@ -201,28 +201,50 @@ export declare const NodeAddForwardDataSchema: z.ZodObject<{
|
|
|
201
201
|
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
202
202
|
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
203
203
|
forward: z.ZodArray<z.ZodObject<{
|
|
204
|
-
name: z.
|
|
205
|
-
namedOperator: z.ZodOptional<z.
|
|
206
|
-
permissionIndex: z.ZodOptional<z.
|
|
204
|
+
name: z.ZodString;
|
|
205
|
+
namedOperator: z.ZodOptional<z.ZodString>;
|
|
206
|
+
permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
207
207
|
weight: z.ZodNumber;
|
|
208
|
+
guard: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
guard: z.ZodString;
|
|
210
|
+
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
211
|
+
}, "strict", z.ZodTypeAny, {
|
|
212
|
+
guard: string;
|
|
213
|
+
retained_submission?: number[] | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
guard: string;
|
|
216
|
+
retained_submission?: number[] | undefined;
|
|
217
|
+
}>>;
|
|
208
218
|
}, "strict", z.ZodTypeAny, {
|
|
209
219
|
name: string;
|
|
210
220
|
weight: number;
|
|
211
|
-
|
|
212
|
-
|
|
221
|
+
guard?: {
|
|
222
|
+
guard: string;
|
|
223
|
+
retained_submission?: number[] | undefined;
|
|
224
|
+
} | undefined;
|
|
225
|
+
namedOperator?: string | undefined;
|
|
226
|
+
permissionIndex?: number | undefined;
|
|
213
227
|
}, {
|
|
214
228
|
name: string;
|
|
215
229
|
weight: number;
|
|
216
|
-
|
|
217
|
-
|
|
230
|
+
guard?: {
|
|
231
|
+
guard: string;
|
|
232
|
+
retained_submission?: number[] | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
namedOperator?: string | undefined;
|
|
235
|
+
permissionIndex?: number | undefined;
|
|
218
236
|
}>, "many">;
|
|
219
237
|
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
220
238
|
}, "strict", z.ZodTypeAny, {
|
|
221
239
|
forward: {
|
|
222
240
|
name: string;
|
|
223
241
|
weight: number;
|
|
224
|
-
|
|
225
|
-
|
|
242
|
+
guard?: {
|
|
243
|
+
guard: string;
|
|
244
|
+
retained_submission?: number[] | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
namedOperator?: string | undefined;
|
|
247
|
+
permissionIndex?: number | undefined;
|
|
226
248
|
}[];
|
|
227
249
|
prior_node_name: string;
|
|
228
250
|
node_name: string;
|
|
@@ -231,8 +253,12 @@ export declare const NodeAddForwardDataSchema: z.ZodObject<{
|
|
|
231
253
|
forward: {
|
|
232
254
|
name: string;
|
|
233
255
|
weight: number;
|
|
234
|
-
|
|
235
|
-
|
|
256
|
+
guard?: {
|
|
257
|
+
guard: string;
|
|
258
|
+
retained_submission?: number[] | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
namedOperator?: string | undefined;
|
|
261
|
+
permissionIndex?: number | undefined;
|
|
236
262
|
}[];
|
|
237
263
|
prior_node_name: string;
|
|
238
264
|
node_name: string;
|
|
@@ -614,28 +640,50 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
614
640
|
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
615
641
|
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
616
642
|
forward: z.ZodArray<z.ZodObject<{
|
|
617
|
-
name: z.
|
|
618
|
-
namedOperator: z.ZodOptional<z.
|
|
619
|
-
permissionIndex: z.ZodOptional<z.
|
|
643
|
+
name: z.ZodString;
|
|
644
|
+
namedOperator: z.ZodOptional<z.ZodString>;
|
|
645
|
+
permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
620
646
|
weight: z.ZodNumber;
|
|
647
|
+
guard: z.ZodOptional<z.ZodObject<{
|
|
648
|
+
guard: z.ZodString;
|
|
649
|
+
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
650
|
+
}, "strict", z.ZodTypeAny, {
|
|
651
|
+
guard: string;
|
|
652
|
+
retained_submission?: number[] | undefined;
|
|
653
|
+
}, {
|
|
654
|
+
guard: string;
|
|
655
|
+
retained_submission?: number[] | undefined;
|
|
656
|
+
}>>;
|
|
621
657
|
}, "strict", z.ZodTypeAny, {
|
|
622
658
|
name: string;
|
|
623
659
|
weight: number;
|
|
624
|
-
|
|
625
|
-
|
|
660
|
+
guard?: {
|
|
661
|
+
guard: string;
|
|
662
|
+
retained_submission?: number[] | undefined;
|
|
663
|
+
} | undefined;
|
|
664
|
+
namedOperator?: string | undefined;
|
|
665
|
+
permissionIndex?: number | undefined;
|
|
626
666
|
}, {
|
|
627
667
|
name: string;
|
|
628
668
|
weight: number;
|
|
629
|
-
|
|
630
|
-
|
|
669
|
+
guard?: {
|
|
670
|
+
guard: string;
|
|
671
|
+
retained_submission?: number[] | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
namedOperator?: string | undefined;
|
|
674
|
+
permissionIndex?: number | undefined;
|
|
631
675
|
}>, "many">;
|
|
632
676
|
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
633
677
|
}, "strict", z.ZodTypeAny, {
|
|
634
678
|
forward: {
|
|
635
679
|
name: string;
|
|
636
680
|
weight: number;
|
|
637
|
-
|
|
638
|
-
|
|
681
|
+
guard?: {
|
|
682
|
+
guard: string;
|
|
683
|
+
retained_submission?: number[] | undefined;
|
|
684
|
+
} | undefined;
|
|
685
|
+
namedOperator?: string | undefined;
|
|
686
|
+
permissionIndex?: number | undefined;
|
|
639
687
|
}[];
|
|
640
688
|
prior_node_name: string;
|
|
641
689
|
node_name: string;
|
|
@@ -644,8 +692,12 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
644
692
|
forward: {
|
|
645
693
|
name: string;
|
|
646
694
|
weight: number;
|
|
647
|
-
|
|
648
|
-
|
|
695
|
+
guard?: {
|
|
696
|
+
guard: string;
|
|
697
|
+
retained_submission?: number[] | undefined;
|
|
698
|
+
} | undefined;
|
|
699
|
+
namedOperator?: string | undefined;
|
|
700
|
+
permissionIndex?: number | undefined;
|
|
649
701
|
}[];
|
|
650
702
|
prior_node_name: string;
|
|
651
703
|
node_name: string;
|
|
@@ -656,8 +708,12 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
656
708
|
forward: {
|
|
657
709
|
name: string;
|
|
658
710
|
weight: number;
|
|
659
|
-
|
|
660
|
-
|
|
711
|
+
guard?: {
|
|
712
|
+
guard: string;
|
|
713
|
+
retained_submission?: number[] | undefined;
|
|
714
|
+
} | undefined;
|
|
715
|
+
namedOperator?: string | undefined;
|
|
716
|
+
permissionIndex?: number | undefined;
|
|
661
717
|
}[];
|
|
662
718
|
prior_node_name: string;
|
|
663
719
|
node_name: string;
|
|
@@ -669,8 +725,12 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
669
725
|
forward: {
|
|
670
726
|
name: string;
|
|
671
727
|
weight: number;
|
|
672
|
-
|
|
673
|
-
|
|
728
|
+
guard?: {
|
|
729
|
+
guard: string;
|
|
730
|
+
retained_submission?: number[] | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
namedOperator?: string | undefined;
|
|
733
|
+
permissionIndex?: number | undefined;
|
|
674
734
|
}[];
|
|
675
735
|
prior_node_name: string;
|
|
676
736
|
node_name: string;
|
|
@@ -1067,28 +1127,50 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
|
|
|
1067
1127
|
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1068
1128
|
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1069
1129
|
forward: z.ZodArray<z.ZodObject<{
|
|
1070
|
-
name: z.
|
|
1071
|
-
namedOperator: z.ZodOptional<z.
|
|
1072
|
-
permissionIndex: z.ZodOptional<z.
|
|
1130
|
+
name: z.ZodString;
|
|
1131
|
+
namedOperator: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1073
1133
|
weight: z.ZodNumber;
|
|
1134
|
+
guard: z.ZodOptional<z.ZodObject<{
|
|
1135
|
+
guard: z.ZodString;
|
|
1136
|
+
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1137
|
+
}, "strict", z.ZodTypeAny, {
|
|
1138
|
+
guard: string;
|
|
1139
|
+
retained_submission?: number[] | undefined;
|
|
1140
|
+
}, {
|
|
1141
|
+
guard: string;
|
|
1142
|
+
retained_submission?: number[] | undefined;
|
|
1143
|
+
}>>;
|
|
1074
1144
|
}, "strict", z.ZodTypeAny, {
|
|
1075
1145
|
name: string;
|
|
1076
1146
|
weight: number;
|
|
1077
|
-
|
|
1078
|
-
|
|
1147
|
+
guard?: {
|
|
1148
|
+
guard: string;
|
|
1149
|
+
retained_submission?: number[] | undefined;
|
|
1150
|
+
} | undefined;
|
|
1151
|
+
namedOperator?: string | undefined;
|
|
1152
|
+
permissionIndex?: number | undefined;
|
|
1079
1153
|
}, {
|
|
1080
1154
|
name: string;
|
|
1081
1155
|
weight: number;
|
|
1082
|
-
|
|
1083
|
-
|
|
1156
|
+
guard?: {
|
|
1157
|
+
guard: string;
|
|
1158
|
+
retained_submission?: number[] | undefined;
|
|
1159
|
+
} | undefined;
|
|
1160
|
+
namedOperator?: string | undefined;
|
|
1161
|
+
permissionIndex?: number | undefined;
|
|
1084
1162
|
}>, "many">;
|
|
1085
1163
|
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
1086
1164
|
}, "strict", z.ZodTypeAny, {
|
|
1087
1165
|
forward: {
|
|
1088
1166
|
name: string;
|
|
1089
1167
|
weight: number;
|
|
1090
|
-
|
|
1091
|
-
|
|
1168
|
+
guard?: {
|
|
1169
|
+
guard: string;
|
|
1170
|
+
retained_submission?: number[] | undefined;
|
|
1171
|
+
} | undefined;
|
|
1172
|
+
namedOperator?: string | undefined;
|
|
1173
|
+
permissionIndex?: number | undefined;
|
|
1092
1174
|
}[];
|
|
1093
1175
|
prior_node_name: string;
|
|
1094
1176
|
node_name: string;
|
|
@@ -1097,8 +1179,12 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
|
|
|
1097
1179
|
forward: {
|
|
1098
1180
|
name: string;
|
|
1099
1181
|
weight: number;
|
|
1100
|
-
|
|
1101
|
-
|
|
1182
|
+
guard?: {
|
|
1183
|
+
guard: string;
|
|
1184
|
+
retained_submission?: number[] | undefined;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
namedOperator?: string | undefined;
|
|
1187
|
+
permissionIndex?: number | undefined;
|
|
1102
1188
|
}[];
|
|
1103
1189
|
prior_node_name: string;
|
|
1104
1190
|
node_name: string;
|
|
@@ -1109,8 +1195,12 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
|
|
|
1109
1195
|
forward: {
|
|
1110
1196
|
name: string;
|
|
1111
1197
|
weight: number;
|
|
1112
|
-
|
|
1113
|
-
|
|
1198
|
+
guard?: {
|
|
1199
|
+
guard: string;
|
|
1200
|
+
retained_submission?: number[] | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
namedOperator?: string | undefined;
|
|
1203
|
+
permissionIndex?: number | undefined;
|
|
1114
1204
|
}[];
|
|
1115
1205
|
prior_node_name: string;
|
|
1116
1206
|
node_name: string;
|
|
@@ -1122,8 +1212,12 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
|
|
|
1122
1212
|
forward: {
|
|
1123
1213
|
name: string;
|
|
1124
1214
|
weight: number;
|
|
1125
|
-
|
|
1126
|
-
|
|
1215
|
+
guard?: {
|
|
1216
|
+
guard: string;
|
|
1217
|
+
retained_submission?: number[] | undefined;
|
|
1218
|
+
} | undefined;
|
|
1219
|
+
namedOperator?: string | undefined;
|
|
1220
|
+
permissionIndex?: number | undefined;
|
|
1127
1221
|
}[];
|
|
1128
1222
|
prior_node_name: string;
|
|
1129
1223
|
node_name: string;
|
|
@@ -1746,28 +1840,50 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
1746
1840
|
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1747
1841
|
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1748
1842
|
forward: z.ZodArray<z.ZodObject<{
|
|
1749
|
-
name: z.
|
|
1750
|
-
namedOperator: z.ZodOptional<z.
|
|
1751
|
-
permissionIndex: z.ZodOptional<z.
|
|
1843
|
+
name: z.ZodString;
|
|
1844
|
+
namedOperator: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1752
1846
|
weight: z.ZodNumber;
|
|
1847
|
+
guard: z.ZodOptional<z.ZodObject<{
|
|
1848
|
+
guard: z.ZodString;
|
|
1849
|
+
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1850
|
+
}, "strict", z.ZodTypeAny, {
|
|
1851
|
+
guard: string;
|
|
1852
|
+
retained_submission?: number[] | undefined;
|
|
1853
|
+
}, {
|
|
1854
|
+
guard: string;
|
|
1855
|
+
retained_submission?: number[] | undefined;
|
|
1856
|
+
}>>;
|
|
1753
1857
|
}, "strict", z.ZodTypeAny, {
|
|
1754
1858
|
name: string;
|
|
1755
1859
|
weight: number;
|
|
1756
|
-
|
|
1757
|
-
|
|
1860
|
+
guard?: {
|
|
1861
|
+
guard: string;
|
|
1862
|
+
retained_submission?: number[] | undefined;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
namedOperator?: string | undefined;
|
|
1865
|
+
permissionIndex?: number | undefined;
|
|
1758
1866
|
}, {
|
|
1759
1867
|
name: string;
|
|
1760
1868
|
weight: number;
|
|
1761
|
-
|
|
1762
|
-
|
|
1869
|
+
guard?: {
|
|
1870
|
+
guard: string;
|
|
1871
|
+
retained_submission?: number[] | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
namedOperator?: string | undefined;
|
|
1874
|
+
permissionIndex?: number | undefined;
|
|
1763
1875
|
}>, "many">;
|
|
1764
1876
|
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
1765
1877
|
}, "strict", z.ZodTypeAny, {
|
|
1766
1878
|
forward: {
|
|
1767
1879
|
name: string;
|
|
1768
1880
|
weight: number;
|
|
1769
|
-
|
|
1770
|
-
|
|
1881
|
+
guard?: {
|
|
1882
|
+
guard: string;
|
|
1883
|
+
retained_submission?: number[] | undefined;
|
|
1884
|
+
} | undefined;
|
|
1885
|
+
namedOperator?: string | undefined;
|
|
1886
|
+
permissionIndex?: number | undefined;
|
|
1771
1887
|
}[];
|
|
1772
1888
|
prior_node_name: string;
|
|
1773
1889
|
node_name: string;
|
|
@@ -1776,8 +1892,12 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
1776
1892
|
forward: {
|
|
1777
1893
|
name: string;
|
|
1778
1894
|
weight: number;
|
|
1779
|
-
|
|
1780
|
-
|
|
1895
|
+
guard?: {
|
|
1896
|
+
guard: string;
|
|
1897
|
+
retained_submission?: number[] | undefined;
|
|
1898
|
+
} | undefined;
|
|
1899
|
+
namedOperator?: string | undefined;
|
|
1900
|
+
permissionIndex?: number | undefined;
|
|
1781
1901
|
}[];
|
|
1782
1902
|
prior_node_name: string;
|
|
1783
1903
|
node_name: string;
|
|
@@ -1788,8 +1908,12 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
1788
1908
|
forward: {
|
|
1789
1909
|
name: string;
|
|
1790
1910
|
weight: number;
|
|
1791
|
-
|
|
1792
|
-
|
|
1911
|
+
guard?: {
|
|
1912
|
+
guard: string;
|
|
1913
|
+
retained_submission?: number[] | undefined;
|
|
1914
|
+
} | undefined;
|
|
1915
|
+
namedOperator?: string | undefined;
|
|
1916
|
+
permissionIndex?: number | undefined;
|
|
1793
1917
|
}[];
|
|
1794
1918
|
prior_node_name: string;
|
|
1795
1919
|
node_name: string;
|
|
@@ -1801,8 +1925,12 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
1801
1925
|
forward: {
|
|
1802
1926
|
name: string;
|
|
1803
1927
|
weight: number;
|
|
1804
|
-
|
|
1805
|
-
|
|
1928
|
+
guard?: {
|
|
1929
|
+
guard: string;
|
|
1930
|
+
retained_submission?: number[] | undefined;
|
|
1931
|
+
} | undefined;
|
|
1932
|
+
namedOperator?: string | undefined;
|
|
1933
|
+
permissionIndex?: number | undefined;
|
|
1806
1934
|
}[];
|
|
1807
1935
|
prior_node_name: string;
|
|
1808
1936
|
node_name: string;
|
|
@@ -1986,8 +2114,12 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
1986
2114
|
forward: {
|
|
1987
2115
|
name: string;
|
|
1988
2116
|
weight: number;
|
|
1989
|
-
|
|
1990
|
-
|
|
2117
|
+
guard?: {
|
|
2118
|
+
guard: string;
|
|
2119
|
+
retained_submission?: number[] | undefined;
|
|
2120
|
+
} | undefined;
|
|
2121
|
+
namedOperator?: string | undefined;
|
|
2122
|
+
permissionIndex?: number | undefined;
|
|
1991
2123
|
}[];
|
|
1992
2124
|
prior_node_name: string;
|
|
1993
2125
|
node_name: string;
|
|
@@ -2137,8 +2269,12 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
2137
2269
|
forward: {
|
|
2138
2270
|
name: string;
|
|
2139
2271
|
weight: number;
|
|
2140
|
-
|
|
2141
|
-
|
|
2272
|
+
guard?: {
|
|
2273
|
+
guard: string;
|
|
2274
|
+
retained_submission?: number[] | undefined;
|
|
2275
|
+
} | undefined;
|
|
2276
|
+
namedOperator?: string | undefined;
|
|
2277
|
+
permissionIndex?: number | undefined;
|
|
2142
2278
|
}[];
|
|
2143
2279
|
prior_node_name: string;
|
|
2144
2280
|
node_name: string;
|
|
@@ -2777,28 +2913,50 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
2777
2913
|
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2778
2914
|
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2779
2915
|
forward: z.ZodArray<z.ZodObject<{
|
|
2780
|
-
name: z.
|
|
2781
|
-
namedOperator: z.ZodOptional<z.
|
|
2782
|
-
permissionIndex: z.ZodOptional<z.
|
|
2916
|
+
name: z.ZodString;
|
|
2917
|
+
namedOperator: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
permissionIndex: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
2783
2919
|
weight: z.ZodNumber;
|
|
2920
|
+
guard: z.ZodOptional<z.ZodObject<{
|
|
2921
|
+
guard: z.ZodString;
|
|
2922
|
+
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2923
|
+
}, "strict", z.ZodTypeAny, {
|
|
2924
|
+
guard: string;
|
|
2925
|
+
retained_submission?: number[] | undefined;
|
|
2926
|
+
}, {
|
|
2927
|
+
guard: string;
|
|
2928
|
+
retained_submission?: number[] | undefined;
|
|
2929
|
+
}>>;
|
|
2784
2930
|
}, "strict", z.ZodTypeAny, {
|
|
2785
2931
|
name: string;
|
|
2786
2932
|
weight: number;
|
|
2787
|
-
|
|
2788
|
-
|
|
2933
|
+
guard?: {
|
|
2934
|
+
guard: string;
|
|
2935
|
+
retained_submission?: number[] | undefined;
|
|
2936
|
+
} | undefined;
|
|
2937
|
+
namedOperator?: string | undefined;
|
|
2938
|
+
permissionIndex?: number | undefined;
|
|
2789
2939
|
}, {
|
|
2790
2940
|
name: string;
|
|
2791
2941
|
weight: number;
|
|
2792
|
-
|
|
2793
|
-
|
|
2942
|
+
guard?: {
|
|
2943
|
+
guard: string;
|
|
2944
|
+
retained_submission?: number[] | undefined;
|
|
2945
|
+
} | undefined;
|
|
2946
|
+
namedOperator?: string | undefined;
|
|
2947
|
+
permissionIndex?: number | undefined;
|
|
2794
2948
|
}>, "many">;
|
|
2795
2949
|
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
2796
2950
|
}, "strict", z.ZodTypeAny, {
|
|
2797
2951
|
forward: {
|
|
2798
2952
|
name: string;
|
|
2799
2953
|
weight: number;
|
|
2800
|
-
|
|
2801
|
-
|
|
2954
|
+
guard?: {
|
|
2955
|
+
guard: string;
|
|
2956
|
+
retained_submission?: number[] | undefined;
|
|
2957
|
+
} | undefined;
|
|
2958
|
+
namedOperator?: string | undefined;
|
|
2959
|
+
permissionIndex?: number | undefined;
|
|
2802
2960
|
}[];
|
|
2803
2961
|
prior_node_name: string;
|
|
2804
2962
|
node_name: string;
|
|
@@ -2807,8 +2965,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
2807
2965
|
forward: {
|
|
2808
2966
|
name: string;
|
|
2809
2967
|
weight: number;
|
|
2810
|
-
|
|
2811
|
-
|
|
2968
|
+
guard?: {
|
|
2969
|
+
guard: string;
|
|
2970
|
+
retained_submission?: number[] | undefined;
|
|
2971
|
+
} | undefined;
|
|
2972
|
+
namedOperator?: string | undefined;
|
|
2973
|
+
permissionIndex?: number | undefined;
|
|
2812
2974
|
}[];
|
|
2813
2975
|
prior_node_name: string;
|
|
2814
2976
|
node_name: string;
|
|
@@ -2819,8 +2981,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
2819
2981
|
forward: {
|
|
2820
2982
|
name: string;
|
|
2821
2983
|
weight: number;
|
|
2822
|
-
|
|
2823
|
-
|
|
2984
|
+
guard?: {
|
|
2985
|
+
guard: string;
|
|
2986
|
+
retained_submission?: number[] | undefined;
|
|
2987
|
+
} | undefined;
|
|
2988
|
+
namedOperator?: string | undefined;
|
|
2989
|
+
permissionIndex?: number | undefined;
|
|
2824
2990
|
}[];
|
|
2825
2991
|
prior_node_name: string;
|
|
2826
2992
|
node_name: string;
|
|
@@ -2832,8 +2998,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
2832
2998
|
forward: {
|
|
2833
2999
|
name: string;
|
|
2834
3000
|
weight: number;
|
|
2835
|
-
|
|
2836
|
-
|
|
3001
|
+
guard?: {
|
|
3002
|
+
guard: string;
|
|
3003
|
+
retained_submission?: number[] | undefined;
|
|
3004
|
+
} | undefined;
|
|
3005
|
+
namedOperator?: string | undefined;
|
|
3006
|
+
permissionIndex?: number | undefined;
|
|
2837
3007
|
}[];
|
|
2838
3008
|
prior_node_name: string;
|
|
2839
3009
|
node_name: string;
|
|
@@ -3017,8 +3187,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
3017
3187
|
forward: {
|
|
3018
3188
|
name: string;
|
|
3019
3189
|
weight: number;
|
|
3020
|
-
|
|
3021
|
-
|
|
3190
|
+
guard?: {
|
|
3191
|
+
guard: string;
|
|
3192
|
+
retained_submission?: number[] | undefined;
|
|
3193
|
+
} | undefined;
|
|
3194
|
+
namedOperator?: string | undefined;
|
|
3195
|
+
permissionIndex?: number | undefined;
|
|
3022
3196
|
}[];
|
|
3023
3197
|
prior_node_name: string;
|
|
3024
3198
|
node_name: string;
|
|
@@ -3168,8 +3342,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
3168
3342
|
forward: {
|
|
3169
3343
|
name: string;
|
|
3170
3344
|
weight: number;
|
|
3171
|
-
|
|
3172
|
-
|
|
3345
|
+
guard?: {
|
|
3346
|
+
guard: string;
|
|
3347
|
+
retained_submission?: number[] | undefined;
|
|
3348
|
+
} | undefined;
|
|
3349
|
+
namedOperator?: string | undefined;
|
|
3350
|
+
permissionIndex?: number | undefined;
|
|
3173
3351
|
}[];
|
|
3174
3352
|
prior_node_name: string;
|
|
3175
3353
|
node_name: string;
|
|
@@ -3520,8 +3698,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
3520
3698
|
forward: {
|
|
3521
3699
|
name: string;
|
|
3522
3700
|
weight: number;
|
|
3523
|
-
|
|
3524
|
-
|
|
3701
|
+
guard?: {
|
|
3702
|
+
guard: string;
|
|
3703
|
+
retained_submission?: number[] | undefined;
|
|
3704
|
+
} | undefined;
|
|
3705
|
+
namedOperator?: string | undefined;
|
|
3706
|
+
permissionIndex?: number | undefined;
|
|
3525
3707
|
}[];
|
|
3526
3708
|
prior_node_name: string;
|
|
3527
3709
|
node_name: string;
|
|
@@ -3707,8 +3889,12 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
3707
3889
|
forward: {
|
|
3708
3890
|
name: string;
|
|
3709
3891
|
weight: number;
|
|
3710
|
-
|
|
3711
|
-
|
|
3892
|
+
guard?: {
|
|
3893
|
+
guard: string;
|
|
3894
|
+
retained_submission?: number[] | undefined;
|
|
3895
|
+
} | undefined;
|
|
3896
|
+
namedOperator?: string | undefined;
|
|
3897
|
+
permissionIndex?: number | undefined;
|
|
3712
3898
|
}[];
|
|
3713
3899
|
prior_node_name: string;
|
|
3714
3900
|
node_name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { WithPermissionObjectSchema, NamedObjectSchema, ObjectsSchema, CallEnvSchema, SubmissionCallSchema, } from './base.js';
|
|
3
|
-
import { MachineNodeSchema,
|
|
3
|
+
import { MachineNodeSchema, MachineForwardSchema } from '../query/index.js';
|
|
4
4
|
import { ManyAccountOrMark_AddressSchema, NameOrAddressSchema, NameSchema, NotEmptyNameSchema, ReceivedObjectsOrRecentlySchema } from '../common/index.js';
|
|
5
5
|
export const ProgressNamedOperatorSchema = z.object({
|
|
6
6
|
op: z.union([z.literal('add'), z.literal('set'), z.literal('remove')]),
|
|
@@ -16,12 +16,7 @@ export const ProgressNewSchema = z.object({
|
|
|
16
16
|
export const NodeAddForwardDataSchema = z.object({
|
|
17
17
|
prior_node_name: NameSchema.describe('Name of the previous node.'),
|
|
18
18
|
node_name: NameSchema.describe('Name of the next node.'),
|
|
19
|
-
forward: z.array(
|
|
20
|
-
name: NameSchema.describe('Name of the operation'),
|
|
21
|
-
namedOperator: z.union([NotEmptyNameSchema, z.null()]).optional().describe('One of the operation permissions: use operators within the permission space name in the Machine object. Each Progress object can manage operators independently. Use empty string "" to indicate the order permission (order owner and agents can operate). When using Order object to operate progress, empty string namedOperator allows order owner/agents to execute the forward without needing other permissions.'),
|
|
22
|
-
permissionIndex: z.union([PermissionIndexTypeSchema, z.null()]).optional().describe('Second operation permission: use operators specified by the permission index of the Permission object in the Machine object. All Progress objects share the same operators.'),
|
|
23
|
-
weight: z.number().min(0).max(65535).int().describe('Weight of the operation'),
|
|
24
|
-
}).strict()).describe('List of operations between the previous and next nodes.'),
|
|
19
|
+
forward: z.array(MachineForwardSchema).describe('List of operations between the previous and next nodes.'),
|
|
25
20
|
threshold: z.union([z.number().int().min(0), z.null()]).optional().describe('Threshold of operations that need to be completed to migrate from the previous node to the next node.'),
|
|
26
21
|
}).strict();
|
|
27
22
|
export const NodeRemoveForwardDataSchema = z.object({
|
package/dist/schemas/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-05-
|
|
5
|
+
"generatedAt": "2026-05-24T00:15:12.395Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -556,46 +556,7 @@
|
|
|
556
556
|
"forward": {
|
|
557
557
|
"type": "array",
|
|
558
558
|
"items": {
|
|
559
|
-
"
|
|
560
|
-
"properties": {
|
|
561
|
-
"name": {
|
|
562
|
-
"$ref": "#/definitions/data/properties/object/anyOf/1/properties/name",
|
|
563
|
-
"description": "Name of the operation"
|
|
564
|
-
},
|
|
565
|
-
"namedOperator": {
|
|
566
|
-
"anyOf": [
|
|
567
|
-
{
|
|
568
|
-
"$ref": "#/definitions/data/properties/progress_new/properties/progress_namedOperator/properties/name"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"type": "null"
|
|
572
|
-
}
|
|
573
|
-
],
|
|
574
|
-
"description": "One of the operation permissions: use operators within the permission space name in the Machine object. Each Progress object can manage operators independently. Use empty string \"\" to indicate the order permission (order owner and agents can operate). When using Order object to operate progress, empty string namedOperator allows order owner/agents to execute the forward without needing other permissions."
|
|
575
|
-
},
|
|
576
|
-
"permissionIndex": {
|
|
577
|
-
"anyOf": [
|
|
578
|
-
{
|
|
579
|
-
"$ref": "#/definitions/data/properties/node/anyOf/0/anyOf/0/properties/nodes/items/properties/pairs/items/properties/forwards/items/properties/permissionIndex"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"type": "null"
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"description": "Second operation permission: use operators specified by the permission index of the Permission object in the Machine object. All Progress objects share the same operators."
|
|
586
|
-
},
|
|
587
|
-
"weight": {
|
|
588
|
-
"type": "integer",
|
|
589
|
-
"minimum": 0,
|
|
590
|
-
"maximum": 65535,
|
|
591
|
-
"description": "Weight of the operation"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
"required": [
|
|
595
|
-
"name",
|
|
596
|
-
"weight"
|
|
597
|
-
],
|
|
598
|
-
"additionalProperties": false
|
|
559
|
+
"$ref": "#/definitions/data/properties/node/anyOf/0/anyOf/0/properties/nodes/items/properties/pairs/items/properties/forwards/items"
|
|
599
560
|
},
|
|
600
561
|
"description": "List of operations between the previous and next nodes."
|
|
601
562
|
},
|