wowok_agent 2.1.21 → 2.1.23

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.
@@ -491,18 +491,18 @@ export const AccountOperationSchema = z
491
491
  rename: z
492
492
  .object({
493
493
  name_or_address: NameOrAddressSchema.optional()
494
- .describe("Account name or address. Use empty string '' for the default account. Defaults to '' if omitted."),
494
+ .describe(`Source account name or address. Use empty string '' for the default account. Defaults to '' if omitted. Can be a name or address.`),
495
495
  new_name: NameSchema
496
- .describe(`New account name (max ${AccountConstraints.nameMaxLength} characters)`),
496
+ .describe(`New account name (max ${AccountConstraints.nameMaxLength} characters). Must be a name (not an address).`),
497
497
  })
498
498
  .optional()
499
- .describe("Rename account; throws error if new name already exists"),
499
+ .describe("Rename account. name_or_address can be name or address, new_name must be a name."),
500
500
  swap_name: z
501
501
  .object({
502
- name_or_address1: NameOrAddressSchema.optional()
503
- .describe("First account name or address. Use empty string '' for the default account."),
504
- name_or_address2: NameOrAddressSchema.optional()
505
- .describe("Second account name or address. Use empty string '' for the default account."),
502
+ name1: NameSchema.optional()
503
+ .describe("First account name. Use empty string '' for the default account."),
504
+ name2: NameSchema.optional()
505
+ .describe("Second account name. Use empty string '' for the default account."),
506
506
  })
507
507
  .optional()
508
508
  .describe("Swap the names of two accounts"),
@@ -616,7 +616,7 @@ export const AccountOperationResultSchema = z
616
616
  rename: z
617
617
  .object({
618
618
  name_or_address: NameOrAddressSchema.optional()
619
- .describe("Account name or address that was renamed"),
619
+ .describe("Source account name or address that was renamed"),
620
620
  new_name: NameSchema.describe("New account name"),
621
621
  success: z
622
622
  .boolean()
@@ -626,17 +626,17 @@ export const AccountOperationResultSchema = z
626
626
  .describe("Result of renaming account"),
627
627
  swap_name: z
628
628
  .object({
629
- name_or_address1: NameOrAddressSchema.optional()
630
- .describe("First account name or address"),
631
- name_or_address2: NameOrAddressSchema.optional()
632
- .describe("Second account name or address"),
629
+ name1: NameSchema.optional()
630
+ .describe("First account name"),
631
+ name2: NameSchema.optional()
632
+ .describe("Second account name"),
633
633
  success: z
634
634
  .boolean()
635
635
  .describe("True if swap was successful, false if either account not found"),
636
636
  })
637
637
  .optional()
638
638
  .describe("Result of swapping account names"),
639
- transfer: WowTransactionBlockSchema.optional().describe("Result of token transfer transaction"),
639
+ transfer: WowTransactionBlockResponseSchema.optional().describe("Result of token transfer transaction"),
640
640
  get: z
641
641
  .object({
642
642
  coin_address: z
@@ -1125,19 +1125,19 @@ export declare const SettingsOperationSchema: z.ZodDiscriminatedUnion<"op", [z.Z
1125
1125
  export declare const GetSettingsResponseSchema: z.ZodObject<{
1126
1126
  allowStrangerMessages: z.ZodOptional<z.ZodBoolean>;
1127
1127
  maxInboxSize: z.ZodOptional<z.ZodNumber>;
1128
- serverMinInboxSizeLimit: z.ZodNumber;
1129
- serverMaxInboxSizeLimit: z.ZodNumber;
1130
- serverDefaultAllowStrangerMessages: z.ZodBoolean;
1128
+ minUserInboxSize: z.ZodNumber;
1129
+ maxUserInboxSize: z.ZodNumber;
1130
+ defaultAllowStrangerMessages: z.ZodBoolean;
1131
1131
  }, "strip", z.ZodTypeAny, {
1132
- serverMinInboxSizeLimit: number;
1133
- serverMaxInboxSizeLimit: number;
1134
- serverDefaultAllowStrangerMessages: boolean;
1132
+ minUserInboxSize: number;
1133
+ maxUserInboxSize: number;
1134
+ defaultAllowStrangerMessages: boolean;
1135
1135
  allowStrangerMessages?: boolean | undefined;
1136
1136
  maxInboxSize?: number | undefined;
1137
1137
  }, {
1138
- serverMinInboxSizeLimit: number;
1139
- serverMaxInboxSizeLimit: number;
1140
- serverDefaultAllowStrangerMessages: boolean;
1138
+ minUserInboxSize: number;
1139
+ maxUserInboxSize: number;
1140
+ defaultAllowStrangerMessages: boolean;
1141
1141
  allowStrangerMessages?: boolean | undefined;
1142
1142
  maxInboxSize?: number | undefined;
1143
1143
  }>;
@@ -3432,27 +3432,27 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3432
3432
  result: z.ZodUnion<[z.ZodObject<{
3433
3433
  allowStrangerMessages: z.ZodOptional<z.ZodBoolean>;
3434
3434
  maxInboxSize: z.ZodOptional<z.ZodNumber>;
3435
- serverMinInboxSizeLimit: z.ZodNumber;
3436
- serverMaxInboxSizeLimit: z.ZodNumber;
3437
- serverDefaultAllowStrangerMessages: z.ZodBoolean;
3435
+ minUserInboxSize: z.ZodNumber;
3436
+ maxUserInboxSize: z.ZodNumber;
3437
+ defaultAllowStrangerMessages: z.ZodBoolean;
3438
3438
  }, "strip", z.ZodTypeAny, {
3439
- serverMinInboxSizeLimit: number;
3440
- serverMaxInboxSizeLimit: number;
3441
- serverDefaultAllowStrangerMessages: boolean;
3439
+ minUserInboxSize: number;
3440
+ maxUserInboxSize: number;
3441
+ defaultAllowStrangerMessages: boolean;
3442
3442
  allowStrangerMessages?: boolean | undefined;
3443
3443
  maxInboxSize?: number | undefined;
3444
3444
  }, {
3445
- serverMinInboxSizeLimit: number;
3446
- serverMaxInboxSizeLimit: number;
3447
- serverDefaultAllowStrangerMessages: boolean;
3445
+ minUserInboxSize: number;
3446
+ maxUserInboxSize: number;
3447
+ defaultAllowStrangerMessages: boolean;
3448
3448
  allowStrangerMessages?: boolean | undefined;
3449
3449
  maxInboxSize?: number | undefined;
3450
3450
  }>, z.ZodBoolean]>;
3451
3451
  }, "strip", z.ZodTypeAny, {
3452
3452
  result: boolean | {
3453
- serverMinInboxSizeLimit: number;
3454
- serverMaxInboxSizeLimit: number;
3455
- serverDefaultAllowStrangerMessages: boolean;
3453
+ minUserInboxSize: number;
3454
+ maxUserInboxSize: number;
3455
+ defaultAllowStrangerMessages: boolean;
3456
3456
  allowStrangerMessages?: boolean | undefined;
3457
3457
  maxInboxSize?: number | undefined;
3458
3458
  };
@@ -3460,9 +3460,9 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3460
3460
  operation: "settings";
3461
3461
  }, {
3462
3462
  result: boolean | {
3463
- serverMinInboxSizeLimit: number;
3464
- serverMaxInboxSizeLimit: number;
3465
- serverDefaultAllowStrangerMessages: boolean;
3463
+ minUserInboxSize: number;
3464
+ maxUserInboxSize: number;
3465
+ defaultAllowStrangerMessages: boolean;
3466
3466
  allowStrangerMessages?: boolean | undefined;
3467
3467
  maxInboxSize?: number | undefined;
3468
3468
  };
@@ -3655,9 +3655,9 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3655
3655
  operation: "guardlist";
3656
3656
  } | {
3657
3657
  result: boolean | {
3658
- serverMinInboxSizeLimit: number;
3659
- serverMaxInboxSizeLimit: number;
3660
- serverDefaultAllowStrangerMessages: boolean;
3658
+ minUserInboxSize: number;
3659
+ maxUserInboxSize: number;
3660
+ defaultAllowStrangerMessages: boolean;
3661
3661
  allowStrangerMessages?: boolean | undefined;
3662
3662
  maxInboxSize?: number | undefined;
3663
3663
  };
@@ -3850,9 +3850,9 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
3850
3850
  operation: "guardlist";
3851
3851
  } | {
3852
3852
  result: boolean | {
3853
- serverMinInboxSizeLimit: number;
3854
- serverMaxInboxSizeLimit: number;
3855
- serverDefaultAllowStrangerMessages: boolean;
3853
+ minUserInboxSize: number;
3854
+ maxUserInboxSize: number;
3855
+ defaultAllowStrangerMessages: boolean;
3856
3856
  allowStrangerMessages?: boolean | undefined;
3857
3857
  maxInboxSize?: number | undefined;
3858
3858
  };
@@ -289,9 +289,9 @@ export const SettingsOperationSchema = z.discriminatedUnion("op", [
289
289
  export const GetSettingsResponseSchema = z.object({
290
290
  allowStrangerMessages: z.boolean().optional().describe("Whether messages from strangers are allowed"),
291
291
  maxInboxSize: z.number().optional().describe("Current maximum inbox size"),
292
- serverMinInboxSizeLimit: z.number().describe("Server minimum allowed inbox size limit"),
293
- serverMaxInboxSizeLimit: z.number().describe("Server maximum allowed inbox size limit"),
294
- serverDefaultAllowStrangerMessages: z.boolean().describe("Server default setting for allowing stranger messages"),
292
+ minUserInboxSize: z.number().describe("Server minimum allowed inbox size limit"),
293
+ maxUserInboxSize: z.number().describe("Server maximum allowed inbox size limit"),
294
+ defaultAllowStrangerMessages: z.boolean().describe("Server default setting for allowing stranger messages"),
295
295
  }).describe("Get settings response");
296
296
  // ============================================================
297
297
  // Input Schema (Discriminated Union by "operation")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wowok_agent",
3
- "version": "2.1.21",
3
+ "version": "2.1.23",
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.21",
33
+ "wowok": "2.1.23",
34
34
  "zod": "^3.25.76"
35
35
  },
36
36
  "devDependencies": {