wowok_agent 2.1.38 → 2.1.40
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 +45 -2
- package/dist/index.js +1 -1319
- package/dist/schema/call/allocation.js +1 -27
- package/dist/schema/call/arbitration.js +1 -106
- package/dist/schema/call/base.js +1 -152
- package/dist/schema/call/contact.js +1 -41
- package/dist/schema/call/demand.js +1 -51
- package/dist/schema/call/guard.d.ts +6 -6
- package/dist/schema/call/guard.js +1 -67
- package/dist/schema/call/handler.d.ts +0 -45
- package/dist/schema/call/handler.js +1 -230
- package/dist/schema/call/index.js +1 -19
- package/dist/schema/call/machine.js +1 -164
- package/dist/schema/call/order.js +1 -39
- package/dist/schema/call/payment.js +1 -20
- package/dist/schema/call/permission.js +1 -118
- package/dist/schema/call/personal.js +1 -81
- package/dist/schema/call/progress.js +1 -28
- package/dist/schema/call/proof.js +1 -27
- package/dist/schema/call/repository.js +1 -85
- package/dist/schema/call/reward.d.ts +12 -0
- package/dist/schema/call/reward.js +1 -46
- package/dist/schema/call/service.js +1 -88
- package/dist/schema/call/treasury.d.ts +84 -0
- package/dist/schema/call/treasury.js +1 -76
- package/dist/schema/common/index.js +1 -395
- package/dist/schema/index.js +1 -8
- package/dist/schema/local/index.js +1 -913
- package/dist/schema/local/wip.js +1 -230
- package/dist/schema/messenger/index.d.ts +4 -6
- package/dist/schema/messenger/index.js +1 -479
- package/dist/schema/query/index.d.ts +155 -0
- package/dist/schema/query/index.js +1 -1256
- package/dist/schema/utils/guard-parser.js +1 -410
- package/dist/schema/utils/guard-query-utils.js +1 -22
- package/dist/schema/utils/node-parser.d.ts +0 -14
- package/dist/schema/utils/node-parser.js +1 -382
- package/dist/schema/utils/permission-index-utils.js +1 -10
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -6973,48 +6973,58 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
6973
6973
|
guards: z.ZodArray<z.ZodObject<{
|
|
6974
6974
|
guard: z.ZodString;
|
|
6975
6975
|
identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
6976
|
+
store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
6976
6977
|
}, "strip", z.ZodTypeAny, {
|
|
6977
6978
|
guard: string;
|
|
6978
6979
|
identifier?: number | null | undefined;
|
|
6980
|
+
store_from_id?: number | null | undefined;
|
|
6979
6981
|
}, {
|
|
6980
6982
|
guard: string;
|
|
6981
6983
|
identifier?: number | null | undefined;
|
|
6984
|
+
store_from_id?: number | null | undefined;
|
|
6982
6985
|
}>, "many">;
|
|
6983
6986
|
}, "strict", z.ZodTypeAny, {
|
|
6984
6987
|
op: "add";
|
|
6985
6988
|
guards: {
|
|
6986
6989
|
guard: string;
|
|
6987
6990
|
identifier?: number | null | undefined;
|
|
6991
|
+
store_from_id?: number | null | undefined;
|
|
6988
6992
|
}[];
|
|
6989
6993
|
}, {
|
|
6990
6994
|
op: "add";
|
|
6991
6995
|
guards: {
|
|
6992
6996
|
guard: string;
|
|
6993
6997
|
identifier?: number | null | undefined;
|
|
6998
|
+
store_from_id?: number | null | undefined;
|
|
6994
6999
|
}[];
|
|
6995
7000
|
}>, z.ZodObject<{
|
|
6996
7001
|
op: z.ZodLiteral<"set">;
|
|
6997
7002
|
guards: z.ZodArray<z.ZodObject<{
|
|
6998
7003
|
guard: z.ZodString;
|
|
6999
7004
|
identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
7005
|
+
store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
7000
7006
|
}, "strip", z.ZodTypeAny, {
|
|
7001
7007
|
guard: string;
|
|
7002
7008
|
identifier?: number | null | undefined;
|
|
7009
|
+
store_from_id?: number | null | undefined;
|
|
7003
7010
|
}, {
|
|
7004
7011
|
guard: string;
|
|
7005
7012
|
identifier?: number | null | undefined;
|
|
7013
|
+
store_from_id?: number | null | undefined;
|
|
7006
7014
|
}>, "many">;
|
|
7007
7015
|
}, "strict", z.ZodTypeAny, {
|
|
7008
7016
|
op: "set";
|
|
7009
7017
|
guards: {
|
|
7010
7018
|
guard: string;
|
|
7011
7019
|
identifier?: number | null | undefined;
|
|
7020
|
+
store_from_id?: number | null | undefined;
|
|
7012
7021
|
}[];
|
|
7013
7022
|
}, {
|
|
7014
7023
|
op: "set";
|
|
7015
7024
|
guards: {
|
|
7016
7025
|
guard: string;
|
|
7017
7026
|
identifier?: number | null | undefined;
|
|
7027
|
+
store_from_id?: number | null | undefined;
|
|
7018
7028
|
}[];
|
|
7019
7029
|
}>, z.ZodObject<{
|
|
7020
7030
|
op: z.ZodLiteral<"remove">;
|
|
@@ -7037,48 +7047,58 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7037
7047
|
guards: z.ZodArray<z.ZodObject<{
|
|
7038
7048
|
guard: z.ZodString;
|
|
7039
7049
|
identifier: z.ZodNumber;
|
|
7050
|
+
store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
7040
7051
|
}, "strip", z.ZodTypeAny, {
|
|
7041
7052
|
identifier: number;
|
|
7042
7053
|
guard: string;
|
|
7054
|
+
store_from_id?: number | null | undefined;
|
|
7043
7055
|
}, {
|
|
7044
7056
|
identifier: number;
|
|
7045
7057
|
guard: string;
|
|
7058
|
+
store_from_id?: number | null | undefined;
|
|
7046
7059
|
}>, "many">;
|
|
7047
7060
|
}, "strict", z.ZodTypeAny, {
|
|
7048
7061
|
op: "add";
|
|
7049
7062
|
guards: {
|
|
7050
7063
|
identifier: number;
|
|
7051
7064
|
guard: string;
|
|
7065
|
+
store_from_id?: number | null | undefined;
|
|
7052
7066
|
}[];
|
|
7053
7067
|
}, {
|
|
7054
7068
|
op: "add";
|
|
7055
7069
|
guards: {
|
|
7056
7070
|
identifier: number;
|
|
7057
7071
|
guard: string;
|
|
7072
|
+
store_from_id?: number | null | undefined;
|
|
7058
7073
|
}[];
|
|
7059
7074
|
}>, z.ZodObject<{
|
|
7060
7075
|
op: z.ZodLiteral<"set">;
|
|
7061
7076
|
guards: z.ZodArray<z.ZodObject<{
|
|
7062
7077
|
guard: z.ZodString;
|
|
7063
7078
|
identifier: z.ZodNumber;
|
|
7079
|
+
store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
7064
7080
|
}, "strip", z.ZodTypeAny, {
|
|
7065
7081
|
identifier: number;
|
|
7066
7082
|
guard: string;
|
|
7083
|
+
store_from_id?: number | null | undefined;
|
|
7067
7084
|
}, {
|
|
7068
7085
|
identifier: number;
|
|
7069
7086
|
guard: string;
|
|
7087
|
+
store_from_id?: number | null | undefined;
|
|
7070
7088
|
}>, "many">;
|
|
7071
7089
|
}, "strict", z.ZodTypeAny, {
|
|
7072
7090
|
op: "set";
|
|
7073
7091
|
guards: {
|
|
7074
7092
|
identifier: number;
|
|
7075
7093
|
guard: string;
|
|
7094
|
+
store_from_id?: number | null | undefined;
|
|
7076
7095
|
}[];
|
|
7077
7096
|
}, {
|
|
7078
7097
|
op: "set";
|
|
7079
7098
|
guards: {
|
|
7080
7099
|
identifier: number;
|
|
7081
7100
|
guard: string;
|
|
7101
|
+
store_from_id?: number | null | undefined;
|
|
7082
7102
|
}[];
|
|
7083
7103
|
}>, z.ZodObject<{
|
|
7084
7104
|
op: z.ZodLiteral<"remove">;
|
|
@@ -7193,12 +7213,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7193
7213
|
guards: {
|
|
7194
7214
|
guard: string;
|
|
7195
7215
|
identifier?: number | null | undefined;
|
|
7216
|
+
store_from_id?: number | null | undefined;
|
|
7196
7217
|
}[];
|
|
7197
7218
|
} | {
|
|
7198
7219
|
op: "set";
|
|
7199
7220
|
guards: {
|
|
7200
7221
|
guard: string;
|
|
7201
7222
|
identifier?: number | null | undefined;
|
|
7223
|
+
store_from_id?: number | null | undefined;
|
|
7202
7224
|
}[];
|
|
7203
7225
|
} | {
|
|
7204
7226
|
op: "remove";
|
|
@@ -7211,12 +7233,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7211
7233
|
guards: {
|
|
7212
7234
|
identifier: number;
|
|
7213
7235
|
guard: string;
|
|
7236
|
+
store_from_id?: number | null | undefined;
|
|
7214
7237
|
}[];
|
|
7215
7238
|
} | {
|
|
7216
7239
|
op: "set";
|
|
7217
7240
|
guards: {
|
|
7218
7241
|
identifier: number;
|
|
7219
7242
|
guard: string;
|
|
7243
|
+
store_from_id?: number | null | undefined;
|
|
7220
7244
|
}[];
|
|
7221
7245
|
} | {
|
|
7222
7246
|
op: "remove";
|
|
@@ -7315,12 +7339,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7315
7339
|
guards: {
|
|
7316
7340
|
guard: string;
|
|
7317
7341
|
identifier?: number | null | undefined;
|
|
7342
|
+
store_from_id?: number | null | undefined;
|
|
7318
7343
|
}[];
|
|
7319
7344
|
} | {
|
|
7320
7345
|
op: "set";
|
|
7321
7346
|
guards: {
|
|
7322
7347
|
guard: string;
|
|
7323
7348
|
identifier?: number | null | undefined;
|
|
7349
|
+
store_from_id?: number | null | undefined;
|
|
7324
7350
|
}[];
|
|
7325
7351
|
} | {
|
|
7326
7352
|
op: "remove";
|
|
@@ -7333,12 +7359,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7333
7359
|
guards: {
|
|
7334
7360
|
identifier: number;
|
|
7335
7361
|
guard: string;
|
|
7362
|
+
store_from_id?: number | null | undefined;
|
|
7336
7363
|
}[];
|
|
7337
7364
|
} | {
|
|
7338
7365
|
op: "set";
|
|
7339
7366
|
guards: {
|
|
7340
7367
|
identifier: number;
|
|
7341
7368
|
guard: string;
|
|
7369
|
+
store_from_id?: number | null | undefined;
|
|
7342
7370
|
}[];
|
|
7343
7371
|
} | {
|
|
7344
7372
|
op: "remove";
|
|
@@ -7638,12 +7666,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7638
7666
|
guards: {
|
|
7639
7667
|
guard: string;
|
|
7640
7668
|
identifier?: number | null | undefined;
|
|
7669
|
+
store_from_id?: number | null | undefined;
|
|
7641
7670
|
}[];
|
|
7642
7671
|
} | {
|
|
7643
7672
|
op: "set";
|
|
7644
7673
|
guards: {
|
|
7645
7674
|
guard: string;
|
|
7646
7675
|
identifier?: number | null | undefined;
|
|
7676
|
+
store_from_id?: number | null | undefined;
|
|
7647
7677
|
}[];
|
|
7648
7678
|
} | {
|
|
7649
7679
|
op: "remove";
|
|
@@ -7656,12 +7686,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7656
7686
|
guards: {
|
|
7657
7687
|
identifier: number;
|
|
7658
7688
|
guard: string;
|
|
7689
|
+
store_from_id?: number | null | undefined;
|
|
7659
7690
|
}[];
|
|
7660
7691
|
} | {
|
|
7661
7692
|
op: "set";
|
|
7662
7693
|
guards: {
|
|
7663
7694
|
identifier: number;
|
|
7664
7695
|
guard: string;
|
|
7696
|
+
store_from_id?: number | null | undefined;
|
|
7665
7697
|
}[];
|
|
7666
7698
|
} | {
|
|
7667
7699
|
op: "remove";
|
|
@@ -7797,12 +7829,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7797
7829
|
guards: {
|
|
7798
7830
|
guard: string;
|
|
7799
7831
|
identifier?: number | null | undefined;
|
|
7832
|
+
store_from_id?: number | null | undefined;
|
|
7800
7833
|
}[];
|
|
7801
7834
|
} | {
|
|
7802
7835
|
op: "set";
|
|
7803
7836
|
guards: {
|
|
7804
7837
|
guard: string;
|
|
7805
7838
|
identifier?: number | null | undefined;
|
|
7839
|
+
store_from_id?: number | null | undefined;
|
|
7806
7840
|
}[];
|
|
7807
7841
|
} | {
|
|
7808
7842
|
op: "remove";
|
|
@@ -7815,12 +7849,14 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
7815
7849
|
guards: {
|
|
7816
7850
|
identifier: number;
|
|
7817
7851
|
guard: string;
|
|
7852
|
+
store_from_id?: number | null | undefined;
|
|
7818
7853
|
}[];
|
|
7819
7854
|
} | {
|
|
7820
7855
|
op: "set";
|
|
7821
7856
|
guards: {
|
|
7822
7857
|
identifier: number;
|
|
7823
7858
|
guard: string;
|
|
7859
|
+
store_from_id?: number | null | undefined;
|
|
7824
7860
|
}[];
|
|
7825
7861
|
} | {
|
|
7826
7862
|
op: "remove";
|
|
@@ -8078,6 +8114,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8078
8114
|
type: "Fixed";
|
|
8079
8115
|
}>]>;
|
|
8080
8116
|
expiration_time: z.ZodOptional<z.ZodNumber>;
|
|
8117
|
+
store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
8081
8118
|
}, "strip", z.ZodTypeAny, {
|
|
8082
8119
|
amount: {
|
|
8083
8120
|
value: number;
|
|
@@ -8098,6 +8135,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8098
8135
|
};
|
|
8099
8136
|
guard: string;
|
|
8100
8137
|
expiration_time?: number | undefined;
|
|
8138
|
+
store_from_id?: number | null | undefined;
|
|
8101
8139
|
}, {
|
|
8102
8140
|
amount: {
|
|
8103
8141
|
value: number;
|
|
@@ -8118,6 +8156,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8118
8156
|
};
|
|
8119
8157
|
guard: string;
|
|
8120
8158
|
expiration_time?: number | undefined;
|
|
8159
|
+
store_from_id?: number | null | undefined;
|
|
8121
8160
|
}>, "many">>;
|
|
8122
8161
|
guard_remove_expired: z.ZodOptional<z.ZodBoolean>;
|
|
8123
8162
|
guard_expiration_time: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
@@ -8228,6 +8267,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8228
8267
|
};
|
|
8229
8268
|
guard: string;
|
|
8230
8269
|
expiration_time?: number | undefined;
|
|
8270
|
+
store_from_id?: number | null | undefined;
|
|
8231
8271
|
}[] | undefined;
|
|
8232
8272
|
guard_remove_expired?: boolean | undefined;
|
|
8233
8273
|
guard_expiration_time?: number | null | undefined;
|
|
@@ -8295,6 +8335,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8295
8335
|
};
|
|
8296
8336
|
guard: string;
|
|
8297
8337
|
expiration_time?: number | undefined;
|
|
8338
|
+
store_from_id?: number | null | undefined;
|
|
8298
8339
|
}[] | undefined;
|
|
8299
8340
|
guard_remove_expired?: boolean | undefined;
|
|
8300
8341
|
guard_expiration_time?: number | null | undefined;
|
|
@@ -8563,6 +8604,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8563
8604
|
};
|
|
8564
8605
|
guard: string;
|
|
8565
8606
|
expiration_time?: number | undefined;
|
|
8607
|
+
store_from_id?: number | null | undefined;
|
|
8566
8608
|
}[] | undefined;
|
|
8567
8609
|
guard_remove_expired?: boolean | undefined;
|
|
8568
8610
|
guard_expiration_time?: number | null | undefined;
|
|
@@ -8667,6 +8709,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
8667
8709
|
};
|
|
8668
8710
|
guard: string;
|
|
8669
8711
|
expiration_time?: number | undefined;
|
|
8712
|
+
store_from_id?: number | null | undefined;
|
|
8670
8713
|
}[] | undefined;
|
|
8671
8714
|
guard_remove_expired?: boolean | undefined;
|
|
8672
8715
|
guard_expiration_time?: number | null | undefined;
|
|
@@ -10635,7 +10678,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
10635
10678
|
root: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10636
10679
|
type: z.ZodLiteral<"node">;
|
|
10637
10680
|
node: z.ZodType<any, z.ZodTypeDef, any>;
|
|
10638
|
-
}, "
|
|
10681
|
+
}, "strict", z.ZodTypeAny, {
|
|
10639
10682
|
type: "node";
|
|
10640
10683
|
node?: any;
|
|
10641
10684
|
}, {
|
|
@@ -10645,7 +10688,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
10645
10688
|
type: z.ZodLiteral<"file">;
|
|
10646
10689
|
file_path: z.ZodString;
|
|
10647
10690
|
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
10648
|
-
}, "
|
|
10691
|
+
}, "strict", z.ZodTypeAny, {
|
|
10649
10692
|
type: "file";
|
|
10650
10693
|
format: "markdown" | "json";
|
|
10651
10694
|
file_path: string;
|