@wowok/agent-mcp 2.3.18 → 2.4.3
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/customer/industry-risks.js +31 -31
- package/dist/customer/order-monitor.js +57 -57
- package/dist/customer/order-strategy.js +89 -89
- package/dist/customer/post-purchase.js +97 -97
- package/dist/customer/reminder-system.js +26 -26
- package/dist/customer/risk-assessment.js +46 -46
- package/dist/customer/types.d.ts +4 -4
- package/dist/customer/types.js +4 -4
- package/dist/customer/user-preferences.js +50 -50
- package/dist/experience/intent-distill.js +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -1624
- package/dist/knowledge/acquisition-flywheel.js +64 -64
- package/dist/knowledge/arbitration-trust.js +10 -10
- package/dist/knowledge/demand-matching.js +8 -8
- package/dist/knowledge/dynamic-pricing.js +18 -18
- package/dist/knowledge/flywheel-loop.js +11 -11
- package/dist/knowledge/glossary.js +22 -22
- package/dist/knowledge/guard-ledger.d.ts +1 -1
- package/dist/knowledge/guard-ledger.js +145 -104
- package/dist/knowledge/guard-lint.d.ts +77 -0
- package/dist/knowledge/guard-lint.js +670 -0
- package/dist/knowledge/guard-migration.d.ts +48 -0
- package/dist/knowledge/guard-migration.js +228 -0
- package/dist/knowledge/guard-puzzle.d.ts +109 -14
- package/dist/knowledge/guard-puzzle.js +627 -101
- package/dist/knowledge/guard-risk.d.ts +10 -1
- package/dist/knowledge/guard-risk.js +1634 -292
- package/dist/knowledge/guard-templates.d.ts +38 -0
- package/dist/knowledge/guard-templates.js +605 -0
- package/dist/knowledge/guard-translation.d.ts +14 -2
- package/dist/knowledge/guard-translation.js +825 -194
- package/dist/knowledge/index.d.ts +8 -4
- package/dist/knowledge/index.js +9 -5
- package/dist/knowledge/industry-evolution.js +29 -29
- package/dist/knowledge/industry-generalizer.js +52 -52
- package/dist/knowledge/industry-registry.js +20 -33
- package/dist/knowledge/intent-metrics.js +67 -67
- package/dist/knowledge/process-model.js +80 -80
- package/dist/knowledge/reputation-rules.js +9 -9
- package/dist/knowledge/reward-templates.js +51 -51
- package/dist/knowledge/safety-rules.js +3 -3
- package/dist/knowledge/tool-constraints.js +20 -4
- package/dist/knowledge/trust-metrics.js +26 -26
- package/dist/project/graph.d.ts +1 -0
- package/dist/project/graph.js +27 -1
- package/dist/project/index.d.ts +1 -0
- package/dist/project/index.js +39 -2
- package/dist/project/namespace.d.ts +11 -1
- package/dist/project/namespace.js +27 -2
- package/dist/project/query.d.ts +2 -0
- package/dist/project/query.js +56 -15
- package/dist/rules.d.ts +12 -0
- package/dist/rules.js +9 -0
- package/dist/schema/call/allocation.d.ts +10 -10
- package/dist/schema/call/base.js +19 -19
- package/dist/schema/call/bridge.d.ts +32 -32
- package/dist/schema/call/demand.d.ts +84 -84
- package/dist/schema/call/guard.d.ts +153 -0
- package/dist/schema/call/guard.js +50 -0
- package/dist/schema/call/machine.d.ts +38 -38
- package/dist/schema/call/permission.d.ts +78 -78
- package/dist/schema/call/repository.d.ts +22 -22
- package/dist/schema/call/semantic.js +229 -25
- package/dist/schema/call/service.d.ts +7 -7
- package/dist/schema/local/wip.d.ts +39 -19
- package/dist/schema/local/wip.js +5 -5
- package/dist/schema/messenger/index.d.ts +26 -26
- package/dist/schema/messenger/index.js +2 -2
- package/dist/schema/operations.d.ts +270 -192
- package/dist/schema/query/index.d.ts +184 -184
- package/dist/schema/query/index.js +15 -9
- package/dist/schema/trust/index.d.ts +4 -4
- package/dist/schema/utils/guard-parser.js +4 -4
- package/dist/schema/utils/guard-query-utils.d.ts +7 -0
- package/dist/schema/utils/guard-query-utils.js +14 -1
- package/dist/schema/utils/node-parser.js +14 -14
- package/dist/schemas/bridge_operation.output.json +15 -15
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/messenger_operation.output.json +18 -16
- package/dist/schemas/onchain_events.output.json +15 -15
- package/dist/schemas/onchain_operations.output.json +16 -16
- package/dist/schemas/onchain_operations.schema.json +11 -20
- package/dist/schemas/onchain_operations_allocation.schema.json +7 -10
- package/dist/schemas/onchain_operations_machine.schema.json +2 -5
- package/dist/schemas/onchain_operations_service.schema.json +2 -5
- package/dist/schemas/onchain_table_data.output.json +20 -26
- package/dist/schemas/wip_file.output.json +24 -1
- package/dist/tools/handlers/bridge.d.ts +1 -0
- package/dist/tools/handlers/bridge.js +1 -0
- package/dist/tools/handlers/config.d.ts +2 -0
- package/dist/tools/handlers/config.js +71 -0
- package/dist/tools/handlers/file-export.d.ts +3 -0
- package/dist/tools/handlers/file-export.js +90 -0
- package/dist/tools/handlers/local.d.ts +30 -0
- package/dist/tools/handlers/local.js +27 -0
- package/dist/tools/handlers/messenger.d.ts +16 -0
- package/dist/tools/handlers/messenger.js +187 -0
- package/dist/tools/handlers/onchain.d.ts +2 -0
- package/dist/tools/handlers/onchain.js +246 -0
- package/dist/tools/handlers/project.d.ts +2 -0
- package/dist/tools/handlers/project.js +53 -0
- package/dist/tools/handlers/query.d.ts +5 -0
- package/dist/tools/handlers/query.js +256 -0
- package/dist/tools/handlers/schema-query.d.ts +2 -0
- package/dist/tools/handlers/schema-query.js +92 -0
- package/dist/tools/handlers/trust.d.ts +2 -0
- package/dist/tools/handlers/trust.js +194 -0
- package/dist/tools/handlers/wip.d.ts +2 -0
- package/dist/tools/handlers/wip.js +44 -0
- package/dist/tools/index.d.ts +13 -0
- package/dist/tools/index.js +479 -0
- package/dist/tools/rules-hook.d.ts +2 -0
- package/dist/tools/rules-hook.js +22 -0
- package/dist/tools/shared.d.ts +29 -0
- package/dist/tools/shared.js +130 -0
- package/dist/tools/types.d.ts +35 -0
- package/dist/tools/types.js +1 -0
- package/dist/tools/wrap.d.ts +6 -0
- package/dist/tools/wrap.js +55 -0
- package/package.json +19 -5
|
@@ -136,8 +136,8 @@ export declare const WipSignatureArraySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
136
136
|
}>, "many">]>;
|
|
137
137
|
export declare const WipMetaSchema: z.ZodObject<{
|
|
138
138
|
type: z.ZodLiteral<"wip">;
|
|
139
|
-
version: z.
|
|
140
|
-
created: z.
|
|
139
|
+
version: z.ZodString;
|
|
140
|
+
created: z.ZodString;
|
|
141
141
|
hash: z.ZodString;
|
|
142
142
|
algorithm: z.ZodLiteral<"sha256">;
|
|
143
143
|
signature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -173,9 +173,9 @@ export declare const WipMetaSchema: z.ZodObject<{
|
|
|
173
173
|
}>, "many">]>>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
175
|
type: "wip";
|
|
176
|
-
version: string
|
|
176
|
+
version: string;
|
|
177
177
|
algorithm: "sha256";
|
|
178
|
-
created: string
|
|
178
|
+
created: string;
|
|
179
179
|
hash: string;
|
|
180
180
|
signature?: {
|
|
181
181
|
value: string;
|
|
@@ -190,9 +190,9 @@ export declare const WipMetaSchema: z.ZodObject<{
|
|
|
190
190
|
}[] | undefined;
|
|
191
191
|
}, {
|
|
192
192
|
type: "wip";
|
|
193
|
-
version: string
|
|
193
|
+
version: string;
|
|
194
194
|
algorithm: "sha256";
|
|
195
|
-
created: string
|
|
195
|
+
created: string;
|
|
196
196
|
hash: string;
|
|
197
197
|
signature?: {
|
|
198
198
|
value: string;
|
|
@@ -260,8 +260,8 @@ export declare const WipFileSchema: z.ZodObject<{
|
|
|
260
260
|
}>;
|
|
261
261
|
meta: z.ZodObject<{
|
|
262
262
|
type: z.ZodLiteral<"wip">;
|
|
263
|
-
version: z.
|
|
264
|
-
created: z.
|
|
263
|
+
version: z.ZodString;
|
|
264
|
+
created: z.ZodString;
|
|
265
265
|
hash: z.ZodString;
|
|
266
266
|
algorithm: z.ZodLiteral<"sha256">;
|
|
267
267
|
signature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -297,9 +297,9 @@ export declare const WipFileSchema: z.ZodObject<{
|
|
|
297
297
|
}>, "many">]>>;
|
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
|
299
299
|
type: "wip";
|
|
300
|
-
version: string
|
|
300
|
+
version: string;
|
|
301
301
|
algorithm: "sha256";
|
|
302
|
-
created: string
|
|
302
|
+
created: string;
|
|
303
303
|
hash: string;
|
|
304
304
|
signature?: {
|
|
305
305
|
value: string;
|
|
@@ -314,9 +314,9 @@ export declare const WipFileSchema: z.ZodObject<{
|
|
|
314
314
|
}[] | undefined;
|
|
315
315
|
}, {
|
|
316
316
|
type: "wip";
|
|
317
|
-
version: string
|
|
317
|
+
version: string;
|
|
318
318
|
algorithm: "sha256";
|
|
319
|
-
created: string
|
|
319
|
+
created: string;
|
|
320
320
|
hash: string;
|
|
321
321
|
signature?: {
|
|
322
322
|
value: string;
|
|
@@ -346,9 +346,9 @@ export declare const WipFileSchema: z.ZodObject<{
|
|
|
346
346
|
};
|
|
347
347
|
meta: {
|
|
348
348
|
type: "wip";
|
|
349
|
-
version: string
|
|
349
|
+
version: string;
|
|
350
350
|
algorithm: "sha256";
|
|
351
|
-
created: string
|
|
351
|
+
created: string;
|
|
352
352
|
hash: string;
|
|
353
353
|
signature?: {
|
|
354
354
|
value: string;
|
|
@@ -378,9 +378,9 @@ export declare const WipFileSchema: z.ZodObject<{
|
|
|
378
378
|
};
|
|
379
379
|
meta: {
|
|
380
380
|
type: "wip";
|
|
381
|
-
version: string
|
|
381
|
+
version: string;
|
|
382
382
|
algorithm: "sha256";
|
|
383
|
-
created: string
|
|
383
|
+
created: string;
|
|
384
384
|
hash: string;
|
|
385
385
|
signature?: {
|
|
386
386
|
value: string;
|
|
@@ -740,7 +740,19 @@ export declare const WipOperationOutputSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
740
740
|
hashValid: z.ZodBoolean;
|
|
741
741
|
signatureValid: z.ZodOptional<z.ZodBoolean>;
|
|
742
742
|
hasSignature: z.ZodBoolean;
|
|
743
|
-
signatures: z.ZodOptional<z.ZodArray<z.
|
|
743
|
+
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
744
|
+
publicKey: z.ZodString;
|
|
745
|
+
address: z.ZodOptional<z.ZodString>;
|
|
746
|
+
valid: z.ZodBoolean;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
valid: boolean;
|
|
749
|
+
publicKey: string;
|
|
750
|
+
address?: string | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
valid: boolean;
|
|
753
|
+
publicKey: string;
|
|
754
|
+
address?: string | undefined;
|
|
755
|
+
}>, "many">>;
|
|
744
756
|
}, "strip", z.ZodTypeAny, {
|
|
745
757
|
valid: boolean;
|
|
746
758
|
type: "verify";
|
|
@@ -748,7 +760,11 @@ export declare const WipOperationOutputSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
748
760
|
hasSignature: boolean;
|
|
749
761
|
error?: string | undefined;
|
|
750
762
|
signatureValid?: boolean | undefined;
|
|
751
|
-
signatures?:
|
|
763
|
+
signatures?: {
|
|
764
|
+
valid: boolean;
|
|
765
|
+
publicKey: string;
|
|
766
|
+
address?: string | undefined;
|
|
767
|
+
}[] | undefined;
|
|
752
768
|
}, {
|
|
753
769
|
valid: boolean;
|
|
754
770
|
type: "verify";
|
|
@@ -756,7 +772,11 @@ export declare const WipOperationOutputSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
756
772
|
hasSignature: boolean;
|
|
757
773
|
error?: string | undefined;
|
|
758
774
|
signatureValid?: boolean | undefined;
|
|
759
|
-
signatures?:
|
|
775
|
+
signatures?: {
|
|
776
|
+
valid: boolean;
|
|
777
|
+
publicKey: string;
|
|
778
|
+
address?: string | undefined;
|
|
779
|
+
}[] | undefined;
|
|
760
780
|
}>, z.ZodObject<{
|
|
761
781
|
type: z.ZodLiteral<"sign">;
|
|
762
782
|
filePath: z.ZodString;
|
package/dist/schema/local/wip.js
CHANGED
|
@@ -51,7 +51,7 @@ export const WipPayloadSchema = z
|
|
|
51
51
|
export const WipSignatureSchema = z
|
|
52
52
|
.object({
|
|
53
53
|
value: z.string().describe("Base64 encoded signature value"),
|
|
54
|
-
publicKey: z.string().describe("Verification public key (Base64 encoded
|
|
54
|
+
publicKey: z.string().describe("Verification public key (Base64 encoded, 897 bytes for Falcon-512)"),
|
|
55
55
|
algorithm: SignatureAlgorithmSchema.describe("Signature algorithm"),
|
|
56
56
|
address: z.string().optional().describe("Signer address"),
|
|
57
57
|
})
|
|
@@ -62,9 +62,9 @@ export const WipSignatureArraySchema = z
|
|
|
62
62
|
export const WipMetaSchema = z
|
|
63
63
|
.object({
|
|
64
64
|
type: z.literal("wip").describe("File type identifier, fixed as wip"),
|
|
65
|
-
version: z.
|
|
66
|
-
created: z.
|
|
67
|
-
hash: z.string().describe("SHA-256 hash of
|
|
65
|
+
version: z.string().describe("Format version number"),
|
|
66
|
+
created: z.string().describe("Creation time in ISO 8601 format"),
|
|
67
|
+
hash: z.string().describe("SHA-256 hash of { wip, payload } as a lowercase hex string (no prefix)"),
|
|
68
68
|
algorithm: HashAlgorithmSchema.describe("Hash algorithm identifier"),
|
|
69
69
|
signature: WipSignatureArraySchema.optional().describe("Optional digital signature"),
|
|
70
70
|
})
|
|
@@ -172,7 +172,7 @@ export const WipOperationOutputSchema = z.discriminatedUnion("type", [
|
|
|
172
172
|
hashValid: z.boolean(),
|
|
173
173
|
signatureValid: z.boolean().optional(),
|
|
174
174
|
hasSignature: z.boolean(),
|
|
175
|
-
signatures: z.array(
|
|
175
|
+
signatures: z.array(WipSignatureVerificationSchema).optional(),
|
|
176
176
|
}),
|
|
177
177
|
z.object({
|
|
178
178
|
type: z.literal("sign"),
|
|
@@ -527,7 +527,7 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
527
527
|
hasLastReceivedIndexOnly?: boolean | undefined;
|
|
528
528
|
lastReceivedIndexMin?: number | undefined;
|
|
529
529
|
lastReceivedIndexMax?: number | undefined;
|
|
530
|
-
listFilterMode?: "guard" | "
|
|
530
|
+
listFilterMode?: "guard" | "any" | "friends" | "stranger" | undefined;
|
|
531
531
|
customListFilter?: {
|
|
532
532
|
relation?: "union" | "intersection" | undefined;
|
|
533
533
|
includeAddresses?: string[] | undefined;
|
|
@@ -569,7 +569,7 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
569
569
|
hasLastReceivedIndexOnly?: boolean | undefined;
|
|
570
570
|
lastReceivedIndexMin?: number | undefined;
|
|
571
571
|
lastReceivedIndexMax?: number | undefined;
|
|
572
|
-
listFilterMode?: "guard" | "
|
|
572
|
+
listFilterMode?: "guard" | "any" | "friends" | "stranger" | undefined;
|
|
573
573
|
customListFilter?: {
|
|
574
574
|
relation?: "union" | "intersection" | undefined;
|
|
575
575
|
includeAddresses?: string[] | undefined;
|
|
@@ -891,8 +891,8 @@ export declare const WtsSignatureVerificationSchema: z.ZodObject<{
|
|
|
891
891
|
export declare const WtsVerificationResultSchema: z.ZodObject<{
|
|
892
892
|
valid: z.ZodBoolean;
|
|
893
893
|
error: z.ZodOptional<z.ZodString>;
|
|
894
|
-
hashValid: z.
|
|
895
|
-
hasSignature: z.
|
|
894
|
+
hashValid: z.ZodBoolean;
|
|
895
|
+
hasSignature: z.ZodBoolean;
|
|
896
896
|
signatureValid: z.ZodOptional<z.ZodBoolean>;
|
|
897
897
|
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
898
898
|
publicKey: z.ZodString;
|
|
@@ -909,10 +909,10 @@ export declare const WtsVerificationResultSchema: z.ZodObject<{
|
|
|
909
909
|
}>, "many">>;
|
|
910
910
|
}, "strip", z.ZodTypeAny, {
|
|
911
911
|
valid: boolean;
|
|
912
|
+
hashValid: boolean;
|
|
913
|
+
hasSignature: boolean;
|
|
912
914
|
error?: string | undefined;
|
|
913
|
-
hashValid?: boolean | undefined;
|
|
914
915
|
signatureValid?: boolean | undefined;
|
|
915
|
-
hasSignature?: boolean | undefined;
|
|
916
916
|
signatures?: {
|
|
917
917
|
valid: boolean;
|
|
918
918
|
publicKey: string;
|
|
@@ -920,10 +920,10 @@ export declare const WtsVerificationResultSchema: z.ZodObject<{
|
|
|
920
920
|
}[] | undefined;
|
|
921
921
|
}, {
|
|
922
922
|
valid: boolean;
|
|
923
|
+
hashValid: boolean;
|
|
924
|
+
hasSignature: boolean;
|
|
923
925
|
error?: string | undefined;
|
|
924
|
-
hashValid?: boolean | undefined;
|
|
925
926
|
signatureValid?: boolean | undefined;
|
|
926
|
-
hasSignature?: boolean | undefined;
|
|
927
927
|
signatures?: {
|
|
928
928
|
valid: boolean;
|
|
929
929
|
publicKey: string;
|
|
@@ -1692,7 +1692,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1692
1692
|
hasLastReceivedIndexOnly?: boolean | undefined;
|
|
1693
1693
|
lastReceivedIndexMin?: number | undefined;
|
|
1694
1694
|
lastReceivedIndexMax?: number | undefined;
|
|
1695
|
-
listFilterMode?: "guard" | "
|
|
1695
|
+
listFilterMode?: "guard" | "any" | "friends" | "stranger" | undefined;
|
|
1696
1696
|
customListFilter?: {
|
|
1697
1697
|
relation?: "union" | "intersection" | undefined;
|
|
1698
1698
|
includeAddresses?: string[] | undefined;
|
|
@@ -1734,7 +1734,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1734
1734
|
hasLastReceivedIndexOnly?: boolean | undefined;
|
|
1735
1735
|
lastReceivedIndexMin?: number | undefined;
|
|
1736
1736
|
lastReceivedIndexMax?: number | undefined;
|
|
1737
|
-
listFilterMode?: "guard" | "
|
|
1737
|
+
listFilterMode?: "guard" | "any" | "friends" | "stranger" | undefined;
|
|
1738
1738
|
customListFilter?: {
|
|
1739
1739
|
relation?: "union" | "intersection" | undefined;
|
|
1740
1740
|
includeAddresses?: string[] | undefined;
|
|
@@ -1779,7 +1779,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1779
1779
|
hasLastReceivedIndexOnly?: boolean | undefined;
|
|
1780
1780
|
lastReceivedIndexMin?: number | undefined;
|
|
1781
1781
|
lastReceivedIndexMax?: number | undefined;
|
|
1782
|
-
listFilterMode?: "guard" | "
|
|
1782
|
+
listFilterMode?: "guard" | "any" | "friends" | "stranger" | undefined;
|
|
1783
1783
|
customListFilter?: {
|
|
1784
1784
|
relation?: "union" | "intersection" | undefined;
|
|
1785
1785
|
includeAddresses?: string[] | undefined;
|
|
@@ -1824,7 +1824,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1824
1824
|
hasLastReceivedIndexOnly?: boolean | undefined;
|
|
1825
1825
|
lastReceivedIndexMin?: number | undefined;
|
|
1826
1826
|
lastReceivedIndexMax?: number | undefined;
|
|
1827
|
-
listFilterMode?: "guard" | "
|
|
1827
|
+
listFilterMode?: "guard" | "any" | "friends" | "stranger" | undefined;
|
|
1828
1828
|
customListFilter?: {
|
|
1829
1829
|
relation?: "union" | "intersection" | undefined;
|
|
1830
1830
|
includeAddresses?: string[] | undefined;
|
|
@@ -3702,8 +3702,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3702
3702
|
result: z.ZodObject<{
|
|
3703
3703
|
valid: z.ZodBoolean;
|
|
3704
3704
|
error: z.ZodOptional<z.ZodString>;
|
|
3705
|
-
hashValid: z.
|
|
3706
|
-
hasSignature: z.
|
|
3705
|
+
hashValid: z.ZodBoolean;
|
|
3706
|
+
hasSignature: z.ZodBoolean;
|
|
3707
3707
|
signatureValid: z.ZodOptional<z.ZodBoolean>;
|
|
3708
3708
|
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3709
3709
|
publicKey: z.ZodString;
|
|
@@ -3720,10 +3720,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3720
3720
|
}>, "many">>;
|
|
3721
3721
|
}, "strip", z.ZodTypeAny, {
|
|
3722
3722
|
valid: boolean;
|
|
3723
|
+
hashValid: boolean;
|
|
3724
|
+
hasSignature: boolean;
|
|
3723
3725
|
error?: string | undefined;
|
|
3724
|
-
hashValid?: boolean | undefined;
|
|
3725
3726
|
signatureValid?: boolean | undefined;
|
|
3726
|
-
hasSignature?: boolean | undefined;
|
|
3727
3727
|
signatures?: {
|
|
3728
3728
|
valid: boolean;
|
|
3729
3729
|
publicKey: string;
|
|
@@ -3731,10 +3731,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3731
3731
|
}[] | undefined;
|
|
3732
3732
|
}, {
|
|
3733
3733
|
valid: boolean;
|
|
3734
|
+
hashValid: boolean;
|
|
3735
|
+
hasSignature: boolean;
|
|
3734
3736
|
error?: string | undefined;
|
|
3735
|
-
hashValid?: boolean | undefined;
|
|
3736
3737
|
signatureValid?: boolean | undefined;
|
|
3737
|
-
hasSignature?: boolean | undefined;
|
|
3738
3738
|
signatures?: {
|
|
3739
3739
|
valid: boolean;
|
|
3740
3740
|
publicKey: string;
|
|
@@ -3744,10 +3744,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3744
3744
|
}, "strip", z.ZodTypeAny, {
|
|
3745
3745
|
result: {
|
|
3746
3746
|
valid: boolean;
|
|
3747
|
+
hashValid: boolean;
|
|
3748
|
+
hasSignature: boolean;
|
|
3747
3749
|
error?: string | undefined;
|
|
3748
|
-
hashValid?: boolean | undefined;
|
|
3749
3750
|
signatureValid?: boolean | undefined;
|
|
3750
|
-
hasSignature?: boolean | undefined;
|
|
3751
3751
|
signatures?: {
|
|
3752
3752
|
valid: boolean;
|
|
3753
3753
|
publicKey: string;
|
|
@@ -3758,10 +3758,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3758
3758
|
}, {
|
|
3759
3759
|
result: {
|
|
3760
3760
|
valid: boolean;
|
|
3761
|
+
hashValid: boolean;
|
|
3762
|
+
hasSignature: boolean;
|
|
3761
3763
|
error?: string | undefined;
|
|
3762
|
-
hashValid?: boolean | undefined;
|
|
3763
3764
|
signatureValid?: boolean | undefined;
|
|
3764
|
-
hasSignature?: boolean | undefined;
|
|
3765
3765
|
signatures?: {
|
|
3766
3766
|
valid: boolean;
|
|
3767
3767
|
publicKey: string;
|
|
@@ -5243,10 +5243,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
5243
5243
|
} | {
|
|
5244
5244
|
result: {
|
|
5245
5245
|
valid: boolean;
|
|
5246
|
+
hashValid: boolean;
|
|
5247
|
+
hasSignature: boolean;
|
|
5246
5248
|
error?: string | undefined;
|
|
5247
|
-
hashValid?: boolean | undefined;
|
|
5248
5249
|
signatureValid?: boolean | undefined;
|
|
5249
|
-
hasSignature?: boolean | undefined;
|
|
5250
5250
|
signatures?: {
|
|
5251
5251
|
valid: boolean;
|
|
5252
5252
|
publicKey: string;
|
|
@@ -5656,10 +5656,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
5656
5656
|
} | {
|
|
5657
5657
|
result: {
|
|
5658
5658
|
valid: boolean;
|
|
5659
|
+
hashValid: boolean;
|
|
5660
|
+
hasSignature: boolean;
|
|
5659
5661
|
error?: string | undefined;
|
|
5660
|
-
hashValid?: boolean | undefined;
|
|
5661
5662
|
signatureValid?: boolean | undefined;
|
|
5662
|
-
hasSignature?: boolean | undefined;
|
|
5663
5663
|
signatures?: {
|
|
5664
5664
|
valid: boolean;
|
|
5665
5665
|
publicKey: string;
|
|
@@ -185,8 +185,8 @@ export const WtsSignatureVerificationSchema = z.object({
|
|
|
185
185
|
export const WtsVerificationResultSchema = z.object({
|
|
186
186
|
valid: z.boolean().describe("Whether verification succeeded"),
|
|
187
187
|
error: z.string().optional().describe("Error message if verification failed"),
|
|
188
|
-
hashValid: z.boolean().
|
|
189
|
-
hasSignature: z.boolean().
|
|
188
|
+
hashValid: z.boolean().describe("Whether hash validation passed"),
|
|
189
|
+
hasSignature: z.boolean().describe("Whether WTS has signatures"),
|
|
190
190
|
signatureValid: z.boolean().optional().describe("Whether signature validation passed"),
|
|
191
191
|
signatures: z.array(WtsSignatureVerificationSchema).optional().describe("Signature verification details"),
|
|
192
192
|
}).describe("WTS verification result");
|