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.
- package/dist/schema/local/index.d.ts +10922 -1250
- package/dist/schema/local/index.js +13 -13
- package/dist/schema/messenger/index.d.ts +30 -30
- package/dist/schema/messenger/index.js +3 -3
- package/package.json +2 -2
|
@@ -491,18 +491,18 @@ export const AccountOperationSchema = z
|
|
|
491
491
|
rename: z
|
|
492
492
|
.object({
|
|
493
493
|
name_or_address: NameOrAddressSchema.optional()
|
|
494
|
-
.describe(
|
|
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
|
|
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
|
-
|
|
503
|
-
.describe("First account name
|
|
504
|
-
|
|
505
|
-
.describe("Second account name
|
|
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("
|
|
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
|
-
|
|
630
|
-
.describe("First account name
|
|
631
|
-
|
|
632
|
-
.describe("Second account name
|
|
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:
|
|
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
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1128
|
+
minUserInboxSize: z.ZodNumber;
|
|
1129
|
+
maxUserInboxSize: z.ZodNumber;
|
|
1130
|
+
defaultAllowStrangerMessages: z.ZodBoolean;
|
|
1131
1131
|
}, "strip", z.ZodTypeAny, {
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1132
|
+
minUserInboxSize: number;
|
|
1133
|
+
maxUserInboxSize: number;
|
|
1134
|
+
defaultAllowStrangerMessages: boolean;
|
|
1135
1135
|
allowStrangerMessages?: boolean | undefined;
|
|
1136
1136
|
maxInboxSize?: number | undefined;
|
|
1137
1137
|
}, {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
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
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3435
|
+
minUserInboxSize: z.ZodNumber;
|
|
3436
|
+
maxUserInboxSize: z.ZodNumber;
|
|
3437
|
+
defaultAllowStrangerMessages: z.ZodBoolean;
|
|
3438
3438
|
}, "strip", z.ZodTypeAny, {
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3439
|
+
minUserInboxSize: number;
|
|
3440
|
+
maxUserInboxSize: number;
|
|
3441
|
+
defaultAllowStrangerMessages: boolean;
|
|
3442
3442
|
allowStrangerMessages?: boolean | undefined;
|
|
3443
3443
|
maxInboxSize?: number | undefined;
|
|
3444
3444
|
}, {
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
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
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
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
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
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
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
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
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
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
|
-
|
|
293
|
-
|
|
294
|
-
|
|
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.
|
|
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.
|
|
33
|
+
"wowok": "2.1.23",
|
|
34
34
|
"zod": "^3.25.76"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|