@wowok/agent-mcp 2.2.21 → 2.2.22
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/README.md +1 -3
- package/dist/index.js +4 -1
- package/dist/schema/call/base.d.ts +829 -829
- package/dist/schema/common/index.d.ts +43 -43
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/local/index.d.ts +1895 -1895
- package/dist/schema/local/index.js +12 -12
- package/dist/schema/local/wip.d.ts +16 -16
- package/dist/schema/local/wip.js +2 -2
- package/dist/schema/query/index.d.ts +6860 -6860
- package/dist/schema/query/index.js +4 -4
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/onchain_events.schema.json +4 -1
- package/package.json +1 -1
|
@@ -766,7 +766,7 @@ export const ObjectPaymentSchema = ObjectBaseSchema.extend({
|
|
|
766
766
|
amount: BalanceTypeSchema,
|
|
767
767
|
})).describe("Payment record list"),
|
|
768
768
|
amount: BalanceTypeSchema.describe("Payment amount"),
|
|
769
|
-
time: z.string().describe("Payment time"),
|
|
769
|
+
time: z.union([z.string(), z.number()]).describe("Payment time"),
|
|
770
770
|
from_object: z.union([z.string(), z.null()]).optional().describe("Payment source object ID"),
|
|
771
771
|
signer: z.string().describe("Payment signer ID"),
|
|
772
772
|
info: PaymentInfoSchema,
|
|
@@ -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: z.union([z.string(), z.
|
|
926
|
+
cache_expire: z.union([z.string(), z.null()]).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"),
|
|
@@ -955,7 +955,7 @@ export const EventTypeSchema = z.union([
|
|
|
955
955
|
z.string(),
|
|
956
956
|
]).describe("Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')");
|
|
957
957
|
export const EventCursorSchema = z.object({
|
|
958
|
-
eventSeq: z.string().describe("Event sequence number"),
|
|
958
|
+
eventSeq: z.union([z.string(), z.number()]).describe("Event sequence number"),
|
|
959
959
|
txDigest: z.string().describe("Transaction digest"),
|
|
960
960
|
}).describe("Event cursor");
|
|
961
961
|
export const EventBaseSchema = z.object({
|
|
@@ -963,7 +963,7 @@ export const EventBaseSchema = z.object({
|
|
|
963
963
|
sender: z.string().describe("Event sender ID"),
|
|
964
964
|
type: EventTypeSchema,
|
|
965
965
|
type_raw: z.string().describe("Raw event type"),
|
|
966
|
-
time: z.string().describe("Event occurrence time"),
|
|
966
|
+
time: z.union([z.string(), z.number()]).describe("Event occurrence time"),
|
|
967
967
|
parsedJson_raw: z.any().optional().describe("Raw parsed JSON data from the event"),
|
|
968
968
|
}).describe("Event base information");
|
|
969
969
|
export const ArbEventSchema = EventBaseSchema.extend({
|
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-05-
|
|
5
|
+
"generatedAt": "2026-05-29T08:14:34.338Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|