@wowok/agent-mcp 2.2.20 → 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.
@@ -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.number()]).optional(),
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({
@@ -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-24T00:15:12.395Z",
5
+ "generatedAt": "2026-05-29T08:14:34.338Z",
6
6
  "tools": [
7
7
  {
8
8
  "name": "onchain_operations",
@@ -46,7 +46,10 @@
46
46
  "type": "object",
47
47
  "properties": {
48
48
  "eventSeq": {
49
- "type": "string",
49
+ "type": [
50
+ "string",
51
+ "number"
52
+ ],
50
53
  "description": "Event sequence number"
51
54
  },
52
55
  "txDigest": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wowok/agent-mcp",
3
- "version": "2.2.20",
3
+ "version": "2.2.22",
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",
@@ -14,6 +14,7 @@
14
14
  "files": [
15
15
  "dist",
16
16
  "docs",
17
+ "LICENSE",
17
18
  "README.md"
18
19
  ],
19
20
  "bin": {
@@ -36,7 +37,7 @@
36
37
  "license": "Apache-2.0",
37
38
  "dependencies": {
38
39
  "@modelcontextprotocol/sdk": "^1.29.0",
39
- "@wowok/wowok": "2.2.15",
40
+ "@wowok/wowok": "2.2.16",
40
41
  "lodash": "^4.18.1",
41
42
  "zod": "^3.25.76"
42
43
  },