wowok_agent 2.1.17 → 2.1.19

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.js CHANGED
@@ -714,12 +714,36 @@ async function handleMessengerOperation(args) {
714
714
  }
715
715
  case "send_message": {
716
716
  const sendResult = await send_message(validated.from, validated.to, validated.content, validated.options);
717
- result = { operation: "send_message", result: sendResult };
717
+ // Filter out leafHash from merkleData to match schema
718
+ const filteredResult = {
719
+ ...sendResult,
720
+ merkleData: sendResult.merkleData ? {
721
+ leafIndex: sendResult.merkleData.leafIndex,
722
+ prevRoot: sendResult.merkleData.prevRoot,
723
+ newRoot: sendResult.merkleData.newRoot,
724
+ serverSignature: sendResult.merkleData.serverSignature,
725
+ serverTimestamp: sendResult.merkleData.serverTimestamp,
726
+ serverPublicKey: sendResult.merkleData.serverPublicKey,
727
+ } : undefined,
728
+ };
729
+ result = { operation: "send_message", result: filteredResult };
718
730
  break;
719
731
  }
720
732
  case "send_file": {
721
733
  const sendResult = await send_file(validated.from, validated.to, validated.filePath, validated.options);
722
- result = { operation: "send_file", result: sendResult };
734
+ // Filter out leafHash from merkleData to match schema
735
+ const filteredResult = {
736
+ ...sendResult,
737
+ merkleData: sendResult.merkleData ? {
738
+ leafIndex: sendResult.merkleData.leafIndex,
739
+ prevRoot: sendResult.merkleData.prevRoot,
740
+ newRoot: sendResult.merkleData.newRoot,
741
+ serverSignature: sendResult.merkleData.serverSignature,
742
+ serverTimestamp: sendResult.merkleData.serverTimestamp,
743
+ serverPublicKey: sendResult.merkleData.serverPublicKey,
744
+ } : undefined,
745
+ };
746
+ result = { operation: "send_file", result: filteredResult };
723
747
  break;
724
748
  }
725
749
  case "watch_messages": {
@@ -5894,13 +5894,13 @@ export declare const AccountDataSchema: z.ZodObject<{
5894
5894
  suspended: z.ZodOptional<z.ZodBoolean>;
5895
5895
  createdAt: z.ZodOptional<z.ZodNumber>;
5896
5896
  updatedAt: z.ZodOptional<z.ZodNumber>;
5897
- m: z.ZodOptional<z.ZodString>;
5897
+ m: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5898
5898
  }, "strip", z.ZodTypeAny, {
5899
5899
  address: string;
5900
5900
  name?: string | undefined;
5901
5901
  createdAt?: number | undefined;
5902
5902
  updatedAt?: number | undefined;
5903
- m?: string | undefined;
5903
+ m?: string | null | undefined;
5904
5904
  suspended?: boolean | undefined;
5905
5905
  pubkey?: string | undefined;
5906
5906
  secret?: string | undefined;
@@ -5909,7 +5909,7 @@ export declare const AccountDataSchema: z.ZodObject<{
5909
5909
  name?: string | undefined;
5910
5910
  createdAt?: number | undefined;
5911
5911
  updatedAt?: number | undefined;
5912
- m?: string | undefined;
5912
+ m?: string | null | undefined;
5913
5913
  suspended?: boolean | undefined;
5914
5914
  pubkey?: string | undefined;
5915
5915
  secret?: string | undefined;
@@ -5923,13 +5923,13 @@ export declare const QueryAccountListResultSchema: z.ZodObject<{
5923
5923
  suspended: z.ZodOptional<z.ZodBoolean>;
5924
5924
  createdAt: z.ZodOptional<z.ZodNumber>;
5925
5925
  updatedAt: z.ZodOptional<z.ZodNumber>;
5926
- m: z.ZodOptional<z.ZodString>;
5926
+ m: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5927
5927
  }, "strip", z.ZodTypeAny, {
5928
5928
  address: string;
5929
5929
  name?: string | undefined;
5930
5930
  createdAt?: number | undefined;
5931
5931
  updatedAt?: number | undefined;
5932
- m?: string | undefined;
5932
+ m?: string | null | undefined;
5933
5933
  suspended?: boolean | undefined;
5934
5934
  pubkey?: string | undefined;
5935
5935
  secret?: string | undefined;
@@ -5938,7 +5938,7 @@ export declare const QueryAccountListResultSchema: z.ZodObject<{
5938
5938
  name?: string | undefined;
5939
5939
  createdAt?: number | undefined;
5940
5940
  updatedAt?: number | undefined;
5941
- m?: string | undefined;
5941
+ m?: string | null | undefined;
5942
5942
  suspended?: boolean | undefined;
5943
5943
  pubkey?: string | undefined;
5944
5944
  secret?: string | undefined;
@@ -5949,7 +5949,7 @@ export declare const QueryAccountListResultSchema: z.ZodObject<{
5949
5949
  name?: string | undefined;
5950
5950
  createdAt?: number | undefined;
5951
5951
  updatedAt?: number | undefined;
5952
- m?: string | undefined;
5952
+ m?: string | null | undefined;
5953
5953
  suspended?: boolean | undefined;
5954
5954
  pubkey?: string | undefined;
5955
5955
  secret?: string | undefined;
@@ -5960,7 +5960,7 @@ export declare const QueryAccountListResultSchema: z.ZodObject<{
5960
5960
  name?: string | undefined;
5961
5961
  createdAt?: number | undefined;
5962
5962
  updatedAt?: number | undefined;
5963
- m?: string | undefined;
5963
+ m?: string | null | undefined;
5964
5964
  suspended?: boolean | undefined;
5965
5965
  pubkey?: string | undefined;
5966
5966
  secret?: string | undefined;
@@ -836,7 +836,7 @@ export const AccountDataSchema = z.object({
836
836
  suspended: z.boolean().optional().describe("Whether account is suspended"),
837
837
  createdAt: z.number().optional().describe("Timestamp when account was created"),
838
838
  updatedAt: z.number().optional().describe("Timestamp when account was last updated"),
839
- m: z.string().optional().describe("Messenger name, indicates this account has messenger enabled"),
839
+ m: z.string().nullable().optional().describe("Messenger name, indicates this account has messenger enabled"),
840
840
  }).describe("Account data");
841
841
  // Define QueryAccountListResult schema
842
842
  export const QueryAccountListResultSchema = z.object({
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const MessageStatusSchema: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
2
+ export declare const MessageStatusSchema: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
3
3
  export declare const MessageDirectionSchema: z.ZodEnum<["sent", "received"]>;
4
4
  export declare const MessageTypeSchema: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<3>]>;
5
5
  export declare const MessageContentTypeSchema: z.ZodEnum<["text", "zip", "wts", "wip"]>;
@@ -37,7 +37,7 @@ export declare const MessageSchema: z.ZodObject<{
37
37
  passportAddress: z.ZodOptional<z.ZodString>;
38
38
  lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
39
39
  direction: z.ZodEnum<["sent", "received"]>;
40
- status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
40
+ status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
41
41
  msgType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<3>]>;
42
42
  leafIndex: z.ZodOptional<z.ZodNumber>;
43
43
  prevRoot: z.ZodOptional<z.ZodString>;
@@ -87,7 +87,7 @@ export declare const MessageSchema: z.ZodObject<{
87
87
  }>>;
88
88
  proof: z.ZodOptional<z.ZodString>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
90
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
91
91
  createdAt: number;
92
92
  messageId: string;
93
93
  fromAddress: string;
@@ -122,7 +122,7 @@ export declare const MessageSchema: z.ZodObject<{
122
122
  downloadedAt?: number | undefined;
123
123
  } | undefined;
124
124
  }, {
125
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
125
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
126
126
  createdAt: number;
127
127
  messageId: string;
128
128
  fromAddress: string;
@@ -178,7 +178,7 @@ export declare const ConversationInfoSchema: z.ZodObject<{
178
178
  }>;
179
179
  export declare const MessageFilterSchema: z.ZodObject<{
180
180
  direction: z.ZodOptional<z.ZodEnum<["sent", "received"]>>;
181
- status: z.ZodOptional<z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>>;
181
+ status: z.ZodOptional<z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>>;
182
182
  peerAddress: z.ZodOptional<z.ZodObject<{
183
183
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
184
184
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -229,7 +229,7 @@ export declare const MessageFilterSchema: z.ZodObject<{
229
229
  }>>;
230
230
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
231
231
  }, "strip", z.ZodTypeAny, {
232
- status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | undefined;
232
+ status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted" | undefined;
233
233
  limit?: number | undefined;
234
234
  account?: string | undefined;
235
235
  contentType?: "text" | "wip" | "zip" | "wts" | undefined;
@@ -267,7 +267,7 @@ export declare const MessageFilterSchema: z.ZodObject<{
267
267
  relation?: "union" | "intersection" | undefined;
268
268
  } | undefined;
269
269
  }, {
270
- status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | undefined;
270
+ status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted" | undefined;
271
271
  limit?: number | undefined;
272
272
  account?: string | undefined;
273
273
  contentType?: "text" | "wip" | "zip" | "wts" | undefined;
@@ -345,7 +345,7 @@ export declare const SendFileOptionsSchema: z.ZodObject<{
345
345
  }>;
346
346
  export declare const SendMessageResultSchema: z.ZodObject<{
347
347
  messageId: z.ZodString;
348
- status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
348
+ status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
349
349
  merkleData: z.ZodOptional<z.ZodObject<{
350
350
  leafIndex: z.ZodNumber;
351
351
  prevRoot: z.ZodString;
@@ -370,7 +370,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
370
370
  }>>;
371
371
  guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
372
372
  }, "strip", z.ZodTypeAny, {
373
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
373
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
374
374
  messageId: string;
375
375
  merkleData?: {
376
376
  serverTimestamp: number;
@@ -382,7 +382,7 @@ export declare const SendMessageResultSchema: z.ZodObject<{
382
382
  } | undefined;
383
383
  guardList?: string[] | undefined;
384
384
  }, {
385
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
385
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
386
386
  messageId: string;
387
387
  merkleData?: {
388
388
  serverTimestamp: number;
@@ -686,8 +686,8 @@ export declare const ListOperationResponseSchema: z.ZodObject<{
686
686
  modifiedCount: z.ZodNumber;
687
687
  currentCount: z.ZodNumber;
688
688
  maxCount: z.ZodNumber;
689
- invalidAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
690
- existResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
689
+ invalidAddresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
690
+ existResults: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
691
691
  address: z.ZodString;
692
692
  exists: z.ZodBoolean;
693
693
  }, "strip", z.ZodTypeAny, {
@@ -696,10 +696,10 @@ export declare const ListOperationResponseSchema: z.ZodObject<{
696
696
  }, {
697
697
  address: string;
698
698
  exists: boolean;
699
- }>, "many">>;
700
- message: z.ZodOptional<z.ZodString>;
701
- currentList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
702
- currentGuardList: z.ZodOptional<z.ZodArray<z.ZodObject<{
699
+ }>, "many">>>;
700
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
701
+ currentList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
702
+ currentGuardList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
703
703
  guardAddress: z.ZodString;
704
704
  passportValiditySeconds: z.ZodNumber;
705
705
  }, "strip", z.ZodTypeAny, {
@@ -708,41 +708,41 @@ export declare const ListOperationResponseSchema: z.ZodObject<{
708
708
  }, {
709
709
  guardAddress: string;
710
710
  passportValiditySeconds: number;
711
- }>, "many">>;
711
+ }>, "many">>>;
712
712
  }, "strip", z.ZodTypeAny, {
713
713
  success: boolean;
714
714
  operation: string;
715
715
  modifiedCount: number;
716
716
  currentCount: number;
717
717
  maxCount: number;
718
- message?: string | undefined;
719
- invalidAddresses?: string[] | undefined;
718
+ message?: string | null | undefined;
719
+ invalidAddresses?: string[] | null | undefined;
720
720
  existResults?: {
721
721
  address: string;
722
722
  exists: boolean;
723
- }[] | undefined;
724
- currentList?: string[] | undefined;
723
+ }[] | null | undefined;
724
+ currentList?: string[] | null | undefined;
725
725
  currentGuardList?: {
726
726
  guardAddress: string;
727
727
  passportValiditySeconds: number;
728
- }[] | undefined;
728
+ }[] | null | undefined;
729
729
  }, {
730
730
  success: boolean;
731
731
  operation: string;
732
732
  modifiedCount: number;
733
733
  currentCount: number;
734
734
  maxCount: number;
735
- message?: string | undefined;
736
- invalidAddresses?: string[] | undefined;
735
+ message?: string | null | undefined;
736
+ invalidAddresses?: string[] | null | undefined;
737
737
  existResults?: {
738
738
  address: string;
739
739
  exists: boolean;
740
- }[] | undefined;
741
- currentList?: string[] | undefined;
740
+ }[] | null | undefined;
741
+ currentList?: string[] | null | undefined;
742
742
  currentGuardList?: {
743
743
  guardAddress: string;
744
744
  passportValiditySeconds: number;
745
- }[] | undefined;
745
+ }[] | null | undefined;
746
746
  }>;
747
747
  export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
748
748
  op: z.ZodLiteral<"add">;
@@ -1229,7 +1229,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1229
1229
  operation: z.ZodLiteral<"watch_messages">;
1230
1230
  filter: z.ZodOptional<z.ZodObject<{
1231
1231
  direction: z.ZodOptional<z.ZodEnum<["sent", "received"]>>;
1232
- status: z.ZodOptional<z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>>;
1232
+ status: z.ZodOptional<z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>>;
1233
1233
  peerAddress: z.ZodOptional<z.ZodObject<{
1234
1234
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1235
1235
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1280,7 +1280,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1280
1280
  }>>;
1281
1281
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1282
1282
  }, "strip", z.ZodTypeAny, {
1283
- status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | undefined;
1283
+ status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted" | undefined;
1284
1284
  limit?: number | undefined;
1285
1285
  account?: string | undefined;
1286
1286
  contentType?: "text" | "wip" | "zip" | "wts" | undefined;
@@ -1318,7 +1318,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1318
1318
  relation?: "union" | "intersection" | undefined;
1319
1319
  } | undefined;
1320
1320
  }, {
1321
- status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | undefined;
1321
+ status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted" | undefined;
1322
1322
  limit?: number | undefined;
1323
1323
  account?: string | undefined;
1324
1324
  contentType?: "text" | "wip" | "zip" | "wts" | undefined;
@@ -1359,7 +1359,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1359
1359
  }, "strip", z.ZodTypeAny, {
1360
1360
  operation: "watch_messages";
1361
1361
  filter?: {
1362
- status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | undefined;
1362
+ status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted" | undefined;
1363
1363
  limit?: number | undefined;
1364
1364
  account?: string | undefined;
1365
1365
  contentType?: "text" | "wip" | "zip" | "wts" | undefined;
@@ -1400,7 +1400,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1400
1400
  }, {
1401
1401
  operation: "watch_messages";
1402
1402
  filter?: {
1403
- status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | undefined;
1403
+ status?: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted" | undefined;
1404
1404
  limit?: number | undefined;
1405
1405
  account?: string | undefined;
1406
1406
  contentType?: "text" | "wip" | "zip" | "wts" | undefined;
@@ -1451,7 +1451,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1451
1451
  passportAddress: z.ZodOptional<z.ZodString>;
1452
1452
  lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
1453
1453
  direction: z.ZodEnum<["sent", "received"]>;
1454
- status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
1454
+ status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
1455
1455
  msgType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<3>]>;
1456
1456
  leafIndex: z.ZodOptional<z.ZodNumber>;
1457
1457
  prevRoot: z.ZodOptional<z.ZodString>;
@@ -1501,7 +1501,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1501
1501
  }>>;
1502
1502
  proof: z.ZodOptional<z.ZodString>;
1503
1503
  }, "strip", z.ZodTypeAny, {
1504
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
1504
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
1505
1505
  createdAt: number;
1506
1506
  messageId: string;
1507
1507
  fromAddress: string;
@@ -1536,7 +1536,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1536
1536
  downloadedAt?: number | undefined;
1537
1537
  } | undefined;
1538
1538
  }, {
1539
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
1539
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
1540
1540
  createdAt: number;
1541
1541
  messageId: string;
1542
1542
  fromAddress: string;
@@ -1576,7 +1576,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1576
1576
  operation: "extract_zip_messages";
1577
1577
  outputDir: string;
1578
1578
  messages: (string | {
1579
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
1579
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
1580
1580
  createdAt: number;
1581
1581
  messageId: string;
1582
1582
  fromAddress: string;
@@ -1616,7 +1616,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1616
1616
  operation: "extract_zip_messages";
1617
1617
  outputDir: string;
1618
1618
  messages: (string | {
1619
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
1619
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
1620
1620
  createdAt: number;
1621
1621
  messageId: string;
1622
1622
  fromAddress: string;
@@ -2427,7 +2427,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2427
2427
  operation: z.ZodLiteral<"send_message">;
2428
2428
  result: z.ZodObject<{
2429
2429
  messageId: z.ZodString;
2430
- status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
2430
+ status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
2431
2431
  merkleData: z.ZodOptional<z.ZodObject<{
2432
2432
  leafIndex: z.ZodNumber;
2433
2433
  prevRoot: z.ZodString;
@@ -2452,7 +2452,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2452
2452
  }>>;
2453
2453
  guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2454
2454
  }, "strip", z.ZodTypeAny, {
2455
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2455
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2456
2456
  messageId: string;
2457
2457
  merkleData?: {
2458
2458
  serverTimestamp: number;
@@ -2464,7 +2464,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2464
2464
  } | undefined;
2465
2465
  guardList?: string[] | undefined;
2466
2466
  }, {
2467
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2467
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2468
2468
  messageId: string;
2469
2469
  merkleData?: {
2470
2470
  serverTimestamp: number;
@@ -2478,7 +2478,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2478
2478
  }>;
2479
2479
  }, "strip", z.ZodTypeAny, {
2480
2480
  result: {
2481
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2481
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2482
2482
  messageId: string;
2483
2483
  merkleData?: {
2484
2484
  serverTimestamp: number;
@@ -2493,7 +2493,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2493
2493
  operation: "send_message";
2494
2494
  }, {
2495
2495
  result: {
2496
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2496
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2497
2497
  messageId: string;
2498
2498
  merkleData?: {
2499
2499
  serverTimestamp: number;
@@ -2510,7 +2510,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2510
2510
  operation: z.ZodLiteral<"send_file">;
2511
2511
  result: z.ZodObject<{
2512
2512
  messageId: z.ZodString;
2513
- status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
2513
+ status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
2514
2514
  merkleData: z.ZodOptional<z.ZodObject<{
2515
2515
  leafIndex: z.ZodNumber;
2516
2516
  prevRoot: z.ZodString;
@@ -2535,7 +2535,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2535
2535
  }>>;
2536
2536
  guardList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2537
2537
  }, "strip", z.ZodTypeAny, {
2538
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2538
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2539
2539
  messageId: string;
2540
2540
  merkleData?: {
2541
2541
  serverTimestamp: number;
@@ -2547,7 +2547,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2547
2547
  } | undefined;
2548
2548
  guardList?: string[] | undefined;
2549
2549
  }, {
2550
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2550
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2551
2551
  messageId: string;
2552
2552
  merkleData?: {
2553
2553
  serverTimestamp: number;
@@ -2561,7 +2561,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2561
2561
  }>;
2562
2562
  }, "strip", z.ZodTypeAny, {
2563
2563
  result: {
2564
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2564
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2565
2565
  messageId: string;
2566
2566
  merkleData?: {
2567
2567
  serverTimestamp: number;
@@ -2576,7 +2576,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2576
2576
  operation: "send_file";
2577
2577
  }, {
2578
2578
  result: {
2579
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2579
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2580
2580
  messageId: string;
2581
2581
  merkleData?: {
2582
2582
  serverTimestamp: number;
@@ -2601,7 +2601,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2601
2601
  passportAddress: z.ZodOptional<z.ZodString>;
2602
2602
  lastReceivedLeafIndex: z.ZodOptional<z.ZodNumber>;
2603
2603
  direction: z.ZodEnum<["sent", "received"]>;
2604
- status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected"]>;
2604
+ status: z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted"]>;
2605
2605
  msgType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<3>]>;
2606
2606
  leafIndex: z.ZodOptional<z.ZodNumber>;
2607
2607
  prevRoot: z.ZodOptional<z.ZodString>;
@@ -2651,7 +2651,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2651
2651
  }>>;
2652
2652
  proof: z.ZodOptional<z.ZodString>;
2653
2653
  }, "strip", z.ZodTypeAny, {
2654
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2654
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2655
2655
  createdAt: number;
2656
2656
  messageId: string;
2657
2657
  fromAddress: string;
@@ -2686,7 +2686,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2686
2686
  downloadedAt?: number | undefined;
2687
2687
  } | undefined;
2688
2688
  }, {
2689
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2689
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2690
2690
  createdAt: number;
2691
2691
  messageId: string;
2692
2692
  fromAddress: string;
@@ -2723,7 +2723,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2723
2723
  }>, "many">;
2724
2724
  }, "strip", z.ZodTypeAny, {
2725
2725
  result: {
2726
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2726
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2727
2727
  createdAt: number;
2728
2728
  messageId: string;
2729
2729
  fromAddress: string;
@@ -2761,7 +2761,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2761
2761
  operation: "watch_messages";
2762
2762
  }, {
2763
2763
  result: {
2764
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
2764
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
2765
2765
  createdAt: number;
2766
2766
  messageId: string;
2767
2767
  fromAddress: string;
@@ -2974,8 +2974,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2974
2974
  modifiedCount: z.ZodNumber;
2975
2975
  currentCount: z.ZodNumber;
2976
2976
  maxCount: z.ZodNumber;
2977
- invalidAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2978
- existResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
2977
+ invalidAddresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2978
+ existResults: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2979
2979
  address: z.ZodString;
2980
2980
  exists: z.ZodBoolean;
2981
2981
  }, "strip", z.ZodTypeAny, {
@@ -2984,10 +2984,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2984
2984
  }, {
2985
2985
  address: string;
2986
2986
  exists: boolean;
2987
- }>, "many">>;
2988
- message: z.ZodOptional<z.ZodString>;
2989
- currentList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2990
- currentGuardList: z.ZodOptional<z.ZodArray<z.ZodObject<{
2987
+ }>, "many">>>;
2988
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2989
+ currentList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2990
+ currentGuardList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2991
2991
  guardAddress: z.ZodString;
2992
2992
  passportValiditySeconds: z.ZodNumber;
2993
2993
  }, "strip", z.ZodTypeAny, {
@@ -2996,41 +2996,41 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
2996
2996
  }, {
2997
2997
  guardAddress: string;
2998
2998
  passportValiditySeconds: number;
2999
- }>, "many">>;
2999
+ }>, "many">>>;
3000
3000
  }, "strip", z.ZodTypeAny, {
3001
3001
  success: boolean;
3002
3002
  operation: string;
3003
3003
  modifiedCount: number;
3004
3004
  currentCount: number;
3005
3005
  maxCount: number;
3006
- message?: string | undefined;
3007
- invalidAddresses?: string[] | undefined;
3006
+ message?: string | null | undefined;
3007
+ invalidAddresses?: string[] | null | undefined;
3008
3008
  existResults?: {
3009
3009
  address: string;
3010
3010
  exists: boolean;
3011
- }[] | undefined;
3012
- currentList?: string[] | undefined;
3011
+ }[] | null | undefined;
3012
+ currentList?: string[] | null | undefined;
3013
3013
  currentGuardList?: {
3014
3014
  guardAddress: string;
3015
3015
  passportValiditySeconds: number;
3016
- }[] | undefined;
3016
+ }[] | null | undefined;
3017
3017
  }, {
3018
3018
  success: boolean;
3019
3019
  operation: string;
3020
3020
  modifiedCount: number;
3021
3021
  currentCount: number;
3022
3022
  maxCount: number;
3023
- message?: string | undefined;
3024
- invalidAddresses?: string[] | undefined;
3023
+ message?: string | null | undefined;
3024
+ invalidAddresses?: string[] | null | undefined;
3025
3025
  existResults?: {
3026
3026
  address: string;
3027
3027
  exists: boolean;
3028
- }[] | undefined;
3029
- currentList?: string[] | undefined;
3028
+ }[] | null | undefined;
3029
+ currentList?: string[] | null | undefined;
3030
3030
  currentGuardList?: {
3031
3031
  guardAddress: string;
3032
3032
  passportValiditySeconds: number;
3033
- }[] | undefined;
3033
+ }[] | null | undefined;
3034
3034
  }>, z.ZodArray<z.ZodString, "many">]>;
3035
3035
  }, "strip", z.ZodTypeAny, {
3036
3036
  result: string[] | {
@@ -3039,17 +3039,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3039
3039
  modifiedCount: number;
3040
3040
  currentCount: number;
3041
3041
  maxCount: number;
3042
- message?: string | undefined;
3043
- invalidAddresses?: string[] | undefined;
3042
+ message?: string | null | undefined;
3043
+ invalidAddresses?: string[] | null | undefined;
3044
3044
  existResults?: {
3045
3045
  address: string;
3046
3046
  exists: boolean;
3047
- }[] | undefined;
3048
- currentList?: string[] | undefined;
3047
+ }[] | null | undefined;
3048
+ currentList?: string[] | null | undefined;
3049
3049
  currentGuardList?: {
3050
3050
  guardAddress: string;
3051
3051
  passportValiditySeconds: number;
3052
- }[] | undefined;
3052
+ }[] | null | undefined;
3053
3053
  };
3054
3054
  op: "get" | "add" | "remove" | "clear" | "exist";
3055
3055
  operation: "blacklist";
@@ -3060,17 +3060,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3060
3060
  modifiedCount: number;
3061
3061
  currentCount: number;
3062
3062
  maxCount: number;
3063
- message?: string | undefined;
3064
- invalidAddresses?: string[] | undefined;
3063
+ message?: string | null | undefined;
3064
+ invalidAddresses?: string[] | null | undefined;
3065
3065
  existResults?: {
3066
3066
  address: string;
3067
3067
  exists: boolean;
3068
- }[] | undefined;
3069
- currentList?: string[] | undefined;
3068
+ }[] | null | undefined;
3069
+ currentList?: string[] | null | undefined;
3070
3070
  currentGuardList?: {
3071
3071
  guardAddress: string;
3072
3072
  passportValiditySeconds: number;
3073
- }[] | undefined;
3073
+ }[] | null | undefined;
3074
3074
  };
3075
3075
  op: "get" | "add" | "remove" | "clear" | "exist";
3076
3076
  operation: "blacklist";
@@ -3083,8 +3083,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3083
3083
  modifiedCount: z.ZodNumber;
3084
3084
  currentCount: z.ZodNumber;
3085
3085
  maxCount: z.ZodNumber;
3086
- invalidAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3087
- existResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
3086
+ invalidAddresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3087
+ existResults: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3088
3088
  address: z.ZodString;
3089
3089
  exists: z.ZodBoolean;
3090
3090
  }, "strip", z.ZodTypeAny, {
@@ -3093,10 +3093,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3093
3093
  }, {
3094
3094
  address: string;
3095
3095
  exists: boolean;
3096
- }>, "many">>;
3097
- message: z.ZodOptional<z.ZodString>;
3098
- currentList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3099
- currentGuardList: z.ZodOptional<z.ZodArray<z.ZodObject<{
3096
+ }>, "many">>>;
3097
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3098
+ currentList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3099
+ currentGuardList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3100
3100
  guardAddress: z.ZodString;
3101
3101
  passportValiditySeconds: z.ZodNumber;
3102
3102
  }, "strip", z.ZodTypeAny, {
@@ -3105,41 +3105,41 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3105
3105
  }, {
3106
3106
  guardAddress: string;
3107
3107
  passportValiditySeconds: number;
3108
- }>, "many">>;
3108
+ }>, "many">>>;
3109
3109
  }, "strip", z.ZodTypeAny, {
3110
3110
  success: boolean;
3111
3111
  operation: string;
3112
3112
  modifiedCount: number;
3113
3113
  currentCount: number;
3114
3114
  maxCount: number;
3115
- message?: string | undefined;
3116
- invalidAddresses?: string[] | undefined;
3115
+ message?: string | null | undefined;
3116
+ invalidAddresses?: string[] | null | undefined;
3117
3117
  existResults?: {
3118
3118
  address: string;
3119
3119
  exists: boolean;
3120
- }[] | undefined;
3121
- currentList?: string[] | undefined;
3120
+ }[] | null | undefined;
3121
+ currentList?: string[] | null | undefined;
3122
3122
  currentGuardList?: {
3123
3123
  guardAddress: string;
3124
3124
  passportValiditySeconds: number;
3125
- }[] | undefined;
3125
+ }[] | null | undefined;
3126
3126
  }, {
3127
3127
  success: boolean;
3128
3128
  operation: string;
3129
3129
  modifiedCount: number;
3130
3130
  currentCount: number;
3131
3131
  maxCount: number;
3132
- message?: string | undefined;
3133
- invalidAddresses?: string[] | undefined;
3132
+ message?: string | null | undefined;
3133
+ invalidAddresses?: string[] | null | undefined;
3134
3134
  existResults?: {
3135
3135
  address: string;
3136
3136
  exists: boolean;
3137
- }[] | undefined;
3138
- currentList?: string[] | undefined;
3137
+ }[] | null | undefined;
3138
+ currentList?: string[] | null | undefined;
3139
3139
  currentGuardList?: {
3140
3140
  guardAddress: string;
3141
3141
  passportValiditySeconds: number;
3142
- }[] | undefined;
3142
+ }[] | null | undefined;
3143
3143
  }>, z.ZodArray<z.ZodString, "many">]>;
3144
3144
  }, "strip", z.ZodTypeAny, {
3145
3145
  result: string[] | {
@@ -3148,17 +3148,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3148
3148
  modifiedCount: number;
3149
3149
  currentCount: number;
3150
3150
  maxCount: number;
3151
- message?: string | undefined;
3152
- invalidAddresses?: string[] | undefined;
3151
+ message?: string | null | undefined;
3152
+ invalidAddresses?: string[] | null | undefined;
3153
3153
  existResults?: {
3154
3154
  address: string;
3155
3155
  exists: boolean;
3156
- }[] | undefined;
3157
- currentList?: string[] | undefined;
3156
+ }[] | null | undefined;
3157
+ currentList?: string[] | null | undefined;
3158
3158
  currentGuardList?: {
3159
3159
  guardAddress: string;
3160
3160
  passportValiditySeconds: number;
3161
- }[] | undefined;
3161
+ }[] | null | undefined;
3162
3162
  };
3163
3163
  op: "get" | "add" | "remove" | "clear" | "exist";
3164
3164
  operation: "friendslist";
@@ -3169,17 +3169,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3169
3169
  modifiedCount: number;
3170
3170
  currentCount: number;
3171
3171
  maxCount: number;
3172
- message?: string | undefined;
3173
- invalidAddresses?: string[] | undefined;
3172
+ message?: string | null | undefined;
3173
+ invalidAddresses?: string[] | null | undefined;
3174
3174
  existResults?: {
3175
3175
  address: string;
3176
3176
  exists: boolean;
3177
- }[] | undefined;
3178
- currentList?: string[] | undefined;
3177
+ }[] | null | undefined;
3178
+ currentList?: string[] | null | undefined;
3179
3179
  currentGuardList?: {
3180
3180
  guardAddress: string;
3181
3181
  passportValiditySeconds: number;
3182
- }[] | undefined;
3182
+ }[] | null | undefined;
3183
3183
  };
3184
3184
  op: "get" | "add" | "remove" | "clear" | "exist";
3185
3185
  operation: "friendslist";
@@ -3192,8 +3192,8 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3192
3192
  modifiedCount: z.ZodNumber;
3193
3193
  currentCount: z.ZodNumber;
3194
3194
  maxCount: z.ZodNumber;
3195
- invalidAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3196
- existResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
3195
+ invalidAddresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3196
+ existResults: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3197
3197
  address: z.ZodString;
3198
3198
  exists: z.ZodBoolean;
3199
3199
  }, "strip", z.ZodTypeAny, {
@@ -3202,10 +3202,10 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3202
3202
  }, {
3203
3203
  address: string;
3204
3204
  exists: boolean;
3205
- }>, "many">>;
3206
- message: z.ZodOptional<z.ZodString>;
3207
- currentList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3208
- currentGuardList: z.ZodOptional<z.ZodArray<z.ZodObject<{
3205
+ }>, "many">>>;
3206
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3207
+ currentList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3208
+ currentGuardList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3209
3209
  guardAddress: z.ZodString;
3210
3210
  passportValiditySeconds: z.ZodNumber;
3211
3211
  }, "strip", z.ZodTypeAny, {
@@ -3214,41 +3214,41 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3214
3214
  }, {
3215
3215
  guardAddress: string;
3216
3216
  passportValiditySeconds: number;
3217
- }>, "many">>;
3217
+ }>, "many">>>;
3218
3218
  }, "strip", z.ZodTypeAny, {
3219
3219
  success: boolean;
3220
3220
  operation: string;
3221
3221
  modifiedCount: number;
3222
3222
  currentCount: number;
3223
3223
  maxCount: number;
3224
- message?: string | undefined;
3225
- invalidAddresses?: string[] | undefined;
3224
+ message?: string | null | undefined;
3225
+ invalidAddresses?: string[] | null | undefined;
3226
3226
  existResults?: {
3227
3227
  address: string;
3228
3228
  exists: boolean;
3229
- }[] | undefined;
3230
- currentList?: string[] | undefined;
3229
+ }[] | null | undefined;
3230
+ currentList?: string[] | null | undefined;
3231
3231
  currentGuardList?: {
3232
3232
  guardAddress: string;
3233
3233
  passportValiditySeconds: number;
3234
- }[] | undefined;
3234
+ }[] | null | undefined;
3235
3235
  }, {
3236
3236
  success: boolean;
3237
3237
  operation: string;
3238
3238
  modifiedCount: number;
3239
3239
  currentCount: number;
3240
3240
  maxCount: number;
3241
- message?: string | undefined;
3242
- invalidAddresses?: string[] | undefined;
3241
+ message?: string | null | undefined;
3242
+ invalidAddresses?: string[] | null | undefined;
3243
3243
  existResults?: {
3244
3244
  address: string;
3245
3245
  exists: boolean;
3246
- }[] | undefined;
3247
- currentList?: string[] | undefined;
3246
+ }[] | null | undefined;
3247
+ currentList?: string[] | null | undefined;
3248
3248
  currentGuardList?: {
3249
3249
  guardAddress: string;
3250
3250
  passportValiditySeconds: number;
3251
- }[] | undefined;
3251
+ }[] | null | undefined;
3252
3252
  }>;
3253
3253
  }, "strip", z.ZodTypeAny, {
3254
3254
  result: {
@@ -3257,17 +3257,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3257
3257
  modifiedCount: number;
3258
3258
  currentCount: number;
3259
3259
  maxCount: number;
3260
- message?: string | undefined;
3261
- invalidAddresses?: string[] | undefined;
3260
+ message?: string | null | undefined;
3261
+ invalidAddresses?: string[] | null | undefined;
3262
3262
  existResults?: {
3263
3263
  address: string;
3264
3264
  exists: boolean;
3265
- }[] | undefined;
3266
- currentList?: string[] | undefined;
3265
+ }[] | null | undefined;
3266
+ currentList?: string[] | null | undefined;
3267
3267
  currentGuardList?: {
3268
3268
  guardAddress: string;
3269
3269
  passportValiditySeconds: number;
3270
- }[] | undefined;
3270
+ }[] | null | undefined;
3271
3271
  };
3272
3272
  op: "get" | "add" | "remove";
3273
3273
  operation: "guardlist";
@@ -3278,17 +3278,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3278
3278
  modifiedCount: number;
3279
3279
  currentCount: number;
3280
3280
  maxCount: number;
3281
- message?: string | undefined;
3282
- invalidAddresses?: string[] | undefined;
3281
+ message?: string | null | undefined;
3282
+ invalidAddresses?: string[] | null | undefined;
3283
3283
  existResults?: {
3284
3284
  address: string;
3285
3285
  exists: boolean;
3286
- }[] | undefined;
3287
- currentList?: string[] | undefined;
3286
+ }[] | null | undefined;
3287
+ currentList?: string[] | null | undefined;
3288
3288
  currentGuardList?: {
3289
3289
  guardAddress: string;
3290
3290
  passportValiditySeconds: number;
3291
- }[] | undefined;
3291
+ }[] | null | undefined;
3292
3292
  };
3293
3293
  op: "get" | "add" | "remove";
3294
3294
  operation: "guardlist";
@@ -3305,7 +3305,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3305
3305
  operation: "watch_conversations";
3306
3306
  } | {
3307
3307
  result: {
3308
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
3308
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
3309
3309
  messageId: string;
3310
3310
  merkleData?: {
3311
3311
  serverTimestamp: number;
@@ -3320,7 +3320,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3320
3320
  operation: "send_message";
3321
3321
  } | {
3322
3322
  result: {
3323
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
3323
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
3324
3324
  messageId: string;
3325
3325
  merkleData?: {
3326
3326
  serverTimestamp: number;
@@ -3335,7 +3335,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3335
3335
  operation: "send_file";
3336
3336
  } | {
3337
3337
  result: {
3338
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
3338
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
3339
3339
  createdAt: number;
3340
3340
  messageId: string;
3341
3341
  fromAddress: string;
@@ -3416,17 +3416,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3416
3416
  modifiedCount: number;
3417
3417
  currentCount: number;
3418
3418
  maxCount: number;
3419
- message?: string | undefined;
3420
- invalidAddresses?: string[] | undefined;
3419
+ message?: string | null | undefined;
3420
+ invalidAddresses?: string[] | null | undefined;
3421
3421
  existResults?: {
3422
3422
  address: string;
3423
3423
  exists: boolean;
3424
- }[] | undefined;
3425
- currentList?: string[] | undefined;
3424
+ }[] | null | undefined;
3425
+ currentList?: string[] | null | undefined;
3426
3426
  currentGuardList?: {
3427
3427
  guardAddress: string;
3428
3428
  passportValiditySeconds: number;
3429
- }[] | undefined;
3429
+ }[] | null | undefined;
3430
3430
  };
3431
3431
  op: "get" | "add" | "remove" | "clear" | "exist";
3432
3432
  operation: "blacklist";
@@ -3437,17 +3437,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3437
3437
  modifiedCount: number;
3438
3438
  currentCount: number;
3439
3439
  maxCount: number;
3440
- message?: string | undefined;
3441
- invalidAddresses?: string[] | undefined;
3440
+ message?: string | null | undefined;
3441
+ invalidAddresses?: string[] | null | undefined;
3442
3442
  existResults?: {
3443
3443
  address: string;
3444
3444
  exists: boolean;
3445
- }[] | undefined;
3446
- currentList?: string[] | undefined;
3445
+ }[] | null | undefined;
3446
+ currentList?: string[] | null | undefined;
3447
3447
  currentGuardList?: {
3448
3448
  guardAddress: string;
3449
3449
  passportValiditySeconds: number;
3450
- }[] | undefined;
3450
+ }[] | null | undefined;
3451
3451
  };
3452
3452
  op: "get" | "add" | "remove" | "clear" | "exist";
3453
3453
  operation: "friendslist";
@@ -3458,17 +3458,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3458
3458
  modifiedCount: number;
3459
3459
  currentCount: number;
3460
3460
  maxCount: number;
3461
- message?: string | undefined;
3462
- invalidAddresses?: string[] | undefined;
3461
+ message?: string | null | undefined;
3462
+ invalidAddresses?: string[] | null | undefined;
3463
3463
  existResults?: {
3464
3464
  address: string;
3465
3465
  exists: boolean;
3466
- }[] | undefined;
3467
- currentList?: string[] | undefined;
3466
+ }[] | null | undefined;
3467
+ currentList?: string[] | null | undefined;
3468
3468
  currentGuardList?: {
3469
3469
  guardAddress: string;
3470
3470
  passportValiditySeconds: number;
3471
- }[] | undefined;
3471
+ }[] | null | undefined;
3472
3472
  };
3473
3473
  op: "get" | "add" | "remove";
3474
3474
  operation: "guardlist";
@@ -3485,7 +3485,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3485
3485
  operation: "watch_conversations";
3486
3486
  } | {
3487
3487
  result: {
3488
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
3488
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
3489
3489
  messageId: string;
3490
3490
  merkleData?: {
3491
3491
  serverTimestamp: number;
@@ -3500,7 +3500,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3500
3500
  operation: "send_message";
3501
3501
  } | {
3502
3502
  result: {
3503
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
3503
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
3504
3504
  messageId: string;
3505
3505
  merkleData?: {
3506
3506
  serverTimestamp: number;
@@ -3515,7 +3515,7 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3515
3515
  operation: "send_file";
3516
3516
  } | {
3517
3517
  result: {
3518
- status: "pending" | "confirmed" | "read" | "failed" | "rejected";
3518
+ status: "pending" | "confirmed" | "read" | "failed" | "rejected" | "decrypted";
3519
3519
  createdAt: number;
3520
3520
  messageId: string;
3521
3521
  fromAddress: string;
@@ -3596,17 +3596,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3596
3596
  modifiedCount: number;
3597
3597
  currentCount: number;
3598
3598
  maxCount: number;
3599
- message?: string | undefined;
3600
- invalidAddresses?: string[] | undefined;
3599
+ message?: string | null | undefined;
3600
+ invalidAddresses?: string[] | null | undefined;
3601
3601
  existResults?: {
3602
3602
  address: string;
3603
3603
  exists: boolean;
3604
- }[] | undefined;
3605
- currentList?: string[] | undefined;
3604
+ }[] | null | undefined;
3605
+ currentList?: string[] | null | undefined;
3606
3606
  currentGuardList?: {
3607
3607
  guardAddress: string;
3608
3608
  passportValiditySeconds: number;
3609
- }[] | undefined;
3609
+ }[] | null | undefined;
3610
3610
  };
3611
3611
  op: "get" | "add" | "remove" | "clear" | "exist";
3612
3612
  operation: "blacklist";
@@ -3617,17 +3617,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3617
3617
  modifiedCount: number;
3618
3618
  currentCount: number;
3619
3619
  maxCount: number;
3620
- message?: string | undefined;
3621
- invalidAddresses?: string[] | undefined;
3620
+ message?: string | null | undefined;
3621
+ invalidAddresses?: string[] | null | undefined;
3622
3622
  existResults?: {
3623
3623
  address: string;
3624
3624
  exists: boolean;
3625
- }[] | undefined;
3626
- currentList?: string[] | undefined;
3625
+ }[] | null | undefined;
3626
+ currentList?: string[] | null | undefined;
3627
3627
  currentGuardList?: {
3628
3628
  guardAddress: string;
3629
3629
  passportValiditySeconds: number;
3630
- }[] | undefined;
3630
+ }[] | null | undefined;
3631
3631
  };
3632
3632
  op: "get" | "add" | "remove" | "clear" | "exist";
3633
3633
  operation: "friendslist";
@@ -3638,17 +3638,17 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3638
3638
  modifiedCount: number;
3639
3639
  currentCount: number;
3640
3640
  maxCount: number;
3641
- message?: string | undefined;
3642
- invalidAddresses?: string[] | undefined;
3641
+ message?: string | null | undefined;
3642
+ invalidAddresses?: string[] | null | undefined;
3643
3643
  existResults?: {
3644
3644
  address: string;
3645
3645
  exists: boolean;
3646
- }[] | undefined;
3647
- currentList?: string[] | undefined;
3646
+ }[] | null | undefined;
3647
+ currentList?: string[] | null | undefined;
3648
3648
  currentGuardList?: {
3649
3649
  guardAddress: string;
3650
3650
  passportValiditySeconds: number;
3651
- }[] | undefined;
3651
+ }[] | null | undefined;
3652
3652
  };
3653
3653
  op: "get" | "add" | "remove";
3654
3654
  operation: "guardlist";
@@ -4,7 +4,7 @@ import { NameOrAddressSchema, EntrypointSchema, ManyAccountOrMark_AddressSchema,
4
4
  // Messenger Schema Definitions (strictly based on messenger-api.ts and types.ts)
5
5
  // ============================================================
6
6
  // Enums from types.ts
7
- export const MessageStatusSchema = z.enum(["pending", "confirmed", "read", "failed", "rejected"]);
7
+ export const MessageStatusSchema = z.enum(["pending", "confirmed", "read", "failed", "rejected", "decrypted"]);
8
8
  export const MessageDirectionSchema = z.enum(["sent", "received"]);
9
9
  export const MessageTypeSchema = z.union([z.literal(1), z.literal(3)]);
10
10
  export const MessageContentTypeSchema = z.enum(["text", "zip", "wts", "wip"]);
@@ -202,11 +202,11 @@ export const ListOperationResponseSchema = z.object({
202
202
  modifiedCount: z.number().describe("Number of items modified"),
203
203
  currentCount: z.number().describe("Current list size"),
204
204
  maxCount: z.number().describe("Maximum list size"),
205
- invalidAddresses: z.array(z.string()).optional().describe("Invalid addresses"),
206
- existResults: z.array(AddressExistenceSchema).optional().describe("Existence check results"),
207
- message: z.string().optional().describe("Operation message"),
208
- currentList: z.array(z.string()).optional().describe("Current list content"),
209
- currentGuardList: z.array(GuardListItemSchema).optional().describe("Current guard list content"),
205
+ invalidAddresses: z.array(z.string()).optional().nullable().describe("Invalid addresses"),
206
+ existResults: z.array(AddressExistenceSchema).optional().nullable().describe("Existence check results"),
207
+ message: z.string().optional().nullable().describe("Operation message"),
208
+ currentList: z.array(z.string()).optional().nullable().describe("Current list content"),
209
+ currentGuardList: z.array(GuardListItemSchema).optional().nullable().describe("Current guard list content"),
210
210
  }).describe("List operation response");
211
211
  // Blacklist Operations
212
212
  export const BlacklistOperationSchema = z.discriminatedUnion("op", [
@@ -46959,13 +46959,13 @@ export declare const LocalQueryResultSchema: z.ZodUnion<[z.ZodObject<{
46959
46959
  suspended: z.ZodOptional<z.ZodBoolean>;
46960
46960
  createdAt: z.ZodOptional<z.ZodNumber>;
46961
46961
  updatedAt: z.ZodOptional<z.ZodNumber>;
46962
- m: z.ZodOptional<z.ZodString>;
46962
+ m: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46963
46963
  }, "strip", z.ZodTypeAny, {
46964
46964
  address: string;
46965
46965
  name?: string | undefined;
46966
46966
  createdAt?: number | undefined;
46967
46967
  updatedAt?: number | undefined;
46968
- m?: string | undefined;
46968
+ m?: string | null | undefined;
46969
46969
  suspended?: boolean | undefined;
46970
46970
  pubkey?: string | undefined;
46971
46971
  secret?: string | undefined;
@@ -46974,7 +46974,7 @@ export declare const LocalQueryResultSchema: z.ZodUnion<[z.ZodObject<{
46974
46974
  name?: string | undefined;
46975
46975
  createdAt?: number | undefined;
46976
46976
  updatedAt?: number | undefined;
46977
- m?: string | undefined;
46977
+ m?: string | null | undefined;
46978
46978
  suspended?: boolean | undefined;
46979
46979
  pubkey?: string | undefined;
46980
46980
  secret?: string | undefined;
@@ -46985,7 +46985,7 @@ export declare const LocalQueryResultSchema: z.ZodUnion<[z.ZodObject<{
46985
46985
  name?: string | undefined;
46986
46986
  createdAt?: number | undefined;
46987
46987
  updatedAt?: number | undefined;
46988
- m?: string | undefined;
46988
+ m?: string | null | undefined;
46989
46989
  suspended?: boolean | undefined;
46990
46990
  pubkey?: string | undefined;
46991
46991
  secret?: string | undefined;
@@ -46997,7 +46997,7 @@ export declare const LocalQueryResultSchema: z.ZodUnion<[z.ZodObject<{
46997
46997
  name?: string | undefined;
46998
46998
  createdAt?: number | undefined;
46999
46999
  updatedAt?: number | undefined;
47000
- m?: string | undefined;
47000
+ m?: string | null | undefined;
47001
47001
  suspended?: boolean | undefined;
47002
47002
  pubkey?: string | undefined;
47003
47003
  secret?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wowok_agent",
3
- "version": "2.1.17",
3
+ "version": "2.1.19",
4
4
  "description": "Making It Easy for Agents to Communicate, Collaborate, Trade, and Trust.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@modelcontextprotocol/sdk": "^1.29.0",
32
32
  "lodash": "^4.18.1",
33
- "wowok": "2.1.17",
33
+ "wowok": "2.1.19",
34
34
  "zod": "^3.25.76"
35
35
  },
36
36
  "devDependencies": {