@wowok/agent-mcp 2.3.6 → 2.3.8
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 +1 -15838
- package/dist/index.js +40 -394
- package/dist/schema/call/bridge-handler.d.ts +5 -0
- package/dist/schema/call/bridge-handler.js +234 -0
- package/dist/schema/call/bridge.d.ts +2212 -0
- package/dist/schema/call/bridge.js +408 -0
- package/dist/schema/call/handler.js +29 -15
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/messenger/index.d.ts +74 -74
- package/dist/schema/operations.d.ts +24302 -0
- package/dist/schema/operations.js +393 -0
- package/dist/schema-query/index.d.ts +3 -1
- package/dist/schema-query/index.js +63 -3
- package/dist/schemas/account_operation.output.json +1395 -0
- package/dist/schemas/bridge_operation.output.json +64 -0
- package/dist/schemas/bridge_operation.schema.json +547 -0
- package/dist/schemas/guard2file.output.json +84 -0
- package/dist/schemas/index.json +33 -14
- package/dist/schemas/local_info_operation.output.json +70 -0
- package/dist/schemas/local_mark_operation.output.json +114 -0
- package/dist/schemas/machineNode2file.output.json +89 -0
- package/dist/schemas/messenger_operation.output.json +1068 -0
- package/dist/schemas/onchain_events.output.json +513 -0
- package/dist/schemas/onchain_operations.output.json +1764 -0
- package/dist/schemas/onchain_operations.schema.json +8324 -49
- package/dist/schemas/onchain_table_data.output.json +1938 -0
- package/dist/schemas/onchain_table_data.schema.json +483 -22
- package/dist/schemas/query_toolkit.output.json +18 -0
- package/dist/schemas/query_toolkit.schema.json +454 -19
- package/dist/schemas/schema_query.output.json +42 -0
- package/dist/schemas/schema_query.schema.json +1 -0
- package/dist/schemas/wip_file.output.json +116 -0
- package/dist/schemas/wip_file.schema.json +163 -15
- package/dist/schemas/wowok_buildin_info.output.json +577 -0
- package/package.json +2 -3
|
@@ -91,13 +91,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
91
91
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
92
92
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
status: "pending" | "
|
|
94
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
95
95
|
createdAt: number;
|
|
96
|
+
direction: "received" | "sent";
|
|
96
97
|
messageId: string;
|
|
97
98
|
fromAddress: string;
|
|
98
99
|
toAddress: string;
|
|
99
100
|
plaintextHash: string;
|
|
100
|
-
direction: "received" | "sent";
|
|
101
101
|
msgType: 1 | 3;
|
|
102
102
|
proof?: string | undefined;
|
|
103
103
|
receivedAt?: number | undefined;
|
|
@@ -130,13 +130,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
130
130
|
lastDecryptAttemptAt?: number | undefined;
|
|
131
131
|
viewedAt?: number | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
status: "pending" | "
|
|
133
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
134
134
|
createdAt: number;
|
|
135
|
+
direction: "received" | "sent";
|
|
135
136
|
messageId: string;
|
|
136
137
|
fromAddress: string;
|
|
137
138
|
toAddress: string;
|
|
138
139
|
plaintextHash: string;
|
|
139
|
-
direction: "received" | "sent";
|
|
140
140
|
msgType: 1 | 3;
|
|
141
141
|
proof?: string | undefined;
|
|
142
142
|
receivedAt?: number | undefined;
|
|
@@ -239,13 +239,13 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
239
239
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
240
240
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
status: "pending" | "
|
|
242
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
243
243
|
createdAt: number;
|
|
244
|
+
direction: "received" | "sent";
|
|
244
245
|
messageId: string;
|
|
245
246
|
fromAddress: string;
|
|
246
247
|
toAddress: string;
|
|
247
248
|
plaintextHash: string;
|
|
248
|
-
direction: "received" | "sent";
|
|
249
249
|
msgType: 1 | 3;
|
|
250
250
|
proof?: string | undefined;
|
|
251
251
|
receivedAt?: number | undefined;
|
|
@@ -278,13 +278,13 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
278
278
|
lastDecryptAttemptAt?: number | undefined;
|
|
279
279
|
viewedAt?: number | undefined;
|
|
280
280
|
}, {
|
|
281
|
-
status: "pending" | "
|
|
281
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
282
282
|
createdAt: number;
|
|
283
|
+
direction: "received" | "sent";
|
|
283
284
|
messageId: string;
|
|
284
285
|
fromAddress: string;
|
|
285
286
|
toAddress: string;
|
|
286
287
|
plaintextHash: string;
|
|
287
|
-
direction: "received" | "sent";
|
|
288
288
|
msgType: 1 | 3;
|
|
289
289
|
proof?: string | undefined;
|
|
290
290
|
receivedAt?: number | undefined;
|
|
@@ -324,13 +324,13 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
324
324
|
unreadCount: number;
|
|
325
325
|
lastMessagePreview?: string | undefined;
|
|
326
326
|
previewMessages?: {
|
|
327
|
-
status: "pending" | "
|
|
327
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
328
328
|
createdAt: number;
|
|
329
|
+
direction: "received" | "sent";
|
|
329
330
|
messageId: string;
|
|
330
331
|
fromAddress: string;
|
|
331
332
|
toAddress: string;
|
|
332
333
|
plaintextHash: string;
|
|
333
|
-
direction: "received" | "sent";
|
|
334
334
|
msgType: 1 | 3;
|
|
335
335
|
proof?: string | undefined;
|
|
336
336
|
receivedAt?: number | undefined;
|
|
@@ -370,13 +370,13 @@ export declare const ConversationInfoSchema: z.ZodObject<{
|
|
|
370
370
|
unreadCount: number;
|
|
371
371
|
lastMessagePreview?: string | undefined;
|
|
372
372
|
previewMessages?: {
|
|
373
|
-
status: "pending" | "
|
|
373
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
374
374
|
createdAt: number;
|
|
375
|
+
direction: "received" | "sent";
|
|
375
376
|
messageId: string;
|
|
376
377
|
fromAddress: string;
|
|
377
378
|
toAddress: string;
|
|
378
379
|
plaintextHash: string;
|
|
379
|
-
direction: "received" | "sent";
|
|
380
380
|
msgType: 1 | 3;
|
|
381
381
|
proof?: string | undefined;
|
|
382
382
|
receivedAt?: number | undefined;
|
|
@@ -495,11 +495,11 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
495
495
|
viewedAtEnd: z.ZodOptional<z.ZodNumber>;
|
|
496
496
|
skipAutoMarkViewed: z.ZodOptional<z.ZodBoolean>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
status?: "pending" | "
|
|
498
|
+
status?: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
499
499
|
account?: string | undefined;
|
|
500
500
|
limit?: number | undefined;
|
|
501
|
-
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
502
501
|
direction?: "received" | "sent" | undefined;
|
|
502
|
+
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
503
503
|
msgType?: 1 | 3 | undefined;
|
|
504
504
|
peerAddress?: string | {
|
|
505
505
|
name_or_address?: string | undefined;
|
|
@@ -537,11 +537,11 @@ export declare const MessageFilterSchema: z.ZodObject<{
|
|
|
537
537
|
viewedAtStart?: number | undefined;
|
|
538
538
|
viewedAtEnd?: number | undefined;
|
|
539
539
|
}, {
|
|
540
|
-
status?: "pending" | "
|
|
540
|
+
status?: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
541
541
|
account?: string | undefined;
|
|
542
542
|
limit?: number | undefined;
|
|
543
|
-
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
544
543
|
direction?: "received" | "sent" | undefined;
|
|
544
|
+
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
545
545
|
msgType?: 1 | 3 | undefined;
|
|
546
546
|
peerAddress?: string | {
|
|
547
547
|
name_or_address?: string | undefined;
|
|
@@ -645,7 +645,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
|
|
|
645
645
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
646
646
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
647
647
|
}, "strip", z.ZodTypeAny, {
|
|
648
|
-
status: "pending" | "
|
|
648
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
649
649
|
messageId: string;
|
|
650
650
|
lastReceivedLeafIndex?: number | undefined;
|
|
651
651
|
merkleData?: {
|
|
@@ -658,7 +658,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
|
|
|
658
658
|
} | undefined;
|
|
659
659
|
guardList?: string[] | undefined;
|
|
660
660
|
}, {
|
|
661
|
-
status: "pending" | "
|
|
661
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
662
662
|
messageId: string;
|
|
663
663
|
lastReceivedLeafIndex?: number | undefined;
|
|
664
664
|
merkleData?: {
|
|
@@ -1644,11 +1644,11 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1644
1644
|
viewedAtEnd: z.ZodOptional<z.ZodNumber>;
|
|
1645
1645
|
skipAutoMarkViewed: z.ZodOptional<z.ZodBoolean>;
|
|
1646
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1647
|
-
status?: "pending" | "
|
|
1647
|
+
status?: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1648
1648
|
account?: string | undefined;
|
|
1649
1649
|
limit?: number | undefined;
|
|
1650
|
-
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1651
1650
|
direction?: "received" | "sent" | undefined;
|
|
1651
|
+
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1652
1652
|
msgType?: 1 | 3 | undefined;
|
|
1653
1653
|
peerAddress?: string | {
|
|
1654
1654
|
name_or_address?: string | undefined;
|
|
@@ -1686,11 +1686,11 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1686
1686
|
viewedAtStart?: number | undefined;
|
|
1687
1687
|
viewedAtEnd?: number | undefined;
|
|
1688
1688
|
}, {
|
|
1689
|
-
status?: "pending" | "
|
|
1689
|
+
status?: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1690
1690
|
account?: string | undefined;
|
|
1691
1691
|
limit?: number | undefined;
|
|
1692
|
-
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1693
1692
|
direction?: "received" | "sent" | undefined;
|
|
1693
|
+
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1694
1694
|
msgType?: 1 | 3 | undefined;
|
|
1695
1695
|
peerAddress?: string | {
|
|
1696
1696
|
name_or_address?: string | undefined;
|
|
@@ -1731,11 +1731,11 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1731
1731
|
}, "strip", z.ZodTypeAny, {
|
|
1732
1732
|
operation: "watch_messages";
|
|
1733
1733
|
filter?: {
|
|
1734
|
-
status?: "pending" | "
|
|
1734
|
+
status?: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1735
1735
|
account?: string | undefined;
|
|
1736
1736
|
limit?: number | undefined;
|
|
1737
|
-
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1738
1737
|
direction?: "received" | "sent" | undefined;
|
|
1738
|
+
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1739
1739
|
msgType?: 1 | 3 | undefined;
|
|
1740
1740
|
peerAddress?: string | {
|
|
1741
1741
|
name_or_address?: string | undefined;
|
|
@@ -1776,11 +1776,11 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1776
1776
|
}, {
|
|
1777
1777
|
operation: "watch_messages";
|
|
1778
1778
|
filter?: {
|
|
1779
|
-
status?: "pending" | "
|
|
1779
|
+
status?: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
|
|
1780
1780
|
account?: string | undefined;
|
|
1781
1781
|
limit?: number | undefined;
|
|
1782
|
-
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1783
1782
|
direction?: "received" | "sent" | undefined;
|
|
1783
|
+
contentType?: "text" | "wip" | "zip" | "wts" | undefined;
|
|
1784
1784
|
msgType?: 1 | 3 | undefined;
|
|
1785
1785
|
peerAddress?: string | {
|
|
1786
1786
|
name_or_address?: string | undefined;
|
|
@@ -1885,13 +1885,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1885
1885
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
1886
1886
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1887
1887
|
}, "strip", z.ZodTypeAny, {
|
|
1888
|
-
status: "pending" | "
|
|
1888
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
1889
1889
|
createdAt: number;
|
|
1890
|
+
direction: "received" | "sent";
|
|
1890
1891
|
messageId: string;
|
|
1891
1892
|
fromAddress: string;
|
|
1892
1893
|
toAddress: string;
|
|
1893
1894
|
plaintextHash: string;
|
|
1894
|
-
direction: "received" | "sent";
|
|
1895
1895
|
msgType: 1 | 3;
|
|
1896
1896
|
proof?: string | undefined;
|
|
1897
1897
|
receivedAt?: number | undefined;
|
|
@@ -1924,13 +1924,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1924
1924
|
lastDecryptAttemptAt?: number | undefined;
|
|
1925
1925
|
viewedAt?: number | undefined;
|
|
1926
1926
|
}, {
|
|
1927
|
-
status: "pending" | "
|
|
1927
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
1928
1928
|
createdAt: number;
|
|
1929
|
+
direction: "received" | "sent";
|
|
1929
1930
|
messageId: string;
|
|
1930
1931
|
fromAddress: string;
|
|
1931
1932
|
toAddress: string;
|
|
1932
1933
|
plaintextHash: string;
|
|
1933
|
-
direction: "received" | "sent";
|
|
1934
1934
|
msgType: 1 | 3;
|
|
1935
1935
|
proof?: string | undefined;
|
|
1936
1936
|
receivedAt?: number | undefined;
|
|
@@ -1968,13 +1968,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
1968
1968
|
operation: "extract_zip_messages";
|
|
1969
1969
|
outputDir: string;
|
|
1970
1970
|
messages: (string | {
|
|
1971
|
-
status: "pending" | "
|
|
1971
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
1972
1972
|
createdAt: number;
|
|
1973
|
+
direction: "received" | "sent";
|
|
1973
1974
|
messageId: string;
|
|
1974
1975
|
fromAddress: string;
|
|
1975
1976
|
toAddress: string;
|
|
1976
1977
|
plaintextHash: string;
|
|
1977
|
-
direction: "received" | "sent";
|
|
1978
1978
|
msgType: 1 | 3;
|
|
1979
1979
|
proof?: string | undefined;
|
|
1980
1980
|
receivedAt?: number | undefined;
|
|
@@ -2012,13 +2012,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
|
|
|
2012
2012
|
operation: "extract_zip_messages";
|
|
2013
2013
|
outputDir: string;
|
|
2014
2014
|
messages: (string | {
|
|
2015
|
-
status: "pending" | "
|
|
2015
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
2016
2016
|
createdAt: number;
|
|
2017
|
+
direction: "received" | "sent";
|
|
2017
2018
|
messageId: string;
|
|
2018
2019
|
fromAddress: string;
|
|
2019
2020
|
toAddress: string;
|
|
2020
2021
|
plaintextHash: string;
|
|
2021
|
-
direction: "received" | "sent";
|
|
2022
2022
|
msgType: 1 | 3;
|
|
2023
2023
|
proof?: string | undefined;
|
|
2024
2024
|
receivedAt?: number | undefined;
|
|
@@ -2937,13 +2937,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2937
2937
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
2938
2938
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
2939
2939
|
}, "strip", z.ZodTypeAny, {
|
|
2940
|
-
status: "pending" | "
|
|
2940
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
2941
2941
|
createdAt: number;
|
|
2942
|
+
direction: "received" | "sent";
|
|
2942
2943
|
messageId: string;
|
|
2943
2944
|
fromAddress: string;
|
|
2944
2945
|
toAddress: string;
|
|
2945
2946
|
plaintextHash: string;
|
|
2946
|
-
direction: "received" | "sent";
|
|
2947
2947
|
msgType: 1 | 3;
|
|
2948
2948
|
proof?: string | undefined;
|
|
2949
2949
|
receivedAt?: number | undefined;
|
|
@@ -2976,13 +2976,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
2976
2976
|
lastDecryptAttemptAt?: number | undefined;
|
|
2977
2977
|
viewedAt?: number | undefined;
|
|
2978
2978
|
}, {
|
|
2979
|
-
status: "pending" | "
|
|
2979
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
2980
2980
|
createdAt: number;
|
|
2981
|
+
direction: "received" | "sent";
|
|
2981
2982
|
messageId: string;
|
|
2982
2983
|
fromAddress: string;
|
|
2983
2984
|
toAddress: string;
|
|
2984
2985
|
plaintextHash: string;
|
|
2985
|
-
direction: "received" | "sent";
|
|
2986
2986
|
msgType: 1 | 3;
|
|
2987
2987
|
proof?: string | undefined;
|
|
2988
2988
|
receivedAt?: number | undefined;
|
|
@@ -3022,13 +3022,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3022
3022
|
unreadCount: number;
|
|
3023
3023
|
lastMessagePreview?: string | undefined;
|
|
3024
3024
|
previewMessages?: {
|
|
3025
|
-
status: "pending" | "
|
|
3025
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3026
3026
|
createdAt: number;
|
|
3027
|
+
direction: "received" | "sent";
|
|
3027
3028
|
messageId: string;
|
|
3028
3029
|
fromAddress: string;
|
|
3029
3030
|
toAddress: string;
|
|
3030
3031
|
plaintextHash: string;
|
|
3031
|
-
direction: "received" | "sent";
|
|
3032
3032
|
msgType: 1 | 3;
|
|
3033
3033
|
proof?: string | undefined;
|
|
3034
3034
|
receivedAt?: number | undefined;
|
|
@@ -3068,13 +3068,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3068
3068
|
unreadCount: number;
|
|
3069
3069
|
lastMessagePreview?: string | undefined;
|
|
3070
3070
|
previewMessages?: {
|
|
3071
|
-
status: "pending" | "
|
|
3071
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3072
3072
|
createdAt: number;
|
|
3073
|
+
direction: "received" | "sent";
|
|
3073
3074
|
messageId: string;
|
|
3074
3075
|
fromAddress: string;
|
|
3075
3076
|
toAddress: string;
|
|
3076
3077
|
plaintextHash: string;
|
|
3077
|
-
direction: "received" | "sent";
|
|
3078
3078
|
msgType: 1 | 3;
|
|
3079
3079
|
proof?: string | undefined;
|
|
3080
3080
|
receivedAt?: number | undefined;
|
|
@@ -3116,13 +3116,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3116
3116
|
unreadCount: number;
|
|
3117
3117
|
lastMessagePreview?: string | undefined;
|
|
3118
3118
|
previewMessages?: {
|
|
3119
|
-
status: "pending" | "
|
|
3119
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3120
3120
|
createdAt: number;
|
|
3121
|
+
direction: "received" | "sent";
|
|
3121
3122
|
messageId: string;
|
|
3122
3123
|
fromAddress: string;
|
|
3123
3124
|
toAddress: string;
|
|
3124
3125
|
plaintextHash: string;
|
|
3125
|
-
direction: "received" | "sent";
|
|
3126
3126
|
msgType: 1 | 3;
|
|
3127
3127
|
proof?: string | undefined;
|
|
3128
3128
|
receivedAt?: number | undefined;
|
|
@@ -3165,13 +3165,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3165
3165
|
unreadCount: number;
|
|
3166
3166
|
lastMessagePreview?: string | undefined;
|
|
3167
3167
|
previewMessages?: {
|
|
3168
|
-
status: "pending" | "
|
|
3168
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3169
3169
|
createdAt: number;
|
|
3170
|
+
direction: "received" | "sent";
|
|
3170
3171
|
messageId: string;
|
|
3171
3172
|
fromAddress: string;
|
|
3172
3173
|
toAddress: string;
|
|
3173
3174
|
plaintextHash: string;
|
|
3174
|
-
direction: "received" | "sent";
|
|
3175
3175
|
msgType: 1 | 3;
|
|
3176
3176
|
proof?: string | undefined;
|
|
3177
3177
|
receivedAt?: number | undefined;
|
|
@@ -3236,7 +3236,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3236
3236
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3237
3237
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
3238
3238
|
}, "strip", z.ZodTypeAny, {
|
|
3239
|
-
status: "pending" | "
|
|
3239
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3240
3240
|
messageId: string;
|
|
3241
3241
|
lastReceivedLeafIndex?: number | undefined;
|
|
3242
3242
|
merkleData?: {
|
|
@@ -3249,7 +3249,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3249
3249
|
} | undefined;
|
|
3250
3250
|
guardList?: string[] | undefined;
|
|
3251
3251
|
}, {
|
|
3252
|
-
status: "pending" | "
|
|
3252
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3253
3253
|
messageId: string;
|
|
3254
3254
|
lastReceivedLeafIndex?: number | undefined;
|
|
3255
3255
|
merkleData?: {
|
|
@@ -3264,7 +3264,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3264
3264
|
}>;
|
|
3265
3265
|
}, "strip", z.ZodTypeAny, {
|
|
3266
3266
|
result: {
|
|
3267
|
-
status: "pending" | "
|
|
3267
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3268
3268
|
messageId: string;
|
|
3269
3269
|
lastReceivedLeafIndex?: number | undefined;
|
|
3270
3270
|
merkleData?: {
|
|
@@ -3280,7 +3280,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3280
3280
|
operation: "send_message";
|
|
3281
3281
|
}, {
|
|
3282
3282
|
result: {
|
|
3283
|
-
status: "pending" | "
|
|
3283
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3284
3284
|
messageId: string;
|
|
3285
3285
|
lastReceivedLeafIndex?: number | undefined;
|
|
3286
3286
|
merkleData?: {
|
|
@@ -3324,7 +3324,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3324
3324
|
guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3325
3325
|
lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
|
|
3326
3326
|
}, "strip", z.ZodTypeAny, {
|
|
3327
|
-
status: "pending" | "
|
|
3327
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3328
3328
|
messageId: string;
|
|
3329
3329
|
lastReceivedLeafIndex?: number | undefined;
|
|
3330
3330
|
merkleData?: {
|
|
@@ -3337,7 +3337,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3337
3337
|
} | undefined;
|
|
3338
3338
|
guardList?: string[] | undefined;
|
|
3339
3339
|
}, {
|
|
3340
|
-
status: "pending" | "
|
|
3340
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3341
3341
|
messageId: string;
|
|
3342
3342
|
lastReceivedLeafIndex?: number | undefined;
|
|
3343
3343
|
merkleData?: {
|
|
@@ -3352,7 +3352,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3352
3352
|
}>;
|
|
3353
3353
|
}, "strip", z.ZodTypeAny, {
|
|
3354
3354
|
result: {
|
|
3355
|
-
status: "pending" | "
|
|
3355
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3356
3356
|
messageId: string;
|
|
3357
3357
|
lastReceivedLeafIndex?: number | undefined;
|
|
3358
3358
|
merkleData?: {
|
|
@@ -3368,7 +3368,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3368
3368
|
operation: "send_file";
|
|
3369
3369
|
}, {
|
|
3370
3370
|
result: {
|
|
3371
|
-
status: "pending" | "
|
|
3371
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3372
3372
|
messageId: string;
|
|
3373
3373
|
lastReceivedLeafIndex?: number | undefined;
|
|
3374
3374
|
merkleData?: {
|
|
@@ -3448,13 +3448,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3448
3448
|
lastDecryptAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
3449
3449
|
viewedAt: z.ZodOptional<z.ZodNumber>;
|
|
3450
3450
|
}, "strip", z.ZodTypeAny, {
|
|
3451
|
-
status: "pending" | "
|
|
3451
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3452
3452
|
createdAt: number;
|
|
3453
|
+
direction: "received" | "sent";
|
|
3453
3454
|
messageId: string;
|
|
3454
3455
|
fromAddress: string;
|
|
3455
3456
|
toAddress: string;
|
|
3456
3457
|
plaintextHash: string;
|
|
3457
|
-
direction: "received" | "sent";
|
|
3458
3458
|
msgType: 1 | 3;
|
|
3459
3459
|
proof?: string | undefined;
|
|
3460
3460
|
receivedAt?: number | undefined;
|
|
@@ -3487,13 +3487,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3487
3487
|
lastDecryptAttemptAt?: number | undefined;
|
|
3488
3488
|
viewedAt?: number | undefined;
|
|
3489
3489
|
}, {
|
|
3490
|
-
status: "pending" | "
|
|
3490
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3491
3491
|
createdAt: number;
|
|
3492
|
+
direction: "received" | "sent";
|
|
3492
3493
|
messageId: string;
|
|
3493
3494
|
fromAddress: string;
|
|
3494
3495
|
toAddress: string;
|
|
3495
3496
|
plaintextHash: string;
|
|
3496
|
-
direction: "received" | "sent";
|
|
3497
3497
|
msgType: 1 | 3;
|
|
3498
3498
|
proof?: string | undefined;
|
|
3499
3499
|
receivedAt?: number | undefined;
|
|
@@ -3528,13 +3528,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3528
3528
|
}>, "many">;
|
|
3529
3529
|
}, "strip", z.ZodTypeAny, {
|
|
3530
3530
|
result: {
|
|
3531
|
-
status: "pending" | "
|
|
3531
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3532
3532
|
createdAt: number;
|
|
3533
|
+
direction: "received" | "sent";
|
|
3533
3534
|
messageId: string;
|
|
3534
3535
|
fromAddress: string;
|
|
3535
3536
|
toAddress: string;
|
|
3536
3537
|
plaintextHash: string;
|
|
3537
|
-
direction: "received" | "sent";
|
|
3538
3538
|
msgType: 1 | 3;
|
|
3539
3539
|
proof?: string | undefined;
|
|
3540
3540
|
receivedAt?: number | undefined;
|
|
@@ -3570,13 +3570,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
3570
3570
|
operation: "watch_messages";
|
|
3571
3571
|
}, {
|
|
3572
3572
|
result: {
|
|
3573
|
-
status: "pending" | "
|
|
3573
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
3574
3574
|
createdAt: number;
|
|
3575
|
+
direction: "received" | "sent";
|
|
3575
3576
|
messageId: string;
|
|
3576
3577
|
fromAddress: string;
|
|
3577
3578
|
toAddress: string;
|
|
3578
3579
|
plaintextHash: string;
|
|
3579
|
-
direction: "received" | "sent";
|
|
3580
3580
|
msgType: 1 | 3;
|
|
3581
3581
|
proof?: string | undefined;
|
|
3582
3582
|
receivedAt?: number | undefined;
|
|
@@ -4175,13 +4175,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4175
4175
|
unreadCount: number;
|
|
4176
4176
|
lastMessagePreview?: string | undefined;
|
|
4177
4177
|
previewMessages?: {
|
|
4178
|
-
status: "pending" | "
|
|
4178
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4179
4179
|
createdAt: number;
|
|
4180
|
+
direction: "received" | "sent";
|
|
4180
4181
|
messageId: string;
|
|
4181
4182
|
fromAddress: string;
|
|
4182
4183
|
toAddress: string;
|
|
4183
4184
|
plaintextHash: string;
|
|
4184
|
-
direction: "received" | "sent";
|
|
4185
4185
|
msgType: 1 | 3;
|
|
4186
4186
|
proof?: string | undefined;
|
|
4187
4187
|
receivedAt?: number | undefined;
|
|
@@ -4218,7 +4218,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4218
4218
|
operation: "watch_conversations";
|
|
4219
4219
|
} | {
|
|
4220
4220
|
result: {
|
|
4221
|
-
status: "pending" | "
|
|
4221
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4222
4222
|
messageId: string;
|
|
4223
4223
|
lastReceivedLeafIndex?: number | undefined;
|
|
4224
4224
|
merkleData?: {
|
|
@@ -4234,7 +4234,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4234
4234
|
operation: "send_message";
|
|
4235
4235
|
} | {
|
|
4236
4236
|
result: {
|
|
4237
|
-
status: "pending" | "
|
|
4237
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4238
4238
|
messageId: string;
|
|
4239
4239
|
lastReceivedLeafIndex?: number | undefined;
|
|
4240
4240
|
merkleData?: {
|
|
@@ -4250,13 +4250,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4250
4250
|
operation: "send_file";
|
|
4251
4251
|
} | {
|
|
4252
4252
|
result: {
|
|
4253
|
-
status: "pending" | "
|
|
4253
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4254
4254
|
createdAt: number;
|
|
4255
|
+
direction: "received" | "sent";
|
|
4255
4256
|
messageId: string;
|
|
4256
4257
|
fromAddress: string;
|
|
4257
4258
|
toAddress: string;
|
|
4258
4259
|
plaintextHash: string;
|
|
4259
|
-
direction: "received" | "sent";
|
|
4260
4260
|
msgType: 1 | 3;
|
|
4261
4261
|
proof?: string | undefined;
|
|
4262
4262
|
receivedAt?: number | undefined;
|
|
@@ -4417,13 +4417,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4417
4417
|
unreadCount: number;
|
|
4418
4418
|
lastMessagePreview?: string | undefined;
|
|
4419
4419
|
previewMessages?: {
|
|
4420
|
-
status: "pending" | "
|
|
4420
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4421
4421
|
createdAt: number;
|
|
4422
|
+
direction: "received" | "sent";
|
|
4422
4423
|
messageId: string;
|
|
4423
4424
|
fromAddress: string;
|
|
4424
4425
|
toAddress: string;
|
|
4425
4426
|
plaintextHash: string;
|
|
4426
|
-
direction: "received" | "sent";
|
|
4427
4427
|
msgType: 1 | 3;
|
|
4428
4428
|
proof?: string | undefined;
|
|
4429
4429
|
receivedAt?: number | undefined;
|
|
@@ -4460,7 +4460,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4460
4460
|
operation: "watch_conversations";
|
|
4461
4461
|
} | {
|
|
4462
4462
|
result: {
|
|
4463
|
-
status: "pending" | "
|
|
4463
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4464
4464
|
messageId: string;
|
|
4465
4465
|
lastReceivedLeafIndex?: number | undefined;
|
|
4466
4466
|
merkleData?: {
|
|
@@ -4476,7 +4476,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4476
4476
|
operation: "send_message";
|
|
4477
4477
|
} | {
|
|
4478
4478
|
result: {
|
|
4479
|
-
status: "pending" | "
|
|
4479
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4480
4480
|
messageId: string;
|
|
4481
4481
|
lastReceivedLeafIndex?: number | undefined;
|
|
4482
4482
|
merkleData?: {
|
|
@@ -4492,13 +4492,13 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
|
|
|
4492
4492
|
operation: "send_file";
|
|
4493
4493
|
} | {
|
|
4494
4494
|
result: {
|
|
4495
|
-
status: "pending" | "
|
|
4495
|
+
status: "pending" | "failed" | "confirmed" | "read" | "rejected" | "decrypted" | "decrypt_failed";
|
|
4496
4496
|
createdAt: number;
|
|
4497
|
+
direction: "received" | "sent";
|
|
4497
4498
|
messageId: string;
|
|
4498
4499
|
fromAddress: string;
|
|
4499
4500
|
toAddress: string;
|
|
4500
4501
|
plaintextHash: string;
|
|
4501
|
-
direction: "received" | "sent";
|
|
4502
4502
|
msgType: 1 | 3;
|
|
4503
4503
|
proof?: string | undefined;
|
|
4504
4504
|
receivedAt?: number | undefined;
|