@wowok/agent-mcp 2.3.9 → 2.3.10
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.
|
@@ -16309,7 +16309,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
16309
16309
|
}>, "many">;
|
|
16310
16310
|
nextCursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
16311
16311
|
hasNextPage: z.ZodBoolean;
|
|
16312
|
-
cache_expire: z.ZodOptional<z.ZodUnion<[z.
|
|
16312
|
+
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
16313
16313
|
}, "strip", z.ZodTypeAny, {
|
|
16314
16314
|
hasNextPage: boolean;
|
|
16315
16315
|
nextCursor: string | null;
|
|
@@ -16322,7 +16322,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
16322
16322
|
type: string;
|
|
16323
16323
|
};
|
|
16324
16324
|
}[];
|
|
16325
|
-
cache_expire?:
|
|
16325
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
16326
16326
|
}, {
|
|
16327
16327
|
hasNextPage: boolean;
|
|
16328
16328
|
nextCursor: string | null;
|
|
@@ -16335,7 +16335,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
16335
16335
|
type: string;
|
|
16336
16336
|
};
|
|
16337
16337
|
}[];
|
|
16338
|
-
cache_expire?:
|
|
16338
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
16339
16339
|
}>, z.ZodUndefined]>;
|
|
16340
16340
|
}, "strip", z.ZodTypeAny, {
|
|
16341
16341
|
query_type: "onchain_table";
|
|
@@ -16351,7 +16351,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
16351
16351
|
type: string;
|
|
16352
16352
|
};
|
|
16353
16353
|
}[];
|
|
16354
|
-
cache_expire?:
|
|
16354
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
16355
16355
|
} | undefined;
|
|
16356
16356
|
}, {
|
|
16357
16357
|
query_type: "onchain_table";
|
|
@@ -16367,7 +16367,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
16367
16367
|
type: string;
|
|
16368
16368
|
};
|
|
16369
16369
|
}[];
|
|
16370
|
-
cache_expire?:
|
|
16370
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
16371
16371
|
} | undefined;
|
|
16372
16372
|
}>, z.ZodObject<{
|
|
16373
16373
|
query_type: z.ZodLiteral<"onchain_table_item_repository_data">;
|
|
@@ -22004,7 +22004,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
22004
22004
|
type: string;
|
|
22005
22005
|
};
|
|
22006
22006
|
}[];
|
|
22007
|
-
cache_expire?:
|
|
22007
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
22008
22008
|
} | undefined;
|
|
22009
22009
|
} | {
|
|
22010
22010
|
query_type: "onchain_table_item_repository_data";
|
|
@@ -23159,7 +23159,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
23159
23159
|
type: string;
|
|
23160
23160
|
};
|
|
23161
23161
|
}[];
|
|
23162
|
-
cache_expire?:
|
|
23162
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
23163
23163
|
} | undefined;
|
|
23164
23164
|
} | {
|
|
23165
23165
|
query_type: "onchain_table_item_repository_data";
|
|
@@ -34803,7 +34803,7 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
34803
34803
|
}>, "many">;
|
|
34804
34804
|
nextCursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
34805
34805
|
hasNextPage: z.ZodBoolean;
|
|
34806
|
-
cache_expire: z.ZodOptional<z.ZodUnion<[z.
|
|
34806
|
+
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
34807
34807
|
}, "strip", z.ZodTypeAny, {
|
|
34808
34808
|
hasNextPage: boolean;
|
|
34809
34809
|
nextCursor: string | null;
|
|
@@ -34816,7 +34816,7 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
34816
34816
|
type: string;
|
|
34817
34817
|
};
|
|
34818
34818
|
}[];
|
|
34819
|
-
cache_expire?:
|
|
34819
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
34820
34820
|
}, {
|
|
34821
34821
|
hasNextPage: boolean;
|
|
34822
34822
|
nextCursor: string | null;
|
|
@@ -34829,7 +34829,7 @@ export declare const TableAnswerSchema: z.ZodObject<{
|
|
|
34829
34829
|
type: string;
|
|
34830
34830
|
};
|
|
34831
34831
|
}[];
|
|
34832
|
-
cache_expire?:
|
|
34832
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
34833
34833
|
}>;
|
|
34834
34834
|
export declare const QueryTableItem_byAddressSchema: z.ZodObject<{
|
|
34835
34835
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -41424,7 +41424,7 @@ export declare const TableAnswerOrUndefinedSchema: z.ZodObject<{
|
|
|
41424
41424
|
}>, "many">;
|
|
41425
41425
|
nextCursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
41426
41426
|
hasNextPage: z.ZodBoolean;
|
|
41427
|
-
cache_expire: z.ZodOptional<z.ZodUnion<[z.
|
|
41427
|
+
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
41428
41428
|
}, "strip", z.ZodTypeAny, {
|
|
41429
41429
|
hasNextPage: boolean;
|
|
41430
41430
|
nextCursor: string | null;
|
|
@@ -41437,7 +41437,7 @@ export declare const TableAnswerOrUndefinedSchema: z.ZodObject<{
|
|
|
41437
41437
|
type: string;
|
|
41438
41438
|
};
|
|
41439
41439
|
}[];
|
|
41440
|
-
cache_expire?:
|
|
41440
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
41441
41441
|
}, {
|
|
41442
41442
|
hasNextPage: boolean;
|
|
41443
41443
|
nextCursor: string | null;
|
|
@@ -41450,7 +41450,7 @@ export declare const TableAnswerOrUndefinedSchema: z.ZodObject<{
|
|
|
41450
41450
|
type: string;
|
|
41451
41451
|
};
|
|
41452
41452
|
}[];
|
|
41453
|
-
cache_expire?:
|
|
41453
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
41454
41454
|
}>, z.ZodNull]>;
|
|
41455
41455
|
}, "strip", z.ZodTypeAny, {
|
|
41456
41456
|
result: {
|
|
@@ -41465,7 +41465,7 @@ export declare const TableAnswerOrUndefinedSchema: z.ZodObject<{
|
|
|
41465
41465
|
type: string;
|
|
41466
41466
|
};
|
|
41467
41467
|
}[];
|
|
41468
|
-
cache_expire?:
|
|
41468
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
41469
41469
|
} | null;
|
|
41470
41470
|
}, {
|
|
41471
41471
|
result: {
|
|
@@ -41480,7 +41480,7 @@ export declare const TableAnswerOrUndefinedSchema: z.ZodObject<{
|
|
|
41480
41480
|
type: string;
|
|
41481
41481
|
};
|
|
41482
41482
|
}[];
|
|
41483
|
-
cache_expire?:
|
|
41483
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
41484
41484
|
} | null;
|
|
41485
41485
|
}>;
|
|
41486
41486
|
export declare const QueryTableItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -67931,7 +67931,7 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<[z.ZodObject<{
|
|
|
67931
67931
|
}>, "many">;
|
|
67932
67932
|
nextCursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
67933
67933
|
hasNextPage: z.ZodBoolean;
|
|
67934
|
-
cache_expire: z.ZodOptional<z.ZodUnion<[z.
|
|
67934
|
+
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
67935
67935
|
}, "strip", z.ZodTypeAny, {
|
|
67936
67936
|
hasNextPage: boolean;
|
|
67937
67937
|
nextCursor: string | null;
|
|
@@ -67944,7 +67944,7 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<[z.ZodObject<{
|
|
|
67944
67944
|
type: string;
|
|
67945
67945
|
};
|
|
67946
67946
|
}[];
|
|
67947
|
-
cache_expire?:
|
|
67947
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
67948
67948
|
}, {
|
|
67949
67949
|
hasNextPage: boolean;
|
|
67950
67950
|
nextCursor: string | null;
|
|
@@ -67957,7 +67957,7 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<[z.ZodObject<{
|
|
|
67957
67957
|
type: string;
|
|
67958
67958
|
};
|
|
67959
67959
|
}[];
|
|
67960
|
-
cache_expire?:
|
|
67960
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
67961
67961
|
}>, z.ZodUndefined]>;
|
|
67962
67962
|
}, "strip", z.ZodTypeAny, {
|
|
67963
67963
|
query_type: "onchain_table";
|
|
@@ -67973,7 +67973,7 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<[z.ZodObject<{
|
|
|
67973
67973
|
type: string;
|
|
67974
67974
|
};
|
|
67975
67975
|
}[];
|
|
67976
|
-
cache_expire?:
|
|
67976
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
67977
67977
|
} | undefined;
|
|
67978
67978
|
}, {
|
|
67979
67979
|
query_type: "onchain_table";
|
|
@@ -67989,7 +67989,7 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<[z.ZodObject<{
|
|
|
67989
67989
|
type: string;
|
|
67990
67990
|
};
|
|
67991
67991
|
}[];
|
|
67992
|
-
cache_expire?:
|
|
67992
|
+
cache_expire?: number | "INFINITE" | undefined;
|
|
67993
67993
|
} | undefined;
|
|
67994
67994
|
}>, z.ZodObject<{
|
|
67995
67995
|
query_type: z.ZodLiteral<"onchain_table_item_repository_data">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { TokenTypeInfoSchema, QueryLocalMarkListResultSchema, QueryAccountListResultSchema, QueryLocalInfoListResultSchema, QueryLocalTokenListResultSchema, QueryAccountResultSchema } from "../local/index.js";
|
|
3
|
-
import { AccountOrMark_AddressSchema, BalanceTypeSchema, EntrypointSchema, GuardIdentifierSchema, GuardTableItemSchema, NameOrAddressSchema, ObjectBaseSchema, ObjectTypeSchema, QueryIdSchema, SupportedValueSchema, ValueTypeSchema, QueryReceivedResultSchema, LongNameSchema, DescriptionSchema } from "../common/index.js";
|
|
3
|
+
import { AccountOrMark_AddressSchema, BalanceTypeSchema, CacheExpireTypeSchema, EntrypointSchema, GuardIdentifierSchema, GuardTableItemSchema, NameOrAddressSchema, ObjectBaseSchema, ObjectTypeSchema, QueryIdSchema, SupportedValueSchema, ValueTypeSchema, QueryReceivedResultSchema, LongNameSchema, DescriptionSchema } from "../common/index.js";
|
|
4
4
|
import { isValidPermissionIndex } from '../utils/permission-index-utils.js';
|
|
5
5
|
import { isValidGuardQueryId, isValidGuardQueryIdOrName } from '../utils/guard-query-utils.js';
|
|
6
6
|
import { ENTITY_LINKER_ADDRESS, ENTITY_REGISTRAR_ADDRESS, isWitnessType, } from "@wowok/wowok";
|
|
@@ -923,7 +923,7 @@ export const TableAnswerSchema = z.object({
|
|
|
923
923
|
items: z.array(TableAnswerItemSchema),
|
|
924
924
|
nextCursor: z.union([z.string(), z.null()]),
|
|
925
925
|
hasNextPage: z.boolean(),
|
|
926
|
-
cache_expire:
|
|
926
|
+
cache_expire: CacheExpireTypeSchema.optional(),
|
|
927
927
|
});
|
|
928
928
|
export const QueryTableItem_byAddressSchema = QueryEnvSchema.extend({
|
|
929
929
|
parent: z.string().describe("Parent object ID of the data table to query"),
|
|
@@ -1016,7 +1016,7 @@ export const EventAnswerSchema = z.object({
|
|
|
1016
1016
|
])).describe("Event object data"),
|
|
1017
1017
|
hasNextPage: z.boolean().describe("Whether there is a next page"),
|
|
1018
1018
|
nextCursor: z.union([EventCursorSchema, z.null()]).optional().describe("Next page cursor"),
|
|
1019
|
-
cache_expire:
|
|
1019
|
+
cache_expire: CacheExpireTypeSchema.optional().describe("Cache expiration time"),
|
|
1020
1020
|
}).describe("Event query result");
|
|
1021
1021
|
export const EventQuerySchema = QueryEnvSchema.extend({
|
|
1022
1022
|
type: EventTypeSchema.describe("Event type"),
|
package/dist/schemas/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-07-
|
|
5
|
+
"generatedAt": "2026-07-09T02:11:08.097Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -85,10 +85,16 @@
|
|
|
85
85
|
"type": "boolean"
|
|
86
86
|
},
|
|
87
87
|
"cache_expire": {
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
"anyOf": [
|
|
89
|
+
{
|
|
90
|
+
"type": "number"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "string",
|
|
94
|
+
"const": "INFINITE"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"description": "Cache expiration time type"
|
|
92
98
|
}
|
|
93
99
|
},
|
|
94
100
|
"required": [
|
|
@@ -279,15 +285,7 @@
|
|
|
279
285
|
"description": "Previous transaction ID"
|
|
280
286
|
},
|
|
281
287
|
"cache_expire": {
|
|
282
|
-
"
|
|
283
|
-
{
|
|
284
|
-
"type": "number"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"type": "string",
|
|
288
|
-
"const": "INFINITE"
|
|
289
|
-
}
|
|
290
|
-
],
|
|
288
|
+
"$ref": "#/definitions/onchain_table_data/properties/result/anyOf/0/properties/result/anyOf/0/properties/cache_expire",
|
|
291
289
|
"description": "Cache expiration time"
|
|
292
290
|
},
|
|
293
291
|
"query_name": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wowok/agent-mcp",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10",
|
|
4
4
|
"description": "Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
39
|
-
"@wowok/wowok": "2.3.
|
|
39
|
+
"@wowok/wowok": "2.3.10",
|
|
40
40
|
"lodash": "^4.18.1",
|
|
41
41
|
"zod": "^3.25.76"
|
|
42
42
|
},
|